Skip to content
Browse files

Upgraded to rspec 2.0.0.

  • Loading branch information...
1 parent f8fed7d commit ef94e871dfd93ffe14f19da34ac955ea6df89af9 @postmodern committed
Showing with 25 additions and 21 deletions.
  1. +1 −0 .rspec
  2. +1 −1 Gemfile
  3. +12 −2 Gemfile.lock
  4. +2 −8 Rakefile
  5. +9 −10 ffi-libc.gemspec
View
1 .rspec
@@ -0,0 +1 @@
+--colour --format documentation
View
2 Gemfile
@@ -18,4 +18,4 @@ group(:doc) do
gem 'yard', '~> 0.6.0'
end
-gem 'rspec', '~> 1.3.0', :group => [:development, :test]
+gem 'rspec', '~> 2.0.0', :group => [:development, :test]
View
14 Gemfile.lock
@@ -1,6 +1,7 @@
GEM
remote: https://rubygems.org/
specs:
+ diff-lcs (1.1.2)
ffi (0.6.3)
rake (>= 0.8.7)
git (1.2.5)
@@ -10,7 +11,16 @@ GEM
rake
rake (0.8.7)
rdiscount (1.6.5)
- rspec (1.3.0)
+ 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.0)
PLATFORMS
@@ -21,5 +31,5 @@ DEPENDENCIES
jeweler (~> 1.5.0.pre)
rake (~> 0.8.7)
rdiscount (~> 1.6.3)
- rspec (~> 1.3.0)
+ rspec (~> 2.0.0)
yard (~> 0.6.0)
View
10 Rakefile
@@ -24,14 +24,8 @@ Jeweler::Tasks.new do |gem|
gem.has_rdoc = 'yard'
end
-require 'spec/rake/spectask'
-
-desc "Run all specifications"
-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
19 ffi-libc.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-08-03}
+ s.date = %q{2010-10-10}
s.description = %q{Useful Ruby FFI bindings for libc.}
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",
@@ -55,23 +57,20 @@ Gem::Specification.new do |s|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<ffi>, ["~> 0.6.0"])
- s.add_development_dependency(%q<bundler>, ["~> 0.9.25"])
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"])
else
s.add_dependency(%q<ffi>, ["~> 0.6.0"])
- s.add_dependency(%q<bundler>, ["~> 0.9.25"])
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"])
end
else
s.add_dependency(%q<ffi>, ["~> 0.6.0"])
- s.add_dependency(%q<bundler>, ["~> 0.9.25"])
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"])
end
end

0 comments on commit ef94e87

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