broadside 3.1.1 → 3.1.2
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 +4 -4
- data/.rubocop.yml +1452 -932
- data/.travis.yml +5 -2
- data/CHANGELOG.md +3 -0
- data/lib/broadside/configuration/aws_configuration.rb +5 -2
- data/lib/broadside/version.rb +1 -1
- metadata +2 -2
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -9,17 +9,20 @@ module Broadside
|
|
9
9
|
raise ConfigurationError, 'credentials is not of type Aws::Credentials' unless val.is_a?(Aws::Credentials)
|
10
10
|
end
|
11
11
|
|
12
|
+
attr_writer :credentials
|
12
13
|
attr_accessor(
|
13
|
-
:credentials,
|
14
14
|
:ecs_default_cluster,
|
15
15
|
:ecs_poll_frequency,
|
16
16
|
:region
|
17
17
|
)
|
18
18
|
|
19
19
|
def initialize
|
20
|
-
@credentials = Aws::SharedCredentials.new.credentials || Aws::InstanceProfileCredentials.new.credentials
|
21
20
|
@ecs_poll_frequency = 2
|
22
21
|
@region = 'us-east-1'
|
23
22
|
end
|
23
|
+
|
24
|
+
def credentials
|
25
|
+
@credentials ||= Aws::SharedCredentials.new.credentials || Aws::InstanceProfileCredentials.new.credentials
|
26
|
+
end
|
24
27
|
end
|
25
28
|
end
|
data/lib/broadside/version.rb
CHANGED
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.1.
|
4
|
+
version: 3.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Leung
|
@@ -196,7 +196,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
196
196
|
version: '0'
|
197
197
|
requirements: []
|
198
198
|
rubyforge_project:
|
199
|
-
rubygems_version: 2.
|
199
|
+
rubygems_version: 2.6.11
|
200
200
|
signing_key:
|
201
201
|
specification_version: 4
|
202
202
|
summary: A command-line tool for EC2 Container Service deployment.
|