Skip to content
Browse files

Upgraded to jeweler ~> 1.5.0.pre, yard ~> 0.6.0, rspec 2.0.0.

  • Loading branch information...
1 parent 6541cab commit 50eccc4f55c58de33d10fbb5944aa12843a8b6bc @postmodern committed Oct 10, 2010
Showing with 48 additions and 29 deletions.
  1. +1 −0 .rspec
  2. +3 −3 Gemfile
  3. +32 −0 Gemfile.lock
  4. +2 −7 Rakefile
  5. +9 −7 digest-crc.gemspec
  6. +1 −12 spec/spec_helper.rb
View
1 .rspec
@@ -0,0 +1 @@
+--colour --format documentation
View
6 Gemfile
@@ -2,7 +2,7 @@ source 'https://rubygems.org'
group(:development) do
gem 'rake', '~> 0.8.7'
- gem 'jeweler', '~> 1.4.0', :git => 'git://github.com/technicalpickles/jeweler.git'
+ gem 'jeweler', '~> 1.5.0.pre'
end
group(:doc) do
@@ -13,7 +13,7 @@ group(:doc) do
gem 'rdiscount', '~> 1.6.3'
end
- gem 'yard', '~> 0.5.3'
+ gem 'yard', '~> 0.6.0'
end
-gem 'rspec', '~> 1.3.0', :group => [:development, :test]
+gem 'rspec', '~> 2.0.0', :group => [:development, :test]
View
32 Gemfile.lock
@@ -0,0 +1,32 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ diff-lcs (1.1.2)
+ git (1.2.5)
+ jeweler (1.5.0.pre3)
+ bundler (~> 1.0.0)
+ git (>= 1.2.5)
+ rake
+ rake (0.8.7)
+ rdiscount (1.6.5)
+ rspec (2.0.0)
+ rspec-core (= 2.0.0)
+ rspec-expectations (= 2.0.0)
+ rspec-mocks (= 2.0.0)
+ rspec-core (2.0.0)
+ rspec-expectations (2.0.0)
+ diff-lcs (>= 1.1.2)
+ rspec-mocks (2.0.0)
+ rspec-core (= 2.0.0)
+ rspec-expectations (= 2.0.0)
+ yard (0.6.1)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ jeweler (~> 1.5.0.pre)
+ rake (~> 0.8.7)
+ rdiscount (~> 1.6.3)
+ rspec (~> 2.0.0)
+ yard (~> 0.6.0)
View
9 Rakefile
@@ -24,13 +24,8 @@ Jeweler::Tasks.new do |gem|
gem.has_rdoc = 'yard'
end
-require 'spec/rake/spectask'
-Spec::Rake::SpecTask.new(:spec) do |spec|
- spec.libs += ['lib', 'spec']
- spec.spec_files = FileList['spec/**/*_spec.rb']
- spec.spec_opts = ['--options', '.specopts']
-end
-
+require 'rspec/core/rake_task'
+RSpec::Core::RakeTask.new
task :default => :spec
require 'yard'
View
16 digest-crc.gemspec
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Postmodern"]
- s.date = %q{2010-06-15}
+ s.date = %q{2010-10-10}
s.description = %q{Adds support for calculating Cyclic Redundancy Check (CRC) to the Digest module.}
s.email = %q{postmodern.mod3@gmail.com}
s.extra_rdoc_files = [
@@ -19,10 +19,12 @@ Gem::Specification.new do |s|
]
s.files = [
".gitignore",
+ ".rspec",
".specopts",
".yardopts",
"ChangeLog.md",
"Gemfile",
+ "Gemfile.lock",
"LICENSE.txt",
"README.md",
"Rakefile",
@@ -91,19 +93,19 @@ Gem::Specification.new do |s|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_development_dependency(%q<rake>, ["~> 0.8.7"])
- s.add_development_dependency(%q<jeweler>, ["~> 1.4.0"])
- s.add_development_dependency(%q<rspec>, ["~> 1.3.0"])
+ s.add_development_dependency(%q<jeweler>, ["~> 1.5.0.pre"])
+ s.add_development_dependency(%q<rspec>, ["~> 2.0.0"])
s.add_development_dependency(%q<rspec>, [">= 1.3.0"])
else
s.add_dependency(%q<rake>, ["~> 0.8.7"])
- s.add_dependency(%q<jeweler>, ["~> 1.4.0"])
- s.add_dependency(%q<rspec>, ["~> 1.3.0"])
+ s.add_dependency(%q<jeweler>, ["~> 1.5.0.pre"])
+ s.add_dependency(%q<rspec>, ["~> 2.0.0"])
s.add_dependency(%q<rspec>, [">= 1.3.0"])
end
else
s.add_dependency(%q<rake>, ["~> 0.8.7"])
- s.add_dependency(%q<jeweler>, ["~> 1.4.0"])
- s.add_dependency(%q<rspec>, ["~> 1.3.0"])
+ s.add_dependency(%q<jeweler>, ["~> 1.5.0.pre"])
+ s.add_dependency(%q<rspec>, ["~> 2.0.0"])
s.add_dependency(%q<rspec>, [">= 1.3.0"])
end
end
View
13 spec/spec_helper.rb
@@ -1,12 +1 @@
-require 'rubygems'
-require 'bundler'
-
-begin
- Bundler.setup(:runtime, :test)
-rescue Bundler::BundlerError => e
- STDERR.puts e.message
- STDERR.puts "Run `bundle install` to install missing gems"
- exit e.status_code
-end
-
-require 'spec'
+require 'rspec'

0 comments on commit 50eccc4

Please sign in to comment.
Something went wrong with that request. Please try again.