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.
- data/lib/apple_epf/main.rb +1 -1
- data/lib/apple_epf/version.rb +1 -1
- data/spec/lib/apple_epf/main_spec.rb +9 -8
- metadata +3 -3
data/lib/apple_epf/main.rb
CHANGED
data/lib/apple_epf/version.rb
CHANGED
@@ -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
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
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 = {
|
181
|
-
|
182
|
-
|
183
|
-
|
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.
|
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:
|
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:
|
233
|
+
hash: 2434904396329215938
|
234
234
|
requirements: []
|
235
235
|
rubyforge_project:
|
236
236
|
rubygems_version: 1.8.23
|