doit 1.1.0 → 1.1.1

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: 46cd318eb88d96dd1abb3340bd83e2b948e73a22e0ca7b0f6299f3a80006ac33
4
- data.tar.gz: 5a8f94abf728513d37a8e8adf29badead3ed6cce2c6c650ec519dc6fed4d0635
3
+ metadata.gz: 37dd343b92a8c63c5af375109a99a94e102906d4a73f6181b63d78f56bc0552c
4
+ data.tar.gz: 8efae7ba92cb7240dea299a44dc5fca6aa6aebf983f22159864eecd5631f132f
5
5
  SHA512:
6
- metadata.gz: 6a76274c4523f958dbb3debd9736d3149d7126c5b0f95123ce415faf429feecfc8a6f0ed40bf539e4b1dec6ae8cba94bf88ffb42cb03fec8083b4fe7b295cfd7
7
- data.tar.gz: 1e682c084677daafaef2e57d416c3191c5d8266be804d828c7916c8ce3a9b87271bfa41c18e55a718f5cd6e4b0a4670fe327b7d629a882057edf4ebfc8509dd8
6
+ metadata.gz: ece03b99d4062df095a3f1a95f316812faeb20edc9f42336b66b5a8de4fadf1dfbca5ea9d31b5ce88d257fb473a9491a7333a479f5fc7c3c582eb462b9e84a2b
7
+ data.tar.gz: 01e9eec438766669b47b92c3789bc09bdbde3770e1ac829175e5401a73949c10d92bc2141023447746fee6df3ce85cffce86ad3ef843742769964b9293f9c2d4
@@ -14,7 +14,7 @@ jobs:
14
14
  runs-on: ${{ matrix.os }}
15
15
 
16
16
  steps:
17
- - uses: actions/checkout@v3
17
+ - uses: actions/checkout@v6
18
18
  - uses: ruby/setup-ruby@v1
19
19
  with:
20
20
  ruby-version: ${{ matrix.ruby }}
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-4.0.0
1
+ ruby-4.0.2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- doit (1.1.0)
4
+ doit (1.1.1)
5
5
  micro-optparse
6
6
 
7
7
  GEM
@@ -13,31 +13,44 @@ GEM
13
13
  logger
14
14
  micro-optparse
15
15
  docile (1.4.1)
16
- ffi (1.17.2)
17
- json (2.18.0)
16
+ drb (2.2.3)
17
+ ffi (1.17.4)
18
+ ffi (1.17.4-aarch64-linux-gnu)
19
+ ffi (1.17.4-aarch64-linux-musl)
20
+ ffi (1.17.4-arm-linux-gnu)
21
+ ffi (1.17.4-arm-linux-musl)
22
+ ffi (1.17.4-arm64-darwin)
23
+ ffi (1.17.4-x86-linux-gnu)
24
+ ffi (1.17.4-x86-linux-musl)
25
+ ffi (1.17.4-x86_64-darwin)
26
+ ffi (1.17.4-x86_64-linux-gnu)
27
+ ffi (1.17.4-x86_64-linux-musl)
28
+ json (2.19.3)
18
29
  language_server-protocol (3.17.0.5)
19
30
  lint_roller (1.1.0)
20
- listen (3.9.0)
31
+ listen (3.10.0)
32
+ logger
21
33
  rb-fsevent (~> 0.10, >= 0.10.3)
22
34
  rb-inotify (~> 0.9, >= 0.9.10)
23
35
  logger (1.7.0)
24
36
  micro-optparse (1.2.1)
25
- minitest (6.0.1)
37
+ minitest (6.0.3)
38
+ drb (~> 2.0)
26
39
  prism (~> 1.5)
27
- parallel (1.27.0)
28
- parser (3.3.10.0)
40
+ parallel (1.28.0)
41
+ parser (3.3.11.1)
29
42
  ast (~> 2.4.1)
30
43
  racc
31
- prism (1.7.0)
44
+ prism (1.9.0)
32
45
  racc (1.8.1)
33
46
  rainbow (3.1.1)
34
47
  rake (13.3.1)
35
48
  rb-fsevent (0.11.2)
36
49
  rb-inotify (0.11.1)
37
50
  ffi (~> 1.0)
38
- regexp_parser (2.11.3)
51
+ regexp_parser (2.12.0)
39
52
  ricecream (0.2.1)
40
- rubocop (1.81.7)
53
+ rubocop (1.84.2)
41
54
  json (~> 2.3)
