lob 6.0.0 → 6.0.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: adfcd43de443af0aadc3ab1e51a98edc0b68a129e7fa54c1c2978ddf171d51f4
4
- data.tar.gz: cee002ba7ff1f778fe1b3a253294229a8abe2fe2be328336a731118fd01904b2
3
+ metadata.gz: '029576253ce8e6d30dfb1d0e095211a027264a6196d53e8b4630d027700345d6'
4
+ data.tar.gz: f6932b2ead4992c154b8c36e502a60925dfe84fbd178c312bdcdab612bbd8d43
5
5
  SHA512:
6
- metadata.gz: a0a714c5da36cd624cd65191b251b8daef07c2abc1cf20345e21db07a8dbf12363e36eafa0c1625fe7c570e0cea8366d7665a7fbe528097b503cd95c963a2723
7
- data.tar.gz: 85a62e77421354456f0292a2533b1c8e16ed5c2b501f93ec3e24d2ee031fd18cd108e0abaa738e9bf0bbfb552835fbaeee8058bed389da4bc555c4e1197dbf49
6
+ metadata.gz: 5460d4ba69b98b002032d52b45031f3aafd6f233dba76a846afd67c8552d4db78a541cdeaae817a45ea0897c859dca2ab09d3a2f8f460a94f6dd0cf8c74c35da
7
+ data.tar.gz: 86204f9844b445af002619c57e3016ea3378ec6becab797900913540da9e44e966e5146698aae4e1d083caa3067b27fc0420e25da83b009a60e91b3d65a11d30
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lob (6.0.0)
4
+ lob (6.0.1)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -67,4 +67,4 @@ DEPENDENCIES
67
67
  rubocop (~> 0.66.0)
68
68
 
69
69
  BUNDLED WITH
70
- 2.4.4
70
+ 2.4.6
@@ -0,0 +1,21 @@
1
+ # Require.unit.rb
2
+
3
+ RSpec.describe "Require" do
4
+
5
+ it "works with lob.rb" do
6
+ Object.send :remove_const, :Lob
7
+ paths = $".select do |path|
8
+ path.include?(File.expand_path("../../lib", File.dirname(__FILE__)))
9
+ end
10
+ paths.each { |path| $".delete(path) }
11
+
12
+ expect(defined?(Lob)).to eq(nil)
13
+ expect(defined?(Lob::Configuration)).to eq(nil)
14
+
15
+ require "lob"
16
+
17
+ expect(defined?(Lob)).to eq("constant")
18
+ expect(defined?(Lob::Configuration)).to eq("constant")
19
+ end
20
+
21
+ end
data/lib/lob.rb ADDED
@@ -0,0 +1 @@
1
+ require 'openapi_client'
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.2.1
11
11
  =end
12
12
 
13
13
  module Lob
14
- VERSION = '6.0.0'
14
+ VERSION = '6.0.1'
15
15
  end
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: 6.0.0
4
+ version: 6.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lob
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-18 00:00:00.000000000 Z
11
+ date: 2023-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -74,6 +74,7 @@ files:
74
74
  - __tests__/Api/IntlVerification.unit.rb
75
75
  - __tests__/Api/Letter.unit.rb
76
76
  - __tests__/Api/Postcard.unit.rb
77
+ - __tests__/Api/Require.unit.rb
77
78
  - __tests__/Api/ReverseGeocodeLookup.unit.rb
78
79
  - __tests__/Api/SelfMailer.unit.rb
79
80
  - __tests__/Api/Template.unit.rb
@@ -266,6 +267,7 @@ files:
266
267
  - docs/ZipLookupCity.md
267
268
  - docs/ZipLookupsApi.md
268
269
  - git_push.sh
270
+ - lib/lob.rb
269
271
  - lib/openapi_client.rb
270
272
  - lib/openapi_client/api/addresses_api.rb
271
273
  - lib/openapi_client/api/bank_accounts_api.rb
@@ -494,28 +496,28 @@ signing_key:
494
496
  specification_version: 4
495
497
  summary: Ruby wrapper for Lob.com API with ActiveRecord-style syntax
496
498
  test_files:
497
- - spec/api/billing_groups_api_spec.rb
498
- - spec/api/postcards_api_spec.rb
499
- - spec/api/us_verifications_api_spec.rb
500
- - spec/api/default_api_spec.rb
501
- - spec/api/us_autocompletions_api_spec.rb
499
+ - spec/api/reverse_geocode_lookups_api_spec.rb
500
+ - spec/api/templates_api_spec.rb
501
+ - spec/api/addresses_api_spec.rb
502
502
  - spec/api/bank_accounts_api_spec.rb
503
503
  - spec/api/intl_verifications_api_spec.rb
504
- - spec/api/self_mailers_api_spec.rb
505
- - spec/api/cards_api_spec.rb
504
+ - spec/api/default_api_spec.rb
505
+ - spec/api/card_orders_api_spec.rb
506
506
  - spec/api/creatives_api_spec.rb
507
- - spec/api/checks_api_spec.rb
508
- - spec/api/letters_api_spec.rb
509
- - spec/api/zip_lookups_api_spec.rb
510
507
  - spec/api/template_versions_api_spec.rb
511
- - spec/api/addresses_api_spec.rb
512
- - spec/api/campaigns_api_spec.rb
513
- - spec/api/card_orders_api_spec.rb
514
508
  - spec/api/identity_validation_api_spec.rb
515
- - spec/api/intl_autocompletions_api_spec.rb
516
509
  - spec/api/uploads_api_spec.rb
517
- - spec/api/templates_api_spec.rb
518
- - spec/api/reverse_geocode_lookups_api_spec.rb
510
+ - spec/api/letters_api_spec.rb
511
+ - spec/api/us_verifications_api_spec.rb
512
+ - spec/api/intl_autocompletions_api_spec.rb
513
+ - spec/api/checks_api_spec.rb
514
+ - spec/api/billing_groups_api_spec.rb
515
+ - spec/api/zip_lookups_api_spec.rb
516
+ - spec/api/self_mailers_api_spec.rb
517
+ - spec/api/postcards_api_spec.rb
518
+ - spec/api/campaigns_api_spec.rb
519
+ - spec/api/us_autocompletions_api_spec.rb
520
+ - spec/api/cards_api_spec.rb
519
521
  - spec/api_client_spec.rb
520
522
  - spec/configuration_spec.rb
521
523
  - spec/spec_helper.rb