amazon_seller_central 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 70be9ababfe212aee8304c2191a19a72ffe601ba
4
- data.tar.gz: 19bf6ce4c79d617b79d9d977114d587806202532
3
+ metadata.gz: 098fcab6a60c2000d071edc90ce8de132815908e
4
+ data.tar.gz: b3654010b6785c88c7406b766011448dfc63084c
5
5
  SHA512:
6
- metadata.gz: 8f8ac03ee16070fb4e5d2f43b52d3530f23bd2526011f5f8075fb84e511a7237ad130756145c52b256188a153dfe28d32764fe0f4670d4599c4d959defaec660
7
- data.tar.gz: 30ec3b637afdea372c765e90a2205281f3701ad2f1316450bb2e8b84e7526351e65d95bb3366000461b6fb68bc53e81e61932933aaecbbcfde2ecc9da6400541
6
+ metadata.gz: e53d1647571bd4d3a75619d6df28f6ed954af99c6a01f80e379a504d975c50a7102449932927c152d41da5b2dece950a03090973bd7d19235ed239f8ce0acf21
7
+ data.tar.gz: e807a0a37fd1309c864e8ad0229843b7f23c44a998a48ededf066d0eb214a61679a3f15a7faa756b7293609f55086232e13773973bef77eaa1b4c3f2e315972c
data/Gemfile CHANGED
@@ -11,14 +11,12 @@ group :development do
11
11
  gem "rspec", "~> 2.3.0"
12
12
  gem "bundler"
13
13
  gem "jeweler"
14
- gem "rcov", ">= 0"
14
+ gem "simplecov"
15
15
  gem 'yard'
16
16
  gem 'guard'
17
17
  gem 'guard-rspec'
18
- gem 'rb-inotify', '>= 0.8.5'
19
- gem 'libnotify'
20
18
  gem 'ffi'
21
19
  gem 'faker'
22
20
  gem 'fakeweb'
23
- gem 'ruby-debug19'
21
+ gem 'pry'
24
22
  end
@@ -1,32 +1,50 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- archive-tar-minitar (0.5.2)
5
- columnize (0.3.5)
4
+ addressable (2.3.6)
5
+ builder (3.2.2)
6
+ coderay (1.1.0)
7
+ descendants_tracker (0.0.4)
8
+ thread_safe (~> 0.3, >= 0.3.1)
6
9
  diff-lcs (1.1.2)
10
+ docile (1.1.5)
7
11
  domain_name (0.5.13)
8
12
  unf (>= 0.0.5, < 1.0.0)
9
13
  faker (0.9.5)
10
14
  i18n (~> 0.4)
11
15
  fakeweb (1.3.0)
16
+ faraday (0.9.0)
17
+ multipart-post (>= 1.2, < 3)
12
18
  ffi (1.0.9)
13
- git (1.2.6)
19
+ git (1.2.8)
20
+ github_api (0.11.3)
21
+ addressable (~> 2.3)
22
+ descendants_tracker (~> 0.0.1)
23
+ faraday (~> 0.8, < 0.10)
24
+ hashie (>= 1.2)
25
+ multi_json (>= 1.7.5, < 2.0)
26
+ nokogiri (~> 1.6.0)
27
+ oauth2
14
28
  guard (0.5.0)
15
29
  thor (~> 0.14.6)
16
30
  guard-rspec (0.4.0)
17
31
  guard (>= 0.4.0)
32
+ hashie (3.3.1)
33
+ highline (1.6.21)
18
34
  http-cookie (1.0.1)
19
35
  domain_name (~> 0.5)
20
36
  i18n (0.6.0)
21
- jeweler (1.8.4)
22
- bundler (~> 1.0)
37
+ jeweler (2.0.1)
38
+ builder
39
+ bundler (>= 1.0)
23
40
  git (>= 1.2.5)
41
+ github_api
42
+ highline (>= 1.6.15)
43
+ nokogiri (>= 1.5.10)
24
44
  rake
25
45
  rdoc
26
46
  json (1.8.1)
