minio_runner 0.1.2 → 1.0.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: 05673a80f366bbb670c2ceb4cce28d3d8d27b7b25c4418482d15d6030b6a5fe1
4
- data.tar.gz: 6ecaa3cefbd2962e8eaf7fb7262c479ca5e6383bbe2e711d9f459c9987d492e5
3
+ metadata.gz: 8e785504aa2d88d0ef104472b3bc00e7a882e9ad46e7e862d12f198e31667fb8
4
+ data.tar.gz: f0ea74f0a594fd648d8efd8892b4a86de26b6489d9ef42c1ccd7f983574d43ae
5
5
  SHA512:
6
- metadata.gz: 9427c0521263fc9cf1ab467acc3af4aaf759802134b88a59f8105d0d14dd6a1c496d83b5a26744923666ec8a8688ececb62fc79670db63142450d2449cf6b141
7
- data.tar.gz: ccc978d672db68a3b59b4feaa723581e8aa445fd4535770c2d6767c81a7255aac8ae6110b9af3e3a4f37c66854661b418eda627c732cd8aabd8dd679de757775
6
+ metadata.gz: db4529f6f6c12eed93eae73ca20e71e10f3ae16b97cf783c51cc0bc99438140ec621b990ee03d6e4983275c3824e0ea2a4b8efa33f93875f4fade4a0a06a24b3
7
+ data.tar.gz: 4476e51029332f13d496d1ccb25fd70b1c0cd3129b2b716589c97e02b30a2ab8577fb633cd6c3dcbb597f09c648aad3ccf4cb58c1c8faf1805d655f94d00045c
data/Gemfile.lock CHANGED
@@ -1,78 +1,127 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- minio_runner (0.1.2)
4
+ minio_runner (1.0.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
+ activesupport (8.0.2)
10
+ base64
11
+ benchmark (>= 0.3)
12
+ bigdecimal
13
+ concurrent-ruby (~> 1.0, >= 1.3.1)
14
+ connection_pool (>= 2.2.5)
15
+ drb
16
+ i18n (>= 1.6, < 2)
17
+ logger (>= 1.4.2)
18
+ minitest (>= 5.1)
19
+ securerandom (>= 0.3)
20
+ tzinfo (~> 2.0, >= 2.0.5)
21
+ uri (>= 0.13.1)
9
22
  ansi (1.5.0)
10
- ast (2.4.2)
11
- builder (3.2.4)
12
- byebug (11.1.3)
23
+ ast (2.4.3)
24
+ base64 (0.2.0)
25
+ benchmark (0.4.0)
26
+ bigdecimal (3.1.9)
27
+ builder (3.3.0)
28
+ byebug (12.0.0)
13
29
  coderay (1.1.3)
14
- json (2.6.3)
15
- language_server-protocol (3.17.0.3)
16
- method_source (1.0.0)
17
- minitest (5.19.0)
30
+ concurrent-ruby (1.3.5)
31
+ connection_pool (2.5.2)
32
+ drb (2.2.1)
33
+ i18n (1.14.7)
34
+ concurrent-ruby (~> 1.0)
35
+ json (2.11.0)
36
+ language_server-protocol (3.17.0.4)
37
+ lint_roller (1.1.0)
38
+ logger (1.7.0)
39
+ method_source (1.1.0)
40
+ minitest (5.25.5)
18
41
  minitest-color (0.0.2)
19
42
  minitest (~> 5)
20
43
  minitest-line (0.6.5)
21
44
  minitest (~> 5.0)
22
- minitest-reporters (1.6.1)
45
+ minitest-reporters (1.7.1)
23
46
  ansi
24
47
  builder
25
48
  minitest (>= 5.0)
26
49
  ruby-progressbar
27
- parallel (1.23.0)
28
- parser (3.2.2.3)
50
+ parallel (1.27.0)
51
+ parser (3.3.8.0)
29
52
  ast (~> 2.4.1)
30
53
  racc
31
54
  prettier_print (1.2.1)
32
- pry (0.14.2)
55
+ prism (1.4.0)
56
+ pry (0.15.2)
33
57
  coderay (~> 1.1)
34
58
  method_source (~> 1.0)
35
- pry-byebug (3.10.1)
36
- byebug (~> 11.0)
37
- pry (>= 0.13, < 0.15)
38
- racc (1.7.1)
59
+ pry-byebug (3.11.0)
60
+ byebug (~> 12.0)
61
+ pry (>= 0.13, < 0.16)
62
+ racc (1.8.1)
63
+ rack (3.1.13)
39
64
  rainbow (3.1.1)
40
- rake (13.0.6)
41
- regexp_parser (2.8.1)
42
- rexml (3.2.6)
43
- rubocop (1.55.1)
65
+ rake (13.2.1)
66
+ regexp_parser (2.10.0)
67
+ rubocop (1.75.3)
44
68
  json (~> 2.3)
45
- language_server-protocol (>= 3.17.0)
69
+ language_server-protocol (~> 3.17.0.2)
70
+ lint_roller (~> 1.1.0)
46
71
  parallel (~> 1.10)
47
- parser (>= 3.2.2.3)
72
+ parser (>= 3.3.0.2)
48
73
  rainbow (>= 2.2.2, < 4.0)
49
- regexp_parser (>= 1.8, < 3.0)
50
- rexml (>= 3.2.5, < 4.0)
51
- rubocop-ast (>= 1.28.1, < 2.0)
74
+ regexp_parser (>= 2.9.3, < 3.0)
75
+ rubocop-ast (>= 1.44.0, < 2.0)
52
76
  ruby-progressbar (~> 1.7)
53
- unicode-display_width (>= 2.4.0, < 3.0)
54
- rubocop-ast (1.29.0)
55
- parser (>= 3.2.1.0)
56
- rubocop-capybara (2.18.0)
57
- rubocop (~> 1.41)
58
- rubocop-discourse (3.3.0)
59
- rubocop (>= 1.1.0)
60
- rubocop-rspec (>= 2.0.0)
61
- rubocop-factory_bot (2.23.1)
62
- rubocop (~> 1.33)
63
- rubocop-rspec (2.23.0)
64
- rubocop (~> 1.33)
65
- rubocop-capybara (~> 2.17)
66
- rubocop-factory_bot (~> 2.22)
77
+ unicode-display_width (>= 2.4.0, < 4.0)
78
+ rubocop-ast (1.44.1)
79
+ parser (>= 3.3.7.2)
80
+ prism (~> 1.4)
81
+ rubocop-capybara (2.22.1)
82
+ lint_roller (~> 1.1)
83
+ rubocop (~> 1.72, >= 1.72.1)
84
+ rubocop-discourse (3.12.1)
85
+ activesupport (>= 6.1)
86
+ lint_roller (>= 1.1.0)
87
+ rubocop (>= 1.73.2)
88
+ rubocop-capybara (>= 2.22.0)
89
+ rubocop-factory_bot (>= 2.27.0)
90
+ rubocop-rails (>= 2.30.3)
91
+ rubocop-rspec (>= 3.0.1)
92
+ rubocop-rspec_rails (>= 2.31.0)
93
+ rubocop-factory_bot (2.27.1)
94
+ lint_roller (~> 1.1)
95
+ rubocop (~> 1.72, >= 1.72.1)
96
+ rubocop-rails (2.31.0)
97
+ activesupport (>= 4.2.0)
98
+ lint_roller (~> 1.1)
99
+ rack (>= 1.1)
100
+ rubocop (>= 1.75.0, < 2.0)
101
+ rubocop-ast (>= 1.38.0, < 2.0)
102
+ rubocop-rspec (3.6.0)
103
+ lint_roller (~> 1.1)
104
+ rubocop (~> 1.72, >= 1.72.1)
105
+ rubocop-rspec_rails (2.31.0)
106
+ lint_roller (~> 1.1)
107
+ rubocop (~> 1.72, >= 1.72.1)
108
+ rubocop-rspec (~> 3.5)
67
109
  ruby-progressbar (1.13.0)
110
+ securerandom (0.4.1)
68
111
  spy (1.0.5)
69
- syntax_tree (6.1.1)
112
+ syntax_tree (6.2.0)
70
113
  prettier_print (>= 1.2.0)
71
114
  syntax_tree-disable_ternary (1.0.0)
72
- unicode-display_width (2.4.2)
115
+ tzinfo (2.0.6)
116
+ concurrent-ruby (~> 1.0)
117
+ unicode-display_width (3.1.4)
118
+ unicode-emoji (~> 4.0, >= 4.0.4)
119
+ unicode-emoji (4.0.4)
120
+ uri (1.0.3)
73
121
 
74
122
  PLATFORMS
75
123
  arm64-darwin-21
124
+ arm64-darwin-24
76
125
  x86_64-linux
77
126
 
78
127
  DEPENDENCIES
@@ -90,4 +139,4 @@ DEPENDENCIES
90
139
  syntax_tree-disable_ternary
91
140
 
92
141
  BUNDLED WITH
93
- 2.4.13
142
+ 2.6.4
data/README.md CHANGED
@@ -42,6 +42,9 @@ setup and teardown for rspec.
42
42
  # is greater than the installed version.
43
43
  MinioRunner.start
44
44
 
45
+ # Start the server without attempting to locate or download the minio binary
46
+ MinioRunner.start(install: false)
47
+
45
48
  # Stop the currently running server.
46
49
  MinioRunner.stop
47
50
  ```
@@ -2,14 +2,15 @@
2
2
 
3
3
  module MinioRunner
4
4
  class Config
5
- attr_accessor :install_dir, :cache_time, :buckets, :public_buckets, :log_level
6
- attr_accessor :minio_data_directory,
7
- :minio_root_user,
5
+ attr_accessor :cache_time, :buckets, :public_buckets, :log_level
6
+ attr_accessor :minio_root_user,
8
7
  :minio_root_password,
9
8
  :minio_domain,
10
9
  :minio_port,
11
10
  :minio_console_port
12
11
 
12
+ attr_reader :install_dir, :minio_data_directory
13
+
13
14
  DEFAULT_INSTALL_DIR = "~/.minio_runner"
14
15
  DEFAULT_CACHE_TIME = 86_400 # 24 hours in seconds
15
16
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MinioRunner
4
- VERSION = "0.1.2"
4
+ VERSION = "1.0.0"
5
5
  end
data/lib/minio_runner.rb CHANGED
@@ -46,10 +46,10 @@ module MinioRunner
46
46
  end
47
47
  end
48
48
 
49
- def start
49
+ def start(install: true)
50
50
  logger.debug("Starting minio_runner...")
51
51
 
52
- install_binaries
52
+ install_binaries if install
53
53
  start_server
54
54
  setup_alias
55
55
  setup_buckets
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minio_runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Brennan
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2023-10-24 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: syntax_tree
@@ -165,7 +164,6 @@ homepage: https://rubygemspec.org/gems/minio_runner
165
164
  licenses:
166
165
  - MIT
167
166
  metadata: {}
168
- post_install_message:
169
167
  rdoc_options: []
170
168
  require_paths:
171
169
  - lib
@@ -173,15 +171,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
173
171
  requirements:
174
172
  - - ">="
175
173
  - !ruby/object:Gem::Version
176
- version: '0'
174
+ version: 3.3.0
177
175
  required_rubygems_version: !ruby/object:Gem::Requirement
178
176
  requirements:
179
177
  - - ">="
180
178
  - !ruby/object:Gem::Version
181
179
  version: '0'
182
180
  requirements: []
183
- rubygems_version: 3.1.6
184
- signing_key:
181
+ rubygems_version: 3.6.7
185
182
  specification_version: 4
186
183
  summary: Manages local minio binary installs
187
184
  test_files: []