apple_epf 1.1.3 → 1.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,7 +28,7 @@ module AppleEpf
28
28
  e.match(/([a-z]*)(\d*.tbz)/)
29
29
  all[$1] = {}
30
30
  all[$1][:base] = $2.chomp(".tbz")
31
- all[$1][:full_url] = self.current_url + "/#{$2}"
31
+ all[$1][:full_url] = self.current_url + "/#{$1}#{$2}"
32
32
  all
33
33
  end
34
34
  end
@@ -1,3 +1,3 @@
1
1
  module AppleEpf
2
- VERSION = "1.1.3"
2
+ VERSION = "1.1.4"
3
3
  end
@@ -160,10 +160,10 @@ describe AppleEpf::Main do
160
160
  to_return(:status => 200, :body => File.read(filename), :headers => {})
161
161
 
162
162
  list = {
163
- "itunes" => {:base=>"20130130", :full_url=>"https://feeds.itunes.apple.com/feeds/epf/v3/full/current/20130130.tbz"},
164
- "match" => {:base=>"20130130", :full_url=>"https://feeds.itunes.apple.com/feeds/epf/v3/full/current/20130130.tbz"},
165
- "popularity" => {:base=>"20130130", :full_url=>"https://feeds.itunes.apple.com/feeds/epf/v3/full/current/20130130.tbz"},
166
- "pricing" => {:base=>"20130130", :full_url=>"https://feeds.itunes.apple.com/feeds/epf/v3/full/current/20130130.tbz"}
163
+ "itunes" => {:base=>"20130130", :full_url=>"https://feeds.itunes.apple.com/feeds/epf/v3/full/current/itunes20130130.tbz"},
164
+ "match" => {:base=>"20130130", :full_url=>"https://feeds.itunes.apple.com/feeds/epf/v3/full/current/match20130130.tbz"},
165
+ "popularity" => {:base=>"20130130", :full_url=>"https://feeds.itunes.apple.com/feeds/epf/v3/full/current/popularity20130130.tbz"},
166
+ "pricing" => {:base=>"20130130", :full_url=>"https://feeds.itunes.apple.com/feeds/epf/v3/full/current/pricing20130130.tbz"}
167
167
  }
168
168
  AppleEpf::Full.get_current_list.should == list
169
169
  end
@@ -177,10 +177,11 @@ describe AppleEpf::Main do
177
177
  stub_request(:get, "https://test:test@feeds.itunes.apple.com/feeds/epf/v3/full/current/incremental/current").
178
178
  to_return(:status => 200, :body => File.read(filename), :headers => {})
179
179
 
180
- list = {"itunes" => {:base=>"20130205", :full_url=>"https://feeds.itunes.apple.com/feeds/epf/v3/full/current/incremental/current/20130205.tbz"},
181
- "match" => {:base=>"20130205", :full_url=>"https://feeds.itunes.apple.com/feeds/epf/v3/full/current/incremental/current/20130205.tbz"},
182
- "popularity" => {:base=>"20130205", :full_url=>"https://feeds.itunes.apple.com/feeds/epf/v3/full/current/incremental/current/20130205.tbz"},
183
- "pricing" => {:base=>"20130205", :full_url=>"https://feeds.itunes.apple.com/feeds/epf/v3/full/current/incremental/current/20130205.tbz"}
180
+ list = {
181
+ "itunes" => {:base=>"20130205", :full_url=>"https://feeds.itunes.apple.com/feeds/epf/v3/full/current/incremental/current/itunes20130205.tbz"},
182
+ "match" => {:base=>"20130205", :full_url=>"https://feeds.itunes.apple.com/feeds/epf/v3/full/current/incremental/current/match20130205.tbz"},
183
+ "popularity" => {:base=>"20130205", :full_url=>"https://feeds.itunes.apple.com/feeds/epf/v3/full/current/incremental/current/popularity20130205.tbz"},
184
+ "pricing" => {:base=>"20130205", :full_url=>"https://feeds.itunes.apple.com/feeds/epf/v3/full/current/incremental/current/pricing20130205.tbz"}
184
185
  }
185
186
  AppleEpf::Incremental.get_current_list.should == list
186
187
  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.1.3
4
+ version: 1.1.4
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: -2723133082959436123
224
+ hash: 2434904396329215938
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: -2723133082959436123
233
+ hash: 2434904396329215938
234
234
  requirements: []
235
235
  rubyforge_project:
236
236
  rubygems_version: 1.8.23