27
- libnotify (0.5.6)
28
- linecache19 (0.5.12)
29
- ruby_core_source (>= 0.1.4)
47
+ jwt (1.0.0)
30
48
  mechanize (2.7.2)
31
49
  domain_name (~> 0.5, >= 0.5.1)
32
50
  http-cookie (~> 1.0.0)
@@ -36,18 +54,30 @@ GEM
36
54
  nokogiri (~> 1.4)
37
55
  ntlm-http (~> 0.1, >= 0.1.1)
38
56
  webrobots (>= 0.0.9, < 0.2)
57
+ method_source (0.8.2)
39
58
  mime-types (1.25)
40
59
  mini_portile (0.5.1)
60
+ multi_json (1.10.1)
61
+ multi_xml (0.5.5)
62
+ multipart-post (2.0.0)
41
63
  net-http-digest_auth (1.4)
42
64
  net-http-persistent (2.9)
43
65
  nokogiri (1.6.0)
44
66
  mini_portile (~> 0.5.0)
45
67
  ntlm-http (0.1.1)
46
- rake (10.1.0)
47
- rb-inotify (0.8.5)
48
- ffi (>= 0.5.0)
49
- rcov (0.9.9)
50
- rdoc (4.0.1)
68
+ oauth2 (1.0.0)
69
+ faraday (>= 0.8, < 0.10)
70
+ jwt (~> 1.0)
71
+ multi_json (~> 1.3)
72
+ multi_xml (~> 0.5)
73
+ rack (~> 1.2)
74
+ pry (0.10.1)
75
+ coderay (~> 1.1.0)
76
+ method_source (~> 0.8.1)
77
+ slop (~> 3.4)
78
+ rack (1.5.2)
79
+ rake (10.3.2)
80
+ rdoc (4.1.2)
51
81
  json (~> 1.4)
52
82
  rspec (2.3.0)
53
83
  rspec-core (~> 2.3.0)
@@ -57,17 +87,14 @@ GEM
57
87
  rspec-expectations (2.3.0)
58
88
  diff-lcs (~> 1.1.2)
59
89
  rspec-mocks (2.3.0)
60
- ruby-debug-base19 (0.11.25)
61
- columnize (>= 0.3.1)
62
- linecache19 (>= 0.5.11)
63
- ruby_core_source (>= 0.1.4)
64
- ruby-debug19 (0.11.6)
65
- columnize (>= 0.3.1)
66
- linecache19 (>= 0.5.11)
67
- ruby-debug-base19 (>= 0.11.19)
68
- ruby_core_source (0.1.5)
69
- archive-tar-minitar (>= 0.5.2)
90
+ simplecov (0.9.1)
91
+ docile (~> 1.1.0)
92
+ multi_json (~> 1.0)
93
+ simplecov-html (~> 0.8.0)
94
+ simplecov-html (0.8.0)
95
+ slop (3.6.0)
70
96
  thor (0.14.6)
97
+ thread_safe (0.3.4)
71
98
  unf (0.1.2)
72
99
  unf_ext
73
100
  unf_ext (0.0.6)
@@ -85,10 +112,8 @@ DEPENDENCIES
85
112
  guard
86
113
  guard-rspec
87
114
  jeweler
88
- libnotify
89
115
  mechanize (>= 2.0.0)
90
- rb-inotify (>= 0.8.5)
91
- rcov
116
+ pry
92
117
  rspec (~> 2.3.0)
93
- ruby-debug19
118
+ simplecov
94
119
  yard
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.1
1
+ 0.3.2
@@ -2,15 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: amazon_seller_central 0.3.1 ruby lib
5
+ # stub: amazon_seller_central 0.3.2 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "amazon_seller_central"
9
- s.version = "0.3.1"
9
+ s.version = "0.3.2"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
+ s.require_paths = ["lib"]
12
13
  s.authors = ["optoro"]
13
- s.date = "2013-12-02"
14
+ s.date = "2014-10-07"
14
15
  s.description = "This gem is intended to wrap Amazon's SellerCentral pages with a Ruby API. Currently this gem supports accessing buyer feedback only."
15
16
  s.email = "dev@optoro.com"
16
17
  s.extra_rdoc_files = [
@@ -79,8 +80,7 @@ Gem::Specification.new do |s|
79
80
  ]
80
81
  s.homepage = "http://github.com/optoro/amazon_seller_central"
81
82
  s.licenses = ["MIT"]
82
- s.require_paths = ["lib"]
83
- s.rubygems_version = "2.1.10"
83
+ s.rubygems_version = "2.2.2"
84
84
  s.summary = "Ruby API to access Amazon's SellerCentral"
85
85
 
86
86
  if s.respond_to? :specification_version then
@@ -91,47 +91,41 @@ Gem::Specification.new do |s|
91
91
  s.add_development_dependency(%q<rspec>, ["~> 2.3.0"])
92
92
  s.add_development_dependency(%q<bundler>, [">= 0"])
93
93
  s.add_development_dependency(%q<jeweler>, [">= 0"])
94
- s.add_development_dependency(%q<rcov>, [">= 0"])
94
+ s.add_development_dependency(%q<simplecov>, [">= 0"])
95
95
  s.add_development_dependency(%q<yard>, [">= 0"])
96
96
  s.add_development_dependency(%q<guard>, [">= 0"])
97
97
  s.add_development_dependency(%q<guard-rspec>, [">= 0"])
98
- s.add_development_dependency(%q<rb-inotify>, [">= 0.8.5"])
99
- s.add_development_dependency(%q<libnotify>, [">= 0"])
100
98
  s.add_development_dependency(%q<ffi>, [">= 0"])
101
99
  s.add_development_dependency(%q<faker>, [">= 0"])
102
100
  s.add_development_dependency(%q<fakeweb>, [">= 0"])
103
- s.add_development_dependency(%q<ruby-debug19>, [">= 0"])
101
+ s.add_development_dependency(%q<pry>, [">= 0"])
104
102
  else
105
103
  s.add_dependency(%q<mechanize>, [">= 2.0.0"])
106
104
  s.add_dependency(%q<rspec>, ["~> 2.3.0"])
107
105
  s.add_dependency(%q<bundler>, [">= 0"])
108
106
  s.add_dependency(%q<jeweler>, [">= 0"])
109
- s.add_dependency(%q<rcov>, [">= 0"])
107
+ s.add_dependency(%q<simplecov>, [">= 0"])
110
108
  s.add_dependency(%q<yard>, [">= 0"])
111
109
  s.add_dependency(%q<guard>, [">= 0"])
112
110
  s.add_dependency(%q<guard-rspec>, [">= 0"])
113
- s.add_dependency(%q<rb-inotify>, [">= 0.8.5"])
114
- s.add_dependency(%q<libnotify>, [">= 0"])
115
111
  s.add_dependency(%q<ffi>, [">= 0"])
116
112
  s.add_dependency(%q<faker>, [">= 0"])
117
113
  s.add_dependency(%q<fakeweb>, [">= 0"])
118
- s.add_dependency(%q<ruby-debug19>, [">= 0"])
114
+ s.add_dependency(%q<pry>, [">= 0"])
119
115
  end
120
116
  else
121
117
  s.add_dependency(%q<mechanize>, [">= 2.0.0"])
122
118
  s.add_dependency(%q<rspec>, ["~> 2.3.0"])
123
119
  s.add_dependency(%q<bundler>, [">= 0"])
124
120
  s.add_dependency(%q<jeweler>, [">= 0"])
125
- s.add_dependency(%q<rcov>, [">= 0"])
121
+ s.add_dependency(%q<simplecov>, [">= 0"])
126
122
  s.add_dependency(%q<yard>, [">= 0"])
127
123
  s.add_dependency(%q<guard>, [">= 0"])
128
124
  s.add_dependency(%q<guard-rspec>, [">= 0"])
129
- s.add_dependency(%q<rb-inotify>, [">= 0.8.5"])
130
- s.add_dependency(%q<libnotify>, [">= 0"])
131
125
  s.add_dependency(%q<ffi>, [">= 0"])
132
126
  s.add_dependency(%q<faker>, [">= 0"])
133
127
  s.add_dependency(%q<fakeweb>, [">= 0"])
134
- s.add_dependency(%q<ruby-debug19>, [">= 0"])
128
+ s.add_dependency(%q<pry>, [">= 0"])
135
129
  end
136
130
  end
137
131
 
@@ -3,6 +3,12 @@ module AmazonSellerCentral
3
3
  class Mechanizer
4
4
  MASQUERADE_AGENTS = ['Mac Safari', 'Mac FireFox', 'Linux Firefox', 'Windows IE 9']
5
5
 
6
+ # constants for the verification page if logged in from a new device
7
+ VERIF_PAGE_PATTERN = /What is the ZIP Code/
8
+ VERIF_PAGE_FORM_NAME = 'ap_dcq_form'
9
+ VERIF_PAGE_FIELD_NAME = 'dcq_question_subjective_1'
10
+ VERIF_PAGE_ZIP_CODE = '20706'
11
+
6
12
  attr_reader :agent
7
13
 
8
14
  def initialize
@@ -27,25 +33,59 @@ module AmazonSellerCentral
27
33
 
28
34
  def login_to_seller_central
29
35
  return true if @logged_in
36
+ tries = 3
37
+ begin
38
+ tries -= 1
39
+ page = agent.get('https://sellercentral.amazon.com/gp/homepage.html')
40
+ form = page.form_with(:name => 'signinWidget')
30
41
 
31
- page = agent.get('https://sellercentral.amazon.com/gp/homepage.html')
32
- form = page.form_with(:name => 'signinWidget')
42
+ raise FormNotFoundError unless form
33
43
 
34
- begin
35
- form['username'] = login_email
36
- form['password'] = login_password
37
- p = form.submit
38
- if p =~ /better protect/ # capcha!
39
- raise CapchaPresentError.new("Holy CAPCHA Batman!")
44
+ begin
45
+ form['username'] = login_email
46
+ form['password'] = login_password
47
+ p = form.submit
48
+
49
+ if p =~ /better protect/ # capcha!
50
+ raise CapchaPresentError.new("Holy CAPCHA Batman!")
51
+ end
52
+
53
+ @logged_in = !!( p.body =~ /Logout/ )
54
+
55
+ unless p.body =~ /Manage Inventory/
56
+ marketplace_id = Mechanize::Form::SelectList.new((p / '#sc-mkt-switcher-select').first)
57
+ .options
58
+ .select { |option| option.text == 'www.amazon.com' }
59
+ .first
60
+ .value
61
+
62
+ # The dropdown that selects the subsite uses javascript to change the page location,
63
+ # so we need to query the url directly.
64
+ p = agent.get('https://sellercentral.amazon.com/gp/utilities/set-rainier-prefs.html?ie=UTF8&url=&marketplaceID=' + marketplace_id)
65
+ end
66
+
67
+ rescue StandardError => e
68
+ File.open("/tmp/seller_central_#{Time.now.to_i}.html","wb") do |f|
69
+ f.write page.body
70
+ end
71
+ raise e
72
+ end
73
+
74
+ # New device verification
75
+ if p.body =~ VERIF_PAGE_PATTERN
76
+ form = p.form_with(:name => VERIF_PAGE_FORM_NAME)
77
+ form[VERIF_PAGE_FIELD_NAME] = VERIF_PAGE_ZIP_CODE
78
+ p = form.submit # This raises a response code error, :-(
40
79
  end
41
- @logged_in = !!( p.body =~ /Logout/ && p.body =~ /Manage Inventory/ )
42
80
 
43
- rescue StandardError => e
44
- File.open("/tmp/seller_central_#{Time.now.to_i}.html","wb") do |f|
45
- f.write page.body
81
+ rescue Mechanize::ResponseCodeError, FormNotFoundError
82
+ if tries > 0
83
+ sleep 10
84
+ retry if tries > 0
46
85
  end
47
- raise e
86
+ raise
48
87
  end
