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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 020c36cc0c3e427e9e728076b7fad0fbb43f20c02a7c3141ed9826e9495e0aeb
4
- data.tar.gz: b83174cd528a01d9b9276d456aee772e678b6aaf4185f11c8a69587ca7e638c6
3
+ metadata.gz: 07527254f70ab94358c248e5abe969594cc89d6d37849d7f61cc4539482dea84
4
+ data.tar.gz: 787d233bd3bfdf40e2f0e5aeb8f718b9059abb0767e27c8e301b4924ad643040
5
5
  SHA512:
6
- metadata.gz: a2b993dd909a916bc108dbd9d2408eb3cb37a1db0cf99fe518cb415eb36894d97f79b06da93fae6bf79517089c5454ab6ae53c3e7e2af88db4e789cbf65ce9da
7
- data.tar.gz: 6538096acbb8366e2c22703247d30354f09cf2be1d60fecb41333a1036d6080f779dad81e01cd954e0c061fecf424548c04a5f3c274fbf05b46e9cadb2d0066e
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
@@ -19,3 +19,5 @@ labrat.pdf
19
19
  /README.pyg
20
20
  /README.tex
21
21
  /label.tex
22
+ *.aux
23
+ /texlabels/auto/
data/.rubocop.yml CHANGED
@@ -1,2 +1,7 @@
1
- inherit_from:
2
- - ~/.rubocop.yml
1
+ # Inherit the shared config from the rubocop-ddoherty gem (git-hosted on GitHub)
2
+ inherit_gem:
3
+ rubocop-ddoherty: 'config/default.yml'
4
+
5
+ plugins:
6
+ - rubocop-rspec
7
+ - rubocop-performance
data/.simplecov CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # -*- mode: ruby -*-
2
4
 
3
5
  SimpleCov.start do
data/.yardopts ADDED
@@ -0,0 +1,4 @@
1
+ --markup markdown
2
+ --output-dir doc
3
+ --readme README.md
4
+ lib/**/*.rb
data/CHANGELOG.org ADDED
@@ -0,0 +1,5 @@
1
+
2
+ * [1.3.0] - [2025-12-26 Fri]
3
+
4
+ * [0.1.0] - [2021-07-28 Wed]
5
+ - Initial release
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
- gem "rake", "~> 13.0"
9
-
10
- gem "rspec", "~> 3.0"
11
-
12
- gem "rubocop", "~> 1.7"
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.2.2)
15
+ labrat (1.3.0)
5
16
  activesupport
6
- fat_config (>= 0.3.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.0.0)
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.2)
28
- base64 (0.2.0)
29
- benchmark (0.4.0)
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.4)
33
- connection_pool (2.4.1)
41
+ concurrent-ruby (1.3.5)
42
+ connection_pool (3.0.1)
34
43
  damerau-levenshtein (1.3.3)
35
- debug (1.9.2)
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.5.1)
48
+ diff-lcs (1.6.0)
39
49
  docile (1.4.1)
40
- drb (2.2.1)
41
- fat_config (0.3.0)
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 (5.5.0)
57
+ fat_core (7.1.3)
46
58
  activesupport
47
59
  damerau-levenshtein
48
60
  ostruct
49
61
  stringio (>= 3.1.2)
50
- i18n (1.14.6)
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.7.2)
54
- irb (1.14.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.8.2)
58
- language_server-protocol (3.17.0.3)
59
- logger (1.6.1)
60
- matrix (0.4.2)
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.25.2)
63
- ostruct (0.6.1)
64
- parallel (1.26.3)
65
- parser (3.3.6.0)
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
- pry (0.15.0)
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.2.0)
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 (6.8.1)
103
+ rdoc (7.0.3)
104
+ erb
82
105
  psych (>= 4.0.0)
83
- regexp_parser (2.9.2)
84
- reline (0.5.12)
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.2)
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.1)
99
- rubocop (1.69.0)
122
+ rspec-support (3.13.2)
123
+ rubocop (1.81.7)
100
124
  json (~> 2.3)
101
- language_server-protocol (>= 3.17.0)
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.4, < 3.0)
106
- rubocop-ast (>= 1.36.1, < 2.0)
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.36.2)
110
- parser (>= 3.3.1.0)
111
- rubocop-performance (1.23.0)
112
- rubocop (>= 1.48.1, < 2.0)
113
- rubocop-ast (>= 1.31.1, < 2.0)
114
- rubocop-rspec (3.2.0)
115
- rubocop (~> 1.61)
116
- rubocop-shopify (2.15.1)
117
- rubocop (~> 1.51)
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.3.2)
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.1.2)
127
- tomlib (0.7.2)
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.1.2)
134
- unicode-emoji (~> 4.0, >= 4.0.4)
135
- unicode-emoji (4.0.4)
136
- uri (1.0.2)
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 (~> 13.0)
146
- rspec (~> 3.0)
147
- rubocop (~> 1.7)
148
- rubocop-performance
149
- rubocop-rspec
150
- rubocop-shopify
179
+ rake
180
+ rspec
181
+ rubocop
182
+ rubocop-ddoherty!
151
183
  simplecov
152
184
 
153
185
  BUNDLED WITH