42
55
  language_server-protocol (~> 3.17.0.2)
43
56
  lint_roller (~> 1.1.0)
@@ -45,10 +58,10 @@ GEM
45
58
  parser (>= 3.3.0.2)
46
59
  rainbow (>= 2.2.2, < 4.0)
47
60
  regexp_parser (>= 2.9.3, < 3.0)
48
- rubocop-ast (>= 1.47.1, < 2.0)
61
+ rubocop-ast (>= 1.49.0, < 2.0)
49
62
  ruby-progressbar (~> 1.7)
50
63
  unicode-display_width (>= 2.4.0, < 4.0)
51
- rubocop-ast (1.49.0)
64
+ rubocop-ast (1.49.1)
52
65
  parser (>= 3.3.7.2)
53
66
  prism (~> 1.7)
54
67
  rubocop-performance (1.26.1)
@@ -62,10 +75,10 @@ GEM
62
75
  simplecov_json_formatter (~> 0.1)
63
76
  simplecov-html (0.13.2)
64
77
  simplecov_json_formatter (0.1.4)
65
- standard (1.52.0)
78
+ standard (1.54.0)
66
79
  language_server-protocol (~> 3.17.0.2)
67
80
  lint_roller (~> 1.0)
68
- rubocop (~> 1.81.7)
81
+ rubocop (~> 1.84.0)
69
82
  standard-custom (~> 1.0.0)
70
83
  standard-performance (~> 1.8)
71
84
  standard-custom (1.0.2)
@@ -79,8 +92,17 @@ GEM
79
92
  unicode-emoji (4.2.0)
80
93
 
81
94
  PLATFORMS
95
+ aarch64-linux-gnu
96
+ aarch64-linux-musl
97
+ arm-linux-gnu
98
+ arm-linux-musl
99
+ arm64-darwin
82
100
  ruby
83
- x86_64-linux
101
+ x86-linux-gnu
102
+ x86-linux-musl
103
+ x86_64-darwin
104
+ x86_64-linux-gnu
105
+ x86_64-linux-musl
84
106
 
85
107
  DEPENDENCIES
86
108
  cuco
@@ -95,37 +117,48 @@ CHECKSUMS
95
117
  ast (2.4.3) sha256=954615157c1d6a382bc27d690d973195e79db7f55e9765ac7c481c60bdb4d383
96
118
  cuco (0.1.6) sha256=c566f50099a20c41c2fa053697294b4200204d9ca5fac60e7190450c6ed66312
97
119
  docile (1.4.1) sha256=96159be799bfa73cdb721b840e9802126e4e03dfc26863db73647204c727f21e
98
- doit (1.1.0)
99
- ffi (1.17.2) sha256=297235842e5947cc3036ebe64077584bff583cd7a4e94e9a02fdec399ef46da6
100
- json (2.18.0) sha256=b10506aee4183f5cf49e0efc48073d7b75843ce3782c68dbeb763351c08fd505
120
+ doit (1.1.1)
121
+ drb (2.2.3) sha256=0b00d6fdb50995fe4a45dea13663493c841112e4068656854646f418fda13373
122
+ ffi (1.17.4) sha256=bcd1642e06f0d16fc9e09ac6d49c3a7298b9789bcb58127302f934e437d60acf
123
+ ffi (1.17.4-aarch64-linux-gnu) sha256=b208f06f91ffd8f5e1193da3cae3d2ccfc27fc36fba577baf698d26d91c080df
124
+ ffi (1.17.4-aarch64-linux-musl) sha256=9286b7a615f2676245283aef0a0a3b475ae3aae2bb5448baace630bb77b91f39
125
+ ffi (1.17.4-arm-linux-gnu) sha256=d6dbddf7cb77bf955411af5f187a65b8cd378cb003c15c05697f5feee1cb1564
126
+ ffi (1.17.4-arm-linux-musl) sha256=9d4838ded0465bef6e2426935f6bcc93134b6616785a84ffd2a3d82bc3cf6f95
127
+ ffi (1.17.4-arm64-darwin) sha256=19071aaf1419251b0a46852abf960e77330a3b334d13a4ab51d58b31a937001b
128
+ ffi (1.17.4-x86-linux-gnu) sha256=38e150df5f4ca555e25beca4090823ae09657bceded154e3c52f8631c1ed72cf
129
+ ffi (1.17.4-x86-linux-musl) sha256=fbeec0fc7c795bcf86f623bb18d31ea1820f7bd580e1703a3d3740d527437809
130
+ ffi (1.17.4-x86_64-darwin) sha256=aa70390523cf3235096cf64962b709b4cfbd5c082a2cb2ae714eb0fe2ccda496
131
+ ffi (1.17.4-x86_64-linux-gnu) sha256=9d3db14c2eae074b382fa9c083fe95aec6e0a1451da249eab096c34002bc752d
132
+ ffi (1.17.4-x86_64-linux-musl) sha256=3fdf9888483de005f8ef8d1cf2d3b20d86626af206cbf780f6a6a12439a9c49e
133
+ json (2.19.3) sha256=289b0bb53052a1fa8c34ab33cc750b659ba14a5c45f3fcf4b18762dc67c78646
101
134
  language_server-protocol (3.17.0.5) sha256=fd1e39a51a28bf3eec959379985a72e296e9f9acfce46f6a79d31ca8760803cc
