ledger_sync-netsuite 0.1.1 → 0.2.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
  SHA256:
3
- metadata.gz: 7bcf80a41574ebf9245acf177bfbdbe916a5ce9f390fcbb4f91cd000f625cfe4
4
- data.tar.gz: db169b40aaea8934ce37711ff7afc6b165863e28858cdacbdc462f0d941d7383
3
+ metadata.gz: 0e4daccab35d5ff5657c9dc0f9d3066567e29b973ee82146ab5bafa77976193d
4
+ data.tar.gz: 9ad230707c1e54690777005006397f7d54cfc7f7366b5ff2ce436129ceed9c32
5
5
  SHA512:
6
- metadata.gz: b3997ff0e57bb2b5270b25f9ee98ae0f32a4fa626fa42a01e81ddf4cb16282fcdd67a361b58f4efd798455fe39ad751022681333035ac51fe62fa272eeea2aa5
7
- data.tar.gz: 69228e19197ea8ae308ee2fa495387409283430a115f615a4270435a8bcec0abd2957fd3cc819cdb577da370b08676aa8dc965e7b626dc4406a94644293c1bfe
6
+ metadata.gz: b6f10b9bcf3c8fa5474d4208c9c8c0df9f65b93c77e5a9e540a939338f8a7cf65979c7ddab37ce4334e514bc83a662a1af7112869472db58fa04d411c79fd86c
7
+ data.tar.gz: e0f47543de26bc2d15a5238055f00fe1337849b762322423045a3f87a30390d0a93ff7b97506f7e831991ad7577be944f2159fb9cc03a6c74401633cc13aac17
@@ -1,5 +1,9 @@
1
1
  name: Test and Deploy
2
- on: [push, pull_request]
2
+ on:
3
+ push:
4
+ pull_request:
5
+ release:
6
+ types: [created]
3
7
  jobs:
4
8
  rubocop:
5
9
  strategy:
@@ -39,7 +43,7 @@ jobs:
39
43
  publish:
40
44
  runs-on: ubuntu-latest
41
45
  needs: ['rubocop', 'rspec']
42
- if: startsWith(github.ref, 'refs/tags/')
46
+ if: github.event_name == 'release' && github.event.action == 'created'
43
47
  steps:
44
48
  - name: Checkout
45
49
  uses: actions/checkout@v2
@@ -49,7 +53,7 @@ jobs:
49
53
  - name: Ruby Setup and Bundle
50
54
  uses: ruby/setup-ruby@v1
51
55
  with:
52
- ruby-version: 2.6.6
56
+ ruby-version: 2.7.1
53
57
  bundler-cache: true
54
58
  - name: Publish to RubyGems
55
59
  run: |
data/Gemfile.lock CHANGED
@@ -1,23 +1,23 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ledger_sync-netsuite (0.1.1)
4
+ ledger_sync-netsuite (0.2.0)
5
5
  dotenv
6
- ledger_sync (= 1.8.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.0.3.4)
14
- activesupport (= 6.0.3.4)
15
- activesupport (6.0.3.4)
13
+ activemodel (6.1.3.1)
14
+ activesupport (= 6.1.3.1)
15
+ activesupport (6.1.3.1)
16
16
  concurrent-ruby (~> 1.0, >= 1.0.2)
17
- i18n (>= 0.7, < 2)
18
- minitest (~> 5.1)
19
- tzinfo (~> 1.1)
20
- zeitwerk (~> 2.2, >= 2.2.2)
17
+ i18n (>= 1.6, < 2)
18
+ minitest (>= 5.1)
19
+ tzinfo (~> 2.0)
20
+ zeitwerk (~> 2.3)
21
21
  addressable (2.7.0)
22
22
  public_suffix (>= 2.0.2, < 5.0)
23
23
  ast (2.4.1)
@@ -26,7 +26,8 @@ GEM
26
26
  byebug (11.1.3)
27
27
  climate_control (0.2.0)
28
28
  colorize (0.8.1)
29
- concurrent-ruby (1.1.7)
29
+ concurrent-ruby (1.1.8)
30
+ connection_pool (2.2.5)
30
31
  coveralls (0.8.23)
31
32
  json (>= 1.8, < 3)
32
33
  simplecov (~> 0.16.1)
@@ -48,7 +49,7 @@ GEM
48
49
  dry-equalizer (0.3.0)
49
50
  dry-inflector (0.2.0)
50
51
  dry-initializer (3.0.4)
51
- dry-logic (1.1.0)
52
+ dry-logic (1.1.1)
52
53
  concurrent-ruby (~> 1.0)
53
54
  dry-core (~> 0.5, >= 0.5)
