apple_epf 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +0 -7
- data/lib/apple_epf/main.rb +1 -1
- data/lib/apple_epf/version.rb +1 -1
- metadata +4 -4
data/README.md
CHANGED
@@ -4,13 +4,6 @@
|
|
4
4
|
|
5
5
|
gem 'apple_epf'
|
6
6
|
|
7
|
-
## Download incremental
|
8
|
-
|
9
|
-
AppleEpf.get_incremental( 'current',
|
10
|
-
lambda { |header| puts header },
|
11
|
-
lambda { |row| puts row },
|
12
|
-
lambda { |success| puts 'Yeah!' if success } )
|
13
|
-
|
14
7
|
## Setup
|
15
8
|
|
16
9
|
Put this in your initializer.rb if you are using Rails.
|
data/lib/apple_epf/main.rb
CHANGED
@@ -18,7 +18,7 @@ module AppleEpf
|
|
18
18
|
curl.username = AppleEpf.apple_id
|
19
19
|
curl.password = AppleEpf.apple_password
|
20
20
|
curl.follow_location = true
|
21
|
-
curl.max_redirects =
|
21
|
+
curl.max_redirects = 5
|
22
22
|
curl.perform
|
23
23
|
body = curl.body_str
|
24
24
|
files = Nokogiri::HTML(body).xpath("//td[2]/a").map(&:text).select{|s| s=~/.*tbz$/}.map{|f| f.chomp('.tbz')}
|
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.0.
|
4
|
+
version: 1.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-04-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
@@ -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: 388738391219487740
|
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: 388738391219487740
|
234
234
|
requirements: []
|
235
235
|
rubyforge_project:
|
236
236
|
rubygems_version: 1.8.23
|