Skip to content

Commit 2e7a161

Browse files
committed
Initial commit to web_git.
0 parents  commit 2e7a161

File tree

8 files changed

+170
-0
lines changed

8 files changed

+170
-0
lines changed

.document

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
lib/**/*.rb
2+
bin/*
3+
-
4+
features/**/*.feature
5+
LICENSE.txt

.gitignore

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# rcov generated
2+
coverage
3+
coverage.data
4+
5+
# rdoc generated
6+
rdoc
7+
8+
# yard generated
9+
doc
10+
.yardoc
11+
12+
# bundler
13+
.bundle
14+
15+
# juwelier generated
16+
pkg
17+
18+
# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
19+
#
20+
# * Create a file at ~/.gitignore
21+
# * Include files you want ignored
22+
# * Run: git config --global core.excludesfile ~/.gitignore
23+
#
24+
# After doing this, these files will be ignored in all your git projects,
25+
# saving you from having to 'pollute' every project you touch with them
26+
#
27+
# Not sure what to needs to be ignored for particular editors/OSes? Here's some ideas to get you started. (Remember, remove the leading # of the line)
28+
#
29+
# For MacOS:
30+
#
31+
#.DS_Store
32+
33+
# For TextMate
34+
#*.tmproj
35+
#tmtags
36+
37+
# For emacs:
38+
#*~
39+
#\#*
40+
#.\#*
41+
42+
# For vim:
43+
#*.swp
44+
45+
# For redcar:
46+
#.redcar
47+
48+
# For rubinius:
49+
#*.rbc

.rspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
--color

Gemfile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
source "https://rubygems.org"
2+
# Add dependencies required to use your gem here.
3+
# Example:
4+
# gem "activesupport", ">= 2.3.5"
5+
6+
# Add dependencies to develop your gem here.
7+
# Include everything needed to run rake, tests, features, etc.
8+
group :development do
9+
gem "rspec", "~> 3.5.0"
10+
gem "rdoc", "~> 3.12"
11+
gem "bundler", "~> 1.0"
12+
gem "juwelier", "~> 2.1.0"
13+
gem "simplecov", ">= 0"
14+
gem "pry", "~> 0"
15+
gem "pry-byebug", "~> 3"
16+
gem "pry-doc", "~> 0"
17+
gem "pry-remote", "~> 0"
18+
gem "pry-rescue", "~> 1"
19+
gem "pry-stack_explorer", "~> 0"
20+
end

LICENSE.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Copyright (c) 2017 Raghu Betina
2+
3+
Permission is hereby granted, free of charge, to any person obtaining
4+
a copy of this software and associated documentation files (the
5+
"Software"), to deal in the Software without restriction, including
6+
without limitation the rights to use, copy, modify, merge, publish,
7+
distribute, sublicense, and/or sell copies of the Software, and to
8+
permit persons to whom the Software is furnished to do so, subject to
9+
the following conditions:
10+
11+
The above copyright notice and this permission notice shall be
12+
included in all copies or substantial portions of the Software.
13+
14+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.markdown

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
web_git===================
2+
3+
Description goes here.
4+
5+
Contributing to web_git
6+
------------------------------------------
7+
8+
- Check out the latest master to make sure the feature hasn't been
9+
implemented or the bug hasn't been fixed yet.
10+
- Check out the issue tracker to make sure someone already hasn't
11+
requested it and/or contributed it.
12+
- Fork the project.
13+
- Start a feature/bugfix branch.
14+
- Commit and push until you are happy with your contribution.
15+
- Make sure to add tests for it. This is important so I don't break it
16+
in a future version unintentionally.
17+
- Please try not to mess with the Rakefile, version, or history. If
18+
you want to have your own version, or is otherwise necessary, that
19+
is fine, but please isolate to its own commit so I can cherry-pick
20+
around it.
21+
22+
Copyright
23+
---------
24+
25+
Copyright (c) 2017 Raghu Betina. See
26+
LICENSE.txt for further details.

Rakefile

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# encoding: utf-8
2+
3+
require 'rubygems'
4+
require 'bundler'
5+
begin
6+
Bundler.setup(:default, :development)
7+
rescue Bundler::BundlerError => e
8+
$stderr.puts e.message
9+
$stderr.puts "Run `bundle install` to install missing gems"
10+
exit e.status_code
11+
end
12+
require 'rake'
13+
require 'juwelier'
14+
Juwelier::Tasks.new do |gem|
15+
# gem is a Gem::Specification... see http://guides.rubygems.org/specification-reference/ for more options
16+
gem.name = "web_git"
17+
gem.homepage = "http://github.com/firstdraft/web_git"
18+
gem.license = "MIT"
19+
gem.summary = %Q{TODO: one-line summary of your gem}
20+
gem.description = %Q{TODO: longer description of your gem}
21+
gem.email = "[email protected]"
22+
gem.authors = ["Raghu Betina"]
23+
24+
# dependencies defined in Gemfile
25+
end
26+
Juwelier::RubygemsDotOrgTasks.new
27+
require 'rspec/core'
28+
require 'rspec/core/rake_task'
29+
RSpec::Core::RakeTask.new(:spec) do |spec|
30+
spec.pattern = FileList['spec/**/*_spec.rb']
31+
end
32+
33+
desc "Code coverage detail"
34+
task :simplecov do
35+
ENV['COVERAGE'] = "true"
36+
Rake::Task['spec'].execute
37+
end
38+
39+
task :default => :spec
40+
41+
require 'rdoc/task'
42+
Rake::RDocTask.new do |rdoc|
43+
version = File.exist?('VERSION') ? File.read('VERSION') : ""
44+
45+
rdoc.rdoc_dir = 'rdoc'
46+
rdoc.title = "web_git #{version}"
47+
rdoc.rdoc_files.include('README*')
48+
rdoc.rdoc_files.include('lib/**/*.rb')
49+
end

lib/web_git.rb

Whitespace-only changes.

0 commit comments

Comments
 (0)