rock_rms 6.2.0 → 7.0.2

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: a5c736d626c3e10da442946c804afb51495b72dbd639eb1618ddf02f5014373b
4
- data.tar.gz: 530f44eb1fc23905e1c73f8fb1520758211437cd9ef274edc6cec40022912fab
3
+ metadata.gz: e2a4fa58c26f7319dbc70a9caa55a0195f1f9516e941d706e0fd0d21dab41d32
4
+ data.tar.gz: e73dfae38fcb5e46109e46338354a6b080f017bdbee844b363f54dd855cbd72b
5
5
  SHA512:
6
- metadata.gz: b9310ac0e808dc7b62cc60cea9aa8137db0d5905caec35ae13d5cb0e1d59f15980f2a06ae63bbaa7c3b63e66181292769a711f8c5ebb9bc8c2bf465c7c6f4ac3
7
- data.tar.gz: 5791b298548d265583c4258a09817f6e38f2720c86e6044fa77d23cbf9c097d81654fff0013922ad997e8764cdb262104c2b83c11562a75ab97aa1c2a64de0de
6
+ metadata.gz: e3b5ea27899ea899d8e4a101cac5276e7a9d7aab01892fbb23bd84f0a90bcd4025484d8f73aba87e550fb9a6722afc71eee48329f567b952f4f2f33540bce21b
7
+ data.tar.gz: 222a7a3bff1c2e5d60836d916cbdfcf67985b5e569926395f3fa2c622f50de85f5cca3b6f5ff9a3fe0643108c11620ccfe5889ffb7b860749f98406d3cef02fa
@@ -1,6 +1,5 @@
1
1
  require 'faraday'
2
2
  require 'faraday_middleware'
3
- require 'faraday_middleware/parse_oj'
4
3
 
5
4
  Dir[File.expand_path('../resources/*.rb', __FILE__)].each { |f| require f }
6
5
  require File.expand_path('../response/base.rb', __FILE__)
@@ -79,7 +78,7 @@ module RockRMS
79
78
  def auth
80
79
  begin
81
80
  auth_request('Auth/Login')
82
- rescue Faraday::Error::ParsingError => e
81
+ rescue Faraday::ParsingError => e
83
82
  if e.message.include?('Document Moved')
84
83
  auth_request('auth/login')
85
84
  else
@@ -0,0 +1,13 @@
1
+ require 'faraday_middleware/response_middleware'
2
+
3
+ module FaradayMiddleware
4
+ class ParseOj < ResponseMiddleware
5
+ dependency 'oj'
6
+
7
+ define_parser do |body|
8
+ Oj.load(body, mode: :compat) unless body.strip.empty?
9
+ end
10
+ end
11
+ end
12
+
13
+ Faraday::Response.register_middleware(oj: FaradayMiddleware::ParseOj)
@@ -1,3 +1,3 @@
1
1
  module RockRMS
2
- VERSION = '6.2.0'.freeze
2
+ VERSION = '7.0.2'.freeze
3
3
  end
data/lib/rock_rms.rb CHANGED
@@ -1,5 +1,6 @@
1
1
  require_relative 'rock_rms/client'
2
2
  require_relative 'rock_rms/error'
3
+ require_relative 'rock_rms/parse_oj'
3
4
  require_relative 'rock_rms/version'
4
5
 
5
6
  module RockRMS
data/rock_rms.gemspec CHANGED
@@ -16,16 +16,16 @@ Gem::Specification.new do |s|
16
16
  s.executables = s.files.grep(%r{^bin/}).map { |f| File.basename(f) }
17
17
  s.test_files = s.files.grep(%r{^(test)/})
18
18
 
19
- s.required_ruby_version = '~> 2.3'
19
+ s.required_ruby_version = '~> 2.7'
20
20
 
21
21
  s.require_paths = ['lib']
22
22
 
23
23
  s.add_runtime_dependency 'faraday'
24
24
  s.add_runtime_dependency 'faraday_middleware'
25
- s.add_runtime_dependency 'faraday_middleware-parse_oj'
26
25
  s.add_runtime_dependency 'json'
26
+ s.add_runtime_dependency 'oj'
27
27
 
28
- s.add_development_dependency 'bundler', '~> 2.0'
28
+ s.add_development_dependency 'bundler', '~> 2.3'
29
29
  s.add_development_dependency 'dotenv'
30
30
  s.add_development_dependency 'pry'
31
31
  s.add_development_dependency 'rake', '~> 12.3.3'
@@ -10,8 +10,8 @@ RSpec.describe RockRMS::Client do
10
10
  end
11
11
  let(:attrs_without_logging) { attrs.merge(logger: false) }
12
12
 
13
- subject(:client) { described_class.new(attrs_without_logging) }
14
- let(:noisy_client) { described_class.new(attrs) }
13
+ subject(:client) { described_class.new(**attrs_without_logging) }
14
+ let(:noisy_client) { described_class.new(**attrs) }
15
15
 
16
16
  describe '#initialize' do
17
17
  it 'requries `url` param' do
@@ -33,7 +33,7 @@ RSpec.describe RockRMS::Client do
33
33
  it 'expects a valid URI' do
34
34
  expect do
35
35
  described_class.new(url: 'test', username: 'test', password: 'test')
36
- end.to raise_error(URI::InvalidURIError)
36
+ end.to raise_error(URI::BadURIError)
37
37
  end
38
38
  end
39
39
  end
@@ -53,17 +53,19 @@ RSpec.describe RockRMS::Client::Attribute, type: :model do
53
53
  expect(client).to receive(:post)
54
54
  .with(
55
55
  'Attributes',
56
- 'FieldTypeId' => 14,
57
- 'EntityTypeId' => 85,
58
- 'Key' => 'TransactionFee',
59
- 'Name' => 'Transaction Fee',
60
- 'Description' => 'Transaction fees for a specific gateway',
61
- 'Order' => 1234,
62
- 'IsSystem' => false,
63
- 'IsGridColumn' => false,
64
- 'IsMultiValue' => false,
65
- 'IsRequired' => false,
66
- 'AllowSearch' => false
56
+ {
57
+ 'FieldTypeId' => 14,
58
+ 'EntityTypeId' => 85,
59
+ 'Key' => 'TransactionFee',
60
+ 'Name' => 'Transaction Fee',
61
+ 'Description' => 'Transaction fees for a specific gateway',
62
+ 'Order' => 1234,
63
+ 'IsSystem' => false,
64
+ 'IsGridColumn' => false,
65
+ 'IsMultiValue' => false,
66
+ 'IsRequired' => false,
67
+ 'AllowSearch' => false
68
+ }
67
69
  )
68
70
  .and_call_original
69
71
  resource
@@ -45,10 +45,12 @@ RSpec.describe RockRMS::Client::AttributeValue, type: :model do
45
45
  expect(client).to receive(:post)
46
46
  .with(
47
47
  'AttributeValues',
48
- 'AttributeId' => 12993,
49
- 'EntityId' => 731,
50
- 'Value' => 100,
51
- 'IsSystem' => false
48
+ {
49
+ 'AttributeId' => 12993,
50
+ 'EntityId' => 731,
51
+ 'Value' => 100,
52
+ 'IsSystem' => false
53
+ }
52
54
  )
53
55
  .and_call_original
54
56
  resource
@@ -69,12 +69,14 @@ RSpec.describe RockRMS::Client::Batch, type: :model do
69
69
  expect(client).to receive(:post)
70
70
  .with(
71
71
  'FinancialBatches',
72
- 'Name' => '1',
73
- 'CampusId' => 1,
74
- 'BatchStartDateTime' => '1',
75
- 'BatchEndDateTime' => '1',
76
- 'ForeignKey' => 1,
77
- 'Status' => 1
72
+ {
73
+ 'Name' => '1',
74
+ 'CampusId' => 1,
75
+ 'BatchStartDateTime' => '1',
76
+ 'BatchEndDateTime' => '1',
77
+ 'ForeignKey' => 1,
78
+ 'Status' => 1
79
+ }
78
80
  ).and_call_original
79
81
  resource
80
82
  end
@@ -97,8 +99,10 @@ RSpec.describe RockRMS::Client::Batch, type: :model do
97
99
  expect(client).to receive(:patch)
98
100
  .with(
99
101
  'FinancialBatches/123',
100
- 'Name' => '1',
101
- 'ForeignKey' => 1
102
+ {
103
+ 'Name' => '1',
104
+ 'ForeignKey' => 1
105
+ }
102
106
  ).and_call_original
103
107
  resource
104
108
  end
@@ -38,7 +38,7 @@ RSpec.describe RockRMS::Client::Group, type: :model do
38
38
 
39
39
  it 'passes options' do
40
40
  expect(client).to receive(:get)
