giddy 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/giddy/client.rb +2 -0
- data/lib/giddy/lightbox.rb +2 -1
- data/lib/giddy/version.rb +1 -1
- metadata +3 -3
data/Gemfile.lock
CHANGED
data/lib/giddy/client.rb
CHANGED
@@ -11,6 +11,8 @@ module Giddy
|
|
11
11
|
def search(attrs)
|
12
12
|
if attrs.has_key?(:image_id) and attrs.keys.length == 1
|
13
13
|
return Search.new(@mediator).get_image_details(attrs[:image_id]).first
|
14
|
+
elsif attrs.has_key?(:image_ids) and attrs.keys.length == 1
|
15
|
+
return Search.new(@mediator).get_image_details(attrs[:image_ids])
|
14
16
|
end
|
15
17
|
|
16
18
|
attrs = {
|
data/lib/giddy/lightbox.rb
CHANGED
data/lib/giddy/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: giddy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -133,7 +133,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
133
133
|
version: '0'
|
134
134
|
segments:
|
135
135
|
- 0
|
136
|
-
hash:
|
136
|
+
hash: 347596975003510370
|
137
137
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
138
138
|
none: false
|
139
139
|
requirements:
|
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
142
142
|
version: '0'
|
143
143
|
segments:
|
144
144
|
- 0
|
145
|
-
hash:
|
145
|
+
hash: 347596975003510370
|
146
146
|
requirements: []
|
147
147
|
rubyforge_project: giddy
|
148
148
|
rubygems_version: 1.8.25
|