usps-ruby-client 0.1.2 → 0.1.3
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.
- checksums.yaml +4 -4
- data/Gemfile.lock +113 -0
- data/README.md +1 -1
- data/lib/usps/version.rb +2 -1
- data/usps-ruby-client-0.1.2.gem +0 -0
- data/usps-ruby-client.gemspec +3 -3
- metadata +11 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d043c38b987945e397288c72d37999ec2cd48feafcfa2ad36e5bf8384f4f3b3f
|
|
4
|
+
data.tar.gz: efdd9aadfd5e17502a72ceed2c5dee89d2c395cb0e784bb77ec6f230a6b5eb5c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 28240a6e23dc9d489e8d8dcf93925e1a71bba85b6e4e78eae4962705aca039abcdbaf3797bcc832c3618646ff47700dad9c71da97e90df54cf3812d08a714a14
|
|
7
|
+
data.tar.gz: bf52634627bd132fffae3c5c493f9c1e29366ebe9e576905ac4c69710cb005f0021ea33ed85113e22e0ce6e23877166efe1abc6e15d85bfcc79c58d7dae7112c
|
data/Gemfile.lock
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
usps-ruby-client (0.1.3)
|
|
5
|
+
activesupport (~> 7.0)
|
|
6
|
+
builder (~> 3.2)
|
|
7
|
+
faraday (~> 0.17)
|
|
8
|
+
faraday_middleware (~> 0.14)
|
|
9
|
+
multi_xml (~> 0.6)
|
|
10
|
+
|
|
11
|
+
GEM
|
|
12
|
+
remote: https://rubygems.org/
|
|
13
|
+
specs:
|
|
14
|
+
activesupport (7.0.2.3)
|
|
15
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
16
|
+
i18n (>= 1.6, < 2)
|
|
17
|
+
minitest (>= 5.1)
|
|
18
|
+
tzinfo (~> 2.0)
|
|
19
|
+
amazing_print (1.4.0)
|
|
20
|
+
ast (2.4.2)
|
|
21
|
+
builder (3.2.4)
|
|
22
|
+
coderay (1.1.3)
|
|
23
|
+
concurrent-ruby (1.1.10)
|
|
24
|
+
diff-lcs (1.5.0)
|
|
25
|
+
docile (1.4.0)
|
|
26
|
+
erubis (2.7.0)
|
|
27
|
+
faraday (0.17.5)
|
|
28
|
+
multipart-post (>= 1.2, < 3)
|
|
29
|
+
faraday_middleware (0.14.0)
|
|
30
|
+
faraday (>= 0.7.4, < 1.0)
|
|
31
|
+
i18n (1.10.0)
|
|
32
|
+
concurrent-ruby (~> 1.0)
|
|
33
|
+
method_source (1.0.0)
|
|
34
|
+
mini_portile2 (2.8.0)
|
|
35
|
+
minitest (5.15.0)
|
|
36
|
+
multi_xml (0.6.0)
|
|
37
|
+
multipart-post (2.1.1)
|
|
38
|
+
nokogiri (1.13.3)
|
|
39
|
+
mini_portile2 (~> 2.8.0)
|
|
40
|
+
racc (~> 1.4)
|
|
41
|
+
parallel (1.22.1)
|
|
42
|
+
parser (3.1.1.0)
|
|
43
|
+
ast (~> 2.4.1)
|
|
44
|
+
pry (0.14.1)
|
|
45
|
+
coderay (~> 1.1)
|
|
46
|
+
method_source (~> 1.0)
|
|
47
|
+
racc (1.6.0)
|
|
48
|
+
rainbow (3.1.1)
|
|
49
|
+
rake (12.3.3)
|
|
50
|
+
regexp_parser (2.2.1)
|
|
51
|
+
rexml (3.2.5)
|
|
52
|
+
rspec (3.11.0)
|
|
53
|
+
rspec-core (~> 3.11.0)
|
|
54
|
+
rspec-expectations (~> 3.11.0)
|
|
55
|
+
rspec-mocks (~> 3.11.0)
|
|
56
|
+
rspec-core (3.11.0)
|
|
57
|
+
rspec-support (~> 3.11.0)
|
|
58
|
+
rspec-expectations (3.11.0)
|
|
59
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
60
|
+
rspec-support (~> 3.11.0)
|
|
61
|
+
rspec-mocks (3.11.0)
|
|
62
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
63
|
+
rspec-support (~> 3.11.0)
|
|
64
|
+
rspec-support (3.11.0)
|
|
65
|
+
rubocop (1.26.1)
|
|
66
|
+
parallel (~> 1.10)
|
|
67
|
+
parser (>= 3.1.0.0)
|
|
68
|
+
rainbow (>= 2.2.2, < 4.0)
|
|
69
|
+
regexp_parser (>= 1.8, < 3.0)
|
|
70
|
+
rexml
|
|
71
|
+
rubocop-ast (>= 1.16.0, < 2.0)
|
|
72
|
+
ruby-progressbar (~> 1.7)
|
|
73
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
|
74
|
+
rubocop-ast (1.16.0)
|
|
75
|
+
parser (>= 3.1.1.0)
|
|
76
|
+
rubocop-performance (1.13.3)
|
|
77
|
+
rubocop (>= 1.7.0, < 2.0)
|
|
78
|
+
rubocop-ast (>= 0.4.0)
|
|
79
|
+
rubocop-rspec (2.9.0)
|
|
80
|
+
rubocop (~> 1.19)
|
|
81
|
+
ruby-progressbar (1.11.0)
|
|
82
|
+
simplecov (0.21.2)
|
|
83
|
+
docile (~> 1.1)
|
|
84
|
+
simplecov-html (~> 0.11)
|
|
85
|
+
simplecov_json_formatter (~> 0.1)
|
|
86
|
+
simplecov-html (0.12.3)
|
|
87
|
+
simplecov_json_formatter (0.1.4)
|
|
88
|
+
tzinfo (2.0.4)
|
|
89
|
+
concurrent-ruby (~> 1.0)
|
|
90
|
+
unicode-display_width (2.1.0)
|
|
91
|
+
webrick (1.7.0)
|
|
92
|
+
yard (0.9.27)
|
|
93
|
+
webrick (~> 1.7.0)
|
|
94
|
+
|
|
95
|
+
PLATFORMS
|
|
96
|
+
ruby
|
|
97
|
+
|
|
98
|
+
DEPENDENCIES
|
|
99
|
+
amazing_print (~> 1.2)
|
|
100
|
+
erubis (~> 2.7)
|
|
101
|
+
nokogiri (~> 1.10)
|
|
102
|
+
pry (~> 0.13)
|
|
103
|
+
rake (~> 12.0)
|
|
104
|
+
rspec (~> 3.0)
|
|
105
|
+
rubocop (~> 1.7)
|
|
106
|
+
rubocop-performance (~> 1.9)
|
|
107
|
+
rubocop-rspec (~> 2.1)
|
|
108
|
+
simplecov (~> 0.21)
|
|
109
|
+
usps-ruby-client!
|
|
110
|
+
yard (~> 0.9)
|
|
111
|
+
|
|
112
|
+
BUNDLED WITH
|
|
113
|
+
2.3.5
|
data/README.md
CHANGED
|
@@ -61,7 +61,7 @@ After checking out the repo, run `bin/setup` to install dependencies. Then, run
|
|
|
61
61
|
|
|
62
62
|
### Updating the auto-generated methods
|
|
63
63
|
|
|
64
|
-
Because the USPS website does not allow scripts to make requests against their website, you must [download the API User Guide HTML files manually](https://www.usps.com/business/web-tools-apis/documentation-updates.htm). I recommend right-clicking the **HTM**
|
|
64
|
+
Because the USPS website does not allow scripts to make requests against their website, you must [download the API User Guide HTML files manually](https://www.usps.com/business/web-tools-apis/documentation-updates.htm). I recommend right-clicking the **HTM** and selecting *Save Link As...* to prevent any browser extensions from injecting their code and breaking the parsing.
|
|
65
65
|
|
|
66
66
|
Place just the `.htm` files in `lib/data/api` (and remove any that may no longer be active) and run `rake usps:api:update`. This task will recreate all the appropriate methods and some basic spec tests.
|
|
67
67
|
|
data/lib/usps/version.rb
CHANGED
|
Binary file
|
data/usps-ruby-client.gemspec
CHANGED
|
@@ -29,10 +29,10 @@ Gem::Specification.new do |spec|
|
|
|
29
29
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
30
30
|
spec.require_paths = ['lib']
|
|
31
31
|
|
|
32
|
-
spec.add_dependency 'activesupport', '~>
|
|
32
|
+
spec.add_dependency 'activesupport', '~> 7.0'
|
|
33
33
|
spec.add_dependency 'builder', '~> 3.2'
|
|
34
|
-
spec.add_dependency 'faraday', '~>
|
|
35
|
-
spec.add_dependency 'faraday_middleware', '~>
|
|
34
|
+
spec.add_dependency 'faraday', '~> 0.17'
|
|
35
|
+
spec.add_dependency 'faraday_middleware', '~> 0.14'
|
|
36
36
|
spec.add_dependency 'multi_xml', '~> 0.6'
|
|
37
37
|
spec.add_development_dependency 'amazing_print', '~> 1.2'
|
|
38
38
|
spec.add_development_dependency 'erubis', '~> 2.7'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: usps-ruby-client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Joey Paris
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2022-03-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '
|
|
19
|
+
version: '7.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
|
-
version: '
|
|
26
|
+
version: '7.0'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: builder
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -44,28 +44,28 @@ dependencies:
|
|
|
44
44
|
requirements:
|
|
45
45
|
- - "~>"
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: '
|
|
47
|
+
version: '0.17'
|
|
48
48
|
type: :runtime
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
52
|
- - "~>"
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: '
|
|
54
|
+
version: '0.17'
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: faraday_middleware
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
58
58
|
requirements:
|
|
59
59
|
- - "~>"
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: '
|
|
61
|
+
version: '0.14'
|
|
62
62
|
type: :runtime
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
66
|
- - "~>"
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: '
|
|
68
|
+
version: '0.14'
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
70
|
name: multi_xml
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -236,6 +236,7 @@ files:
|
|
|
236
236
|
- ".travis.yml"
|
|
237
237
|
- CODE_OF_CONDUCT.md
|
|
238
238
|
- Gemfile
|
|
239
|
+
- Gemfile.lock
|
|
239
240
|
- LICENSE.txt
|
|
240
241
|
- README.md
|
|
241
242
|
- Rakefile
|
|
@@ -293,6 +294,7 @@ files:
|
|
|
293
294
|
- lib/usps/logger.rb
|
|
294
295
|
- lib/usps/version.rb
|
|
295
296
|
- usps-ruby-client-0.1.0.gem
|
|
297
|
+
- usps-ruby-client-0.1.2.gem
|
|
296
298
|
- usps-ruby-client.gemspec
|
|
297
299
|
homepage: https://www.usps.com/business/web-tools-apis/documentation-updates.htm
|
|
298
300
|
licenses:
|
|
@@ -315,7 +317,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
315
317
|
- !ruby/object:Gem::Version
|
|
316
318
|
version: '0'
|
|
317
319
|
requirements: []
|
|
318
|
-
rubygems_version: 3.
|
|
320
|
+
rubygems_version: 3.2.32
|
|
319
321
|
signing_key:
|
|
320
322
|
specification_version: 4
|
|
321
323
|
summary: An automatically generated USPS API Client
|