41
- .with('Groups', option1: '1')
41
+ .with('Groups', { option1: '1' })
42
42
  .and_return([])
43
43
  client.list_groups(option1: '1')
44
44
  end
@@ -95,7 +95,7 @@ RSpec.describe RockRMS::Client::Group, type: :model do
95
95
 
96
96
  it 'passes options' do
97
97
  expect(client).to receive(:get)
98
- .with('Groups/GetFamilies/123', option1: '1')
98
+ .with('Groups/GetFamilies/123', { option1: '1' })
99
99
  .and_return([])
100
100
  client.list_families_for_person(123, option1: '1')
101
101
  end
@@ -31,9 +31,11 @@ RSpec.describe RockRMS::Client::PaymentDetail, type: :model do
31
31
  expect(client).to receive(:post)
32
32
  .with(
33
33
  'FinancialPaymentDetails',
34
- 'CurrencyTypeValueId' => 156,
35
- 'CreditCardTypeValueId' => 159,
36
- 'ForeignKey' => nil
34
+ {
35
+ 'CurrencyTypeValueId' => 156,
36
+ 'CreditCardTypeValueId' => 159,
37
+ 'ForeignKey' => nil
38
+ }
37
39
  )
38
40
  .and_call_original
39
41
  resource
@@ -36,11 +36,13 @@ RSpec.describe RockRMS::Client::PhoneNumber, type: :model do
36
36
  expect(client).to receive(:post)
37
37
  .with(
38
38
  'PhoneNumbers',
39
- 'IsSystem' => true,
40
- 'IsMessagingEnabled' => false,
41
- 'NumberTypeValueId' => 13,
42
- 'Number' => '5555555555',
43
- 'PersonId' => 1
39
+ {
40
+ 'IsSystem' => true,
41
+ 'IsMessagingEnabled' => false,
42
+ 'NumberTypeValueId' => 13,
43
+ 'Number' => '5555555555',
44
+ 'PersonId' => 1
45
+ }
44
46
  ).and_call_original
45
47
  resource
46
48
  end
@@ -61,7 +63,7 @@ RSpec.describe RockRMS::Client::PhoneNumber, type: :model do
61
63
 
62
64
  it 'passes options' do
63
65
  expect(client).to receive(:get)
64
- .with('PhoneNumbers', option1: '1')
66
+ .with('PhoneNumbers', { option1: '1' })
65
67
  .and_return([])
66
68
  client.list_phone_numbers(option1: '1')
67
69
  end
@@ -38,9 +38,11 @@ RSpec.describe RockRMS::Client::RecurringDonationDetail, type: :model do
38
38
  expect(client).to receive(:post)
39
39
  .with(
40
40
  'FinancialScheduledTransactionDetails',
41
- 'AccountId' => 1,
42
- 'ScheduledTransactionId' => 1,
43
- 'Amount' => 5.00,
41
+ {
42
+ 'AccountId' => 1,
43
+ 'ScheduledTransactionId' => 1,
44
+ 'Amount' => 5.00,
45
+ }
44
46
  )
45
47
  .and_call_original
46
48
  resource
@@ -64,8 +66,10 @@ RSpec.describe RockRMS::Client::RecurringDonationDetail, type: :model do
64
66
  expect(client).to receive(:patch)
65
67
  .with(
66
68
  'FinancialScheduledTransactionDetails/123',
67
- 'AccountId' => 2,
68
- 'Amount' => 100.0
69
+ {
70
+ 'AccountId' => 2,
71
+ 'Amount' => 100.0
72
+ }
69
73
  ).and_call_original
70
74
  resource
71
75
  end
@@ -53,7 +53,9 @@ RSpec.describe RockRMS::Client::RecurringDonation, type: :model do
53
53
  expect(client).to receive(:patch)
54
54
  .with(
55
55
  'FinancialScheduledTransactions/123',
56
- 'NextPaymentDate' => '2018-01-01'
56
+ {
57
+ 'NextPaymentDate' => '2018-01-01'
58
+ }
57
59
  ).and_call_original
58
60
 
