faceted 1.2.1 → 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.1
1
+ 1.2.2
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "faceted"
8
- s.version = "1.2.1"
8
+ s.version = "1.2.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Corey Ehmke", "Max Thom Stahl"]
@@ -50,10 +50,10 @@ module MyApi
50
50
  before do
51
51
 
52
52
  @ar_musician = ::Musician.new(:id => 1, :name => 'Johnny Cash', :rating => 'Good', :alive => false)
53
- ::Musician.stub(:where) { @ar_musician }
53
+ ::Musician.stub(:where) { [@ar_musician] }
54
54
 
55
55
  @ar_birthplace = ::Birthplace.new(:id => 1, :city => 'Kingsland', :state => 'Arkansas')
56
- ::Birthplace.stub(:where) { @ar_birthplace }
56
+ ::Birthplace.stub(:where) { [@ar_birthplace] }
57
57
 
58
58
  end
59
59
 
@@ -125,7 +125,7 @@ module MyApi
125
125
 
126
126
  it 'initializes the associated object finding by a specified key' do
127
127
  @ar_album = ::Album.new(:id => 1, :name => 'Greatest Hits')
128
- ::Album.stub(:where) { @ar_album }
128
+ ::Album.stub(:where) { [@ar_album] }
129
129
  album = MyApi::Album.new(:name => 'Greatest Hits')
130
130
  album.id.should == 1
131
131
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faceted
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -214,7 +214,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
214
214
  version: '0'
215
215
  segments:
216
216
  - 0
217
- hash: 2831258705570193069
217
+ hash: 3491336618514317416
218
218
  required_rubygems_version: !ruby/object:Gem::Requirement
219
219
  none: false
220
220
  requirements: