hexx-cli 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hexx/cli/base.rb +2 -1
- data/lib/hexx/cli/version.rb +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: 43d98a7d720585174f404c63fc9a2e966e33a672
|
4
|
+
data.tar.gz: cc22e252fa1d0597ab4e9707eb9ad614f4792fe0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0aa62d2b3c7a30bc1658cf8014cc8bf388d7d01ed797303ea2ce937e11fa0370c42cc4e603c2a231b7e9a8b15fd9c3268a6da162e7dd75d78f08fdf013c27f2
|
7
|
+
data.tar.gz: b4f193af210311f230ddde5bde968f84e0e1e0d40da5145c54e01a27fc582d0bad2448316745f3b1c123cedaa22a1e222b8d8416706963cc706aeb2f1fc24222
|
data/lib/hexx/cli/base.rb
CHANGED
@@ -42,7 +42,8 @@ module Hexx
|
|
42
42
|
def from_template(source)
|
43
43
|
path = find_in_source_paths(source)
|
44
44
|
content = ::File.read(path)
|
45
|
-
|
45
|
+
context = instance_eval("binding")
|
46
|
+
ERB.new(content, nil, "-").result(context)
|
46
47
|
end
|
47
48
|
|
48
49
|
# Copies files from source folder into the destination one
|
data/lib/hexx/cli/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hexx-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kozin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: extlib
|