Permalink
Browse files

Fixes: 'WebMock deprecation warning: include WebMock is deprecated. P…

…lease include WebMock::API instead'
  • Loading branch information...
1 parent 6c995fa commit 2f52e7078f120064135067a1df989d73d78037f7 @parndt committed May 25, 2011
Showing with 30 additions and 35 deletions.
  1. +29 −34 Gemfile.lock
  2. +1 −1 spec/spec_helper.rb
View
@@ -1,57 +1,52 @@
PATH
remote: .
specs:
- lookup (1.1.1)
+ lookup (1.1.2)
activerecord (>= 2.3.8)
nokogiri
sqlite3-ruby (>= 1.2.5)
- webmock
GEM
remote: http://rubygems.org/
specs:
- activemodel (3.0.0)
- activesupport (= 3.0.0)
+ activemodel (3.0.7)
+ activesupport (= 3.0.7)
builder (~> 2.1.2)
- i18n (~> 0.4.1)
- activerecord (3.0.0)
- activemodel (= 3.0.0)
- activesupport (= 3.0.0)
- arel (~> 1.0.0)
+ i18n (~> 0.5.0)
+ activerecord (3.0.7)
+ activemodel (= 3.0.7)
+ activesupport (= 3.0.7)
+ arel (~> 2.0.2)
tzinfo (~> 0.3.23)
- activesupport (3.0.0)
- addressable (2.2.1)
- arel (1.0.1)
- activesupport (~> 3.0.0)
+ activesupport (3.0.7)
+ addressable (2.2.6)
+ arel (2.0.10)
builder (2.1.2)
crack (0.1.8)
diff-lcs (1.1.2)
- i18n (0.4.1)
- nokogiri (1.4.3.1)
- rspec (2.0.0.beta.22)
- rspec-core (= 2.0.0.beta.22)
- rspec-expectations (= 2.0.0.beta.22)
- rspec-mocks (= 2.0.0.beta.22)
- rspec-core (2.0.0.beta.22)
- rspec-expectations (2.0.0.beta.22)
- diff-lcs (>= 1.1.2)
- rspec-mocks (2.0.0.beta.22)
- rspec-core (= 2.0.0.beta.22)
- rspec-expectations (= 2.0.0.beta.22)
- sqlite3-ruby (1.3.1)
- tzinfo (0.3.23)
- webmock (1.3.5)
- addressable (>= 2.1.1)
+ i18n (0.5.0)
+ nokogiri (1.4.4)
+ rspec (2.6.0)
+ rspec-core (~> 2.6.0)
+ rspec-expectations (~> 2.6.0)
+ rspec-mocks (~> 2.6.0)
+ rspec-core (2.6.2)
+ rspec-expectations (2.6.0)
+ diff-lcs (~> 1.1.2)
+ rspec-mocks (2.6.0)
+ sqlite3 (1.3.3)
+ sqlite3-ruby (1.3.3)
+ sqlite3 (>= 1.3.3)
+ tzinfo (0.3.27)
+ webmock (1.6.4)
+ addressable (> 2.2.5, ~> 2.2)
crack (>= 0.1.7)
PLATFORMS
ruby
DEPENDENCIES
- activerecord (>= 2.3.8)
bundler (>= 1.0.0)
lookup!
- nokogiri
- rspec (~> 2.0.0.beta.20)
- sqlite3-ruby (>= 1.2.5)
- webmock
+ rspec (~> 2.1)
+ webmock (~> 1.6)
View
@@ -22,7 +22,7 @@ def classes(api)
File.read(apis + api + "classes.html")
end
-include WebMock
+include WebMock::API
WebMock.disable_net_connect!

0 comments on commit 2f52e70

Please sign in to comment.