kumogata 0.2.4 → 0.2.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: db60c6a575c8c56ed2ba12127b18b12a99ed8574
4
- data.tar.gz: dcdeb75938b99e1a0a2b0e292eaf98e62591d08c
3
+ metadata.gz: ef04284bfd6f09d16a95a4aff75186ab8c785223
4
+ data.tar.gz: 53a9ede92d15f96d5f0a4b75bdcf5046b247e5e3
5
5
  SHA512:
6
- metadata.gz: 0fd37ebd51c74951cd9e239d788cd4b0cba744a8ab41e6d2d584cb77a889439f439c7c1594f6181c6a866b2bbc103370a0b30f9cf7aedca599fd73333161795a
7
- data.tar.gz: 31ee88842b7d4d6829972d0e3f45ecf506f40a9090793ccc99a1a6c0de6147f50a1ce032385a18e66a1097e874308743c8e41c5a37f0a81172b3ddb1b09ccd50
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
- [![Gem Version](https://badge.fury.io/rb/kumogata.png?201403051942)](http://badge.fury.io/rb/kumogata)
9
- [![Build Status](https://drone.io/github.com/winebarrel/kumogata/status.png?201403051942)](https://drone.io/github.com/winebarrel/kumogata/latest)
8
+ [![Gem Version](https://badge.fury.io/rb/kumogata.png?201403051952)](http://badge.fury.io/rb/kumogata)
9
+ [![Build Status](https://drone.io/github.com/winebarrel/kumogata/status.png?201403051952)](https://drone.io/github.com/winebarrel/kumogata/latest)
10
10
 
11
11
  It can define a template in Ruby DSL, such as:
12
12
 
@@ -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(path)
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
@@ -1,3 +1,3 @@
1
1
  module Kumogata
2
- VERSION = '0.2.4'
2
+ VERSION = '0.2.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kumogata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Genki Sugawara