102
135
  lint_roller (1.1.0) sha256=2c0c845b632a7d172cb849cc90c1bce937a28c5c8ccccb50dfd46a485003cc87
103
- listen (3.9.0) sha256=db9e4424e0e5834480385197c139cb6b0ae0ef28cc13310cfd1ca78377d59c67
136
+ listen (3.10.0) sha256=c6e182db62143aeccc2e1960033bebe7445309c7272061979bb098d03760c9d2
104
137
  logger (1.7.0) sha256=196edec7cc44b66cfb40f9755ce11b392f21f7967696af15d274dde7edff0203
105
138
  micro-optparse (1.2.1) sha256=b9cc0e2b4987776ca78dcbf59ce72c2bf6fd805fe56a0f4a94f9a2b0c68044e4
106
- minitest (6.0.1) sha256=7854c74f48e2e975969062833adc4013f249a4b212f5e7b9d5c040bf838d54bb
107
- parallel (1.27.0) sha256=4ac151e1806b755fb4e2dc2332cbf0e54f2e24ba821ff2d3dcf86bf6dc4ae130
108
- parser (3.3.10.0) sha256=ce3587fa5cc55a88c4ba5b2b37621b3329aadf5728f9eafa36bbd121462aabd6
109
- prism (1.7.0) sha256=10062f734bf7985c8424c44fac382ac04a58124ea3d220ec3ba9fe4f2da65103
139
+ minitest (6.0.3) sha256=88ac8a1de36c00692420e7cb3cc11a0773bbcb126aee1c249f320160a7d11411
140
+ parallel (1.28.0) sha256=33e6de1484baf2524792d178b0913fc8eb94c628d6cfe45599ad4458c638c970
141
+ parser (3.3.11.1) sha256=d17ace7aabe3e72c3cc94043714be27cc6f852f104d81aa284c2281aecc65d54
142
+ prism (1.9.0) sha256=7b530c6a9f92c24300014919c9dcbc055bf4cdf51ec30aed099b06cd6674ef85
110
143
  racc (1.8.1) sha256=4a7f6929691dbec8b5209a0b373bc2614882b55fc5d2e447a21aaa691303d62f
111
144
  rainbow (3.1.1) sha256=039491aa3a89f42efa1d6dec2fc4e62ede96eb6acd95e52f1ad581182b79bc6a
112
145
  rake (13.3.1) sha256=8c9e89d09f66a26a01264e7e3480ec0607f0c497a861ef16063604b1b08eb19c
113
146
  rb-fsevent (0.11.2) sha256=43900b972e7301d6570f64b850a5aa67833ee7d87b458ee92805d56b7318aefe
114
147
  rb-inotify (0.11.1) sha256=a0a700441239b0ff18eb65e3866236cd78613d6b9f78fea1f9ac47a85e47be6e
115
- regexp_parser (2.11.3) sha256=ca13f381a173b7a93450e53459075c9b76a10433caadcb2f1180f2c741fc55a4
148
+ regexp_parser (2.12.0) sha256=35a916a1d63190ab5c9009457136ae5f3c0c7512d60291d0d1378ba18ce08ebb
116
149
  ricecream (0.2.1) sha256=d32d7781d554d1e1ec44325cabeb22f604a74c563c08d2cfe82f4e2e2bb3ac93
117
- rubocop (1.81.7) sha256=6fb5cc298c731691e2a414fe0041a13eb1beed7bab23aec131da1bcc527af094
118
- rubocop-ast (1.49.0) sha256=49c3676d3123a0923d333e20c6c2dbaaae2d2287b475273fddee0c61da9f71fd
150
+ rubocop (1.84.2) sha256=5692cea54168f3dc8cb79a6fe95c5424b7ea893c707ad7a4307b0585e88dbf5f
151
+ rubocop-ast (1.49.1) sha256=4412f3ee70f6fe4546cc489548e0f6fcf76cafcfa80fa03af67098ffed755035
119
152
  rubocop-performance (1.26.1) sha256=cd19b936ff196df85829d264b522fd4f98b6c89ad271fa52744a8c11b8f71834
120
153
  ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33
121
154
  simplecov (0.22.0) sha256=fe2622c7834ff23b98066bb0a854284b2729a569ac659f82621fc22ef36213a5
122
155
  simplecov-html (0.13.2) sha256=bd0b8e54e7c2d7685927e8d6286466359b6f16b18cb0df47b508e8d73c777246
123
156
  simplecov_json_formatter (0.1.4) sha256=529418fbe8de1713ac2b2d612aa3daa56d316975d307244399fa4838c601b428
124
- standard (1.52.0) sha256=ec050e63228e31fabe40da3ef96da7edda476f7acdf3e7c2ad47b6e153f6a076
157
+ standard (1.54.0) sha256=7a4b08f83d9893083c8f03bc486f0feeb6a84d48233b40829c03ef4767ea0100
125
158
  standard-custom (1.0.2) sha256=424adc84179a074f1a2a309bb9cf7cd6bfdb2b6541f20c6bf9436c0ba22a652b
126
159
  standard-performance (1.9.0) sha256=49483d31be448292951d80e5e67cdcb576c2502103c7b40aec6f1b6e9c88e3f2
127
160
  unicode-display_width (3.2.0) sha256=0cdd96b5681a5949cdbc2c55e7b420facae74c4aaf9a9815eee1087cb1853c42
128
161
  unicode-emoji (4.2.0) sha256=519e69150f75652e40bf736106cfbc8f0f73aa3fb6a65afe62fefa7f80b0f80f
129
162
 
130
163
  BUNDLED WITH
131
- 4.0.3
164
+ 4.0.6
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2014-2024 Dittmar Krall (www.matiq.com)
1
+ Copyright (c) 2014-2026 Dittmar Krall (www.matiq.com)
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -83,5 +83,5 @@ See examples below.
83
83
 
84
84
  ## License
85
85
 
86
- Copyright (c) 2014-2025 Dittmar Krall (www.matiq.com),
86
+ Copyright (c) 2014-2026 Dittmar Krall (www.matiq.com),
87
87
  released under the [MIT license](https://opensource.org/licenses/MIT).
data/lib/doit.rb CHANGED
@@ -15,9 +15,10 @@ class << Doit
15
15
  execute(script) if script
16
16
  end
17
17
 
18
- def options=(x)
19
- @options =x
20
- end
18
+ attr_writer :options
19
+ # def options=(x)
20
+ # @options = x
21
+ # end
21
22
 
22
23
  def options
23
24
  @options ||= {}
data/lib/globals.rb CHANGED
@@ -1,5 +1,6 @@
1
1
  module Globals
2
- VERSION = "1.1.0" # 2025-12-31
2
+ VERSION = "1.1.1" # 2026-04-07
3
+ # VERSION = "1.1.0" # 2025-12-31
3
4
  # VERSION = "1.0.9" # 2024-12-25
4
5
  # VERSION = "1.0.8" # 2024-12-13
5
6
  # VERSION = "1.0.7" # 2024-02-02
data/lib/import.rb CHANGED
@@ -1,4 +1,3 @@
1
- require "pathname"
2
1
  require "erb"
3
2
 
4
3
  Import = Object.new
data/test/test_helper.rb CHANGED
@@ -12,7 +12,6 @@ require "minitest/autorun"
12
12
  def noop(options = {noop: true}, &block)
13
13
  return "noop: missing block" unless block
14
14
 
15
- out = "---"
16
15
  save_options = Doit.options
17
16
  Doit.options = options
18
17
  out, _err = capture_io do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: doit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dittmar Krall
@@ -101,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
101
  - !ruby/object:Gem::Version
102
102
  version: '0'
103
103
  requirements: []
104
- rubygems_version: 4.0.3
104
+ rubygems_version: 4.0.6
105
105
  specification_version: 4
106
106
  summary: Simple local & remote script executor
107
107
  test_files: []