apple_epf 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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.
@@ -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 = 2
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')}
@@ -1,3 +1,3 @@
1
1
  module AppleEpf
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
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.1
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-02-06 00:00:00.000000000 Z
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: 744953930567500126
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: 744953930567500126
233
+ hash: 388738391219487740
234
234
  requirements: []
235
235
  rubyforge_project:
236
236
  rubygems_version: 1.8.23