compactor 0.3.11 → 0.3.12
Sign up to get free protection for your applications and to get access to all the features.
- data/compactor.gemspec +3 -3
- data/lib/compactor/version.rb +1 -1
- 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.
|
21
|
+
spec.add_dependency "mechanize", "2.4"
|
22
22
|
|
23
23
|
if RUBY_PLATFORM == "java"
|
24
|
-
spec.
|
25
|
-
spec.
|
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"
|
data/lib/compactor/version.rb
CHANGED
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
|
-
|
5
|
-
|
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
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
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
|
-
|
133
|
-
|
134
|
-
- .
|
135
|
-
-
|
136
|
-
-
|
137
|
-
- LICENSE
|
138
|
-
-
|
139
|
-
-
|
140
|
-
-
|
141
|
-
-
|
142
|
-
- lib/compactor
|
143
|
-
- lib/compactor/
|
144
|
-
- lib/compactor/
|
145
|
-
- lib/compactor/
|
146
|
-
- lib/compactor/
|
147
|
-
-
|
148
|
-
- test/
|
149
|
-
- test/fixtures/vcr_cassettes/AmazonReportScraper/
|
150
|
-
- test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/find_reports/
|
151
|
-
- test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/find_reports/
|
152
|
-
- test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/find_reports/
|
153
|
-
- test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/
|
154
|
-
- test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/
|
155
|
-
- test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/
|
156
|
-
- test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/
|
157
|
-
- test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/
|
158
|
-
- test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/
|
159
|
-
- test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/
|
160
|
-
- test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/with_multiple_marketplaces/
|
161
|
-
- test/fixtures/vcr_cassettes/AmazonReportScraper/with_good_login/
|
162
|
-
- test/fixtures/vcr_cassettes/AmazonReportScraper/
|
163
|
-
- test/
|
164
|
-
- test/
|
165
|
-
- test/
|
166
|
-
- test/
|
167
|
-
|
168
|
-
|
169
|
-
|
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
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
requirements:
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
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.
|
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
|