54
55
  dry-schema (1.5.6)
@@ -72,25 +73,32 @@ GEM
72
73
  dry-equalizer (~> 0.2)
73
74
  dry-initializer (~> 3.0)
74
75
  dry-schema (~> 1.5, >= 1.5.2)
76
+ excon (0.80.1)
75
77
  factory_bot (6.1.0)
76
78
  activesupport (>= 5.0.0)
77
- faraday (1.3.0)
79
+ faraday (1.4.0)
80
+ faraday-excon (~> 1.0)
78
81
  faraday-net_http (~> 1.0)
82
+ faraday-net_http_persistent (~> 1.0)
79
83
  multipart-post (>= 1.2, < 3)
80
- ruby2_keywords
84
+ ruby2_keywords (>= 0.0.4)
81
85
  faraday-detailed_logger (2.3.0)
82
86
  faraday (>= 0.8, < 2)
87
+ faraday-excon (1.0.0)
88
+ excon (>= 0.27.4)
83
89
  faraday-net_http (1.0.1)
90
+ faraday-net_http_persistent (1.0.3)
91
+ net-http-persistent (>= 3.1)
84
92
  faraday_middleware (1.0.0)
85
93
  faraday (~> 1.0)
86
94
  fingerprintable (1.2.1)
87
95
  colorize
88
96
  hashdiff (1.0.1)
89
- i18n (1.8.5)
97
+ i18n (1.8.10)
90
98
  concurrent-ruby (~> 1.0)
91
99
  json (2.3.1)
92
100
  jwt (2.2.2)
93
- ledger_sync (1.8.0)
101
+ ledger_sync (2.0.0)
94
102
  activemodel
95
103
  colorize
96
104
  dry-schema (~> 1.5.4)
@@ -106,11 +114,13 @@ GEM
106
114
  resonad
107
115
  simply_serializable (>= 1.5.1)
108
116
  mini_portile2 (2.5.0)
109
- minitest (5.14.2)
117
+ minitest (5.14.4)
110
118
  multi_json (1.15.0)
111
119
  multi_xml (0.6.0)
112
120
  multipart-post (2.1.1)
113
- nokogiri (1.11.2)
121
+ net-http-persistent (4.0.1)
122
+ connection_pool (~> 2.2)
123
+ nokogiri (1.11.3)
114
124
  mini_portile2 (~> 2.5.0)
115
125
  racc (~> 1.4)
116
126
  oauth2 (1.4.7)
@@ -170,17 +180,16 @@ GEM
170
180
  term-ansicolor (1.7.1)
171
181
  tins (~> 1.0)
172
182
  thor (1.0.1)
173
- thread_safe (0.3.6)
174
183
  tins (1.26.0)
175
184
  sync
176
- tzinfo (1.2.7)
177
- thread_safe (~> 0.1)
185
+ tzinfo (2.0.4)
186
+ concurrent-ruby (~> 1.0)
178
187
  unicode-display_width (1.7.0)
179
188
  webmock (3.9.4)
180
189
  addressable (>= 2.3.6)
181
190
  crack (>= 0.3.2)
182
191
  hashdiff (>= 0.4.0, < 2.0.0)
183
- zeitwerk (2.4.1)
192
+ zeitwerk (2.4.2)
184
193
 
185
194
  PLATFORMS
186
195
  ruby
@@ -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', '1.8.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
@@ -3,14 +3,14 @@
3
3
  # :nocov:
4
4
  module LedgerSync
5
5
  module NetSuite
6
- VERSION = '0.1.1'
6
+ VERSION = '0.2.0'
7
7
 
8
- def self.version(args = {})
9
- pre = ENV['PRE_RELEASE'] || args.fetch(:pre, false)
10
-
11
- return VERSION unless pre
12
-
13
- "#{VERSION}.pre.#{ENV['TRAVIS_BUILD_NUMBER']}"
8
+ def self.version
9
+ if ENV['PRE_RELEASE']
10
+ "#{VERSION}.pre.#{ENV['GITHUB_RUN_NUMBER']}"
11
+ else
12
+ VERSION
13
+ end
14
14
  end
15
15
  end
16
16
  end
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.1.1
4
+ version: 0.2.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-07 00:00:00.000000000 Z
11
+ date: 2021-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: awesome_print
@@ -184,14 +184,14 @@ dependencies:
184
184
  requirements:
185
185
  - - '='
186
186
  - !ruby/object:Gem::Version
187
- version: 1.8.0
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
- version: 1.8.0
194
+ version: 2.0.0
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: nokogiri
197
197
  requirement: !ruby/object:Gem::Requirement