59
61
  resource = client.update_recurring_donation(
@@ -131,18 +133,20 @@ RSpec.describe RockRMS::Client::RecurringDonation, type: :model do
131
133
  expect(client).to receive(:post)
132
134
  .with(
133
135
  'FinancialScheduledTransactions',
134
- 'AuthorizedPersonAliasId' => 1,
135
- 'TransactionFrequencyValueId' => 135,
136
- 'StartDate' => '2010-01-01',
137
- 'NextPaymentDate' => '2010-01-01',
138
- 'IsActive' => true,
139
- 'FinancialGatewayId' => nil,
140
- 'FinancialPaymentDetailId' => nil,
141
- 'TransactionCode' => 'asdf',
142
- 'ScheduledTransactionDetails' => [{ 'Amount' => 450, 'AccountId' => 2, 'EntityId' => nil, 'EntityTypeId' => nil, 'FeeAmount' => nil, 'FeeCoverageAmount' => nil}],
143
- 'GatewayScheduleId' => nil,
144
- 'SourceTypeValueId' => 10,
145
- 'ForeignKey' => nil
136
+ {
137
+ 'AuthorizedPersonAliasId' => 1,
138
+ 'TransactionFrequencyValueId' => 135,
139
+ 'StartDate' => '2010-01-01',
140
+ 'NextPaymentDate' => '2010-01-01',
141
+ 'IsActive' => true,
142
+ 'FinancialGatewayId' => nil,
143
+ 'FinancialPaymentDetailId' => nil,
144
+ 'TransactionCode' => 'asdf',
145
+ 'ScheduledTransactionDetails' => [{ 'Amount' => 450, 'AccountId' => 2, 'EntityId' => nil, 'EntityTypeId' => nil, 'FeeAmount' => nil, 'FeeCoverageAmount' => nil}],
146
+ 'GatewayScheduleId' => nil,
147
+ 'SourceTypeValueId' => 10,
148
+ 'ForeignKey' => nil
149
+ }
146
150
  )
147
151
  .and_call_original
148
152
  resource
@@ -42,12 +42,14 @@ RSpec.describe RockRMS::Client::RefundReason, type: :model do
42
42
  expect(client).to receive(:post)
43
43
  .with(
44
44
  'DefinedValues',
45
- 'DefinedTypeId' => 37,
46
- 'IsSystem' => false,
47
- 'Order' => 500,
48
- 'Description' => "Very Very not Happy",
49
- 'Value' => "Angry Donor",
50
- 'IsActive' => false
45
+ {
46
+ 'DefinedTypeId' => 37,
47
+ 'IsSystem' => false,
48
+ 'Order' => 500,
49
+ 'Description' => "Very Very not Happy",
50
+ 'Value' => "Angry Donor",
51
+ 'IsActive' => false
52
+ }
51
53
  )
52
54
  .and_call_original
53
55
  resource
@@ -46,30 +46,32 @@ RSpec.describe RockRMS::Client::Refund, type: :model do
46
46
  expect(client).to receive(:post)
47
47
  .with(
48
48
  'FinancialTransactionRefunds',
49
- 'OriginalTransactionId' => 3000,
50
- 'RefundReasonValueId' => 1,
51
- 'FinancialTransaction' => {
52
- 'AuthorizedPersonAliasId' => 120,
53
- 'BatchId' => 1,
54
- 'FinancialGatewayId' => nil,
55
- 'FinancialPaymentDetailId' => 156,
56
- 'TransactionDateTime' => '2018-02-01',
57
- 'TransactionDetails' => [
58
- {
59
- "Amount"=>-10.0,
60
- "AccountId"=>23,
61
- "EntityTypeId" => nil,
62
- "EntityId" => nil
63
- },
64
- {
65
- "Amount"=> -90.0,
66
- "AccountId"=>24,
67
- "EntityTypeId" => nil,
68
- "EntityId" => nil
69
- }
70
- ],
71
- 'TransactionTypeValueId' => 53,
72
- 'TransactionCode' => nil
49
+ {
50
+ 'OriginalTransactionId' => 3000,
51
+ 'RefundReasonValueId' => 1,
52
+ 'FinancialTransaction' => {
53
+ 'AuthorizedPersonAliasId' => 120,
54
+ 'BatchId' => 1,
55
+ 'FinancialGatewayId' => nil,
56
+ 'FinancialPaymentDetailId' => 156,
57
+ 'TransactionDateTime' => '2018-02-01',
58
+ 'TransactionDetails' => [
59
+ {
60
+ "Amount"=>-10.0,
61
+ "AccountId"=>23,
62
+ "EntityTypeId" => nil,
63
+ "EntityId" => nil
64
+ },
65
+ {
66
+ "Amount"=> -90.0,
67
+ "AccountId"=>24,
68
+ "EntityTypeId" => nil,
69
+ "EntityId" => nil
70
+ }
71
+ ],
72
+ 'TransactionTypeValueId' => 53,
73
+ 'TransactionCode' => nil
74
+ }
73
75
  }
74
76
  )
75
77
  .and_call_original
@@ -79,7 +81,6 @@ RSpec.describe RockRMS::Client::Refund, type: :model do
79
81
  end
80
82
 
81
83
  context "with amount param" do
82
-
83
84
  subject(:resource) do
84
85
  client.create_refund(
85
86
  transaction_id: 3000,
@@ -98,30 +99,32 @@ RSpec.describe RockRMS::Client::Refund, type: :model do
98
99
  expect(client).to receive(:post)
99
100
  .with(
100
101
  'FinancialTransactionRefunds',
101
- 'OriginalTransactionId' => 3000,
102
- 'RefundReasonValueId' => 1,
103
- 'FinancialTransaction' => {
104
- 'AuthorizedPersonAliasId' => 120,
105
- 'BatchId' => 1,
106
- 'FinancialGatewayId' => nil,
107
- 'FinancialPaymentDetailId' => 156,
108
- 'TransactionDateTime' => '2018-02-01',
109
- 'TransactionDetails' => [
110
- {
111
- "Amount"=>-7.56,
112
- "AccountId"=>23,
113
- "EntityTypeId" => nil,
114
- "EntityId" => nil
115
- },
116
- {
117
- "Amount"=>-67.99,
118
- "AccountId"=>24,
119
- "EntityTypeId" => nil,
120
- "EntityId" => nil
121
- }
122
- ],
123
- 'TransactionTypeValueId' => 53,
124
- 'TransactionCode' => nil
102
+ {
103
+ 'OriginalTransactionId' => 3000,
104
+ 'RefundReasonValueId' => 1,
105
+ 'FinancialTransaction' => {
106
+ 'AuthorizedPersonAliasId' => 120,
107
+ 'BatchId' => 1,
108
+ 'FinancialGatewayId' => nil,
109
+ 'FinancialPaymentDetailId' => 156,
110
+ 'TransactionDateTime' => '2018-02-01',
111
+ 'TransactionDetails' => [
112
+ {
113
+ "Amount"=>-7.56,
114
+ "AccountId"=>23,
115
+ "EntityTypeId" => nil,
116
+ "EntityId" => nil
117
+ },
118
+ {
119
+ "Amount"=>-67.99,
120
+ "AccountId"=>24,
121
+ "EntityTypeId" => nil,
122
+ "EntityId" => nil
123
+ }
124
+ ],
125
+ 'TransactionTypeValueId' => 53,
126
+ 'TransactionCode' => nil
127
+ }
125
128
  }
126
129
  )
127
130
  .and_call_original
@@ -57,12 +57,14 @@ RSpec.describe RockRMS::Client::SavedPaymentMethod, type: :model do
57
57
  expect(client).to receive(:post)
58
58
  .with(
59
59
  'FinancialPersonSavedAccounts',
60
- 'Name' => 'Sapphire Preferred',
61
- 'ReferenceNumber' => 'card_1234',
62
- 'PersonAliasId' => 1,
63
- 'IsDefault' => 0,
64
- 'FinancialGatewayId' => 2,
65
- 'FinancialPaymentDetailId' => 1
60
+ {
61
+ 'Name' => 'Sapphire Preferred',
62
+ 'ReferenceNumber' => 'card_1234',
63
+ 'PersonAliasId' => 1,
64
+ 'IsDefault' => 0,
65
+ 'FinancialGatewayId' => 2,
66
+ 'FinancialPaymentDetailId' => 1
67
+ }
66
68
  ).and_call_original
67
69
  resource
68
70
  end
@@ -50,7 +50,9 @@ RSpec.describe RockRMS::Client::TransactionDetail, type: :model do
50
50
  expect(client).to receive(:patch)
51
51
  .with(
52
52
  'FinancialTransactionDetails/123',
53
- 'AccountId' => 2
53
+ {
54
+ 'AccountId' => 2
55
+ }
54
56
  ).and_call_original
55
57
  resource
56
58
  end
@@ -70,9 +72,11 @@ RSpec.describe RockRMS::Client::TransactionDetail, type: :model do
70
72
  expect(client).to receive(:patch)
71
73
  .with(
72
74
  'FinancialTransactionDetails/123',
73
- 'FeeAmount' => 50,
74
- 'FeeCoverageAmount' => 45,
75
- 'AccountId' => 2
75
+ {
76
+ 'FeeAmount' => 50,
77
+ 'FeeCoverageAmount' => 45,
78
+ 'AccountId' => 2
79
+ }
76
80
  ).and_call_original
77
81
  resource
78
82
  end
@@ -78,17 +78,19 @@ RSpec.describe RockRMS::Client::Transaction, type: :model do
78
78
  expect(client).to receive(:post)
79
79
  .with(
80
80
  'FinancialTransactions',
81
- 'AuthorizedPersonAliasId' => 1,
82
- 'ScheduledTransactionId' => 1,
83
- 'BatchId' => 1,
84
- 'FinancialGatewayId' => nil,
85
- 'FinancialPaymentDetailId' => 1,
86
- 'TransactionCode' => 'asdf',
87
- 'TransactionDateTime' => 1,
88
- 'TransactionDetails' => [{ 'Amount' => 450, 'AccountId' => 2, 'EntityTypeId' => nil, 'EntityId' => nil, 'FeeAmount' => nil, 'FeeCoverageAmount' => nil }],
89
- 'TransactionTypeValueId' => 53,
90
- 'SourceTypeValueId' => 10,
91
- 'Summary' => 'taco tuesday'
81
+ {
82
+ 'AuthorizedPersonAliasId' => 1,
83
+ 'ScheduledTransactionId' => 1,
84
+ 'BatchId' => 1,
85
+ 'FinancialGatewayId' => nil,
86
+ 'FinancialPaymentDetailId' => 1,
87
+ 'TransactionCode' => 'asdf',
88
+ 'TransactionDateTime' => 1,
89
+ 'TransactionDetails' => [{ 'Amount' => 450, 'AccountId' => 2, 'EntityTypeId' => nil, 'EntityId' => nil, 'FeeAmount' => nil, 'FeeCoverageAmount' => nil }],
90
+ 'TransactionTypeValueId' => 53,
91
+ 'SourceTypeValueId' => 10,
92
+ 'Summary' => 'taco tuesday'
93
+ }
92
94
  )
93
95
  .and_call_original
94
96
  resource
@@ -114,10 +116,12 @@ RSpec.describe RockRMS::Client::Transaction, type: :model do
114
116
  expect(client).to receive(:patch)
115
117
  .with(
116
118
  'FinancialTransactions/123',
117
- 'BatchId' => 1,
118
- 'Summary' => 'taco tuesday',
119
- 'TransactionTypeValueId' => 54,
120
- 'SourceTypeValueId' => 5
119
+ {
120
+ 'BatchId' => 1,
121
+ 'Summary' => 'taco tuesday',
122
+ 'TransactionTypeValueId' => 54,
123
+ 'SourceTypeValueId' => 5
124
+ }
121
125
  )
122
126
  .and_call_original
123
127
  resource
@@ -8,5 +8,5 @@ RSpec.shared_context 'resource specs' do
8
8
  end
9
9
  let(:attrs_without_logging) { attrs.merge(logger: false) }
10
10
 
11
- let(:client) { RockRMS::Client.new(attrs_without_logging) }
11
+ let(:client) { RockRMS::Client.new(**attrs_without_logging) }
12
12
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rock_rms
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.2.0
4
+ version: 7.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Taylor Brooks
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-21 00:00:00.000000000 Z
11
+ date: 2022-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -39,7 +39,7 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: faraday_middleware-parse_oj
42
+ name: json
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
@@ -53,7 +53,7 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: json
56
+ name: oj
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - ">="
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '2.0'
75
+ version: '2.3'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '2.0'
82
+ version: '2.3'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: dotenv
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -184,6 +184,7 @@ files:
184
184
  - lib/rock_rms.rb
185
185
  - lib/rock_rms/client.rb
186
186
  - lib/rock_rms/error.rb
187
+ - lib/rock_rms/parse_oj.rb
187
188
  - lib/rock_rms/recurring_frequencies.rb
188
189
  - lib/rock_rms/resources/attribute.rb
189
190
  - lib/rock_rms/resources/attribute_value.rb
@@ -350,7 +351,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
350
351
  requirements:
351
352
  - - "~>"
352
353
  - !ruby/object:Gem::Version
353
- version: '2.3'
354
+ version: '2.7'
354
355
  required_rubygems_version: !ruby/object:Gem::Requirement
355
356
  requirements:
356
357
  - - ">="