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 +4 -4
- data/Gemfile.lock +97 -75
- data/ledger_sync-netsuite.gemspec +4 -4
- data/lib/ledger_sync/netsuite/client.rb +2 -2
- data/lib/ledger_sync/netsuite/error.rb +1 -3
- data/lib/ledger_sync/netsuite/version.rb +1 -1
- metadata +11 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 570d5cee55aad9ccfbc3dc3aeb0f31d651aa3c3f194349acf7a8dc033fe0bd9d
|
4
|
+
data.tar.gz: fa25504510be8ce38908639ab666092c52b5a1500de277798585e21eb3429f15
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
14
|
-
activesupport (= 7.
|
15
|
-
activesupport (7.
|
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.
|
21
|
-
public_suffix (>= 2.0.2, <
|
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 (
|
27
|
-
concurrent-ruby (1.
|
28
|
-
|
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.
|
45
|
+
crack (1.0.0)
|
46
|
+
bigdecimal
|
34
47
|
rexml
|
35
|
-
diff-lcs (1.5.
|
36
|
-
docile (1.4.
|
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.
|
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.
|
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.
|
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.
|
84
|
+
factory_bot (6.4.5)
|
71
85
|
activesupport (>= 5.0.0)
|
72
|
-
faraday (1.10.
|
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
|
91
|
-
multipart-post (~> 2)
|
92
|
-
faraday-net_http (1.0.
|
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.
|
111
|
+
faraday_middleware (1.2.1)
|
98
112
|
faraday (~> 1.0)
|
99
113
|
fingerprintable (1.2.1)
|
100
114
|
colorize
|
101
|
-
hashdiff (1.
|
115
|
+
hashdiff (1.1.2)
|
102
116
|
hashie (5.0.0)
|
103
|
-
i18n (1.
|
117
|
+
i18n (1.14.6)
|
104
118
|
concurrent-ruby (~> 1.0)
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
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 (
|
133
|
+
openssl (> 2.2.0)
|
119
134
|
pd_ruby
|
120
|
-
rack (>= 2.2.3
|
135
|
+
rack (>= 2.2.3)
|
121
136
|
rainbow (~> 3.0)
|
122
137
|
resonad
|
123
138
|
simply_serializable (>= 1.5.1)
|
124
|
-
|
125
|
-
minitest (5.
|
139
|
+
logger (1.6.4)
|
140
|
+
minitest (5.25.4)
|
126
141
|
multi_xml (0.6.0)
|
127
|
-
multipart-post (2.
|
128
|
-
|
129
|
-
|
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 (
|
139
|
-
|
140
|
-
|
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.
|
146
|
-
racc (1.
|
147
|
-
rack (3.
|
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.
|
150
|
-
regexp_parser (2.
|
166
|
+
rake (13.2.1)
|
167
|
+
regexp_parser (2.10.0)
|
151
168
|
resonad (1.4.0)
|
152
|
-
rexml (3.
|
153
|
-
rspec (3.
|
154
|
-
rspec-core (~> 3.
|
155
|
-
rspec-expectations (~> 3.
|
156
|
-
rspec-mocks (~> 3.
|
157
|
-
rspec-core (3.
|
158
|
-
rspec-support (~> 3.
|
159
|
-
rspec-expectations (3.
|
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.
|
162
|
-
rspec-mocks (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.
|
165
|
-
rspec-support (3.
|
166
|
-
rubocop (1.
|
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.
|
187
|
+
parser (>= 3.3.0.2)
|
170
188
|
rainbow (>= 2.2.2, < 4.0)
|
171
|
-
regexp_parser (>=
|
172
|
-
|
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, <
|
176
|
-
rubocop-ast (1.
|
177
|
-
parser (>= 3.
|
178
|
-
ruby-progressbar (1.
|
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.
|
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.
|
211
|
+
term-ansicolor (1.11.2)
|
194
212
|
tins (~> 1.0)
|
195
|
-
thor (1.2
|
196
|
-
tins (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 (
|
201
|
-
|
202
|
-
|
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.
|
227
|
+
zeitwerk (2.6.18)
|
207
228
|
|
208
229
|
PLATFORMS
|
209
|
-
|
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.
|
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.
|
42
|
-
spec.
|
43
|
-
spec.
|
44
|
-
spec.
|
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(
|
37
|
+
account_id.gsub('-', '_').upcase
|
38
38
|
end
|
39
39
|
|
40
40
|
def account_id_for_url
|
41
|
-
account_id.gsub(
|
41
|
+
account_id.gsub('_', '-').downcase
|
42
42
|
end
|
43
43
|
|
44
44
|
def api_base_url
|
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.
|
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:
|
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: []
|