ledger_sync-netsuite 0.2.0 → 0.3.0

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: 0e4daccab35d5ff5657c9dc0f9d3066567e29b973ee82146ab5bafa77976193d
4
- data.tar.gz: 9ad230707c1e54690777005006397f7d54cfc7f7366b5ff2ce436129ceed9c32
3
+ metadata.gz: 67613751428992c590ac0d5b5a03099b6324754b476932691ec60ad0d2b04a5d
4
+ data.tar.gz: 17ed32fcaf0afee9decc9489e36d7231e1048e850014b19020b4a44042b3aafb
5
5
  SHA512:
6
- metadata.gz: b6f10b9bcf3c8fa5474d4208c9c8c0df9f65b93c77e5a9e540a939338f8a7cf65979c7ddab37ce4334e514bc83a662a1af7112869472db58fa04d411c79fd86c
7
- data.tar.gz: e0f47543de26bc2d15a5238055f00fe1337849b762322423045a3f87a30390d0a93ff7b97506f7e831991ad7577be944f2159fb9cc03a6c74401633cc13aac17
6
+ metadata.gz: dafaacac22de6dc5d5d0b821de42a4466d2174a6db33c4bc2fed7923add30a7b6c5e791265d735bcc0b641c7839d328f732d493247e474e5cbedc93dedb83716
7
+ data.tar.gz: 32aaf85ffb350aff2c9d6be0641a7d05a27c8b983da51fd2370852b21a50507b71bc94f791fc5e734891abb20f21daa0c1c0b01bc98ec9a01ae7965f6bb60d3d
data/Gemfile.lock CHANGED
@@ -1,18 +1,18 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ledger_sync-netsuite (0.2.0)
4
+ ledger_sync-netsuite (0.3.0)
5
5
  dotenv
6
- ledger_sync (= 2.0.0)
6
+ ledger_sync (>= 2.0.0)
7
7
  nokogiri
8
8
  oauth2
9
9
 
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- activemodel (6.1.3.1)
14
- activesupport (= 6.1.3.1)
15
- activesupport (6.1.3.1)
13
+ activemodel (6.1.3.2)
14
+ activesupport (= 6.1.3.2)
15
+ activesupport (6.1.3.2)
16
16
  concurrent-ruby (~> 1.0, >= 1.0.2)
17
17
  i18n (>= 1.6, < 2)
18
18
  minitest (>= 5.1)
@@ -20,23 +20,23 @@ GEM
20
20
  zeitwerk (~> 2.3)
21
21
  addressable (2.7.0)
22
22
  public_suffix (>= 2.0.2, < 5.0)
23
- ast (2.4.1)
24
- awesome_print (1.8.0)
23
+ ast (2.4.2)
24
+ awesome_print (1.9.2)
25
25
  bump (0.9.0)
26
26
  byebug (11.1.3)
27
- climate_control (0.2.0)
27
+ climate_control (1.0.1)
28
28
  colorize (0.8.1)
29
29
  concurrent-ruby (1.1.8)
30
- connection_pool (2.2.5)
31
30
  coveralls (0.8.23)
32
31
  json (>= 1.8, < 3)
33
32
  simplecov (~> 0.16.1)
34
33
  term-ansicolor (~> 1.3)
35
34
  thor (>= 0.19.4, < 2.0)
36
35
  tins (~> 1.6)
37
- crack (0.4.4)
36
+ crack (0.4.5)
37
+ rexml
38
38
  diff-lcs (1.4.4)
39
- docile (1.3.2)
39
+ docile (1.4.0)
40
40
  dotenv (2.7.6)
41
41
  dry-configurable (0.12.1)
42
42
  concurrent-ruby (~> 1.0)
@@ -49,7 +49,7 @@ GEM
49
49
  dry-equalizer (0.3.0)
50
50
  dry-inflector (0.2.0)
51
51
  dry-initializer (3.0.4)
52
- dry-logic (1.1.1)
52
+ dry-logic (1.2.0)
53
53
  concurrent-ruby (~> 1.0)
54
54
  dry-core (~> 0.5, >= 0.5)
55
55
  dry-schema (1.5.6)
@@ -73,22 +73,23 @@ GEM
73
73
  dry-equalizer (~> 0.2)
74
74
  dry-initializer (~> 3.0)
75
75
  dry-schema (~> 1.5, >= 1.5.2)
76
- excon (0.80.1)
77
76
  factory_bot (6.1.0)
