ops_team 1.16.2.rc1 → 1.17.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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/action.rb +3 -1
  3. data/ops_team.gemspec +1 -1
  4. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bd7131ba53f5a0107291d43ef492d24c0a2d7ce52189b12a1305b9099a4aa0b1
4
- data.tar.gz: cad1bc08a4197e8f3c192d91a9799d027509f22ea4c13a765b7c311cb42fa452
3
+ metadata.gz: '08778691f5889c49f6f9c8bf253f7b22533bb4a1024513c7de28d479cfd3c2f5'
4
+ data.tar.gz: 2ee5d39a44c569d928c8d257c87e5fcbec545f9c137f95a96a28c88513747f75
5
5
  SHA512:
6
- metadata.gz: 45cf653e1ee7340c2ed863ac40591736bfc5c0137a7b2a8fd2ae52cb8d75c4e95cbb94ad18fecfb73f32e4b174a5a3f3ba8bc62ed347ab84bd64e4b8f6cc7475
7
- data.tar.gz: 1424ede51fc754627d4ffef66aa6ef817c7e727a870f0a0e685d433d868b164f98f67f350fe1dd149109a990a3fd05b60e99a928c2b18dcb0fb88b5303ef8c50
6
+ metadata.gz: 3faac4703a2c828feb861a6b8e05e0ac6459b94819447c389cc5c585c90bd5c76721758dd9e8a376b4e9099a3cf47167ce968c4006bec6c2bc63f41c37bb59f7
7
+ data.tar.gz: c3233b939e434856430698c357a7195ae1d1d6f3455b8cd725e3cf41a4823265617e4812ccd28d09accf5ab31491b7c0e196362d36c8178d86d1bc151f404f80
data/lib/action.rb CHANGED
@@ -36,6 +36,8 @@ class Action
36
36
  end
37
37
 
38
38
  def command
39
+ return @config if @config.is_a?(String)
40
+
39
41
  @config["command"]
40
42
  end
41
43
 
@@ -55,7 +57,7 @@ class Action
55
57
  @config_errors ||= begin
56
58
  errors = []
57
59
 
58
- errors << "No 'command' specified in 'action'." unless @config['command']
60
+ errors << "No 'command' specified in 'action'." unless command
59
61
 
60
62
  errors
61
63
  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.16.2.rc1'
5
+ s.version = '1.17.0'
6
6
  s.authors = [
7
7
  'nickthecook@gmail.com'
8
8
  ]
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.16.2.rc1
4
+ version: 1.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - nickthecook@gmail.com
@@ -247,11 +247,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
247
247
  version: '2.5'
248
248
  required_rubygems_version: !ruby/object:Gem::Requirement
249
249
  requirements:
250
- - - ">"
250
+ - - ">="
251
251
  - !ruby/object:Gem::Version
252
- version: 1.3.1
252
+ version: '0'
253
253
  requirements: []
254
- rubygems_version: 3.2.15
254
+ rubygems_version: 3.1.6
255
255
  signing_key:
256
256
  specification_version: 4
257
257
  summary: ops_team handles basic automation for your project, driven by self-documenting