funnel 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/funnel.gemspec +1 -1
- data/lib/funnel/generators/application.rb +6 -3
- metadata +1 -1
data/funnel.gemspec
CHANGED
@@ -2,12 +2,15 @@ require 'fileutils'
|
|
2
2
|
|
3
3
|
module Funnel
|
4
4
|
module Generators
|
5
|
-
|
5
|
+
class Application
|
6
6
|
|
7
7
|
def generate destination, options
|
8
|
-
FileUtils.cp_r(
|
8
|
+
FileUtils.cp_r(template_dir, destination, options)
|
9
|
+
end
|
10
|
+
|
11
|
+
def template_dir
|
12
|
+
File.expand_path('../../../../templates/application', __FILE__)
|
9
13
|
end
|
10
|
-
|
11
14
|
end
|
12
15
|
end
|
13
16
|
end
|