lob 5.0.0 → 5.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 82cb4d2c08d73f1a0c9a9f894e9ab667d9fb21c7
4
- data.tar.gz: 21ee072bff001b317e143c816c1846ea5862c328
3
+ metadata.gz: 1eddef68c4e49063f15b7f4634832a240c3a23cf
4
+ data.tar.gz: 3edfed3dba4fddc7d7750921be0e7b96327712db
5
5
  SHA512:
6
- metadata.gz: c2dbc48bdf335100921f6e0310a151142c08f58afe123837dd0782fd043f232f6cd952447f8ab67ca32db5f93d2e3a48de0877f462b572bdfff03bf8749ad78d
7
- data.tar.gz: 4909bb74ee1dcf52dcbd35bc0ececa581766d7cac52e2c982811fb3ff002cbfc0023ff6318772d3a64289fc4cd728060d0c718bda292f20c5469904305698d8c
6
+ metadata.gz: c7b161bf7195552d5ebccfa434404b091341374cc7cccc7da5d52c3d4b8fd64c197d5cdcb1768f7a00a05e00e21a7597005ac8df84e6b910ee28fa41538282f9
7
+ data.tar.gz: 497354d79e8fb4be0ee802ee518461caab60b5562bb3f3b9f16fa6c8c9ead1c613e6d6099f772233a225d9af26a2acde6fcb0680f5cc0f3f83db368dadf653af
@@ -1,7 +1,5 @@
1
1
  language: ruby
2
2
 
3
- sudo: false
4
-
5
3
  rvm:
6
4
  - jruby-9.0.5.0
7
5
  - jruby-9.1.9.0
@@ -9,11 +7,10 @@ rvm:
9
7
  - 2.2
10
8
  - 2.3
11
9
  - 2.4
10
+ - 2.5
11
+ - 2.6
12
12
 
13
13
  env:
14
14
  JRUBY_OPTS=--2.0
15
15
 
16
- before_install:
17
- - gem install bundler
18
-
19
16
  script: bundle exec rake test