78
77
  activesupport (>= 5.0.0)
79
- faraday (1.4.0)
80
- faraday-excon (~> 1.0)
78
+ faraday (1.4.2)
79
+ faraday-em_http (~> 1.0)
80
+ faraday-em_synchrony (~> 1.0)
81
+ faraday-excon (~> 1.1)
81
82
  faraday-net_http (~> 1.0)
82
- faraday-net_http_persistent (~> 1.0)
83
+ faraday-net_http_persistent (~> 1.1)
83
84
  multipart-post (>= 1.2, < 3)
84
85
  ruby2_keywords (>= 0.0.4)
85
86
  faraday-detailed_logger (2.3.0)
86
87
  faraday (>= 0.8, < 2)
87
- faraday-excon (1.0.0)
88
- excon (>= 0.27.4)
88
+ faraday-em_http (1.0.0)
89
+ faraday-em_synchrony (1.0.0)
90
+ faraday-excon (1.1.0)
89
91
  faraday-net_http (1.0.1)
90
- faraday-net_http_persistent (1.0.3)
91
- net-http-persistent (>= 3.1)
92
+ faraday-net_http_persistent (1.1.0)
92
93
  faraday_middleware (1.0.0)
93
94
  faraday (~> 1.0)
94
95
  fingerprintable (1.2.1)
@@ -96,8 +97,8 @@ GEM
96
97
  hashdiff (1.0.1)
97
98
  i18n (1.8.10)
98
99
  concurrent-ruby (~> 1.0)
99
- json (2.3.1)
100
- jwt (2.2.2)
100
+ json (2.5.1)
101
+ jwt (2.2.3)
101
102
  ledger_sync (2.0.0)
102
103
  activemodel
103
104
  colorize
@@ -113,14 +114,12 @@ GEM
113
114
  rack (~> 2.2.3)
114
115
  resonad
115
116
  simply_serializable (>= 1.5.1)
116
- mini_portile2 (2.5.0)
117
+ mini_portile2 (2.5.1)
117
118
  minitest (5.14.4)
118
119
  multi_json (1.15.0)
119
120
  multi_xml (0.6.0)
120
121
  multipart-post (2.1.1)
121
- net-http-persistent (4.0.1)
122
- connection_pool (~> 2.2)
123
- nokogiri (1.11.3)
122
+ nokogiri (1.11.6)
124
123
  mini_portile2 (~> 2.5.0)
125
124
  racc (~> 1.4)
126
125
  oauth2 (1.4.7)
@@ -130,8 +129,8 @@ GEM
130
129
  multi_xml (~> 0.5)
131
130
  rack (>= 1.2, < 3)
132
131
  openssl (2.2.0)
133
- parallel (1.19.2)
134
- parser (2.7.2.0)
132
+ parallel (1.20.1)
133
+ parser (3.0.1.1)
135
134
  ast (~> 2.4.1)
136
135
  pd_ruby (0.2.3)
137
136
  colorize
@@ -139,35 +138,35 @@ GEM
139
138
  racc (1.5.2)
140
139
  rack (2.2.3)
141
140
  rainbow (3.0.0)
142
- rake (13.0.1)
143
- regexp_parser (1.8.2)
141
+ rake (13.0.3)
142
+ regexp_parser (2.1.1)
144
143
  resonad (1.4.0)
145
- rexml (3.2.4)
144
+ rexml (3.2.5)
146
145
  rspec (3.10.0)
147
146
  rspec-core (~> 3.10.0)
148
147
  rspec-expectations (~> 3.10.0)
149
148
  rspec-mocks (~> 3.10.0)
150
- rspec-core (3.10.0)
149
+ rspec-core (3.10.1)
151
150
  rspec-support (~> 3.10.0)
152
- rspec-expectations (3.10.0)
151
+ rspec-expectations (3.10.1)
153
152
  diff-lcs (>= 1.2.0, < 2.0)
154
153
  rspec-support (~> 3.10.0)
155
- rspec-mocks (3.10.0)
154
+ rspec-mocks (3.10.2)
156
155
  diff-lcs (>= 1.2.0, < 2.0)
157
156
  rspec-support (~> 3.10.0)
158
- rspec-support (3.10.0)
159
- rubocop (1.2.0)
157
+ rspec-support (3.10.2)
158
+ rubocop (1.15.0)
160
159
  parallel (~> 1.10)
