ledger_sync 2.5.0 → 2.6.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: 32299764617ee63656db259230c9dc83f5b6ebff7d40a1ea6830f8a16b261b51
4
- data.tar.gz: 0c7d7de6fc3d28038cd8c925132cd2fb9d9add8f0df358d7a4edc820b26e2842
3
+ metadata.gz: ac42694f93ad3896cc137816aa7e18a538eae97e35a038b3fc5a521d6611f977
4
+ data.tar.gz: 0e9d7ddf37ac6adec2f9034416f7de6d2a69a9213779154e13082ed52ec8c3f4
5
5
  SHA512:
6
- metadata.gz: fe10259bd15e59e80c2ac6775d2e917912a7a50d694e4e697b9753de221ca9fcdfc6f8add78341dacfd294db5e87c7705d36cc146ae6ec3f4c455d2a95206018
7
- data.tar.gz: d68b13010d1c65bb4b1df46b55727d3fac55af179498e52fd02a9bd333c91e8062c12e31154f101ea108cc0726476ce443bdd6a6fcc69b4a576a56cacabe776f
6
+ metadata.gz: 2140601d6f915415de8cc82a7aff64e8c9d4149fd3c5283ab59a8dfaa33c6e3da35fb6204dace43b9b248d5892fb1138139b6b8de36b7ad59ee72949d6f16dcc
7
+ data.tar.gz: 69fa17ff3daf957a57c52ae9294f641600bb25d983231bfa46a183a898015fb38602df07178551a5ecd9a9a9221761b8d78fbbd4c5599d804c0400689652e5cd
@@ -0,0 +1,76 @@
1
+ # For most projects, this workflow file will not need changing; you simply need
2
+ # to commit it to your repository.
3
+ #
4
+ # You may wish to alter this file to override the set of languages analyzed,
5
+ # or to provide custom queries or build logic.
6
+ #
7
+ # ******** NOTE ********
8
+ # We have attempted to detect the languages in your repository. Please check
9
+ # the `language` matrix defined below to confirm you have the correct set of
10
+ # supported CodeQL languages.
11
+ #
12
+ name: "CodeQL"
13
+
14
+ on:
15
+ push:
16
+ branches: [ "master", develop ]
17
+ pull_request:
18
+ # The branches below must be a subset of the branches above
19
+ branches: [ "master" ]
20
+ schedule:
21
+ - cron: '38 21 * * 6'
22
+
23
+ jobs:
24
+ analyze:
25
+ name: Analyze
26
+ runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
27
+ permissions:
28
+ actions: read
29
+ contents: read
30
+ security-events: write
31
+
32
+ strategy:
33
+ fail-fast: false
34
+ matrix:
35
+ language: [ 'ruby' ]
36
+ # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
37
+ # Use only 'java' to analyze code written in Java, Kotlin or both
38
+ # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
39
+ # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
40
+
41
+ steps:
42
+ - name: Checkout repository
43
+ uses: actions/checkout@v3
44
+
45
+ # Initializes the CodeQL tools for scanning.
46
+ - name: Initialize CodeQL
47
+ uses: github/codeql-action/init@v2
48
+ with:
49
+ languages: ${{ matrix.language }}
50
+ # If you wish to specify custom queries, you can do so here or in a config file.
51
+ # By default, queries listed here will override any specified in a config file.
52
+ # Prefix the list here with "+" to use these queries and those in the config file.
53
+
54
+ # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
55
+ # queries: security-extended,security-and-quality
56
+
57
+
58
+ # Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
59
+ # If this step fails, then you should remove it and run the build manually (see below)
60
+ - name: Autobuild
61
+ uses: github/codeql-action/autobuild@v2
62
+
63
+ # ℹ️ Command-line programs to run using the OS shell.
64
+ # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
65
+
66
+ # If the Autobuild fails above, remove it and uncomment the following three lines.
67
+ # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
68
+
69
+ # - run: |
70
+ # echo "Run, Build Application using script"
71
+ # ./location_of_script_within_repo/buildscript.sh
72
+
73
+ - name: Perform CodeQL Analysis
74
+ uses: github/codeql-action/analyze@v2
75
+ with:
76
+ category: "/language:${{matrix.language}}"
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ledger_sync (2.5.0)
4
+ ledger_sync (2.6.0)
5
5
  activemodel
6
6
  dotenv
7
7
  dry-schema
@@ -11,7 +11,7 @@ PATH
11
11
  faraday_middleware
12
12
  fingerprintable (>= 1.2.1)
13
13
  nokogiri
14
- openssl (~> 2.2.0)
14
+ openssl (> 2.2.0)
15
15
  pd_ruby
