labrat 1.2.2 → 1.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 +4 -4
- data/.github/workflows/main.yml +27 -0
- data/.github/workflows/ruby.yml +38 -0
- data/.gitignore +2 -0
- data/.rubocop.yml +7 -2
- data/.simplecov +2 -0
- data/.yardopts +4 -0
- data/CHANGELOG.org +5 -0
- data/Gemfile +10 -5
- data/Gemfile.lock +92 -60
- data/README.md +595 -0
- data/README.org +91 -50
- data/Rakefile +21 -2
- data/bin/labrat +0 -1
- data/labrat.gemspec +6 -14
- data/lib/config_files/labeldb.yml +17 -0
- data/lib/labrat/arg_parser.rb +224 -100
- data/lib/labrat/config.rb +34 -14
- data/lib/labrat/hash.rb +2 -8
- data/lib/labrat/label.rb +28 -12
- data/lib/labrat/options.rb +57 -21
- data/lib/labrat/read_files.rb +3 -2
- data/lib/labrat/version.rb +1 -1
- data/lib/labrat.rb +34 -9
- metadata +23 -143
- data/CHANGELOG.md +0 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 07527254f70ab94358c248e5abe969594cc89d6d37849d7f61cc4539482dea84
|
|
4
|
+
data.tar.gz: 787d233bd3bfdf40e2f0e5aeb8f718b9059abb0767e27c8e301b4924ad643040
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 57b117317e0e01278c7a696d99346f9763c844124ad7fd39b4bb82b5e727972b8caf644de6c7e2d886446425348abc4ed041f3b3e2860c19ac8e236cad31c34f
|
|
7
|
+
data.tar.gz: 644418e7af582f9985f2df17f49292446a39f9114007e90f4bd1babd92011b85cf7feeba77938563b1eb772fd163d5f741456c56e1139847c9fdb89e9f4ed0ee
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
name: Ruby
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- master
|
|
7
|
+
|
|
8
|
+
pull_request:
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
build:
|
|
12
|
+
runs-on: ubuntu-latest
|
|
13
|
+
name: Ruby ${{ matrix.ruby }}
|
|
14
|
+
strategy:
|
|
15
|
+
matrix:
|
|
16
|
+
ruby:
|
|
17
|
+
- '3.3.5'
|
|
18
|
+
|
|
19
|
+
steps:
|
|
20
|
+
- uses: actions/checkout@v4
|
|
21
|
+
- name: Set up Ruby
|
|
22
|
+
uses: ruby/setup-ruby@v1
|
|
23
|
+
with:
|
|
24
|
+
ruby-version: ${{ matrix.ruby }}
|
|
25
|
+
bundler-cache: true
|
|
26
|
+
- name: Run the default task
|
|
27
|
+
run: bundle exec rake
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# This workflow uses actions that are not certified by GitHub.
|
|
2
|
+
# They are provided by a third-party and are governed by
|
|
3
|
+
# separate terms of service, privacy policy, and support
|
|
4
|
+
# documentation.
|
|
5
|
+
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
|
|
6
|
+
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
|
|
7
|
+
|
|
8
|
+
name: Ruby Versions
|
|
9
|
+
|
|
10
|
+
on:
|
|
11
|
+
push:
|
|
12
|
+
branches: [ "master" ]
|
|
13
|
+
pull_request:
|
|
14
|
+
branches: [ "master" ]
|
|
15
|
+
|
|
16
|
+
permissions:
|
|
17
|
+
contents: read
|
|
18
|
+
|
|
19
|
+
jobs:
|
|
20
|
+
test:
|
|
21
|
+
|
|
22
|
+
runs-on: ubuntu-latest
|
|
23
|
+
strategy:
|
|
24
|
+
matrix:
|
|
25
|
+
ruby-version: ['3.2', '3.3', '3.4']
|
|
26
|
+
|
|
27
|
+
steps:
|
|
28
|
+
- uses: actions/checkout@v4
|
|
29
|
+
- name: Set up Ruby
|
|
30
|
+
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
|
|
31
|
+
# change this to (see https://github.com/ruby/setup-ruby#versioning):
|
|
32
|
+
# uses: ruby/setup-ruby@v1
|
|
33
|
+
uses: ruby/setup-ruby@v1 # v1.146.0
|
|
34
|
+
with:
|
|
35
|
+
ruby-version: ${{ matrix.ruby-version }}
|
|
36
|
+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
|
37
|
+
- name: Run tests
|
|
38
|
+
run: bundle exec rake
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
data/.simplecov
CHANGED
data/.yardopts
ADDED
data/CHANGELOG.org
ADDED
data/Gemfile
CHANGED
|
@@ -5,8 +5,13 @@ source "https://rubygems.org"
|
|
|
5
5
|
# Specify your gem's dependencies in labrat.gemspec
|
|
6
6
|
gemspec
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
gem
|
|
11
|
-
|
|
12
|
-
gem
|
|
8
|
+
group :development do
|
|
9
|
+
gem 'debug', '>= 1.0.0'
|
|
10
|
+
gem 'gem_docs'
|
|
11
|
+
gem 'pry'
|
|
12
|
+
gem 'rake'
|
|
13
|
+
gem 'rspec'
|
|
14
|
+
gem 'rubocop', require: false
|
|
15
|
+
gem 'rubocop-ddoherty', git: 'https://github.com/ddoherty03/rubocop-ddoherty.git', branch: 'master', require: false
|
|
16
|
+
gem 'simplecov'
|
|
17
|
+
end
|
data/Gemfile.lock
CHANGED
|
@@ -1,93 +1,117 @@
|
|
|
1
|
+
GIT
|
|
2
|
+
remote: https://github.com/ddoherty03/rubocop-ddoherty.git
|
|
3
|
+
revision: 6b28e9614f18f94b684179c488acca8ac6cabdc6
|
|
4
|
+
branch: master
|
|
5
|
+
specs:
|
|
6
|
+
rubocop-ddoherty (0.1.2)
|
|
7
|
+
rubocop-performance (~> 1.0)
|
|
8
|
+
rubocop-rake (>= 0.7)
|
|
9
|
+
rubocop-rspec (~> 3.0)
|
|
10
|
+
rubocop-shopify (~> 2.0)
|
|
11
|
+
|
|
1
12
|
PATH
|
|
2
13
|
remote: .
|
|
3
14
|
specs:
|
|
4
|
-
labrat (1.
|
|
15
|
+
labrat (1.3.0)
|
|
5
16
|
activesupport
|
|
6
|
-
fat_config (>= 0.
|
|
7
|
-
fat_core
|
|
17
|
+
fat_config (>= 0.4.2)
|
|
8
18
|
matrix
|
|
9
19
|
prawn (~> 2.0)
|
|
10
20
|
|
|
11
21
|
GEM
|
|
12
22
|
remote: https://rubygems.org/
|
|
13
23
|
specs:
|
|
14
|
-
activesupport (8.
|
|
24
|
+
activesupport (8.1.1)
|
|
15
25
|
base64
|
|
16
|
-
benchmark (>= 0.3)
|
|
17
26
|
bigdecimal
|
|
18
27
|
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
19
28
|
connection_pool (>= 2.2.5)
|
|
20
29
|
drb
|
|
21
30
|
i18n (>= 1.6, < 2)
|
|
31
|
+
json
|
|
22
32
|
logger (>= 1.4.2)
|
|
23
33
|
minitest (>= 5.1)
|
|
24
34
|
securerandom (>= 0.3)
|
|
25
35
|
tzinfo (~> 2.0, >= 2.0.5)
|
|
26
36
|
uri (>= 0.13.1)
|
|
27
|
-
ast (2.4.
|
|
28
|
-
base64 (0.
|
|
29
|
-
|
|
30
|
-
bigdecimal (3.1.8)
|
|
37
|
+
ast (2.4.3)
|
|
38
|
+
base64 (0.3.0)
|
|
39
|
+
bigdecimal (3.3.1)
|
|
31
40
|
coderay (1.1.3)
|
|
32
|
-
concurrent-ruby (1.3.
|
|
33
|
-
connection_pool (
|
|
41
|
+
concurrent-ruby (1.3.5)
|
|
42
|
+
connection_pool (3.0.1)
|
|
34
43
|
damerau-levenshtein (1.3.3)
|
|
35
|
-
|
|
44
|
+
date (3.5.1)
|
|
45
|
+
debug (1.10.0)
|
|
36
46
|
irb (~> 1.10)
|
|
37
47
|
reline (>= 0.3.8)
|
|
38
|
-
diff-lcs (1.
|
|
48
|
+
diff-lcs (1.6.0)
|
|
39
49
|
docile (1.4.1)
|
|
40
|
-
drb (2.2.
|
|
41
|
-
|
|
50
|
+
drb (2.2.3)
|
|
51
|
+
erb (6.0.1)
|
|
52
|
+
fat_config (0.4.2)
|
|
42
53
|
activesupport
|
|
54
|
+
fat_core (>= 5.6.1)
|
|
43
55
|
inifile
|
|
44
56
|
tomlib
|
|
45
|
-
fat_core (
|
|
57
|
+
fat_core (7.1.3)
|
|
46
58
|
activesupport
|
|
47
59
|
damerau-levenshtein
|
|
48
60
|
ostruct
|
|
49
61
|
stringio (>= 3.1.2)
|
|
50
|
-
|
|
62
|
+
gem_docs (0.2.0)
|
|
63
|
+
rake
|
|
64
|
+
yard
|
|
65
|
+
i18n (1.14.7)
|
|
51
66
|
concurrent-ruby (~> 1.0)
|
|
52
67
|
inifile (3.0.0)
|
|
53
|
-
io-console (0.
|
|
54
|
-
irb (1.
|
|
68
|
+
io-console (0.8.0)
|
|
69
|
+
irb (1.15.1)
|
|
70
|
+
pp (>= 0.6.0)
|
|
55
71
|
rdoc (>= 4.0.0)
|
|
56
72
|
reline (>= 0.4.2)
|
|
57
|
-
json (2.
|
|
58
|
-
language_server-protocol (3.17.0.
|
|
59
|
-
|
|
60
|
-
|
|
73
|
+
json (2.16.0)
|
|
74
|
+
language_server-protocol (3.17.0.5)
|
|
75
|
+
lint_roller (1.1.0)
|
|
76
|
+
logger (1.7.0)
|
|
77
|
+
matrix (0.4.3)
|
|
61
78
|
method_source (1.1.0)
|
|
62
|
-
minitest (5.
|
|
63
|
-
ostruct (0.6.
|
|
64
|
-
parallel (1.
|
|
65
|
-
parser (3.3.
|
|
79
|
+
minitest (5.26.2)
|
|
80
|
+
ostruct (0.6.3)
|
|
81
|
+
parallel (1.27.0)
|
|
82
|
+
parser (3.3.10.0)
|
|
66
83
|
ast (~> 2.4.1)
|
|
67
84
|
racc
|
|
68
85
|
pdf-core (0.10.0)
|
|
86
|
+
pp (0.6.2)
|
|
87
|
+
prettyprint
|
|
69
88
|
prawn (2.5.0)
|
|
70
89
|
matrix (~> 0.4)
|
|
71
90
|
pdf-core (~> 0.10.0)
|
|
72
91
|
ttfunk (~> 1.8)
|
|
73
|
-
|
|
92
|
+
prettyprint (0.2.0)
|
|
93
|
+
prism (1.6.0)
|
|
94
|
+
pry (0.15.2)
|
|
74
95
|
coderay (~> 1.1)
|
|
75
96
|
method_source (~> 1.0)
|
|
76
|
-
psych (5.
|
|
97
|
+
psych (5.3.1)
|
|
98
|
+
date
|
|
77
99
|
stringio
|
|
78
100
|
racc (1.8.1)
|
|
79
101
|
rainbow (3.1.1)
|
|
80
102
|
rake (13.2.1)
|
|
81
|
-
rdoc (
|
|
103
|
+
rdoc (7.0.3)
|
|
104
|
+
erb
|
|
82
105
|
psych (>= 4.0.0)
|
|
83
|
-
|
|
84
|
-
|
|
106
|
+
tsort
|
|
107
|
+
regexp_parser (2.11.3)
|
|
108
|
+
reline (0.6.0)
|
|
85
109
|
io-console (~> 0.5)
|
|
86
110
|
rspec (3.13.0)
|
|
87
111
|
rspec-core (~> 3.13.0)
|
|
88
112
|
rspec-expectations (~> 3.13.0)
|
|
89
113
|
rspec-mocks (~> 3.13.0)
|
|
90
|
-
rspec-core (3.13.
|
|
114
|
+
rspec-core (3.13.3)
|
|
91
115
|
rspec-support (~> 3.13.0)
|
|
92
116
|
rspec-expectations (3.13.3)
|
|
93
117
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
@@ -95,59 +119,67 @@ GEM
|
|
|
95
119
|
rspec-mocks (3.13.2)
|
|
96
120
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
97
121
|
rspec-support (~> 3.13.0)
|
|
98
|
-
rspec-support (3.13.
|
|
99
|
-
rubocop (1.
|
|
122
|
+
rspec-support (3.13.2)
|
|
123
|
+
rubocop (1.81.7)
|
|
100
124
|
json (~> 2.3)
|
|
101
|
-
language_server-protocol (
|
|
125
|
+
language_server-protocol (~> 3.17.0.2)
|
|
126
|
+
lint_roller (~> 1.1.0)
|
|
102
127
|
parallel (~> 1.10)
|
|
103
128
|
parser (>= 3.3.0.2)
|
|
104
129
|
rainbow (>= 2.2.2, < 4.0)
|
|
105
|
-
regexp_parser (>= 2.
|
|
106
|
-
rubocop-ast (>= 1.
|
|
130
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
|
131
|
+
rubocop-ast (>= 1.47.1, < 2.0)
|
|
107
132
|
ruby-progressbar (~> 1.7)
|
|
108
133
|
unicode-display_width (>= 2.4.0, < 4.0)
|
|
109
|
-
rubocop-ast (1.
|
|
110
|
-
parser (>= 3.3.
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
rubocop (
|
|
116
|
-
rubocop-
|
|
117
|
-
|
|
134
|
+
rubocop-ast (1.48.0)
|
|
135
|
+
parser (>= 3.3.7.2)
|
|
136
|
+
prism (~> 1.4)
|
|
137
|
+
rubocop-performance (1.24.0)
|
|
138
|
+
lint_roller (~> 1.1)
|
|
139
|
+
rubocop (>= 1.72.1, < 2.0)
|
|
140
|
+
rubocop-ast (>= 1.38.0, < 2.0)
|
|
141
|
+
rubocop-rake (0.7.1)
|
|
142
|
+
lint_roller (~> 1.1)
|
|
143
|
+
rubocop (>= 1.72.1)
|
|
144
|
+
rubocop-rspec (3.7.0)
|
|
145
|
+
lint_roller (~> 1.1)
|
|
146
|
+
rubocop (~> 1.72, >= 1.72.1)
|
|
147
|
+
rubocop-shopify (2.18.0)
|
|
148
|
+
rubocop (~> 1.62)
|
|
118
149
|
ruby-progressbar (1.13.0)
|
|
119
|
-
securerandom (0.
|
|
150
|
+
securerandom (0.4.1)
|
|
120
151
|
simplecov (0.22.0)
|
|
121
152
|
docile (~> 1.1)
|
|
122
153
|
simplecov-html (~> 0.11)
|
|
123
154
|
simplecov_json_formatter (~> 0.1)
|
|
124
155
|
simplecov-html (0.13.1)
|
|
125
156
|
simplecov_json_formatter (0.1.4)
|
|
126
|
-
stringio (3.
|
|
127
|
-
tomlib (0.7.
|
|
157
|
+
stringio (3.2.0)
|
|
158
|
+
tomlib (0.7.3)
|
|
128
159
|
bigdecimal
|
|
160
|
+
tsort (0.2.0)
|
|
129
161
|
ttfunk (1.8.0)
|
|
130
162
|
bigdecimal (~> 3.1)
|
|
131
163
|
tzinfo (2.0.6)
|
|
132
164
|
concurrent-ruby (~> 1.0)
|
|
133
|
-
unicode-display_width (3.
|
|
134
|
-
unicode-emoji (~> 4.
|
|
135
|
-
unicode-emoji (4.0
|
|
136
|
-
uri (1.
|
|
165
|
+
unicode-display_width (3.2.0)
|
|
166
|
+
unicode-emoji (~> 4.1)
|
|
167
|
+
unicode-emoji (4.1.0)
|
|
168
|
+
uri (1.1.1)
|
|
169
|
+
yard (0.9.38)
|
|
137
170
|
|
|
138
171
|
PLATFORMS
|
|
139
172
|
x86_64-linux
|
|
140
173
|
|
|
141
174
|
DEPENDENCIES
|
|
142
175
|
debug (>= 1.0.0)
|
|
176
|
+
gem_docs
|
|
143
177
|
labrat!
|
|
144
178
|
pry
|
|
145
|
-
rake
|
|
146
|
-
rspec
|
|
147
|
-
rubocop
|
|
148
|
-
rubocop-
|
|
149
|
-
rubocop-rspec
|
|
150
|
-
rubocop-shopify
|
|
179
|
+
rake
|
|
180
|
+
rspec
|
|
181
|
+
rubocop
|
|
182
|
+
rubocop-ddoherty!
|
|
151
183
|
simplecov
|
|
152
184
|
|
|
153
185
|
BUNDLED WITH
|