88
+ true
49
89
  end
50
90
 
51
91
  def follow_link_with(options)
@@ -62,6 +102,7 @@ module AmazonSellerCentral
62
102
  end
63
103
 
64
104
  class LinkNotFoundError < StandardError; end
105
+ class FormNotFoundError < StandardError; end
65
106
  class AgentResetError < StandardError; end
66
107
  class CapchaPresentError < StandardError; end
67
108
 
@@ -1,7 +1,12 @@
1
1
  module AmazonSellerCentral
2
2
  class OrdersPage < Page
3
+
4
+ DATE_CELL_INDEX = 1
5
+ ORDER_CELL_INDEX = 2
6
+ STATUS_CELL_INDEX = 8
7
+
3
8
  attr_accessor :body
4
-
9
+
5
10
  def initialize
6
11
  @page_no = 0
7
12
  end
@@ -20,7 +25,7 @@ module AmazonSellerCentral
20
25
 
21
26
  def self.pending_orders
22
27
  uri_base = 'https://sellercentral.amazon.com/gp/orders-v2/list/ref=ag_myo_dos4_home?ie=UTF8&showCancelled=0&searchType=OrderStatus&ignoreSearchType=1&statusFilter=Pending&searchFulfillers=mfn&preSelectedRange=30&searchDateOption=preSelected&sortBy=OrderStatusDescending&itemsPerPage=100'
23
-
28
+
24
29
  mech = AmazonSellerCentral.mechanizer
25
30
  mech.login_to_seller_central
26
31
  page = mech.agent.get(uri_base)
@@ -44,11 +49,11 @@ module AmazonSellerCentral
44
49
  row.css('td').each_with_index do |td, i|
45
50
  txt = td.text.strip
46
51
  case i
47
- when 1
52
+ when DATE_CELL_INDEX
48
53
  o.date = Time.parse(txt)
49
- when 4
54
+ when ORDER_CELL_INDEX
50
55
  o.order_id = txt.match(/^(\d{3}-\d+-\d+)\s/)[1]
51
- when 12
56
+ when STATUS_CELL_INDEX
52
57
  o.status = txt
53
58
  end
54
59
  end
@@ -2,7 +2,7 @@ require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
2
2
 
3
3
  describe "PaymentsPage" do
4
4
  describe "available_report_ids" do
5
- it "should return an array of report ids that are available for you to download from seeler central" do
5
+ it "should return an array of report ids that are available for you to download from seller central" do
6
6
  pending "Needs FakeWeb updates."
7
7
  report_ids = AmazonSellerCentral::PaymentsPage.available_report_ids
8
8
  report_ids.class.should == Array
@@ -3,12 +3,6 @@ $LOAD_PATH.unshift(File.dirname(__FILE__))
3
3
  require 'rspec'
4
4
  require 'faker'
5
5
  require 'amazon_seller_central'
6
- require 'ruby-debug'
7
-
8
- if Debugger.respond_to?(:settings)
9
- Debugger.settings[:autoeval] = true
10
- Debugger.settings[:autolist] = 1
11
- end
12
6
 
13
7
  # Requires supporting files with custom matchers and macros, etc,
14
8
  # in ./support/ and its subdirectories.
metadata CHANGED
@@ -1,209 +1,181 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amazon_seller_central
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - optoro
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-02 00:00:00.000000000 Z
11
+ date: 2014-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mechanize
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 2.0.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 2.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: 2.3.0
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: 2.3.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ! '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ! '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: jeweler
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ! '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ! '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: rcov
70
+ name: simplecov
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ! '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ! '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: yard
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ! '>='
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ! '>='
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: guard
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ! '>='
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ! '>='
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: guard-rspec
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ! '>='
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ! '>='
123
- - !ruby/object:Gem::Version
124
- version: '0'
125
- - !ruby/object:Gem::Dependency
126
- name: rb-inotify
127
- requirement: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - ! '>='
130
- - !ruby/object:Gem::Version
131
- version: 0.8.5
132
- type: :development
133
- prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - ! '>='
137
- - !ruby/object:Gem::Version
138
- version: 0.8.5
139
- - !ruby/object:Gem::Dependency
140
- name: libnotify
141
- requirement: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - ! '>='
144
- - !ruby/object:Gem::Version
145
- version: '0'
146
- type: :development
147
- prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - ! '>='
122
+ - - ">="
151
123
  - !ruby/object:Gem::Version
