yle_tf-aws_assume_role 2.0.0 → 2.0.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f532d39f17ce81e4a91fb55104f4cb53049bf413edbfa55a356c4b78f1d9e9bf
4
- data.tar.gz: bab1bfe9be1e9ef5832171089c726ed8949220b51232f5806173b8821cf09ad4
3
+ metadata.gz: a9b698c9b286a2b0a76785b7085f5a2f23f11ce411bd28b94bf94c071ae5626b
4
+ data.tar.gz: 8c3994ad289e6c55756cad983e3e54e09e31196184e9ae5662216b08ccb97f34
5
5
  SHA512:
6
- metadata.gz: 91f6b45c0d1976d9f2271cb815523f59944fb8cbe8ec586252da8bf133ba573004affcac02e7400a165b3b7cc088741c1bbb1fbf5ced3963efeee99f668cf823
7
- data.tar.gz: 0c3ed34ee4c094f29ae892aa36706a25bef71584095ebb26d2e55ea46af3264f46d4abb996b85c6d92cbd87befc527dccfdfdcd0dbcff4bbb0ff0c348c3fdc9e
6
+ metadata.gz: 533e6aabf4b5689d806536243b0a63472b3fbab54c2cc5b0cc8b224751a8354db46f3c07e34d4743843e38c8665fe5ef118ae67c0296bc5f8ebcbdf0f80596cd
7
+ data.tar.gz: cf1d7e2209b532bb52500f6aa91f9346efed25a4f53ddf1cc76d1cb25102e6870b5c6ca8ff3c9908ec19d479fd2741716b9489e1bb2c2c1de03b2931cf4f8519
data/.rubocop.yml CHANGED
@@ -1,5 +1,9 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.2
2
+ TargetRubyVersion: 2.3
3
+
4
+ Layout/AlignHash:
5
+ EnforcedHashRocketStyle: table
6
+ EnforcedColonStyle: table
3
7
 
4
8
  Metrics/BlockLength:
5
9
  Exclude:
@@ -17,19 +21,22 @@ Metrics/MethodLength:
17
21
  Max: 12
18
22
  Severity: warning
19
23
 
20
- Style/Documentation:
21
- Enabled: false
22
-
23
- Style/FileName:
24
+ Naming/FileName:
24
25
  Exclude:
25
26
  - 'lib/yle_tf-*.rb'
26
27
  - 'spec/yle_tf-*_spec.rb'
27
28
 
29
+ Style/Documentation:
30
+ Enabled: false
31
+
28
32
  Style/GuardClause:
29
33
  MinBodyLength: 3
30
34
 
31
35
  Style/NegatedIf:
32
36
  Enabled: false
33
37
 
34
- Style/TrailingCommaInLiteral:
38
+ Style/TrailingCommaInArrayLiteral:
39
+ Enabled: false
40
+
41
+ Style/TrailingCommaInHashLiteral:
35
42
  Enabled: false
data/.travis.yml CHANGED
@@ -1,12 +1,8 @@
1
1
  language: ruby
2
2
  cache: bundler
3
3
 
4
- before_install:
5
- # Workaround for https://github.com/travis-ci/travis-ci/issues/8969
6
- - gem update --system
7
-
8
4
  rvm:
9
- - 2.5.0
10
- - 2.4.3
11
- - 2.3.6
12
- - 2.2.9
5
+ - 2.6.0
6
+ - 2.5.3
7
+ - 2.4.5
8
+ - 2.3.8
data/CHANGELOG.md CHANGED
@@ -1,8 +1,11 @@
1
+ ## 2.0.1 / 2018-12-27
2
+
3
+ - Run tests and optimize for Ruby versions 2.3-2.6 ([GH-4](https://github.com/Yleisradio/yle_tf-aws_assume_role/pull/4))
4
+
1
5
  ## 2.0.0 / 2018-01-28
2
6
 
3
7
  - Update "yle-aws-role" and thus "aws-sdk" ([GH-2](https://github.com/Yleisradio/yle_tf-aws_assume_role/pull/2))
4
8
 
5
-
6
9
  ## 1.0.0 / 2017-08-30
7
10
 
8
11
  - Initial public release
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source 'https://rubygems.org'
2
4
 
3
5
  # Specify your gem's dependencies in yle_tf-aws_assume_role.gemspec
data/Rakefile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'bundler/gem_tasks'
2
4
  require 'rspec/core/rake_task'
3
5
 
@@ -1,2 +1,4 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require_relative 'yle_tf-aws_assume_role/plugin'
2
4
  require_relative 'yle_tf-aws_assume_role/version'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'yle-aws-role'
2
4
  require 'yle_tf/error'
3
5
  require 'yle_tf/logger'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module YleTfPlugins
2
4
  module AWSAssumeRole
3
5
  class Config
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'yle_tf'
2
4
 
3
5
  module YleTfPlugins
@@ -8,9 +10,9 @@ module YleTfPlugins
8
10
  default_config(
9
11
  'aws' => {
10
12
  'assume_role' => false,
11
- 'account' => nil,
12
- 'role' => nil,
13
- 'duration' => 3600,
13
+ 'account' => nil,
14
+ 'role' => nil,
15
+ 'duration' => 3600,
14
16
  }
15
17
  )
16
18
 
@@ -1,5 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module YleTfPlugins
2
4
  module AWSAssumeRole
3
- VERSION = '2.0.0'.freeze
5
+ VERSION = '2.0.1'
4
6
  end
5
7
  end
@@ -1,4 +1,6 @@
1
- lib = File.expand_path('../lib', __FILE__)
1
+ # frozen_string_literal: true
2
+
3
+ lib = File.expand_path('lib', __dir__)
2
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
5
  require 'yle_tf-aws_assume_role/version'
4
6
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yle_tf-aws_assume_role
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yleisradio
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-01-28 00:00:00.000000000 Z
12
+ date: 2018-12-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: yle-aws-role
@@ -124,8 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
124
124
  - !ruby/object:Gem::Version
125
125
  version: '0'
126
126
  requirements: []
127
- rubyforge_project:
128
- rubygems_version: 2.7.3
127
+ rubygems_version: 3.0.1
129
128
  signing_key:
130
129
  specification_version: 4
131
130
  summary: A plugin for yle_tf for assuming AWS IAM roles