16
16
  rack (>= 2.2.3)
17
17
  rainbow (~> 3.0)
@@ -21,14 +21,14 @@ PATH
21
21
  GEM
22
22
  remote: https://rubygems.org/
23
23
  specs:
24
- activemodel (7.0.4.3)
25
- activesupport (= 7.0.4.3)
26
- activesupport (7.0.4.3)
24
+ activemodel (7.0.6)
25
+ activesupport (= 7.0.6)
26
+ activesupport (7.0.6)
27
27
  concurrent-ruby (~> 1.0, >= 1.0.2)
28
28
  i18n (>= 1.6, < 2)
29
29
  minitest (>= 5.1)
30
30
  tzinfo (~> 2.0)
31
- addressable (2.8.1)
31
+ addressable (2.8.4)
32
32
  public_suffix (>= 2.0.2, < 6.0)
33
33
  ast (2.4.2)
34
34
  awesome_print (1.9.2)
@@ -36,7 +36,7 @@ GEM
36
36
  byebug (11.1.3)
37
37
  childprocess (4.1.0)
38
38
  climate_control (1.2.0)
39
- colorize (0.8.1)
39
+ colorize (1.1.0)
40
40
  concurrent-ruby (1.2.2)
41
41
  coveralls_reborn (0.27.0)
42
42
  simplecov (~> 0.22.0)
@@ -60,12 +60,12 @@ GEM
60
60
  concurrent-ruby (~> 1.0)
61
61
  dry-core (~> 1.0, < 2)
62
62
  zeitwerk (~> 2.6)
63
- dry-schema (1.13.0)
63
+ dry-schema (1.13.2)
64
64
  concurrent-ruby (~> 1.0)
65
65
  dry-configurable (~> 1.0, >= 1.0.1)
66
66
  dry-core (~> 1.0, < 2)
67
67
  dry-initializer (~> 3.0)
68
- dry-logic (>= 1.5, < 2)
68
+ dry-logic (>= 1.4, < 2)
69
69
  dry-types (>= 1.7, < 2)
70
70
  zeitwerk (~> 2.6)
71
71
  dry-types (1.7.1)
@@ -112,49 +112,48 @@ GEM
112
112
  fingerprintable (1.2.1)
113
113
  colorize
114
114
  hashdiff (1.0.1)
115
- i18n (1.12.0)
115
+ i18n (1.14.1)
116
116
  concurrent-ruby (~> 1.0)
117
117
  iniparse (1.5.0)
118
- ipaddr (1.2.5)
119
- mini_portile2 (2.8.1)
120
- minitest (5.18.0)
118
+ mini_portile2 (2.8.2)
119
+ minitest (5.18.1)
121
120
  multipart-post (2.3.0)
122
- nokogiri (1.14.2)
123
- mini_portile2 (~> 2.8.0)
121
+ nokogiri (1.15.2)
122
+ mini_portile2 (~> 2.8.2)
124
123
  racc (~> 1.4)
125
- nokogiri (1.14.2-x86_64-darwin)
124
+ nokogiri (1.15.2-x86_64-darwin)
126
125
  racc (~> 1.4)
127
- openssl (2.2.3)
128
- ipaddr
126
+ openssl (3.1.0)
129
127
  overcommit (0.57.0)
130
128
  childprocess (>= 0.6.3, < 5)
131
129
  iniparse (~> 1.4)
132
- parallel (1.22.1)
133
- parser (3.2.1.1)
130
+ parallel (1.23.0)
131
+ parser (3.2.2.3)
134
132
  ast (~> 2.4.1)
133
+ racc
135
134
  pd_ruby (0.2.3)
136
135
  colorize
137
136
  public_suffix (5.0.1)
138
- racc (1.6.2)
139
- rack (3.0.7)
137
+ racc (1.7.1)
138
+ rack (3.0.8)
140
139
  rainbow (3.1.1)
141
140
  rake (13.0.6)
142
- regexp_parser (2.7.0)
141
+ regexp_parser (2.8.1)
143
142
  resonad (1.4.0)
144
143
  rexml (3.2.5)
145
144
  rspec (3.12.0)
146
145
  rspec-core (~> 3.12.0)
147
146
  rspec-expectations (~> 3.12.0)
148
147
  rspec-mocks (~> 3.12.0)
149
- rspec-core (3.12.1)
148
+ rspec-core (3.12.2)
150
149
  rspec-support (~> 3.12.0)
151
- rspec-expectations (3.12.2)
150
+ rspec-expectations (3.12.3)
152
151
  diff-lcs (>= 1.2.0, < 2.0)
153
152
  rspec-support (~> 3.12.0)
154
- rspec-mocks (3.12.4)
153
+ rspec-mocks (3.12.5)
155
154
  diff-lcs (>= 1.2.0, < 2.0)
156
155
  rspec-support (~> 3.12.0)
157
- rspec-support (3.12.0)
156
+ rspec-support (3.12.1)
158
157
  rubocop (1.0.0)
159
158
  parallel (~> 1.10)
160
159
  parser (>= 2.7.1.5)
@@ -164,7 +163,7 @@ GEM
164
163
  rubocop-ast (>= 0.6.0)
165
164
  ruby-progressbar (~> 1.7)
166
165
  unicode-display_width (>= 1.4.0, < 2.0)
167
- rubocop-ast (1.27.0)
166
+ rubocop-ast (1.29.0)
168
167
  parser (>= 3.2.1.0)
169
168
  ruby-progressbar (1.13.0)
170
169
  ruby2_keywords (0.0.5)
@@ -180,7 +179,7 @@ GEM
180
179
  sync (0.5.0)
181
180
  term-ansicolor (1.7.1)
182
181
  tins (~> 1.0)
183
- thor (1.2.1)
182
+ thor (1.2.2)
184
183
  tins (1.32.1)
185
184
  sync
186
185
  tzinfo (2.0.6)
@@ -190,7 +189,7 @@ GEM
190
189
  addressable (>= 2.8.0)
191
190
  crack (>= 0.3.2)
192
191
  hashdiff (>= 0.4.0, < 2.0.0)
193
- zeitwerk (2.6.7)
192
+ zeitwerk (2.6.8)
194
193
 
195
194
  PLATFORMS
196
195
  ruby
data/ledger_sync.gemspec CHANGED
@@ -53,7 +53,7 @@ Gem::Specification.new do |spec|
53
53
  spec.add_runtime_dependency('faraday_middleware', '>= 0')
54
54
  spec.add_runtime_dependency('fingerprintable', '>= 1.2.1')
55
55
  spec.add_runtime_dependency('nokogiri', '>= 0')
56
- spec.add_runtime_dependency('openssl', '~> 2.2.0')
56
+ spec.add_runtime_dependency('openssl', '> 2.2.0')
57
57
  spec.add_runtime_dependency('pd_ruby', '>= 0')
58
58
  spec.add_runtime_dependency('rack', '>= 2.2.3')
59
59
  spec.add_runtime_dependency('rainbow', '~> 3.0')
@@ -80,11 +80,11 @@ module LedgerSync
80
80
  end
81
81
 
82
82
  def self.resource_module_str
83
- @resource_module_str ||= name.split('::').last
83
+ @resource_module_str ||= name.split("#{inferred_config.base_module.name}::").last
84
84
  end
85
85
 
86
86
  def self.resource_type
87
- @resource_type ||= LedgerSync::Util::StringHelpers.underscore(name.split('::').last).to_sym
87
+ @resource_type ||= LedgerSync::Util::StringHelpers.underscore(resource_module_str).to_sym
88
88
  end
89
89
 
90
90
  def self.serialize_attribute?(sattr)
@@ -2,7 +2,7 @@
2
2
 
3
3
  # :nocov:
4
4
  module LedgerSync
5
- VERSION = '2.5.0'
5
+ VERSION = '2.6.0'
6
6
 
7
7
  def self.version
8
8
  if ENV['PRE_RELEASE']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ledger_sync
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.0
4
+ version: 2.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Jackson
@@ -336,14 +336,14 @@ dependencies:
336
336
  name: openssl
337
337
  requirement: !ruby/object:Gem::Requirement
338
338
  requirements:
339
- - - "~>"
339
+ - - ">"
340
340
  - !ruby/object:Gem::Version
341
341
  version: 2.2.0
342
342
  type: :runtime
343
343
  prerelease: false
344
344
  version_requirements: !ruby/object:Gem::Requirement
345
345
  requirements:
346
- - - "~>"
346
+ - - ">"
347
347
  - !ruby/object:Gem::Version
348
348
  version: 2.2.0
349
349
  - !ruby/object:Gem::Dependency
@@ -427,6 +427,7 @@ files:
427
427
  - ".env.template"
428
428
  - ".github/ISSUE_TEMPLATE/bug_report.md"
429
429
  - ".github/ISSUE_TEMPLATE/feature_request.md"
430
+ - ".github/workflows/codeql.yml"
430
431
  - ".github/workflows/gem-workflow.yml"
431
432
  - ".gitignore"
432
433
  - ".overcommit.yml"