funnel 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|