tap-gen 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History +6 -0
- data/lib/tap/generator/base.rb +1 -1
- metadata +2 -2
data/History
CHANGED
data/lib/tap/generator/base.rb
CHANGED
@@ -98,7 +98,7 @@ module Tap
|
|
98
98
|
super
|
99
99
|
@prompt_in = $stdin
|
100
100
|
@prompt_out = $stdout
|
101
|
-
@template_dir = File.expand_path("templates/#{self.class.to_s.underscore}")
|
101
|
+
@template_dir = app.env.path(:templates, self.class.to_s.underscore) {|dir| File.directory?(dir) } || File.expand_path("templates/#{self.class.to_s.underscore}")
|
102
102
|
end
|
103
103
|
|
104
104
|
def set(mod)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tap-gen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Simon Chiang
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-12-
|
12
|
+
date: 2009-12-09 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|