apple_epf 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/apple_epf/main.rb +2 -2
- data/lib/apple_epf/version.rb +1 -1
- metadata +3 -3
data/lib/apple_epf/main.rb
CHANGED
@@ -21,7 +21,7 @@ module AppleEpf
|
|
21
21
|
curl.max_redirects = 5
|
22
22
|
curl.perform
|
23
23
|
body = curl.body_str
|
24
|
-
files = Nokogiri::HTML(body).xpath("//td
|
24
|
+
files = Nokogiri::HTML(body).xpath("//td/a").map(&:text).select{|s| s=~/.*tbz$/}.map{|f| f.chomp('.tbz')}
|
25
25
|
files.inject({}) do |all, e|
|
26
26
|
e.match(/([a-z]*)(\d*)/)
|
27
27
|
all[$1] = $2
|
@@ -112,4 +112,4 @@ module AppleEpf
|
|
112
112
|
end
|
113
113
|
end
|
114
114
|
|
115
|
-
end
|
115
|
+
end
|
data/lib/apple_epf/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: apple_epf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -221,7 +221,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
221
221
|
version: '0'
|
222
222
|
segments:
|
223
223
|
- 0
|
224
|
-
hash:
|
224
|
+
hash: 1349011800637248115
|
225
225
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
226
226
|
none: false
|
227
227
|
requirements:
|
@@ -230,7 +230,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
230
230
|
version: '0'
|
231
231
|
segments:
|
232
232
|
- 0
|
233
|
-
hash:
|
233
|
+
hash: 1349011800637248115
|
234
234
|
requirements: []
|
235
235
|
rubyforge_project:
|
236
236
|
rubygems_version: 1.8.23
|