Skip to content

Commit

Permalink
Make it a gem.
Browse files Browse the repository at this point in the history
  • Loading branch information
nverinaud committed Jun 22, 2012
1 parent 64cf6a3 commit 23a324e
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -11,6 +11,7 @@ spec/reports
test/tmp
test/version_tmp
tmp
coverage

# YARD artifacts
.yardoc
Expand Down
14 changes: 14 additions & 0 deletions Gemfile
@@ -0,0 +1,14 @@
source "http://rubygems.org"
# Add dependencies required to use your gem here.
# Example:
# gem "activesupport", ">= 2.3.5"

# Add dependencies to develop your gem here.
# Include everything needed to run rake, tests, features, etc.
group :development do
gem "shoulda", ">= 0"
gem "rdoc", "~> 3.12"
gem "bundler", ">= 1.0.0"
gem "jeweler", "~> 1.8.3"
gem 'simplecov'
end
33 changes: 33 additions & 0 deletions Gemfile.lock
@@ -0,0 +1,33 @@
GEM
remote: http://rubygems.org/
specs:
git (1.2.5)
jeweler (1.8.3)
bundler (~> 1.0)
git (>= 1.2.5)
rake
rdoc
json (1.7.3)
multi_json (1.3.6)
rake (0.9.2.2)
rdoc (3.12)
json (~> 1.4)
shoulda (3.0.1)
shoulda-context (~> 1.0.0)
shoulda-matchers (~> 1.0.0)
shoulda-context (1.0.0)
shoulda-matchers (1.0.0)
simplecov (0.6.4)
multi_json (~> 1.0)
simplecov-html (~> 0.5.3)
simplecov-html (0.5.3)

PLATFORMS
ruby

DEPENDENCIES
bundler (>= 1.0.0)
jeweler (~> 1.8.3)
rdoc (~> 3.12)
shoulda
simplecov
8 changes: 0 additions & 8 deletions Rakefile
Expand Up @@ -31,14 +31,6 @@ Rake::TestTask.new(:test) do |test|
test.verbose = true
end

require 'rcov/rcovtask'
Rcov::RcovTask.new do |test|
test.libs << 'test'
test.pattern = 'test/**/test_*.rb'
test.verbose = true
test.rcov_opts << '--exclude "gems/*"'
end

task :default => :test

require 'rdoc/task'
Expand Down
3 changes: 3 additions & 0 deletions test/helper.rb
@@ -1,3 +1,6 @@
require 'simplecov'
SimpleCov.start

require 'rubygems'
require 'bundler'
begin
Expand Down

0 comments on commit 23a324e

Please sign in to comment.