broadside 3.1.1 → 3.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,10 +1,13 @@
1
1
  sudo: false
2
+ dist: trusty
2
3
  language: ruby
3
4
  rvm:
4
- - 2.1.6
5
+ - 2.2.7
6
+ - 2.3.4
7
+ - 2.4.1
5
8
  cache: bundler
6
9
  script:
7
- - bundle exec rspec
10
+ - bundle exec rspec --format documentation
8
11
  notifications:
9
12
  email: false
10
13
  git:
@@ -1,3 +1,6 @@
1
+ # 3.1.2
2
+ -- Don't instantiate AWS Credentials until necessary
3
+
1
4
  # 3.1.1
2
5
  -- Handle Fixnum deprecation warning
3
6
 
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Broadside
2
- VERSION = '3.1.1'.freeze
2
+ VERSION = '3.1.2'.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.1.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.5.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.