161
- parser (>= 2.7.1.5)
160
+ parser (>= 3.0.0.0)
162
161
  rainbow (>= 2.2.2, < 4.0)
163
- regexp_parser (>= 1.8)
162
+ regexp_parser (>= 1.8, < 3.0)
164
163
  rexml
165
- rubocop-ast (>= 1.0.1)
164
+ rubocop-ast (>= 1.5.0, < 2.0)
166
165
  ruby-progressbar (~> 1.7)
167
- unicode-display_width (>= 1.4.0, < 2.0)
168
- rubocop-ast (1.1.1)
169
- parser (>= 2.7.1.5)
170
- ruby-progressbar (1.10.1)
166
+ unicode-display_width (>= 1.4.0, < 3.0)
167
+ rubocop-ast (1.6.0)
168
+ parser (>= 3.0.1.1)
169
+ ruby-progressbar (1.11.0)
171
170
  ruby2_keywords (0.0.4)
172
171
  simplecov (0.16.1)
173
172
  docile (~> 1.1)
@@ -179,13 +178,13 @@ GEM
179
178
  sync (0.5.0)
180
179
  term-ansicolor (1.7.1)
181
180
  tins (~> 1.0)
182
- thor (1.0.1)
183
- tins (1.26.0)
181
+ thor (1.1.0)
182
+ tins (1.29.1)
184
183
  sync
185
184
  tzinfo (2.0.4)
186
185
  concurrent-ruby (~> 1.0)
187
- unicode-display_width (1.7.0)
188
- webmock (3.9.4)
186
+ unicode-display_width (2.0.0)
187
+ webmock (3.13.0)
189
188
  addressable (>= 2.3.6)
190
189
  crack (>= 0.3.2)
191
190
  hashdiff (>= 0.4.0, < 2.0.0)
@@ -38,7 +38,7 @@ Gem::Specification.new do |spec|
38
38
  spec.add_development_dependency('rubocop', '>= 0')
39
39
  spec.add_development_dependency('webmock', '>= 0')
40
40
  spec.add_runtime_dependency('dotenv')
41
- spec.add_runtime_dependency('ledger_sync', '2.0.0')
41
+ spec.add_runtime_dependency('ledger_sync', '>= 2.0.0')
42
42
  spec.add_runtime_dependency('nokogiri', '>= 0')
43
43
  spec.add_runtime_dependency('oauth2', '>= 0')
44
44
  end
@@ -55,14 +55,12 @@ module LedgerSync
55
55
  end
56
56
 
57
57
  def metadata_response
58
- @metadata_response = begin
59
- client.get(
60
- headers: {
61
- 'Accept' => 'application/swagger+json'
62
- },
63
- path: "#{BASE_PATH}?select=#{record}"
64
- )
65
- end
58
+ @metadata_response = client.get(
59
+ headers: {
60
+ 'Accept' => 'application/swagger+json'
61
+ },
62
+ path: "#{BASE_PATH}?select=#{record}"
63
+ )
66
64
  end
67
65
 
68
66
  def properties
@@ -65,13 +65,11 @@ module LedgerSync
65
65
 
66
66
  # Ref: https://tools.ietf.org/html/rfc5849#section-3.4.1.3.2
67
67
  def signature_data_string
68
- @signature_data_string ||= begin
69
- [
70
- method,
71
- escape(url_without_params),
72
- escape(parameters_string)
73
- ].join('&')
74
- end
68
+ @signature_data_string ||= [
69
+ method,
70
+ escape(url_without_params),
71
+ escape(parameters_string)
72
+ ].join('&')
75
73
  end
76
74
 
77
75
  def signature_key
@@ -3,7 +3,7 @@
3
3
  # :nocov:
4
4
  module LedgerSync
5
5
  module NetSuite
6
- VERSION = '0.2.0'
6
+ VERSION = '0.3.0'
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.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Modern Treasury
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-04-18 00:00:00.000000000 Z
11
+ date: 2021-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: awesome_print
@@ -182,14 +182,14 @@ dependencies:
182
182
  name: ledger_sync
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
- - - '='
185
+ - - ">="
186
186
  - !ruby/object:Gem::Version
187
187
  version: 2.0.0
188
188
  type: :runtime
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
- - - '='
192
+ - - ">="
193
193
  - !ruby/object:Gem::Version
194
194
  version: 2.0.0
195
195
  - !ruby/object:Gem::Dependency