lob 5.4.2 → 5.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/forked_tests_job.yml +36 -0
- data/.github/workflows/run_tests_job.yml +2 -6
- data/.github/workflows/update_gem.yml +1 -4
- data/.gitignore +1 -0
- data/CHANGELOG.md +11 -0
- data/README.md +3 -0
- data/examples/README.md +8 -0
- data/examples/cards.rb +51 -0
- data/lib/lob/client.rb +5 -0
- data/lib/lob/resources/bulk_intl_verifications.rb +1 -0
- data/lib/lob/resources/bulk_us_verifications.rb +1 -0
- data/lib/lob/resources/card.rb +46 -0
- data/lib/lob/resources/resource_base.rb +17 -9
- data/lib/lob/version.rb +1 -1
- data/lob.gemspec +1 -0
- data/spec/lob/resources/bulk_intl_verifications_spec.rb +9 -0
- data/spec/lob/resources/bulk_us_verifications_spec.rb +14 -0
- data/spec/lob/resources/card_spec.rb +145 -0
- data/spec/samples/card.pdf +744 -0
- data/spec/spec_helper.rb +6 -4
- metadata +23 -2
data/spec/spec_helper.rb
CHANGED
@@ -3,10 +3,12 @@ $:.unshift File.expand_path("../lib", File.dirname(__FILE__))
|
|
3
3
|
require "simplecov"
|
4
4
|
require "coveralls"
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
6
|
+
require 'simplecov-lcov'
|
7
|
+
|
8
|
+
SimpleCov::Formatter::LcovFormatter.config.report_with_single_file = true
|
9
|
+
SimpleCov::Formatter::LcovFormatter.config.lcov_file_name = 'lcov.info'
|
10
|
+
|
11
|
+
SimpleCov.formatter = SimpleCov::Formatter::LcovFormatter
|
10
12
|
SimpleCov.start
|
11
13
|
|
12
14
|
require "lob"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lob
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.4.
|
4
|
+
version: 5.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lob
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
@@ -72,6 +72,20 @@ dependencies:
|
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '1.2'
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: simplecov-lcov
|
77
|
+
requirement: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - ">="
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '0'
|
82
|
+
type: :development
|
83
|
+
prerelease: false
|
84
|
+
version_requirements: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
75
89
|
- !ruby/object:Gem::Dependency
|
76
90
|
name: coveralls_reborn
|
77
91
|
requirement: !ruby/object:Gem::Requirement
|
@@ -135,6 +149,7 @@ executables: []
|
|
135
149
|
extensions: []
|
136
150
|
extra_rdoc_files: []
|
137
151
|
files:
|
152
|
+
- ".github/workflows/forked_tests_job.yml"
|
138
153
|
- ".github/workflows/run_tests_job.yml"
|
139
154
|
- ".github/workflows/update_gem.yml"
|
140
155
|
- ".gitignore"
|
@@ -145,6 +160,7 @@ files:
|
|
145
160
|
- README.md
|
146
161
|
- Rakefile
|
147
162
|
- examples/README.md
|
163
|
+
- examples/cards.rb
|
148
164
|
- examples/checks.rb
|
149
165
|
- examples/csv_checks/create_checks.rb
|
150
166
|
- examples/csv_checks/input.csv
|
@@ -174,6 +190,7 @@ files:
|
|
174
190
|
- lib/lob/resources/bank_account.rb
|
175
191
|
- lib/lob/resources/bulk_intl_verifications.rb
|
176
192
|
- lib/lob/resources/bulk_us_verifications.rb
|
193
|
+
- lib/lob/resources/card.rb
|
177
194
|
- lib/lob/resources/check.rb
|
178
195
|
- lib/lob/resources/group.rb
|
179
196
|
- lib/lob/resources/groups_member.rb
|
@@ -193,6 +210,7 @@ files:
|
|
193
210
|
- spec/lob/resources/bank_account_spec.rb
|
194
211
|
- spec/lob/resources/bulk_intl_verifications_spec.rb
|
195
212
|
- spec/lob/resources/bulk_us_verifications_spec.rb
|
213
|
+
- spec/lob/resources/card_spec.rb
|
196
214
|
- spec/lob/resources/check_spec.rb
|
197
215
|
- spec/lob/resources/group_spec.rb
|
198
216
|
- spec/lob/resources/intl_verifications_spec.rb
|
@@ -207,6 +225,7 @@ files:
|
|
207
225
|
- spec/lob/resources/us_zip_lookups_spec.rb
|
208
226
|
- spec/lob_spec.rb
|
209
227
|
- spec/samples/8.5x11.pdf
|
228
|
+
- spec/samples/card.pdf
|
210
229
|
- spec/samples/postcardback.pdf
|
211
230
|
- spec/samples/postcardfront.pdf
|
212
231
|
- spec/samples/sfm-12x9-inside.pdf
|
@@ -243,6 +262,7 @@ test_files:
|
|
243
262
|
- spec/lob/resources/bank_account_spec.rb
|
244
263
|
- spec/lob/resources/bulk_intl_verifications_spec.rb
|
245
264
|
- spec/lob/resources/bulk_us_verifications_spec.rb
|
265
|
+
- spec/lob/resources/card_spec.rb
|
246
266
|
- spec/lob/resources/check_spec.rb
|
247
267
|
- spec/lob/resources/group_spec.rb
|
248
268
|
- spec/lob/resources/intl_verifications_spec.rb
|
@@ -257,6 +277,7 @@ test_files:
|
|
257
277
|
- spec/lob/resources/us_zip_lookups_spec.rb
|
258
278
|
- spec/lob_spec.rb
|
259
279
|
- spec/samples/8.5x11.pdf
|
280
|
+
- spec/samples/card.pdf
|
260
281
|
- spec/samples/postcardback.pdf
|
261
282
|
- spec/samples/postcardfront.pdf
|
262
283
|
- spec/samples/sfm-12x9-inside.pdf
|