compactor 0.3.11 → 0.3.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/compactor.gemspec +3 -3
  2. data/lib/compactor/version.rb +1 -1
  3. metadata +225 -202
data/compactor.gemspec CHANGED
@@ -18,11 +18,11 @@ Gem::Specification.new do |spec|
18
18
  spec.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_runtime_dependency "mechanize", "2.4"
21
+ spec.add_dependency "mechanize", "2.4"
22
22
 
23
23
  if RUBY_PLATFORM == "java"
24
- spec.add_runtime_dependency "jruby-openssl", '0.7.3'
25
- spec.add_runtime_dependency "nokogiri", ">= 1.5.0", "< 1.5.3"
24
+ spec.add_dependency "jruby-openssl", '0.7.3'
25
+ spec.add_dependency "nokogiri", ">= 1.5.0", "< 1.5.3"
26
26
  end
27
27
 
28
28
  spec.add_development_dependency "rake"
@@ -1,3 +1,3 @@
1
1
  module Compactor
2
- VERSION = "0.3.11"
2
+ VERSION = "0.3.12"
3
3
  end
metadata CHANGED
@@ -1,218 +1,241 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: compactor
3
- version: !ruby/object:Gem::Version
4
- version: 0.3.11
5
- prerelease:
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 3
8
+ - 12
9
+ version: 0.3.12
6
10
  platform: ruby
7
- authors:
8
- - Julio Santos
11
+ authors:
12
+ - Julio Santos
9
13
  autorequire:
10
14
  bindir: bin
11
15
  cert_chain: []
12
- date: 2013-04-23 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: mechanize
16
- requirement: !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - '='
20
- - !ruby/object:Gem::Version
21
- version: '2.4'
22
- type: :runtime
23
- prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - '='
28
- - !ruby/object:Gem::Version
29
- version: '2.4'
30
- - !ruby/object:Gem::Dependency
31
- name: rake
32
- requirement: !ruby/object:Gem::Requirement
33
- none: false
34
- requirements:
35
- - - ! '>='
36
- - !ruby/object:Gem::Version
37
- version: '0'
38
- type: :development
39
- prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: '0'
46
- - !ruby/object:Gem::Dependency
47
- name: mocha
48
- requirement: !ruby/object:Gem::Requirement
49
- none: false
50
- requirements:
51
- - - '='
52
- - !ruby/object:Gem::Version
53
- version: 0.12.1
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - '='
60
- - !ruby/object:Gem::Version
61
- version: 0.12.1
62
- - !ruby/object:Gem::Dependency
63
- name: vcr
64
- requirement: !ruby/object:Gem::Requirement
65
- none: false
66
- requirements:
67
- - - ~>
68
- - !ruby/object:Gem::Version
69
- version: 2.0.0
70
- type: :development
71
- prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ~>
76
- - !ruby/object:Gem::Version
77
- version: 2.0.0
78
- - !ruby/object:Gem::Dependency
79
- name: fakeweb
80
- requirement: !ruby/object:Gem::Requirement
81
- none: false
82
- requirements:
83
- - - ! '>='
84
- - !ruby/object:Gem::Version
85
- version: '0'
86
- type: :development
87
- prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - ! '>='
92
- - !ruby/object:Gem::Version
93
- version: '0'
94
- - !ruby/object:Gem::Dependency
95
- name: rcov
96
- requirement: !ruby/object:Gem::Requirement
97
- none: false
98
- requirements:
99
- - - '='
100
- - !ruby/object:Gem::Version
101
- version: 0.9.11
102
- type: :development
103
- prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - '='
108
- - !ruby/object:Gem::Version
109
- version: 0.9.11
110
- - !ruby/object:Gem::Dependency
111
- name: bundler
112
- requirement: !ruby/object:Gem::Requirement
113
- none: false
114
- requirements:
115
- - - ~>
116
- - !ruby/object:Gem::Version
117
- version: '1.3'
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
- requirements:
123
- - - ~>
124
- - !ruby/object:Gem::Version
125
- version: '1.3'
16
+
17
+ date: 2013-04-23 00:00:00 -07:00
18
+ default_executable:
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: mechanize
22
+ version_requirements: &id001 !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "="
25
+ - !ruby/object:Gem::Version
26
+ segments:
27
+ - 2
28
+ - 4
29
+ version: "2.4"
30
+ requirement: *id001
31
+ prerelease: false
32
+ type: :runtime
33
+ - !ruby/object:Gem::Dependency
34
+ name: jruby-openssl
35
+ version_requirements: &id002 !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "="
38
+ - !ruby/object:Gem::Version
39
+ segments:
40
+ - 0
41
+ - 7
42
+ - 3
43
+ version: 0.7.3
44
+ requirement: *id002
45
+ prerelease: false
46
+ type: :runtime
47
+ - !ruby/object:Gem::Dependency
48
+ name: nokogiri
49
+ version_requirements: &id003 !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ segments:
54
+ - 1
55
+ - 5
56
+ - 0
57
+ version: 1.5.0
58
+ - - <
59
+ - !ruby/object:Gem::Version
60
+ segments:
61
+ - 1
62
+ - 5
63
+ - 3
64
+ version: 1.5.3
65
+ requirement: *id003
66
+ prerelease: false
67
+ type: :runtime
68
+ - !ruby/object:Gem::Dependency
69
+ name: rake
70
+ version_requirements: &id004 !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ segments:
75
+ - 0
76
+ version: "0"
77
+ requirement: *id004
78
+ prerelease: false
79
+ type: :development
80
+ - !ruby/object:Gem::Dependency
81
+ name: mocha
82
+ version_requirements: &id005 !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - "="
85
+ - !ruby/object:Gem::Version
86
+ segments:
87
+ - 0
88
+ - 12
89
+ - 1
90
+ version: 0.12.1
91
+ requirement: *id005
92
+ prerelease: false
93
+ type: :development
94
+ - !ruby/object:Gem::Dependency
95
+ name: vcr
96
+ version_requirements: &id006 !ruby/object:Gem::Requirement
97
+ requirements:
98
+ - - ~>
99
+ - !ruby/object:Gem::Version
100
+ segments:
101
+ - 2
102
+ - 0
103
+ - 0
104
+ version: 2.0.0
105
+ requirement: *id006
106
+ prerelease: false
107
+ type: :development
108
+ - !ruby/object:Gem::Dependency
109
+ name: fakeweb
110
+ version_requirements: &id007 !ruby/object:Gem::Requirement
111
+ requirements:
112
+ - - ">="
113
+ - !ruby/object:Gem::Version
114
+ segments:
115
+ - 0
116
+ version: "0"
117
+ requirement: *id007
118
+ prerelease: false
119
+ type: :development
120
+ - !ruby/object:Gem::Dependency
121
+ name: rcov
122
+ version_requirements: &id008 !ruby/object:Gem::Requirement
123
+ requirements:
124
+ - - "="
125
+ - !ruby/object:Gem::Version
126
+ segments:
127
+ - 0
128
+ - 9
129
+ - 11
130
+ version: 0.9.11
131
+ requirement: *id008
132
+ prerelease: false
133
+ type: :development
134
+ - !ruby/object:Gem::Dependency
135
+ name: bundler
136
+ version_requirements: &id009 !ruby/object:Gem::Requirement
137
+ requirements:
138
+ - - ~>
139
+ - !ruby/object:Gem::Version
140
+ segments:
141
+ - 1
142
+ - 3
143
+ version: "1.3"
144
+ requirement: *id009
145
+ prerelease: false
146
+ type: :development
126
147
  description: Scrape Amazon Seller Central
