ledger_sync-netsuite 0.6.2 → 0.7.1

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
  SHA256:
3
- metadata.gz: 6ff88e99867a5b2f49d3f2644fb65e5f7c44619bf5d7e99131a5964cdb073595
4
- data.tar.gz: ccd809459ed6dfd42a1b2bf7b1140cb3706e4a14ab0248b8bf10b3a1a8dbbe9b
3
+ metadata.gz: 570d5cee55aad9ccfbc3dc3aeb0f31d651aa3c3f194349acf7a8dc033fe0bd9d
4
+ data.tar.gz: fa25504510be8ce38908639ab666092c52b5a1500de277798585e21eb3429f15
5
5
  SHA512:
6
- metadata.gz: 524acceed1e1f1053c78413439a6af806898388138da97ddd73083d9c70cfa993592509f3212e6ad3e7822196aa989f2473fdfca58a0b4383d73cabaa1da9c87
7
- data.tar.gz: 05241e0e7e7d6331c39c2120b70621d81f201c87a20a408d5cd1b64d076c232c2a10c2232231a76bf5ed01a6466cf324417c41050557d9aaff3562b868450408
6
+ metadata.gz: c801098741c76dbfb4a523fffa41270828e2d7cfdbbfd841be9bad3bad38d361b78e1ec9f5001147ac728335b9d6fdbb528d6386e31d10a03147be0619bdcbaf
7
+ data.tar.gz: f70b8fa7ebc090faef33ab9192c76609c3828606b8ad8f5baabcb41716df29f74de8f52b24c346c3a456235f3a4cbc96525647281e1b643f88bb779a43c40d5e
data/Gemfile.lock CHANGED
@@ -1,58 +1,72 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ledger_sync-netsuite (0.6.2)
4
+ ledger_sync-netsuite (0.7.1)
5
5
  dotenv
6
- ledger_sync (>= 2.4)
6
+ ledger_sync (>= 2.4, <= 3.0)
7
7
  nokogiri
8
8
  oauth2
9
9
 
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- activemodel (7.0.4.2)
14
- activesupport (= 7.0.4.2)
15
- activesupport (7.0.4.2)
13
+ activemodel (7.1.5.1)
14
+ activesupport (= 7.1.5.1)
15
+ activesupport (7.1.5.1)
16
+ base64
17
+ benchmark (>= 0.3)
18
+ bigdecimal
16
19
  concurrent-ruby (~> 1.0, >= 1.0.2)
20
+ connection_pool (>= 2.2.5)
21
+ drb
17
22
  i18n (>= 1.6, < 2)
23
+ logger (>= 1.4.2)
18
24
  minitest (>= 5.1)
25
+ mutex_m
26
+ securerandom (>= 0.3)
19
27
  tzinfo (~> 2.0)
20
- addressable (2.8.1)
21
- public_suffix (>= 2.0.2, < 6.0)
28
+ addressable (2.8.7)
29
+ public_suffix (>= 2.0.2, < 7.0)
22
30
  ast (2.4.2)
23
31
  awesome_print (1.9.2)
32
+ base64 (0.2.0)
33
+ benchmark (0.4.0)
34
+ bigdecimal (3.1.9)
24
35
  byebug (11.1.3)
25
36
  climate_control (1.2.0)
26
- colorize (0.8.1)
27
- concurrent-ruby (1.2.2)
28
- coveralls_reborn (0.27.0)
37
+ colorize (1.1.0)
38
+ concurrent-ruby (1.3.4)
39
+ connection_pool (2.4.1)
40
+ coveralls_reborn (0.28.0)
29
41
  simplecov (~> 0.22.0)
30
42
  term-ansicolor (~> 1.7)
31
43
  thor (~> 1.2)
32
44
  tins (~> 1.32)
33
- crack (0.4.5)
45
+ crack (1.0.0)
46
+ bigdecimal
34
47
  rexml
35
- diff-lcs (1.5.0)
36
- docile (1.4.0)
48
+ diff-lcs (1.5.1)
49
+ docile (1.4.1)
37
50
  dotenv (2.8.1)
51
+ drb (2.2.1)
38
52
  dry-configurable (1.0.1)
39
53
  dry-core (~> 1.0, < 2)
40
54
  zeitwerk (~> 2.6)
41
55
  dry-core (1.0.0)
42
56
  concurrent-ruby (~> 1.0)
43
57
  zeitwerk (~> 2.6)
44
- dry-inflector (1.0.0)
58
+ dry-inflector (1.1.0)
45
59
  dry-initializer (3.1.1)
46
60
  dry-logic (1.5.0)
47
61
  concurrent-ruby (~> 1.0)
48
62
  dry-core (~> 1.0, < 2)
49
63
  zeitwerk (~> 2.6)
50
- dry-schema (1.13.0)
64
+ dry-schema (1.13.4)
51
65
  concurrent-ruby (~> 1.0)
52
66
  dry-configurable (~> 1.0, >= 1.0.1)
53
67
  dry-core (~> 1.0, < 2)
54
68
  dry-initializer (~> 3.0)
55
- dry-logic (>= 1.5, < 2)
69
+ dry-logic (>= 1.4, < 2)
56
70
  dry-types (>= 1.7, < 2)
57
71
  zeitwerk (~> 2.6)
58
72
  dry-types (1.7.1)
@@ -67,9 +81,9 @@ GEM
67
81
  dry-initializer (~> 3.0)
68
82
  dry-schema (>= 1.12, < 2)
69
83
  zeitwerk (~> 2.6)
70
- factory_bot (6.2.1)
84
+ factory_bot (6.4.5)
71
85
  activesupport (>= 5.0.0)
72
- faraday (1.10.3)
86
+ faraday (1.10.4)
73
87
  faraday-em_http (~> 1.0)
74
88
  faraday-em_synchrony (~> 1.0)
75
89
  faraday-excon (~> 1.1)
@@ -87,25 +101,26 @@ GEM
87
101
  faraday-em_synchrony (1.0.0)
88
102
  faraday-excon (1.1.0)
89
103
  faraday-httpclient (1.0.1)
90
- faraday-multipart (1.0.4)
91
- multipart-post (~> 2)
92
- faraday-net_http (1.0.1)
104
+ faraday-multipart (1.1.0)
105
+ multipart-post (~> 2.0)
106
+ faraday-net_http (1.0.2)
93
107
  faraday-net_http_persistent (1.2.0)
94
108
  faraday-patron (1.0.0)
95
109
  faraday-rack (1.0.0)
96
110
  faraday-retry (1.0.3)
97
- faraday_middleware (1.2.0)
111
+ faraday_middleware (1.2.1)
98
112
  faraday (~> 1.0)
99
113
  fingerprintable (1.2.1)
100
114
  colorize
101
- hashdiff (1.0.1)
115
+ hashdiff (1.1.2)
102
116
  hashie (5.0.0)
103
- i18n (1.12.0)
117
+ i18n (1.14.6)
104
118
  concurrent-ruby (~> 1.0)
105
- ipaddr (1.2.5)
106
- json (2.6.3)
107
- jwt (2.7.0)
108
- ledger_sync (2.4.4)
119
+ json (2.9.1)
120
+ jwt (2.10.1)
121
+ base64
122
+ language_server-protocol (3.17.0.3)
123
+ ledger_sync (2.6.0)
109
124
  activemodel
110
125
  dotenv
111
126
  dry-schema
@@ -115,18 +130,20 @@ GEM
115
130
  faraday_middleware
116
131
  fingerprintable (>= 1.2.1)
117
132
  nokogiri
118
- openssl (~> 2.2.0)
133
+ openssl (> 2.2.0)
119
134
  pd_ruby
120
- rack (>= 2.2.3, < 3.1.0)
135
+ rack (>= 2.2.3)
121
136
  rainbow (~> 3.0)
122
137
  resonad
123
138
  simply_serializable (>= 1.5.1)
124
- mini_portile2 (2.8.1)
125
- minitest (5.17.0)
139
+ logger (1.6.4)
140
+ minitest (5.25.4)
126
141
  multi_xml (0.6.0)
127
- multipart-post (2.3.0)
128
- nokogiri (1.14.2)
129
- mini_portile2 (~> 2.8.0)
142
+ multipart-post (2.4.1)
143
+ mutex_m (0.3.0)
144
+ nokogiri (1.15.7-arm64-darwin)
145
+ racc (~> 1.4)
146
+ nokogiri (1.15.7-x86_64-linux)
130
147
  racc (~> 1.4)
131
148
  oauth2 (2.0.9)
132
149
  faraday (>= 0.17.3, < 3.0)
@@ -135,53 +152,54 @@ GEM
135
152
  rack (>= 1.2, < 4)
136
153
  snaky_hash (~> 2.0)
137
154
  version_gem (~> 1.1)
138
- openssl (2.2.3)
139
- ipaddr
140
- parallel (1.22.1)
141
- parser (3.2.1.0)
155
+ openssl (3.3.0)
156
+ parallel (1.26.3)
157
+ parser (3.3.6.0)
142
158
  ast (~> 2.4.1)
159
+ racc
143
160
  pd_ruby (0.2.3)
144
161
  colorize
145
- public_suffix (5.0.1)
146
- racc (1.6.2)
147
- rack (3.0.4.2)
162
+ public_suffix (5.1.1)
163
+ racc (1.8.1)
164
+ rack (3.1.8)
148
165
  rainbow (3.1.1)
149
- rake (13.0.6)
150
- regexp_parser (2.7.0)
166
+ rake (13.2.1)
167
+ regexp_parser (2.10.0)
151
168
  resonad (1.4.0)
152
- rexml (3.2.5)
153
- rspec (3.12.0)
154
- rspec-core (~> 3.12.0)
155
- rspec-expectations (~> 3.12.0)
156
- rspec-mocks (~> 3.12.0)
157
- rspec-core (3.12.1)
158
- rspec-support (~> 3.12.0)
159
- rspec-expectations (3.12.2)
169
+ rexml (3.4.0)
170
+ rspec (3.13.0)
171
+ rspec-core (~> 3.13.0)
172
+ rspec-expectations (~> 3.13.0)
173
+ rspec-mocks (~> 3.13.0)
174
+ rspec-core (3.13.2)
175
+ rspec-support (~> 3.13.0)
176
+ rspec-expectations (3.13.3)
160
177
  diff-lcs (>= 1.2.0, < 2.0)
161
- rspec-support (~> 3.12.0)
162
- rspec-mocks (3.12.3)
178
+ rspec-support (~> 3.13.0)
179
+ rspec-mocks (3.13.2)
163
180
  diff-lcs (>= 1.2.0, < 2.0)
164
- rspec-support (~> 3.12.0)
165
- rspec-support (3.12.0)
166
- rubocop (1.47.0)
181
+ rspec-support (~> 3.13.0)
182
+ rspec-support (3.13.2)
183
+ rubocop (1.69.2)
167
184
  json (~> 2.3)
185
+ language_server-protocol (>= 3.17.0)
168
186
  parallel (~> 1.10)
169
- parser (>= 3.2.0.0)
187
+ parser (>= 3.3.0.2)
170
188
  rainbow (>= 2.2.2, < 4.0)
171
- regexp_parser (>= 1.8, < 3.0)
172
- rexml (>= 3.2.5, < 4.0)
173
- rubocop-ast (>= 1.26.0, < 2.0)
189
+ regexp_parser (>= 2.9.3, < 3.0)
190
+ rubocop-ast (>= 1.36.2, < 2.0)
174
191
  ruby-progressbar (~> 1.7)
175
- unicode-display_width (>= 2.4.0, < 3.0)
176
- rubocop-ast (1.27.0)
177
- parser (>= 3.2.1.0)
178
- ruby-progressbar (1.12.0)
192
+ unicode-display_width (>= 2.4.0, < 4.0)
193
+ rubocop-ast (1.37.0)
194
+ parser (>= 3.3.1.0)
195
+ ruby-progressbar (1.13.0)
179
196
  ruby2_keywords (0.0.5)
197
+ securerandom (0.3.2)
180
198
  simplecov (0.22.0)
181
199
  docile (~> 1.1)
182
200
  simplecov-html (~> 0.11)
183
201
  simplecov_json_formatter (~> 0.1)
184
- simplecov-html (0.12.3)
202
+ simplecov-html (0.13.1)
185
203
  simplecov-lcov (0.8.0)
186
204
  simplecov_json_formatter (0.1.4)
187
205
  simply_serializable (1.5.1)
@@ -190,23 +208,27 @@ GEM
190
208
  hashie
191
209
  version_gem (~> 1.1, >= 1.1.1)
192
210
  sync (0.5.0)
193
- term-ansicolor (1.7.1)
211
+ term-ansicolor (1.11.2)
194
212
  tins (~> 1.0)
195
- thor (1.2.1)
196
- tins (1.32.1)
213
+ thor (1.3.2)
214
+ tins (1.37.1)
215
+ bigdecimal
197
216
  sync
198
217
  tzinfo (2.0.6)
199
218
  concurrent-ruby (~> 1.0)
200
- unicode-display_width (2.4.2)
201
- version_gem (1.1.1)
202
- webmock (3.18.1)
219
+ unicode-display_width (3.1.3)
220
+ unicode-emoji (~> 4.0, >= 4.0.4)
221
+ unicode-emoji (4.0.4)
222
+ version_gem (1.1.4)
223
+ webmock (3.24.0)
203
224
  addressable (>= 2.8.0)
204
225
  crack (>= 0.3.2)
205
226
  hashdiff (>= 0.4.0, < 2.0.0)
206
- zeitwerk (2.6.7)
227
+ zeitwerk (2.6.18)
207
228
 
208
229
  PLATFORMS
209
- ruby
230
+ arm64-darwin-24
231
+ x86_64-linux
210
232
 
211
233
  DEPENDENCIES
212
234
  awesome_print
@@ -224,4 +246,4 @@ DEPENDENCIES
224
246
  webmock
225
247
 
226
248
  BUNDLED WITH
227
- 2.2.22
249
+ 2.4.22
@@ -38,10 +38,10 @@ Gem::Specification.new do |spec|
38
38
  spec.add_development_dependency('simplecov')
39
39
  spec.add_development_dependency('simplecov-lcov')
40
40
  spec.add_development_dependency('webmock', '>= 0')
41
- spec.add_runtime_dependency('dotenv')
42
- spec.add_runtime_dependency('ledger_sync', '>= 2.4')
43
- spec.add_runtime_dependency('nokogiri', '>= 0')
44
- spec.add_runtime_dependency('oauth2', '>= 0')
41
+ spec.add_dependency('dotenv')
42
+ spec.add_dependency('ledger_sync', '>= 2.4', '<= 3.0')
43
+ spec.add_dependency('nokogiri', '>= 0')
44
+ spec.add_dependency('oauth2', '>= 0')
45
45
 
46
46
  spec.metadata['rubygems_mfa_required'] = 'true'
47
47
  end
@@ -34,11 +34,11 @@ module LedgerSync
34
34
  end
35
35
 
36
36
  def account_id_for_oauth
37
- account_id.gsub(/-/, '_').upcase
37
+ account_id.gsub('-', '_').upcase
38
38
  end
39
39
 
40
40
  def account_id_for_url
41
- account_id.gsub(/_/, '-').downcase
41
+ account_id.gsub('_', '-').downcase
42
42
  end
43
43
 
44
44
  def api_base_url
@@ -7,9 +7,7 @@ module LedgerSync
7
7
  def initialize(message: nil)
8
8
  message ||= 'Subsidiaries are not enabled on this account'
9
9
 
10
- super(
11
- message: message
12
- )
10
+ super
13
11
  end
14
12
  end
15
13
  end
@@ -3,7 +3,7 @@
3
3
  # :nocov:
4
4
  module LedgerSync
5
5
  module NetSuite
6
- VERSION = '0.6.2'
6
+ VERSION = '0.7.1'
7
7
 
8
8
  def self.version
9
9
  if ENV['PRE_RELEASE']
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ledger_sync-netsuite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Modern Treasury
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-09-18 00:00:00.000000000 Z
11
+ date: 2024-12-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: awesome_print
@@ -199,6 +199,9 @@ dependencies:
199
199
  - - ">="
200
200
  - !ruby/object:Gem::Version
201
201
  version: '2.4'
202
+ - - "<="
203
+ - !ruby/object:Gem::Version
204
+ version: '3.0'
202
205
  type: :runtime
203
206
  prerelease: false
204
207
  version_requirements: !ruby/object:Gem::Requirement
@@ -206,6 +209,9 @@ dependencies:
206
209
  - - ">="
207
210
  - !ruby/object:Gem::Version
208
211
  version: '2.4'
212
+ - - "<="
213
+ - !ruby/object:Gem::Version
214
+ version: '3.0'
209
215
  - !ruby/object:Gem::Dependency
210
216
  name: nokogiri
211
217
  requirement: !ruby/object:Gem::Requirement
@@ -385,7 +391,7 @@ homepage: https://www.ledgersync.dev
385
391
  licenses: []
386
392
  metadata:
387
393
  rubygems_mfa_required: 'true'
388
- post_install_message:
394
+ post_install_message:
389
395
  rdoc_options: []
390
396
  require_paths:
391
397
  - lib
@@ -401,7 +407,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
401
407
  version: '0'
402
408
  requirements: []
403
409
  rubygems_version: 3.1.6
404
- signing_key:
410
+ signing_key:
405
411
  specification_version: 4
406
412
  summary: Sync common objects to accounting software.
407
413
  test_files: []