File tree 5 files changed +20
-22
lines changed
5 files changed +20
-22
lines changed Original file line number Diff line number Diff line change 1
1
source "http://rubygems.org"
2
2
3
- gem "activeresource"
4
- gem "activesupport"
3
+ gem "activeresource" , "~>3.0.0"
5
4
6
- # gem "rails"
7
5
group :test do
8
- gem "rspec" , '1.3.0'
6
+ gem "rspec" , "~>2.0.0"
9
7
end
Original file line number Diff line number Diff line change 10
10
activesupport (= 3.0.0 )
11
11
activesupport (3.0.0 )
12
12
builder (2.1.2 )
13
+ diff-lcs (1.1.2 )
13
14
i18n (0.4.1 )
14
- rspec (1.3.0 )
15
+ rspec (2.0.0 )
16
+ rspec-core (= 2.0.0 )
17
+ rspec-expectations (= 2.0.0 )
18
+ rspec-mocks (= 2.0.0 )
19
+ rspec-core (2.0.0 )
20
+ rspec-expectations (2.0.0 )
21
+ diff-lcs (>= 1.1.2 )
22
+ rspec-mocks (2.0.0 )
23
+ rspec-core (= 2.0.0 )
24
+ rspec-expectations (= 2.0.0 )
15
25
16
26
PLATFORMS
17
27
ruby
18
28
19
29
DEPENDENCIES
20
- activeresource
21
- activesupport
22
- rspec (= 1.3.0 )
30
+ activeresource (~> 3.0.0 )
31
+ rspec (~> 2.0.0 )
Original file line number Diff line number Diff line change 1
1
# encoding: utf-8
2
2
3
- require 'spec/rake/spectask '
3
+ require 'rspec/core/rake_task '
4
4
5
5
desc 'Default: run unit tests.'
6
6
task :default => :spec
7
7
8
8
desc "Run all specs"
9
- Spec :: Rake :: SpecTask . new do |t |
10
- t . spec_files = FileList [ 'spec/**/*_spec.rb' ]
11
- t . spec_opts = [ '--options' , 'spec /spec.opts' ]
9
+ RSpec :: Core :: RakeTask . new do |t |
10
+ t . pattern = 'spec/**/*_spec.rb'
11
+ t . rspec_opts = [ "-c" , "-f progress" , "-r . /spec/spec_helper.rb" ]
12
12
end
Original file line number Diff line number Diff line change 1
- Autotest . add_discovery do
2
- "rspec"
3
- end
1
+ Autotest . add_discovery { "rspec2" }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments