ops_team 1.20.3.rc1 → 1.21.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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ops.rb +3 -1
  3. data/ops_team.gemspec +2 -2
  4. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4dbd026718a0b566adb010491e16d8d6cd2c51e9d014685fdd6f3205f2bfcb3a
4
- data.tar.gz: b3c7d6085f0036fed0c0b34c65e1d8e5ffca15463c89462c71ae1053e9f9406c
3
+ metadata.gz: 6544a5e51d57b3cc01a3c8e0b1b8fab0adf6734be81dcad66154ca344e129e15
4
+ data.tar.gz: 855d1adc6a202256a761c4d09149444bb0bd775da479292c9f18dd32065a479c
5
5
  SHA512:
6
- metadata.gz: 6c83871bce7f153801fe3c751335ab43bac817a2ffe466b7c9c8d8813f21f48f67987755c7cd4ba164a0db44b59e39ca7b194f252daaa1816c06148ab7756202
7
- data.tar.gz: 6977ebb78865764568d2789e94025ca6a1a400cfe5e3051adf55ea81081b5f4da8236011b5a52a731dac21bd30b02893cc3ae60aa71f639e072eaf3b608f5a2d
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.20.3.rc1'
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.5'
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.20.3.rc1
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.5'
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: 1.3.1
253
+ version: '0'
254
254
  requirements: []
255
- rubygems_version: 3.4.6
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