ops_team 1.20.3.rc1 → 1.21.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ops.rb +3 -1
- data/ops_team.gemspec +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6544a5e51d57b3cc01a3c8e0b1b8fab0adf6734be81dcad66154ca344e129e15
|
4
|
+
data.tar.gz: 855d1adc6a202256a761c4d09149444bb0bd775da479292c9f18dd32065a479c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12060be2f05b3eb3c346918a757be80cb220eef373871fc6c256a6ff262f7f1df8ca8d7915c120cdb141bbde507f30c93dd7d9c9b2b8d08c882b509e3cc5bea7
|
7
|
+
data.tar.gz: 5c8e7d7077493e8482a5691ec7b3894a23ec039a913ba01b808276017ec39f8d52726bb7bcd0e62f7d1f69d55d21e2f9d24dbc925908edd5ef80efa7a65250c6
|
data/lib/ops.rb
CHANGED
@@ -9,6 +9,8 @@ end
|
|
9
9
|
Profiler.measure("ops:requires_internal") do
|
10
10
|
end
|
11
11
|
|
12
|
+
CONFIG_FILES = ["ops.yaml", "ops.yml"].freeze
|
13
|
+
|
12
14
|
# executes commands based on local `ops.yml`
|
13
15
|
class Ops
|
14
16
|
INVALID_SYNTAX_EXIT_CODE = 64
|
@@ -30,7 +32,7 @@ class Ops
|
|
30
32
|
def initialize(argv, config_file: nil)
|
31
33
|
@action_name = argv[0]
|
32
34
|
@args = argv[1..-1]
|
33
|
-
@config_file = config_file || "ops.yml"
|
35
|
+
@config_file = config_file || CONFIG_FILES.find { |file| File.exist?(file) } || "ops.yml"
|
34
36
|
|
35
37
|
Options.set(config["options"] || {})
|
36
38
|
end
|
data/ops_team.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = 'ops_team'
|
5
|
-
s.version = '1.
|
5
|
+
s.version = '1.21.1'
|
6
6
|
s.authors = [
|
7
7
|
'nickthecook@gmail.com'
|
8
8
|
]
|
@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
|
|
23
23
|
'ops_team.gemspec'
|
24
24
|
]
|
25
25
|
s.executables << 'ops'
|
26
|
-
s.required_ruby_version = '> 2.
|
26
|
+
s.required_ruby_version = '> 2.6'
|
27
27
|
s.add_runtime_dependency 'bcrypt_pbkdf', '~> 1.0', '>= 1.0.1'
|
28
28
|
s.add_runtime_dependency 'colorize', '~> 0.8', '>= 0.8.1'
|
29
29
|
s.add_runtime_dependency 'concurrent-ruby', '~> 1.1', '>= 1.1.7'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ops_team
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.21.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nickthecook@gmail.com
|
@@ -245,14 +245,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
245
245
|
requirements:
|
246
246
|
- - ">"
|
247
247
|
- !ruby/object:Gem::Version
|
248
|
-
version: '2.
|
248
|
+
version: '2.6'
|
249
249
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
250
250
|
requirements:
|
251
|
-
- - "
|
251
|
+
- - ">="
|
252
252
|
- !ruby/object:Gem::Version
|
253
|
-
version:
|
253
|
+
version: '0'
|
254
254
|
requirements: []
|
255
|
-
rubygems_version: 3.
|
255
|
+
rubygems_version: 3.1.6
|
256
256
|
signing_key:
|
257
257
|
specification_version: 4
|
258
258
|
summary: ops_team handles basic automation for your project, driven by self-documenting
|