funnel 0.1.0 → 0.1.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  spec = Gem::Specification.new do |s|
2
2
  s.name = 'funnel'
3
- s.version = '0.1.0'
3
+ s.version = '0.1.1'
4
4
  s.date = '2009-12-30'
5
5
  s.summary = 'A realtime resource-centric application framework'
6
6
  s.email = 'dan.simpson@gmail.com'
@@ -28,6 +28,7 @@ spec = Gem::Specification.new do |s|
28
28
  'lib/funnel/routing/router.rb',
29
29
  'lib/funnel/server.rb',
30
30
  'lib/funnel/servers/dummy_server.rb',
31
+ 'lib/funnel/generators/application.rb',
31
32
  'templates/application/config/boot.rb',
32
33
  'templates/application/config/config.rb',
33
34
  'templates/application/config/routes.rb',
@@ -0,0 +1,13 @@
1
+ require 'fileutils'
2
+
3
+ module Funnel
4
+ module Generators
5
+ module Application
6
+
7
+ def generate destination, options
8
+ FileUtils.cp_r(File.expand_path('../../../templates/application', __FILE__), destination, options)
9
+ end
10
+
11
+ end
12
+ end
13
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: funnel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Simpson
@@ -43,6 +43,7 @@ files:
43
43
  - lib/funnel/routing/router.rb
44
44
  - lib/funnel/server.rb
45
45
  - lib/funnel/servers/dummy_server.rb
46
+ - lib/funnel/generators/application.rb
46
47
  - templates/application/config/boot.rb
47
48
  - templates/application/config/config.rb
48
49
  - templates/application/config/routes.rb