ledger_sync 2.5.0 → 2.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/codeql.yml +76 -0
- data/Gemfile.lock +29 -30
- data/ledger_sync.gemspec +1 -1
- data/lib/ledger_sync/resource.rb +2 -2
- data/lib/ledger_sync/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac42694f93ad3896cc137816aa7e18a538eae97e35a038b3fc5a521d6611f977
|
4
|
+
data.tar.gz: 0e9d7ddf37ac6adec2f9034416f7de6d2a69a9213779154e13082ed52ec8c3f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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 (
|
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.
|
25
|
-
activesupport (= 7.0.
|
26
|
-
activesupport (7.0.
|
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.
|
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 (
|
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.
|
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.
|
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.
|
115
|
+
i18n (1.14.1)
|
116
116
|
concurrent-ruby (~> 1.0)
|
117
117
|
iniparse (1.5.0)
|
118
|
-
|
119
|
-
|
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.
|
123
|
-
mini_portile2 (~> 2.8.
|
121
|
+
nokogiri (1.15.2)
|
122
|
+
mini_portile2 (~> 2.8.2)
|
124
123
|
racc (~> 1.4)
|
125
|
-
nokogiri (1.
|
124
|
+
nokogiri (1.15.2-x86_64-darwin)
|
126
125
|
racc (~> 1.4)
|
127
|
-
openssl (
|
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.
|
133
|
-
parser (3.2.
|
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.
|
139
|
-
rack (3.0.
|
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.
|
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.
|
148
|
+
rspec-core (3.12.2)
|
150
149
|
rspec-support (~> 3.12.0)
|
151
|
-
rspec-expectations (3.12.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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', '
|
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')
|
data/lib/ledger_sync/resource.rb
CHANGED
@@ -80,11 +80,11 @@ module LedgerSync
|
|
80
80
|
end
|
81
81
|
|
82
82
|
def self.resource_module_str
|
83
|
-
@resource_module_str ||= name.split(
|
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(
|
87
|
+
@resource_type ||= LedgerSync::Util::StringHelpers.underscore(resource_module_str).to_sym
|
88
88
|
end
|
89
89
|
|
90
90
|
def self.serialize_attribute?(sattr)
|
data/lib/ledger_sync/version.rb
CHANGED
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.
|
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"
|