amazon_seller_central 0.2.10 → 0.2.11
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/VERSION +1 -1
- data/amazon_seller_central.gemspec +2 -2
- data/lib/amazon_seller_central/inventory_page.rb +1 -1
- metadata +3 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.
|
|
1
|
+
0.2.11
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = "amazon_seller_central"
|
|
8
|
-
s.version = "0.2.
|
|
8
|
+
s.version = "0.2.11"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["optoro"]
|
|
12
|
-
s.date = "2012-11-
|
|
12
|
+
s.date = "2012-11-19"
|
|
13
13
|
s.description = "This gem is intended to wrap Amazon's SellerCentral pages with a Ruby API. Currently this gem supports accessing buyer feedback only."
|
|
14
14
|
s.email = "dev@optoro.com"
|
|
15
15
|
s.extra_rdoc_files = [
|
|
@@ -18,7 +18,7 @@ module AmazonSellerCentral
|
|
|
18
18
|
@next_page ||= begin
|
|
19
19
|
raise NoNextPageAvailableError unless has_next?
|
|
20
20
|
|
|
21
|
-
next_page = @agent.agent.get("#{@uri_base}&searchPageOffset=#{@page_no + 1}")
|
|
21
|
+
next_page = @agent.agent.get("#{@uri_base}#{(@uri_base =~ /\?/) ? '&': '?'}searchPageOffset=#{@page_no + 1}")
|
|
22
22
|
InventoryPage.new(
|
|
23
23
|
:page => next_page,
|
|
24
24
|
:page_no => (@page_no + 1),
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: amazon_seller_central
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.11
|
|
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: 2012-11-
|
|
12
|
+
date: 2012-11-19 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: mechanize
|
|
@@ -317,7 +317,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
317
317
|
version: '0'
|
|
318
318
|
segments:
|
|
319
319
|
- 0
|
|
320
|
-
hash:
|
|
320
|
+
hash: 2448128351647811666
|
|
321
321
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
322
322
|
none: false
|
|
323
323
|
requirements:
|