giddy 0.1.8 → 0.1.9
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/utils.rb +2 -3
- data/lib/giddy/version.rb +1 -1
- metadata +3 -3
data/Gemfile.lock
CHANGED
data/lib/giddy/utils.rb
CHANGED
@@ -35,9 +35,8 @@ module Giddy
|
|
35
35
|
end
|
36
36
|
|
37
37
|
a.get('http://www.gettyimages.com/account/MediaBin/Default.aspx?ViewBy=0') do |page|
|
38
|
-
|
39
|
-
|
40
|
-
}
|
38
|
+
links = page.links.map(&:href).select { |href| href.start_with? "/Account/MediaBin/LightboxDetail.aspx" }
|
39
|
+
return links.map { |h| CGI::parse(h.split('?')[1])['Id'][0] }
|
41
40
|
end
|
42
41
|
end
|
43
42
|
|
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.9
|
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: -1914547593439743617
|
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: -1914547593439743617
|
146
146
|
requirements: []
|
147
147
|
rubyforge_project: giddy
|
148
148
|
rubygems_version: 1.8.25
|