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 +1 -1
- data/faceted.gemspec +1 -1
- data/spec/presenter_spec.rb +3 -3
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.2.
|
1
|
+
1.2.2
|
data/faceted.gemspec
CHANGED
data/spec/presenter_spec.rb
CHANGED
@@ -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.
|
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:
|
217
|
+
hash: 3491336618514317416
|
218
218
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
219
219
|
none: false
|
220
220
|
requirements:
|