rainforest 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5496746f5fddf8d06efaa1c314708342ab14e4e5
4
- data.tar.gz: 5dfe782d311724c030f200bb878f2f5a164b11f9
3
+ metadata.gz: 89ca53e04f6a8408e23975e96547e4f6384a7c77
4
+ data.tar.gz: 39ae7d57755230685088dacf2832323c20b0826b
5
5
  SHA512:
6
- metadata.gz: 63f0afd4b748a9594acb335fb9673a36c4e4c42add4efeabd8bb46c570d03595e2c537cfa8bbecf311fc91dc1e7d1f4b4e35a2c1309a6207e2b3233897cc5398
7
- data.tar.gz: f2bd530419fb69a8630e9b43a7ea15b1abc09a34e1036ebc4eb73aa79326cd040ef5f35231dc60357586809ea446b50d45dcd9244c6bffb3539cd2d842b9b4b5
6
+ metadata.gz: f7bdea8027b65c030603d04653222d0ed64b6924baad08833402dd799d0f24e8e653d0bbcababae67829ba90ada9490e4235af830310bc64374b6cfa289a0ad9
7
+ data.tar.gz: f5fee906889ccd45967de69a0fb89d351b1a34c02756bbdba1922212b589f70427d7cc1b9a240eb696b731b99f478193e991c3ba3c0b8504b62bcdb9c687ffb2
data/.gitignore CHANGED
@@ -2,8 +2,6 @@
2
2
  /Gemfile.lock
3
3
  .rvmrc
4
4
  Gemfile.lock
5
- <<<<<<< HEAD
6
5
  tags
7
- =======
8
6
  .DS_Store
9
- >>>>>>> adding_tests
7
+ *~
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.4
1
+ 1.0.5
data/lib/rainforest.rb CHANGED
@@ -22,7 +22,6 @@ require 'rainforest/rainforest_object'
22
22
  require 'rainforest/api_resource'
23
23
  require 'rainforest/singleton_api_resource'
24
24
  require 'rainforest/list_object'
25
- require 'rainforest/test'
26
25
  require 'rainforest/run'
27
26
 
28
27
  # Errors
@@ -5,7 +5,7 @@ module Rainforest
5
5
  class ApiResourceTest < ::Test::Unit::TestCase
6
6
  should "creating a new APIResource should not fetch over the network" do
7
7
  @mock.expects(:get).never
8
- c = Rainforest::Test.new("someid")
8
+ c = Rainforest::Run.new("someid")
9
9
  end
10
10
  end
11
11
  end
@@ -7,7 +7,7 @@ module Rainforest
7
7
  should "not raise an exception" do
8
8
  response = test_response({}, 200)
9
9
  @mock.expects(:get).once.returns(response)
10
- Rainforest::Test.retrieve("1")
10
+ Rainforest::Run.retrieve("1")
11
11
  end
12
12
  end
13
13
 
@@ -16,7 +16,7 @@ module Rainforest
16
16
  response = test_response({error:"Authentication required"}, 401)
17
17
  assert_raises AuthenticationError do
18
18
  @mock.expects(:get).once.raises(RestClient::ExceptionWithResponse.new(response, 401))
19
- Rainforest::Test.retrieve("1")
19
+ Rainforest::Run.retrieve("1")
20
20
  end
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rainforest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Calhon