morpheus 0.3.5 → 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/morpheus/version.rb +1 -1
- data/morpheus.gemspec +1 -1
- data/spec/morpheus/mixins/finders_spec.rb +2 -2
- data/spec/spec_helper.rb +0 -1
- metadata +8 -8
data/lib/morpheus/version.rb
CHANGED
data/morpheus.gemspec
CHANGED
@@ -16,7 +16,7 @@ Gem::Specification.new do |gem|
|
|
16
16
|
gem.version = Morpheus::VERSION
|
17
17
|
|
18
18
|
gem.add_dependency 'yajl-ruby', '~> 0.8.2'
|
19
|
-
gem.add_dependency 'typhoeus', '~> 0.
|
19
|
+
gem.add_dependency 'typhoeus', '~> 0.2.4'
|
20
20
|
gem.add_dependency 'activemodel', '~> 3.0.0'
|
21
21
|
gem.add_dependency 'activesupport', '~> 3.0.0'
|
22
22
|
gem.add_dependency 'i18n', '~> 0.5.0'
|
@@ -72,7 +72,7 @@ describe Morpheus::Finders, "#find" do
|
|
72
72
|
context "when there is a requested record that does not exist on the external service" do
|
73
73
|
|
74
74
|
before(:each) do
|
75
|
-
Morpheus::Configuration.hydra.stub(:get, "#{Morpheus::Configuration.host}/dogs?ids
|
75
|
+
Morpheus::Configuration.hydra.stub(:get, "#{Morpheus::Configuration.host}/dogs?ids=1&ids=2&ids=3").and_return(build_morpheus_response(404, nil))
|
76
76
|
end
|
77
77
|
|
78
78
|
it "raises a ResourceNotFound error" do
|
@@ -115,7 +115,7 @@ describe Morpheus::Finders, "#find" do
|
|
115
115
|
context "when there is a requested record that does not exist on the external service" do
|
116
116
|
|
117
117
|
before(:each) do
|
118
|
-
Morpheus::Configuration.hydra.stub(:get, "#{Morpheus::Configuration.host}/dogs?ids
|
118
|
+
Morpheus::Configuration.hydra.stub(:get, "#{Morpheus::Configuration.host}/dogs?ids=1&ids=2&ids=3").and_return(build_morpheus_response(404, nil))
|
119
119
|
end
|
120
120
|
|
121
121
|
it "raises a ResourceNotFound error" do
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: morpheus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 6
|
10
|
+
version: 0.3.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ryan Moran
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-12-
|
18
|
+
date: 2011-12-08 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: yajl-ruby
|
@@ -41,12 +41,12 @@ dependencies:
|
|
41
41
|
requirements:
|
42
42
|
- - ~>
|
43
43
|
- !ruby/object:Gem::Version
|
44
|
-
hash:
|
44
|
+
hash: 31
|
45
45
|
segments:
|
46
46
|
- 0
|
47
|
-
-
|
48
|
-
-
|
49
|
-
version: 0.
|
47
|
+
- 2
|
48
|
+
- 4
|
49
|
+
version: 0.2.4
|
50
50
|
type: :runtime
|
51
51
|
version_requirements: *id002
|
52
52
|
- !ruby/object:Gem::Dependency
|