morpheus 0.3.5 → 0.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  module Morpheus
2
- VERSION = '0.3.5'
2
+ VERSION = '0.3.6'
3
3
  end
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.3.3'
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%5B%5D=1&ids%5B%5D=2&ids%5B%5D=3").and_return(build_morpheus_response(404, nil))
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%5B%5D=1&ids%5B%5D=2&ids%5B%5D=3").and_return(build_morpheus_response(404, nil))
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
@@ -4,7 +4,6 @@ ENV["RAILS_ENV"] = "test"
4
4
  require File.expand_path("../dummy/config/environment.rb", __FILE__)
5
5
  require "rails/test_help"
6
6
  require "rspec/rails"
7
- require 'pry'
8
7
 
9
8
  ActionMailer::Base.delivery_method = :test
10
9
  ActionMailer::Base.perform_deliveries = true
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: 25
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 5
10
- version: 0.3.5
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-07 00:00:00 Z
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: 21
44
+ hash: 31
45
45
  segments:
46
46
  - 0
47
- - 3
48
- - 3
49
- version: 0.3.3
47
+ - 2
48
+ - 4
49
+ version: 0.2.4
50
50
  type: :runtime
51
51
  version_requirements: *id002
52
52
  - !ruby/object:Gem::Dependency