152
124
  version: '0'
153
125
  - !ruby/object:Gem::Dependency
154
126
  name: ffi
155
127
  requirement: !ruby/object:Gem::Requirement
156
128
  requirements:
157
- - - ! '>='
129
+ - - ">="
158
130
  - !ruby/object:Gem::Version
159
131
  version: '0'
160
132
  type: :development
161
133
  prerelease: false
162
134
  version_requirements: !ruby/object:Gem::Requirement
163
135
  requirements:
164
- - - ! '>='
136
+ - - ">="
165
137
  - !ruby/object:Gem::Version
166
138
  version: '0'
167
139
  - !ruby/object:Gem::Dependency
168
140
  name: faker
169
141
  requirement: !ruby/object:Gem::Requirement
170
142
  requirements:
171
- - - ! '>='
143
+ - - ">="
172
144
  - !ruby/object:Gem::Version
173
145
  version: '0'
174
146
  type: :development
175
147
  prerelease: false
176
148
  version_requirements: !ruby/object:Gem::Requirement
177
149
  requirements:
178
- - - ! '>='
150
+ - - ">="
179
151
  - !ruby/object:Gem::Version
180
152
  version: '0'
181
153
  - !ruby/object:Gem::Dependency
182
154
  name: fakeweb
183
155
  requirement: !ruby/object:Gem::Requirement
184
156
  requirements:
185
- - - ! '>='
157
+ - - ">="
186
158
  - !ruby/object:Gem::Version
187
159
  version: '0'
188
160
  type: :development
189
161
  prerelease: false
190
162
  version_requirements: !ruby/object:Gem::Requirement
191
163
  requirements:
192
- - - ! '>='
164
+ - - ">="
193
165
  - !ruby/object:Gem::Version
194
166
  version: '0'
195
167
  - !ruby/object:Gem::Dependency
196
- name: ruby-debug19
168
+ name: pry
197
169
  requirement: !ruby/object:Gem::Requirement
198
170
  requirements:
199
- - - ! '>='
171
+ - - ">="
200
172
  - !ruby/object:Gem::Version
201
173
  version: '0'
202
174
  type: :development
203
175
  prerelease: false
204
176
  version_requirements: !ruby/object:Gem::Requirement
205
177
  requirements:
206
- - - ! '>='
178
+ - - ">="
207
179
  - !ruby/object:Gem::Version
208
180
  version: '0'
209
181
  description: This gem is intended to wrap Amazon's SellerCentral pages with a Ruby
@@ -215,9 +187,9 @@ extra_rdoc_files:
215
187
  - LICENSE.txt
216
188
  - README.md
217
189
  files:
218
- - .document
219
- - .rspec
220
- - .rvmrc
190
+ - ".document"
191
+ - ".rspec"
192
+ - ".rvmrc"
221
193
  - CHANGELOG.md
222
194
  - Gemfile
223
195
  - Gemfile.lock
@@ -283,17 +255,17 @@ require_paths:
283
255
  - lib
284
256
  required_ruby_version: !ruby/object:Gem::Requirement
285
257
  requirements:
286
- - - ! '>='
258
+ - - ">="
287
259
  - !ruby/object:Gem::Version
288
260
  version: '0'
289
261
  required_rubygems_version: !ruby/object:Gem::Requirement
290
262
  requirements:
291
- - - ! '>='
263
+ - - ">="
292
264
  - !ruby/object:Gem::Version
293
265
  version: '0'
294
266
  requirements: []
295
267
  rubyforge_project:
296
- rubygems_version: 2.1.10
268
+ rubygems_version: 2.2.2
297
269
  signing_key:
298
270
  specification_version: 4
299
271
  summary: Ruby API to access Amazon's SellerCentral