127
- email:
128
- - julio@morgane.com
148
+ email:
149
+ - julio@morgane.com
129
150
  executables: []
151
+
130
152
  extensions: []
153
+
131
154
  extra_rdoc_files: []
132
- files:
133
- - .gitignore
134
- - .travis.yml
135
- - Gemfile
136
- - LICENSE
137
- - LICENSE.txt
138
- - README.md
139
- - Rakefile
140
- - compactor.gemspec
141
- - lib/compactor.rb
142
- - lib/compactor/extensions.rb
143
- - lib/compactor/scraped_row.rb
144
- - lib/compactor/scraper.rb
145
- - lib/compactor/version.rb
146
- - lib/compactor/xml_parser.rb
147
- - test/date_extensions_test.rb
148
- - test/fixtures/vcr_cassettes/AmazonReportScraper/with_bad_login/raise_error.yml
149
- - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/find_reports/multiple_pages.yml
150
- - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/find_reports/no_reports.yml
151
- - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/find_reports/no_reports_to_request.yml
152
- - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/find_reports/reports_to_request.yml
153
- - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/get_balance.yml
154
- - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/get_orders.yml
155
- - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/get_orders_big.yml
156
- - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/get_orders_logging.yml
157
- - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/get_orders_with_po_box.yml
158
- - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/shipping_address_not_starting_with_number.yml
159
- - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/with_multiple_marketplaces/find_reports/reports_to_request.yml
160
- - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/with_multiple_marketplaces/get_marketplaces.yml
161
- - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/with_single_marketplaces/get_marketplaces.yml
162
- - test/fixtures/vcr_cassettes/AmazonReportScraper/with_locked_account/raise_error.yml
163
- - test/mechanize_extensions_test.rb
164
- - test/scraped_row_test.rb
165
- - test/scraper_test.rb
166
- - test/test_helper.rb
167
- homepage: ''
168
- licenses:
169
- - MIT
155
+
156
+ files:
157
+ - .gitignore
158
+ - .travis.yml
159
+ - Gemfile
160
+ - LICENSE
161
+ - LICENSE.txt
162
+ - README.md
163
+ - Rakefile
164
+ - compactor.gemspec
165
+ - lib/compactor.rb
166
+ - lib/compactor/extensions.rb
167
+ - lib/compactor/scraped_row.rb
168
+ - lib/compactor/scraper.rb
169
+ - lib/compactor/version.rb
170
+ - lib/compactor/xml_parser.rb
171
+ - test/date_extensions_test.rb
172
+ - test/fixtures/vcr_cassettes/AmazonReportScraper/with_bad_login/raise_error.yml
173
+ - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/find_reports/multiple_pages.yml
174
+ - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/find_reports/no_reports.yml
175
+ - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/find_reports/no_reports_to_request.yml
176
+ - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/find_reports/reports_to_request.yml
177
+ - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/get_balance.yml
178
+ - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/get_orders.yml
179
+ - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/get_orders_big.yml
180
+ - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/get_orders_logging.yml
181
+ - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/get_orders_with_po_box.yml
182
+ - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/shipping_address_not_starting_with_number.yml
183
+ - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/with_multiple_marketplaces/find_reports/reports_to_request.yml
184
+ - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/with_multiple_marketplaces/get_marketplaces.yml
185
+ - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/with_single_marketplaces/get_marketplaces.yml
186
+ - test/fixtures/vcr_cassettes/AmazonReportScraper/with_locked_account/raise_error.yml
187
+ - test/mechanize_extensions_test.rb
188
+ - test/scraped_row_test.rb
189
+ - test/scraper_test.rb
190
+ - test/test_helper.rb
191
+ has_rdoc: true
192
+ homepage: ""
193
+ licenses:
194
+ - MIT
170
195
  post_install_message:
171
196
  rdoc_options: []
172
- require_paths:
173
- - lib
174
- required_ruby_version: !ruby/object:Gem::Requirement
175
- none: false
176
- requirements:
177
- - - ! '>='
178
- - !ruby/object:Gem::Version
179
- version: '0'
180
- segments:
181
- - 0
182
- hash: -4194534273650347791
183
- required_rubygems_version: !ruby/object:Gem::Requirement
184
- none: false
185
- requirements:
186
- - - ! '>='
187
- - !ruby/object:Gem::Version
188
- version: '0'
189
- segments:
190
- - 0
191
- hash: -4194534273650347791
197
+
198
+ require_paths:
199
+ - lib
200
+ required_ruby_version: !ruby/object:Gem::Requirement
201
+ requirements:
202
+ - - ">="
203
+ - !ruby/object:Gem::Version
204
+ segments:
205
+ - 0
206
+ version: "0"
207
+ required_rubygems_version: !ruby/object:Gem::Requirement
208
+ requirements:
209
+ - - ">="
210
+ - !ruby/object:Gem::Version
211
+ segments:
212
+ - 0
213
+ version: "0"
192
214
  requirements: []
215
+
193
216
  rubyforge_project:
194
- rubygems_version: 1.8.23
217
+ rubygems_version: 1.3.6
195
218
  signing_key:
196
219
  specification_version: 3
197
220
  summary: Scrape Amazon Seller Central
198
- test_files:
199
- - test/date_extensions_test.rb
200
- - test/fixtures/vcr_cassettes/AmazonReportScraper/with_bad_login/raise_error.yml
201
- - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/find_reports/multiple_pages.yml
202
- - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/find_reports/no_reports.yml
203
- - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/find_reports/no_reports_to_request.yml
204
- - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/find_reports/reports_to_request.yml
205
- - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/get_balance.yml
206
- - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/get_orders.yml
207
- - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/get_orders_big.yml
208
- - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/get_orders_logging.yml
209
- - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/get_orders_with_po_box.yml
210
- - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/shipping_address_not_starting_with_number.yml
211
- - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/with_multiple_marketplaces/find_reports/reports_to_request.yml
212
- - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/with_multiple_marketplaces/get_marketplaces.yml
213
- - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/with_single_marketplaces/get_marketplaces.yml
214
- - test/fixtures/vcr_cassettes/AmazonReportScraper/with_locked_account/raise_error.yml
215
- - test/mechanize_extensions_test.rb
216
- - test/scraped_row_test.rb
217
- - test/scraper_test.rb
218
- - test/test_helper.rb
221
+ test_files:
222
+ - test/date_extensions_test.rb
223
+ - test/fixtures/vcr_cassettes/AmazonReportScraper/with_bad_login/raise_error.yml
224
+ - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/find_reports/multiple_pages.yml
225
+ - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/find_reports/no_reports.yml
226
+ - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/find_reports/no_reports_to_request.yml
227
+ - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/find_reports/reports_to_request.yml
228
+ - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/get_balance.yml
229
+ - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/get_orders.yml
230
+ - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/get_orders_big.yml
231
+ - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/get_orders_logging.yml
232
+ - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/get_orders_with_po_box.yml
233
+ - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/shipping_address_not_starting_with_number.yml
234
+ - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/with_multiple_marketplaces/find_reports/reports_to_request.yml
235
+ - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/with_multiple_marketplaces/get_marketplaces.yml
236
+ - test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/with_single_marketplaces/get_marketplaces.yml
237
+ - test/fixtures/vcr_cassettes/AmazonReportScraper/with_locked_account/raise_error.yml
238
+ - test/mechanize_extensions_test.rb
239
+ - test/scraped_row_test.rb
240
+ - test/scraper_test.rb
241
+ - test/test_helper.rb