@@ -1,3 +1,9 @@
1
+ ## [**5.1.0**](https://github.com/lob/lob-ruby/releases/tag/v5.1.0)
2
+ - [**176**](https://github.com/lob/lob-ruby/pull/176) Adds support for Group Members (beta feature)
3
+ - [**175**](https://github.com/lob/lob-ruby/pull/175) Adds support for Groups (beta feature)
4
+ - [**174**](https://github.com/lob/lob-ruby/pull/174) Add Ruby 2.5-6, remove API keys, other cleanup
5
+ - [**173**](https://github.com/lob/lob-ruby/pull/173) Update example asset links
6
+
1
7
  ## 5.0.0
2
8
 
3
9
  Version 5.0.0 introduces a breaking change. It removes support for the area mail resources (`Areas` and `Routes`).
data/README.md CHANGED
@@ -1,12 +1,11 @@
1
1
  # lob-ruby
2
2
 
3
3
  [![Build Status](https://travis-ci.org/lob/lob-ruby.svg?branch=master)](https://travis-ci.org/lob/lob-ruby)
4
- [![Gem Version](https://badge.fury.io/rb/lob.svg)](http://badge.fury.io/rb/lob)
5
- [![Dependency Status](https://gemnasium.com/lob/lob-ruby.svg)](https://gemnasium.com/lob/lob-ruby)
4
+ [![Gem Version](https://badge.fury.io/rb/lob.svg)](https://badge.fury.io/rb/lob)
6
5
  [![Coverage Status](https://coveralls.io/repos/lob/lob-ruby/badge.svg?branch=master)](https://coveralls.io/r/lob/lob-ruby?branch=master)
7
- [![Downloads](http://ruby-gem-downloads-badge.herokuapp.com/lob?color=green&type=total)](https://rubygems.org/gems/lob)
6
+ [![Downloads](https://ruby-gem-downloads-badge.herokuapp.com/lob?color=green&type=total)](https://rubygems.org/gems/lob)
8
7
 
9
- Ruby wrapper for the [Lob.com](http://lob.com) API. See the full Lob.com [API Documentation](https://lob.com/docs/ruby). For best results, be sure that you're using [the latest version](https://lob.com/docs/ruby#version) of the Lob API and the latest version of the ruby wrapper. This gem gives you an ActiveRecord-style syntax to use the Lob.com API.
8
+ Ruby wrapper for the [Lob.com](https://lob.com) API. See the full Lob.com [API Documentation](https://lob.com/docs/ruby). For best results, be sure that you're using [the latest version](https://lob.com/docs/ruby#version) of the Lob API and the latest version of the ruby wrapper. This gem gives you an ActiveRecord-style syntax to use the Lob.com API.
10
9
 
11
10
  Supports Ruby 2.0.0 and greater.
12
11
 
@@ -95,7 +94,7 @@ You can also access headers from `Lob::InvalidRequestError`s.
95
94
 
96
95
  ```ruby
97
96
  begin
98
- lob.objects.create(name: "Test", file: "https://lob.com/test.pdf", bad_param: "bad_value")
97
+ lob.objects.create(name: "Test", file: "https://s3-us-west-2.amazonaws.com/public.lob.com/assets/incorrect_size.pdf", bad_param: "bad_value")
99
98
  rescue Lob::InvalidRequestError => e
100
99
  e._response.headers[:content_type]
101
100
  # => "application/json; charset=utf-8"
@@ -2,7 +2,7 @@ $:.unshift File.expand_path("../lib", File.dirname(__FILE__))
2
2
  require 'lob'
3
3
 
4
4
  # initialize Lob object
5
- lob = Lob::Client.new(api_key: 'test_799ff27291c166d10ba191902ad02fb059c')
5
+ lob = Lob::Client.new(api_key: 'YOUR_API_KEY_HERE')
6
6
 
7
7
  # create an address
8
8
  to_address = lob.addresses.create(
@@ -3,7 +3,7 @@ require 'lob'
3
3
  require 'csv'
4
4
 
5
5
  # Initialize Lob object
6
- lob = Lob::Client.new(api_key: 'test_799ff27291c166d10ba191902ad02fb059c')
6
+ lob = Lob::Client.new(api_key: 'YOUR_API_KEY_HERE')
7
7
 
8
8
  # Create a bank account
9
9
  bank_account = lob.bank_accounts.create(
@@ -3,7 +3,7 @@ require 'lob'
3
3
  require 'csv'
4
4
 
5
5
  # Initialize Lob object
6
- lob = Lob::Client.new(api_key: 'test_799ff27291c166d10ba191902ad02fb059c')
6
+ lob = Lob::Client.new(api_key: 'YOUR_API_KEY_HERE')
7
7
 
8
8
  # Load the HTML from letter_template.html
9
9
  letter_html = File.open(File.expand_path('../letter_template.html', __FILE__)).read
@@ -11,7 +11,7 @@
11
11
  font-family: 'Loved by the King';
12
12
  font-style: normal;
13
13
  font-weight: 400;
14
- src: url('https://s3-us-west-2.amazonaws.com/lob-assets/LovedbytheKing.ttf') format('truetype');
14
+ src: url('https://s3-us-west-2.amazonaws.com/public.lob.com/fonts/lovedByTheKing/LovedbytheKing.ttf') format('truetype');
15
15
  }
16
16
 
17
17
  .text {
@@ -3,7 +3,7 @@ require 'lob'
3
3
  require 'csv'
4
4
 
5
5
  # Initialize Lob object
6
- lob = Lob::Client.new(api_key: 'test_799ff27291c166d10ba191902ad02fb059c')
6
+ lob = Lob::Client.new(api_key: 'YOUR_API_KEY_HERE')
7
7
 
8
8
  # Load the HTML from postcard_front.html and postcard_back.html.
9
9
  front_html = File.open(File.expand_path('../postcard_front.html', __FILE__)).read
@@ -1,7 +1,7 @@
1
- Peter,https://s3-us-west-2.amazonaws.com/lob-assets/df-car2.jpg,LightBlue,Jeep Wrangler,65000,Peter,123 Main Street,Apt. 101,San Francisco,CA,94107,US
2
- Marcus,https://s3-us-west-2.amazonaws.com/lob-assets/df-car.jpg,Bisque,Honda Pilot,65000,Marcus,456 Oak Street ,Apt. 102,San Francisco,CA,94185,US
3
- Leore,https://s3-us-west-2.amazonaws.com/lob-assets/df-car2.jpg,PaleGreen,Jeep Wrangler,50000,Leore,123 Test Street,Apt. 101,San Francisco,CA,94105,US
4
- Harry,https://s3-us-west-2.amazonaws.com/lob-assets/df-car.jpg,Thistle,Jeep Wrangler,50000,Harry,789 Elm Street,Apt. 101,San Francisco,CA,94107,US
5
- Elnaz,https://s3-us-west-2.amazonaws.com/lob-assets/df-car2.jpg,PaleTurqoise,Jeep Wrangler,35000,Elnaz,111 Washington Street,Apt. 101,San Francisco,CA,94112,US
6
- Robin,https://s3-us-west-2.amazonaws.com/lob-assets/df-car.jpg,Wheat,Jeep Wrangler,35000,Robin,888 Jefferson Street,Apt. 101,San Francisco,CA,94197,US
7
- Russell,https://s3-us-west-2.amazonaws.com/lob-assets/df-car2.jpg,WhiteSmoke,Jeep Wrangler,15000,Russell,1212 Fourth Street,Apt. 101,San Francisco,CA,94166,US
1
+ Peter,https://s3-us-west-2.amazonaws.com/public.lob.com/assets/example_companies/df-car2.jpg,LightBlue,Jeep Wrangler,65000,Peter,123 Main Street,Apt. 101,San Francisco,CA,94107,US
2
+ Marcus,https://s3-us-west-2.amazonaws.com/public.lob.com/assets/example_companies/df-car.jpg,Bisque,Honda Pilot,65000,Marcus,456 Oak Street ,Apt. 102,San Francisco,CA,94185,US
3
+ Leore,https://s3-us-west-2.amazonaws.com/public.lob.com/assets/example_companies/df-car2.jpg,PaleGreen,Jeep Wrangler,50000,Leore,123 Test Street,Apt. 101,San Francisco,CA,94105,US
4
+ Harry,https://s3-us-west-2.amazonaws.com/public.lob.com/assets/example_companies/df-car.jpg,Thistle,Jeep Wrangler,50000,Harry,789 Elm Street,Apt. 101,San Francisco,CA,94107,US
5
+ Elnaz,https://s3-us-west-2.amazonaws.com/public.lob.com/assets/example_companies/df-car2.jpg,PaleTurqoise,Jeep Wrangler,35000,Elnaz,111 Washington Street,Apt. 101,San Francisco,CA,94112,US
6
+ Robin,https://s3-us-west-2.amazonaws.com/public.lob.com/assets/example_companies/df-car.jpg,Wheat,Jeep Wrangler,35000,Robin,888 Jefferson Street,Apt. 101,San Francisco,CA,94197,US
7
+ Russell,https://s3-us-west-2.amazonaws.com/public.lob.com/assets/example_companies/df-car2.jpg,WhiteSmoke,Jeep Wrangler,15000,Russell,1212 Fourth Street,Apt. 101,San Francisco,CA,94166,US
@@ -6,7 +6,7 @@
6
6
  font-family: 'Arimo';
7
7
  font-style: normal;
8
8
  font-weight: 400;
9
- src: url('https://s3-us-west-2.amazonaws.com/lob-assets/Arimo-Regular.ttf') format('truetype');
9
+ src: url('https://s3-us-west-2.amazonaws.com/public.lob.com/fonts/arimo/Arimo-Regular.ttf') format('truetype');
10
10
  }
11
11
  body {
12
12
  width:11.25in;
@@ -4,7 +4,7 @@ require 'csv'
4
4
  require 'lob'
5
5
 
6
6
  # Initialize Lob object
7
- lob = Lob::Client.new(api_key: 'test_799ff27291c166d10ba191902ad02fb059c')
7
+ lob = Lob::Client.new(api_key: 'YOUR_API_KEY_HERE')
8
8
 
9
9
  output = File.open(File.expand_path('../output.csv', __FILE__), 'w')
10
10
 
@@ -2,7 +2,7 @@ $:.unshift File.expand_path("../lib", File.dirname(__FILE__))
2
2
  require 'lob'
3
3
 
4
4
  # initialize Lob object
5
- lob = Lob::Client.new(api_key: 'test_799ff27291c166d10ba191902ad02fb059c')
5
+ lob = Lob::Client.new(api_key: 'YOUR_API_KEY_HERE')
6
6
 
7
7
  html = %{
8
8
  <html>
@@ -18,7 +18,7 @@ html = %{
18
18
  font-family: 'Loved by the King';
19
19
  font-style: normal;
20
20
  font-weight: 400;
21
- src: url('https://s3-us-west-2.amazonaws.com/lob-assets/LovedbytheKing.ttf') format('truetype');
21
+ src: url('https://s3-us-west-2.amazonaws.com/public.lob.com/fonts/lovedByTheKing/LovedbytheKing.ttf') format('truetype');
22
22
  }
23
23
 
24
24
  .text {
@@ -2,7 +2,7 @@ $:.unshift File.expand_path("../lib", File.dirname(__FILE__))
2
2
  require 'lob'
3
3
 
4
4
  # initialize Lob object
5
- lob = Lob::Client.new(api_key: 'test_799ff27291c166d10ba191902ad02fb059c')
5
+ lob = Lob::Client.new(api_key: 'YOUR_API_KEY_HERE')
6
6
 
7
7
  # HTML to send to the server
8
8
  html = %{
@@ -20,7 +20,7 @@ html = %{
20
20
  font-family: 'Loved by the King';
21
21
  font-style: normal;
22
22
  font-weight: 400;
23
- src: url('https://s3-us-west-2.amazonaws.com/lob-assets/LovedbytheKing.ttf') format('truetype');
23
+ src: url('https://s3-us-west-2.amazonaws.com/public.lob.com/fonts/lovedByTheKing/LovedbytheKing.ttf') format('truetype');
24
24
  }
25
25
 
26
26
  body {
@@ -29,7 +29,7 @@ html = %{
29
29
  margin: 0;
30
30
  padding: 0;
31
31
  /* If using an image, the background image should have dimensions of 1875x1275 pixels. */
32
- background-image: url(https://s3-us-west-2.amazonaws.com/lob-assets/beach.jpg);
32
+ background-image: url(https://s3-us-west-2.amazonaws.com/public.lob.com/assets/beach.jpg);
33
33
  background-size: 6.25in 4.25in;
34
34
  background-repeat: no-repeat;
35
35
  }
@@ -1,6 +1,8 @@
1
1
  require "lob/resources/address"
2
2
  require "lob/resources/bank_account"
3
3
  require "lob/resources/check"
4
+ require "lob/resources/group"
5
+ require "lob/resources/groups_member"
4
6
  require "lob/resources/intl_verifications"
5
7
  require "lob/resources/letter"
6
8
  require "lob/resources/postcard"
@@ -32,6 +34,14 @@ module Lob
32
34
  def checks
33
35
  Lob::Resources::Check.new(config)
34
36
  end
37
+
38
+ def groups
39
+ Lob::Resources::Group.new(config)
40
+ end
41
+
42
+ def groups_members
43
+ Lob::Resources::GroupsMember.new(config)
44
+ end
35
45
 
36
46
  def intl_verifications
37
47
  Lob::Resources::IntlVerifications.new(config)
@@ -0,0 +1,14 @@
1
+ require "lob/resources/resource_base"
2
+
3
+ module Lob
4
+ module Resources
5
+ class Group < Lob::Resources::ResourceBase
6
+
7
+ def initialize(config)
8
+ super(config)
9
+ @endpoint = "groups"
10
+ end
11
+
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,66 @@
1
+ require "rest-client"
2
+ require "json"
3
+ require "uri"
4
+
5
+ module Lob
6
+ module Resources
7
+ class GroupsMember < Lob::Resources::ResourceBase
8
+
9
+ attr_reader :config, :endpoint
10
+
11
+ def initialize(config)
12
+ super(config)
13
+ @endpoint = "members"
14
+ end
15
+
16
+ def list(group_id, query={})
17
+ request = {
18
+ method: :get,
19
+ url: endpoint_url(group_id),
20
+ query: query
21
+ }
22
+
23
+ submit request
24
+ end
25
+
26
+ def find(group_id, resource_id)
27
+ request = {
28
+ method: :get,
29
+ url: resource_url(group_id, resource_id)
30
+ }
31
+
32
+ submit request
33
+ end
34
+
35
+ def create(group_id, body={}, headers={}, query={})
36
+ request = {
37
+ method: :post,
38
+ url: endpoint_url(group_id),
39
+ body: body,
40
+ headers: headers,
41
+ query: query
42
+ }
43
+
44
+ submit request
45
+ end
46
+
47
+ def destroy(group_id, resource_id)
48
+ request = {
49
+ method: :delete,
50
+ url: resource_url(group_id, resource_id)
51
+ }
52
+
53
+ submit request
54
+ end
55
+
56
+ def endpoint_url(group_id)
57
+ "#{base_url}/groups/#{group_id}/#{endpoint}"
58
+ end
59
+
60
+ def resource_url(group_id, resource_id)
61
+ "#{endpoint_url(group_id)}/#{resource_id}"
62
+ end
63
+
64
+ end
65
+ end
66
+ end
@@ -1,3 +1,3 @@
1
1
  module Lob
2
- VERSION = "5.0.0"
2
+ VERSION = "5.1.0"
3
3
  end
@@ -20,12 +20,9 @@ Gem::Specification.new do |spec|
20
20
 
21
21
  spec.add_dependency "rest-client", ">= 1.8", "< 3.0"
22
22
 
23
- spec.add_development_dependency "bundler", "~> 1.3"
24
23
  spec.add_development_dependency "rake", "~> 10.4.2"
25
24
  spec.add_development_dependency "minitest", "~> 5.6.1"
26
25
  spec.add_development_dependency "webmock", "~> 1.2"
27
- spec.add_development_dependency "travis-lint", "~> 2.0.0"
28
26
  spec.add_development_dependency "coveralls", "~> 0.8.1"
29
27
  spec.add_development_dependency "simplecov", "~> 0.10.0"
30
- spec.add_development_dependency "pry", "~> 0.10.0"
31
28
  end
@@ -0,0 +1,50 @@
1
+ require "spec_helper"
2
+
3
+ describe Lob::Resources::Group do
4
+
5
+ before :each do
6
+ @sample_params = {
7
+ description: "Unsubscribe group",
8
+ metadata: {
9
+ test: 'stuff'
10
+ }
11
+ }
12
+ end
13
+
14
+ subject { Lob::Client.new(api_key: API_KEY) }
15
+
16
+ describe "list" do
17
+ it "should list groups" do
18
+ assert subject.groups.list["object"] == "list"
19
+ end
20
+ end
21
+
22
+
23
+ describe "create" do
24
+ it "should create a group" do
25
+ result = subject.groups.create @sample_params
26
+
27
+ result["description"].must_equal(@sample_params[:description])
28
+ end
29
+ end
30
+
31
+
32
+ describe "find" do
33
+ it "should find a group" do
34
+ new_group = subject.groups.create @sample_params
35
+
36
+ find_result = subject.groups.find(new_group["id"])
37
+ find_result["description"].must_equal(@sample_params[:description])
38
+ end
39
+ end
40
+
41
+
42
+ describe "destroy" do
43
+ it "should delete a group" do
44
+ new_group = subject.groups.create @sample_params
45
+
46
+ delete_result = subject.groups.destroy(new_group["id"])
47
+ assert_equal(new_group["id"], delete_result["id"])
48
+ end
49
+ end
50
+ end
@@ -31,7 +31,7 @@ describe Lob::Resources::Letter do
31
31
  new_letter = subject.letters.create(
32
32
  description: "TestLetter",
33
33
  color: true,
34
- file: "https://s3-us-west-2.amazonaws.com/lob-assets/letter-goblue.pdf",
34
+ file: "https://s3-us-west-2.amazonaws.com/public.lob.com/assets/us_letter_1pg.pdf",
35
35
  to: new_address["id"],
36
36
  from: @sample_address_params
37
37
  )
@@ -62,7 +62,7 @@ describe Lob::Resources::Letter do
62
62
  new_letter = subject.letters.create(
63
63
  description: "TestLetter",
64
64
  color: true,
65
- file: "https://s3-us-west-2.amazonaws.com/lob-assets/letter-goblue.pdf",
65
+ file: "https://s3-us-west-2.amazonaws.com/public.lob.com/assets/us_letter_1pg.pdf",
66
66
  to: new_address["id"],
67
67
  from: new_address["id"]
68
68
  )
@@ -80,7 +80,7 @@ describe Lob::Resources::Letter do
80
80
  new_letter = subject.letters.create(
81
81
  description: "TestLetter",
82
82
  color: true,
83
- file: "https://s3-us-west-2.amazonaws.com/lob-assets/letter-goblue.pdf",
83
+ file: "https://s3-us-west-2.amazonaws.com/public.lob.com/assets/us_letter_1pg.pdf",
84
84
  to: new_address["id"],
85
85
  from: new_address["id"]
86
86
  )
@@ -0,0 +1,65 @@
1
+ require "spec_helper"
2
+
3
+ describe Lob::Resources::GroupsMember do
4
+
5
+ before :each do
6
+ @sample_group_params = {
7
+ description: "Unsubscribe group",
8
+ metadata: {
9
+ test: 'stuff'
10
+ }
11
+ }
12
+ @sample_member_params = {
13
+ recipient: {
14
+ name: 'Sophie',
15
+ address_line1: '185 Berry St',
16
+ address_line2: '6100',
17
+ address_city: 'San Francisco',
18
+ address_state: 'CA',
19
+ address_zip: '94107'
20
+ },
21
+ description: "Some Member",
22
+ metadata: {
23
+ test: 'stuff'
24
+ }
25
+ }
26
+ @new_group = subject.groups.create @sample_group_params
27
+ end
28
+
29
+ subject { Lob::Client.new(api_key: API_KEY) }
30
+
31
+ describe "list" do
32
+ it "should list members in a group" do
33
+ assert subject.groups_members.list(@new_group["id"])["object"] == "list"
34
+ end
35
+ end
36
+
37
+
38
+ describe "create" do
39
+ it "should create a member" do
40
+ result = subject.groups_members.create(@new_group["id"], @sample_member_params)
41
+
42
+ result["description"].must_equal(@sample_member_params[:description])
43
+ end
44
+ end
45
+
46
+
47
+ describe "find" do
48
+ it "should find a member" do
49
+ new_member = subject.groups_members.create(@new_group["id"], @sample_member_params)
50
+
51
+ find_result = subject.groups_members.find(@new_group["id"], new_member["id"])
52
+ find_result["description"].must_equal(@sample_member_params[:description])
53
+ end
54
+ end
55
+
56
+
57
+ describe "destroy" do
58
+ it "should delete a member" do
59
+ new_member = subject.groups_members.create(@new_group["id"], @sample_member_params)
60
+
61
+ delete_result = subject.groups_members.destroy(@new_group["id"], new_member["id"])
62
+ assert_equal(new_member["id"], delete_result["id"])
63
+ end
64
+ end
65
+ end
@@ -2,15 +2,11 @@ require "spec_helper"
2
2
 
3
3
  describe Lob::Resources::ResourceBase do
4
4
 
5
- before :each do
6
- @api_key = API_KEY
7
- end
8
-
9
- subject { Lob::Client.new(api_key: @api_key) }
5
+ subject { Lob::Client.new(api_key: API_KEY) }
10
6
 
11
7
  describe "when Lob is initialized" do
12
8
  it "should have API key in config" do
13
- subject.config[:api_key].must_equal @api_key
9
+ subject.config[:api_key].must_equal API_KEY
14
10
  end
15
11
  end
16
12
 
@@ -14,4 +14,4 @@ require "minitest/spec"
14
14
  require "minitest/pride"
15
15
  require "minitest/autorun"
16
16
 
17
- API_KEY = 'test_799ff27291c166d10ba191902ad02fb059c'
17
+ API_KEY = ENV['API_KEY']
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.0.0
4
+ version: 5.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lob
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-02 00:00:00.000000000 Z
11
+ date: 2019-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -30,20 +30,6 @@ dependencies:
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: '3.0'
33
- - !ruby/object:Gem::Dependency
34
- name: bundler
35
- requirement: !ruby/object:Gem::Requirement
36
- requirements:
37
- - - "~>"
38
- - !ruby/object:Gem::Version
39
- version: '1.3'
40
- type: :development
41
- prerelease: false
42
- version_requirements: !ruby/object:Gem::Requirement
43
- requirements:
44
- - - "~>"
45
- - !ruby/object:Gem::Version
46
- version: '1.3'
47
33
  - !ruby/object:Gem::Dependency
48
34
  name: rake
49
35
  requirement: !ruby/object:Gem::Requirement
@@ -86,20 +72,6 @@ dependencies:
86
72
  - - "~>"
87
73
  - !ruby/object:Gem::Version
88
74
  version: '1.2'
89
- - !ruby/object:Gem::Dependency
90
- name: travis-lint
91
- requirement: !ruby/object:Gem::Requirement
92
- requirements:
93
- - - "~>"
94
- - !ruby/object:Gem::Version
95
- version: 2.0.0
96
- type: :development
97
- prerelease: false
98
- version_requirements: !ruby/object:Gem::Requirement
99
- requirements:
100
- - - "~>"
101
- - !ruby/object:Gem::Version
102
- version: 2.0.0
103
75
  - !ruby/object:Gem::Dependency
104
76
  name: coveralls
105
77
  requirement: !ruby/object:Gem::Requirement
@@ -128,20 +100,6 @@ dependencies:
128
100
  - - "~>"
129
101
  - !ruby/object:Gem::Version
130
102
  version: 0.10.0
131
- - !ruby/object:Gem::Dependency
132
- name: pry
133
- requirement: !ruby/object:Gem::Requirement
134
- requirements:
135
- - - "~>"
136
- - !ruby/object:Gem::Version
137
- version: 0.10.0
138
- type: :development
139
- prerelease: false
140
- version_requirements: !ruby/object:Gem::Requirement
141
- requirements:
142
- - - "~>"
143
- - !ruby/object:Gem::Version
144
- version: 0.10.0
145
103
  description: Lob API Ruby wrapper
146
104
  email:
147
105
  - support@lob.com
@@ -179,6 +137,8 @@ files:
179
137
  - lib/lob/resources/address.rb
180
138
  - lib/lob/resources/bank_account.rb
181
139
  - lib/lob/resources/check.rb
140
+ - lib/lob/resources/group.rb
141
+ - lib/lob/resources/groups_member.rb
182
142
  - lib/lob/resources/intl_verifications.rb
183
143
  - lib/lob/resources/letter.rb
184
144
  - lib/lob/resources/postcard.rb
@@ -192,8 +152,10 @@ files:
192
152
  - spec/lob/resources/address_spec.rb
193
153
  - spec/lob/resources/bank_account_spec.rb
194
154
  - spec/lob/resources/check_spec.rb
155
+ - spec/lob/resources/group_spec.rb
195
156
  - spec/lob/resources/intl_verifications_spec.rb
196
157
  - spec/lob/resources/letter_spec.rb
158
+ - spec/lob/resources/member_spec.rb
197
159
  - spec/lob/resources/postcard_spec.rb
198
160
  - spec/lob/resources/resource_base_spec.rb
199
161
  - spec/lob/resources/us_autocompletions_spec.rb
@@ -224,7 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
224
186
  version: '0'
225
187
  requirements: []
226
188
  rubyforge_project:
227
- rubygems_version: 2.6.14
189
+ rubygems_version: 2.5.2.3
228
190
  signing_key:
229
191
  specification_version: 4
230
192
  summary: Ruby wrapper for Lob.com API with ActiveRecord-style syntax
@@ -233,8 +195,10 @@ test_files:
233
195
  - spec/lob/resources/address_spec.rb
234
196
  - spec/lob/resources/bank_account_spec.rb
235
197
  - spec/lob/resources/check_spec.rb
198
+ - spec/lob/resources/group_spec.rb
236
199
  - spec/lob/resources/intl_verifications_spec.rb
237
200
  - spec/lob/resources/letter_spec.rb
201
+ - spec/lob/resources/member_spec.rb
238
202
  - spec/lob/resources/postcard_spec.rb
239
203
  - spec/lob/resources/resource_base_spec.rb
240
204
  - spec/lob/resources/us_autocompletions_spec.rb