broadside 3.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eb5aaf5744a3092e6518fdebb78228b9c0dfebe5
4
- data.tar.gz: 6c89d8d34de699f64e6a2fbb7e349cf9c34ee3e4
3
+ metadata.gz: 247a9bbf781e3bd385d79e7bdf335b2086282e4c
4
+ data.tar.gz: 59695eff61bbe775bf22a143f22e101adbd8f44a
5
5
  SHA512:
6
- metadata.gz: 9f329022b4789f5c67078d813ecb9d5af648ec8bbb6ec346e2a9da1fb12d5dc53fc123a3a7ea14b7207ee39bb0564175523a694342c15be4349fa66155aebf56
7
- data.tar.gz: 2bb28eae16c1d766a539d8101f3778c948ddbe0c0228e801ac55b143bf3a8d5185e1d07a2173d82f80a3ffb682cf15fa899ae112c9088a24cd95eea2505aa4ca
6
+ metadata.gz: c1dd393bef40da84eb878db0ef9fb0547d2fd3eda047b5ac1909a6a4e68ca1e227e1d58b7fca9b91f2240200c255d8f6d93eaa41250f4ee6c0cfa047b4ff6cc2
7
+ data.tar.gz: 0f7b4313540277ad22b402c4afa16d5f10bd50a210bc56d83fed9598efc34bbd4b47a3d6629be1abbfbd653aa3fcd4d43a0df51d06bd7580ea7a221387568cdd
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 3.0.1
2
+ - `bootstrap` does not require a `--tag` option
3
+ - `run` does not need require a `--instance`
4
+
1
5
  # 3.0.0
2
6
  ### Breaking Changes
3
7
  - `ssh`, `bash`, `logtail`, `status`, and `run` are now top level commands, not subcommands of `deploy`
data/broadside.gemspec CHANGED
@@ -17,8 +17,8 @@ Gem::Specification.new do |spec|
17
17
  spec.executables = ['broadside']
18
18
  spec.require_paths = ['lib']
19
19
 
20
- spec.add_dependency 'activesupport', '>= 3', '< 5'
21
- spec.add_dependency 'activemodel', '>= 3', '< 5'
20
+ spec.add_dependency 'activesupport', '>= 3', '< 6'
21
+ spec.add_dependency 'activemodel', '>= 3', '< 6'
22
22
  spec.add_dependency 'aws-sdk', '~> 2.3'
23
23
  spec.add_dependency 'dotenv', '>= 0.9.0', '< 3.0'
24
24
  spec.add_dependency 'gli', '~> 2.13'
@@ -1,8 +1,7 @@
1
1
  module Broadside
2
2
  module InvalidConfiguration
3
3
  def method_missing(m, *args, &block)
4
- message = "Unknown '#{m}' provided for #{is_a?(AwsConfiguration) ? 'configuration.aws' : 'configuration'}!"
5
- raise ArgumentError, message
4
+ raise ArgumentError, 'config.' + (is_a?(AwsConfiguration) ? 'aws.' : '') + m.to_s + ' is an invalid config option'
6
5
  end
7
6
  end
8
7
  end
@@ -24,7 +24,6 @@ end
24
24
 
25
25
  desc 'Bootstrap your service and task definition from the configured definition.'
26
26
  command :bootstrap do |bootstrap|
27
- add_tag_flag(bootstrap)
28
27
  add_target_flag(bootstrap)
29
28
 
30
29
  bootstrap.action do |_, options, _|
@@ -58,7 +57,7 @@ command :run do |run|
58
57
  run.flag [:command], type: Array
59
58
 
60
59
  add_tag_flag(run)
61
- add_command_flags(run)
60
+ add_target_flag(run)
62
61
 
63
62
  run.action do |_, options, _|
64
63
  EcsDeploy.new(options).run_commands([options[:command]], started_by: 'run')
@@ -1,3 +1,3 @@
1
1
  module Broadside
2
- VERSION = '3.0.0'.freeze
2
+ VERSION = '3.0.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: broadside
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Leung
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-02-14 00:00:00.000000000 Z
12
+ date: 2017-02-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -20,7 +20,7 @@ dependencies:
20
20
  version: '3'
21
21
  - - "<"
22
22
  - !ruby/object:Gem::Version
23
- version: '5'
23
+ version: '6'
24
24
  type: :runtime
25
25
  prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
@@ -30,7 +30,7 @@ dependencies:
30
30
  version: '3'
31
31
  - - "<"
32
32
  - !ruby/object:Gem::Version
33
- version: '5'
33
+ version: '6'
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: activemodel
36
36
  requirement: !ruby/object:Gem::Requirement
@@ -40,7 +40,7 @@ dependencies:
40
40
  version: '3'
41
41
  - - "<"
42
42
  - !ruby/object:Gem::Version
43
- version: '5'
43
+ version: '6'
44
44
  type: :runtime
45
45
  prerelease: false
46
46
  version_requirements: !ruby/object:Gem::Requirement
@@ -50,7 +50,7 @@ dependencies:
50
50
  version: '3'
51
51
  - - "<"
52
52
  - !ruby/object:Gem::Version
53
- version: '5'
53
+ version: '6'
54
54
  - !ruby/object:Gem::Dependency
55
55
  name: aws-sdk
56
56
  requirement: !ruby/object:Gem::Requirement