momo 0.4.0 → 0.4.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: ce74a879ad8df4b3d48702def1cb718e45dda190
4
- data.tar.gz: 62828aafe7ab0bfc8fd39afe531cbea90de01b7f
3
+ metadata.gz: ca7e3731f71ce00e7a765512a0b2ebd802f7defe
4
+ data.tar.gz: 3ae75bbdf1291f5a59d52c54f290bb88cb204b26
5
5
  SHA512:
6
- metadata.gz: 38e7b5d7fa785d067b48d89296ceca77c7cfda6193c69673cd7559a472f532d0b47c02c79293aa418c6d8379cfc8ba51be1e84b97216de844ab4f54ac39e2f07
7
- data.tar.gz: e04f44afe9fa6db008a34fdd5c74b5c2a73428a5a5e8c7e122e69b3c7019d980678cf88aa9aa17729b8acbc3a8d7558caeee4d53f0895f7e745151ad290ee14c
6
+ metadata.gz: e5d4100ea76f2512e2fb37a44b4041b6f129160fe0ee04cc553f983aabae6a2a62cda5d26cf109c07b301ae9854f705b927a292aae611f92d7f23ffd0fe6265e
7
+ data.tar.gz: 2404ff7aecc8eab3d83199d919f15090273feba18415189f8bc34a8033b92ffdff9e371a08130e70289c069316ea603b9e3ae3e854a1ad99330983c2f67b7b26
@@ -14,6 +14,11 @@ module Momo
14
14
  def method_missing(name, *args, &block)
15
15
  MemberReference.new(@resource, "#{@member}.#{name}", @stack)
16
16
  end
17
+
18
+ def [](index)
19
+ FuncCall.new("Fn::Select", @stack, index, self)
20
+ end
21
+
17
22
  end
18
23
 
19
24
  end
@@ -35,7 +35,7 @@ module Momo
35
35
  MemberReference.new @name, name, @stack
36
36
  end
37
37
  end
38
-
38
+
39
39
  def set_deletion_policy(value)
40
40
  @deletion_policy = value
41
41
  end
@@ -1,3 +1,3 @@
1
1
  module Momo
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: momo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Siaw
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-23 00:00:00.000000000 Z
11
+ date: 2017-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -156,7 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
156
156
  version: '0'
157
157
  requirements: []
158
158
  rubyforge_project:
159
- rubygems_version: 2.4.8
159
+ rubygems_version: 2.6.11
160
160
  signing_key:
161
161
  specification_version: 4
162
162
  summary: Momo template maker for AWS