compactor 0.3.4 → 0.3.5
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/Gemfile.lock +1 -1
- data/lib/compactor/scraper.rb +2 -1
- data/lib/compactor/version.rb +1 -1
- metadata +3 -5
- data/compactor-0.2.3.gem +0 -0
- data/compactor-0.3.3.gem +0 -0
data/Gemfile.lock
CHANGED
data/lib/compactor/scraper.rb
CHANGED
|
@@ -25,6 +25,7 @@ module Compactor
|
|
|
25
25
|
@mechanize.max_history = 2
|
|
26
26
|
@mechanize.agent.http.verify_mode = OpenSSL::SSL::VERIFY_NONE
|
|
27
27
|
@mechanize.agent.http.reuse_ssl_sessions = false
|
|
28
|
+
@validate_totals = user_credentials[:validate_totals]
|
|
28
29
|
|
|
29
30
|
randomize_user_agent!
|
|
30
31
|
login_to_seller_central user_credentials[:email], user_credentials[:password]
|
|
@@ -244,7 +245,7 @@ module Compactor
|
|
|
244
245
|
# that the current page stays the current page.
|
|
245
246
|
def add_to_collection(reports, row)
|
|
246
247
|
@mechanize.transact do
|
|
247
|
-
report_type, report = row.download_report!(
|
|
248
|
+
report_type, report = row.download_report!(@validate_totals)
|
|
248
249
|
reports[report_type] ||= []
|
|
249
250
|
reports[report_type] << report
|
|
250
251
|
end
|
data/lib/compactor/version.rb
CHANGED
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 3
|
|
8
|
-
-
|
|
9
|
-
version: 0.3.
|
|
8
|
+
- 5
|
|
9
|
+
version: 0.3.5
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Julio Santos
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2013-03-
|
|
17
|
+
date: 2013-03-07 00:00:00 -08:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
@@ -148,8 +148,6 @@ files:
|
|
|
148
148
|
- LICENSE
|
|
149
149
|
- README.md
|
|
150
150
|
- Rakefile
|
|
151
|
-
- compactor-0.2.3.gem
|
|
152
|
-
- compactor-0.3.3.gem
|
|
153
151
|
- compactor.gemspec
|
|
154
152
|
- lib/compactor.rb
|
|
155
153
|
- lib/compactor/extensions.rb
|
data/compactor-0.2.3.gem
DELETED
|
Binary file
|
data/compactor-0.3.3.gem
DELETED
|
Binary file
|