kumogata 0.2.4 → 0.2.5
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/README.md +2 -2
- data/lib/kumogata/client.rb +3 -1
- data/lib/kumogata/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ef04284bfd6f09d16a95a4aff75186ab8c785223
|
|
4
|
+
data.tar.gz: 53a9ede92d15f96d5f0a4b75bdcf5046b247e5e3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 385f8496d9e99b318dd9d0ff72317590c746694a5143d4a5e91863251dccfe3adecde91e94301356dd880a74115420ec49d0535a4330a9733109ad0cb3d0db8b
|
|
7
|
+
data.tar.gz: 3cb5fbc3e5b197f070d02fd7d0f920394ae3d4330eefb5fc2a90105b070e381ef7e4efe5429dbb7fd4e11d7dc02283462cc8fbba21ae4f71150a6e8406e35fae
|
data/README.md
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Kumogata is a tool for [AWS CloudFormation](https://aws.amazon.com/cloudformation/).
|
|
7
7
|
|
|
8
|
-
[](http://badge.fury.io/rb/kumogata)
|
|
9
|
+
[](https://drone.io/github.com/winebarrel/kumogata/latest)
|
|
10
10
|
|
|
11
11
|
It can define a template in Ruby DSL, such as:
|
|
12
12
|
|
data/lib/kumogata/client.rb
CHANGED
|
@@ -149,7 +149,9 @@ class Kumogata::Client
|
|
|
149
149
|
|
|
150
150
|
def define_template_func(scope, path_or_url)
|
|
151
151
|
scope.instance_eval(<<-EOS)
|
|
152
|
-
def require(
|
|
152
|
+
def require(file)
|
|
153
|
+
path = file.dup
|
|
154
|
+
|
|
153
155
|
unless path =~ %r|\\A/| or path =~ %r|\\A\\w+://|
|
|
154
156
|
path = File.expand_path(File.join(File.dirname(#{path_or_url.inspect}), path))
|
|
155
157
|
end
|
data/lib/kumogata/version.rb
CHANGED