itamae 1.4.4 → 1.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/itamae/recipe.rb +2 -1
- data/lib/itamae/version.txt +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1702b011e6985d136ff6cd8d86d962a0ecb4c0a
|
4
|
+
data.tar.gz: a6e3caf02febbc6229fc4762abe498626c734b6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfda34ba80a5c2f0bc1eaa7a8070c07387b44e9cfcea7d86ab5edc5dff9a06772a82f6f290d17191b3c35f6d42f179185a95183d1c31962034c2a69ec504ea28
|
7
|
+
data.tar.gz: c558ee700af41b9fec212cffc761bc90859f4236e57583363fbd7ea8a4adb4e54884c467919a8896c515f34dcc64d53d987d9941e8e65617a74eff2d6972fc2e
|
data/CHANGELOG.md
CHANGED
data/lib/itamae/recipe.rb
CHANGED
@@ -106,8 +106,9 @@ module Itamae
|
|
106
106
|
end
|
107
107
|
|
108
108
|
def include_recipe(target)
|
109
|
+
expanded_path = ::File.expand_path(target, File.dirname(@recipe.path))
|
109
110
|
candidate_paths = [
|
110
|
-
::
|
111
|
+
::Dir.exists?(expanded_path) ? ::File.join(expanded_path, "default.rb") : expanded_path,
|
111
112
|
Recipe.find_recipe_in_gem(target),
|
112
113
|
].compact
|
113
114
|
path = candidate_paths.find {|path| File.exist?(path) }
|
data/lib/itamae/version.txt
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.4.
|
1
|
+
1.4.5
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: itamae
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryota Arai
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|