cloud_former 0.5.4 → 0.5.5

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: 80a08195185ccdbfc45c00697f02110f71233e8d
4
- data.tar.gz: b988d7a3db961f892d3ba0fc9a1fb33cce5ee260
3
+ metadata.gz: e392b892d64084934a9d7a54e3e7a0db68ce6957
4
+ data.tar.gz: 0e0110dd0c58e0d03a75640bc0f1971da4daa72a
5
5
  SHA512:
6
- metadata.gz: d605b758191fa2645c41e688c7e6332c8d0dfe62fd8b5997e686988f1025296c5d166309ca9a527a4c9436dbc36dffa07ef66a13c07c10fb6f805f3b3be8d1fd
7
- data.tar.gz: 42612ca1e922ce1448ee4b67ce26aa3390e9a5074478c9a5d20a90fbc7e9baa20421bd5757c2147a84818f046e5cfea2860319deabccabc646327eb748462d4e
6
+ metadata.gz: 7bbe30c13115525170da246a0a3cc7fb136a59162ebd2d99411f3dc31b9be70d84748eee3f3cef774bd091a843d6c4aaf95e4815c6905de54c897c9a70c6664b
7
+ data.tar.gz: 594e1dd6adc6783c7d7fe3f0f7d1e49eae00d8fda686b1b612694d5879241011e390b5d6b86a44f515b20f9f5b236e4a05d821878aaf16a281e2467f0fd4ed1e
@@ -14,10 +14,10 @@ module CloudFormer
14
14
  aws_attribute :username, name: 'username', type: String
15
15
  aws_attribute :role_name, name: 'roleName', type: String
16
16
 
17
- def initialize
17
+ def initialize(name = nil)
18
18
  super
19
19
  @aws_type = 'AWS::CloudFormation::AuthenticationItem'
20
- @name = "AuthenticationItem#{self.class.next_id}"
20
+ @name = name || "AuthenticationItem#{self.class.next_id}"
21
21
  end
22
22
 
23
23
  def self.next_id
@@ -1,3 +1,3 @@
1
1
  module CloudFormer
2
- VERSION = '0.5.4'
2
+ VERSION = '0.5.5'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloud_former
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aubrey Holland
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-23 00:00:00.000000000 Z
11
+ date: 2015-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport