merb-gen 1.0.15 → 1.1.0.pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. data/Rakefile +59 -69
  2. data/bin/merb-gen +14 -2
  3. data/lib/generators/fcgi.rb +16 -0
  4. data/lib/generators/merb/merb_core.rb +14 -12
  5. data/lib/generators/merb/merb_flat.rb +11 -6
  6. data/lib/generators/merb/merb_stack.rb +14 -22
  7. data/lib/generators/merb/merb_very_flat.rb +32 -11
  8. data/lib/generators/passenger.rb +15 -0
  9. data/lib/generators/resource_controller.rb +1 -1
  10. data/lib/generators/templates/application/common/Gemfile +12 -0
  11. data/lib/generators/templates/application/common/Rakefile +10 -1
  12. data/lib/generators/templates/application/common/dotgitignore +3 -3
  13. data/lib/generators/templates/application/common/merb +20 -0
  14. data/lib/generators/templates/application/merb_core/autotest/merb_rspec.rb +9 -9
  15. data/lib/generators/templates/application/merb_core/config/init.rb +3 -5
  16. data/lib/generators/templates/application/merb_core/spec/spec.opts +1 -1
  17. data/lib/generators/templates/application/merb_core/spec/spec_helper.rb +9 -7
  18. data/lib/generators/templates/application/merb_core/test/test_helper.rb +9 -7
  19. data/lib/generators/templates/application/merb_flat/application.rbt +3 -0
  20. data/lib/generators/templates/application/merb_flat/config/init.rb +23 -19
  21. data/lib/generators/templates/application/merb_flat/spec/spec_helper.rb +8 -6
  22. data/lib/generators/templates/application/merb_flat/test/test_helper.rb +9 -7
  23. data/lib/generators/templates/application/merb_plugin/Rakefile +35 -4
  24. data/lib/generators/templates/application/merb_stack/Gemfile +48 -0
  25. data/lib/generators/templates/application/merb_stack/autotest/merb_rspec.rb +7 -7
  26. data/lib/generators/templates/application/merb_stack/config/init.rb +2 -2
  27. data/lib/generators/templates/application/merb_stack/config.ru +23 -0
  28. data/lib/generators/templates/application/merb_stack/spec/spec.opts +1 -1
  29. data/lib/generators/templates/application/merb_stack/spec/spec_helper.rb +9 -7
  30. data/lib/generators/templates/application/merb_stack/test/test_helper.rb +9 -7
  31. data/lib/generators/templates/application/merb_very_flat/application.rbt +1 -8
  32. data/lib/generators/templates/application/merb_very_flat/spec/spec_helper.rb +8 -6
  33. data/lib/generators/templates/application/merb_very_flat/test/test_helper.rb +9 -7
  34. data/lib/generators/templates/{application/common → component/fcgi}/dothtaccess +1 -2
  35. data/lib/generators/templates/{application/merb_stack/public → component/fcgi}/merb.fcgi +10 -4
  36. data/lib/generators/templates/component/model/spec/models/%file_name%_spec.rb +1 -1
  37. data/lib/merb-gen/app_generator.rb +58 -0
  38. data/lib/merb-gen/generator.rb +1 -1
  39. data/lib/merb-gen/version.rb +17 -0
  40. data/lib/merb-gen.rb +27 -25
  41. data/spec/controller_spec.rb +1 -1
  42. data/spec/fcgi_spec.rb +24 -0
  43. data/spec/generator_spec.rb +1 -1
  44. data/spec/layout_spec.rb +1 -1
  45. data/spec/merb_core_spec.rb +17 -5
  46. data/spec/merb_flat_spec.rb +10 -1
  47. data/spec/merb_plugin_spec.rb +3 -3
  48. data/spec/merb_stack_spec.rb +23 -10
  49. data/spec/merb_very_flat_spec.rb +13 -2
  50. data/spec/migration_spec.rb +1 -1
  51. data/spec/model_spec.rb +1 -1
  52. data/spec/named_generator_spec.rb +1 -1
  53. data/spec/namespaced_generator_spec.rb +1 -1
  54. data/spec/part_controller_spec.rb +1 -1
  55. data/spec/passenger_spec.rb +20 -0
  56. data/spec/resource_controller_spec.rb +1 -1
  57. data/spec/resource_spec.rb +1 -1
  58. data/spec/session_migration_spec.rb +1 -1
  59. data/spec/spec.opts +2 -0
  60. data/spec/spec_helper.rb +53 -4
  61. metadata +78 -45
  62. data/lib/generators/templates/application/common/doc.thor +0 -149
  63. data/lib/generators/templates/application/common/merb_thor/app_script.rb +0 -31
  64. data/lib/generators/templates/application/common/merb_thor/common.rb +0 -68
  65. data/lib/generators/templates/application/common/merb_thor/gem_ext.rb +0 -125
  66. data/lib/generators/templates/application/common/merb_thor/main.thor +0 -151
  67. data/lib/generators/templates/application/common/merb_thor/ops.rb +0 -93
  68. data/lib/generators/templates/application/common/merb_thor/utils.rb +0 -40
  69. data/lib/generators/templates/application/merb_core/public/merb.fcgi +0 -22
  70. data/lib/generators/templates/application/merb_stack/config/dependencies.rb +0 -34
  71. data/lib/generators/thor.rb +0 -33
@@ -1,4 +1,4 @@
1
- require File.dirname(__FILE__) + '/spec_helper'
1
+ require 'spec_helper'
2
2
 
3
3
  describe Merb::Generators::MerbCoreGenerator do
4
4
 
@@ -7,7 +7,18 @@ describe Merb::Generators::MerbCoreGenerator do
7
7
  before do
8
8
  @generator = Merb::Generators::MerbCoreGenerator.new('/tmp', {}, 'testing')
9
9
  end
10
+
11
+ it_should_behave_like "named generator"
12
+ it_should_behave_like "app generator"
13
+
14
+ it "should create an Gemfile" do
15
+ @generator.should create('/tmp/testing/Gemfile')
16
+ end
10
17
 
18
+ it "should create an bin/merb" do
19
+ @generator.should create('/tmp/testing/bin/merb')
20
+ end
21
+
11
22
  it "should create an init.rb" do
12
23
  @generator.should create('/tmp/testing/config/init.rb')
13
24
  end
@@ -24,15 +35,16 @@ describe Merb::Generators::MerbCoreGenerator do
24
35
  @generator.should create('/tmp/testing/.gitignore')
25
36
  end
26
37
 
27
- it "should have an htaccess file" do
28
- @generator.should create('/tmp/testing/public/.htaccess')
29
- end
30
-
31
38
  it "should create a number of views"
32
39
 
33
40
  it "should render templates successfully" do
34
41
  lambda { @generator.render! }.should_not raise_error
35
42
  end
43
+
44
+ it "should have an empty lib/tasks directory" do
45
+ @generator.should create('/tmp/testing/lib/tasks')
46
+ end
47
+
36
48
 
37
49
  end
38
50
 
@@ -1,4 +1,4 @@
1
- require File.dirname(__FILE__) + '/spec_helper'
1
+ require 'spec_helper'
2
2
 
3
3
  describe Merb::Generators::MerbFlatGenerator do
4
4
 
@@ -9,6 +9,15 @@ describe Merb::Generators::MerbFlatGenerator do
9
9
  end
10
10
 
11
11
  it_should_behave_like "named generator"
12
+ it_should_behave_like "app generator"
13
+
14
+ it "should create an Gemfile" do
15
+ @generator.should create('/tmp/testing/Gemfile')
16
+ end
17
+
18
+ it "should create an bin/merb" do
19
+ @generator.should create('/tmp/testing/bin/merb')
20
+ end
12
21
 
13
22
  it "should create a number of views"
14
23
 
@@ -1,4 +1,4 @@
1
- require File.dirname(__FILE__) + '/spec_helper'
1
+ require 'spec_helper'
2
2
 
3
3
  describe Merb::Generators::MerbPluginGenerator do
4
4
 
@@ -9,7 +9,7 @@ describe Merb::Generators::MerbPluginGenerator do
9
9
  end
10
10
 
11
11
  it_should_behave_like "named generator"
12
-
12
+
13
13
  it "should create a number of views"
14
14
 
15
15
  it "should render templates successfully" do
@@ -18,4 +18,4 @@ describe Merb::Generators::MerbPluginGenerator do
18
18
 
19
19
  end
20
20
 
21
- end
21
+ end
@@ -1,4 +1,4 @@
1
- require File.dirname(__FILE__) + '/spec_helper'
1
+ require 'spec_helper'
2
2
 
3
3
  describe Merb::Generators::MerbStackGenerator do
4
4
 
@@ -8,12 +8,23 @@ describe Merb::Generators::MerbStackGenerator do
8
8
  @generator = Merb::Generators::MerbStackGenerator.new('/tmp', {}, 'testing')
9
9
  end
10
10
 
11
- it "should create config/init.rb" do
12
- @generator.should create('/tmp/testing/config/init.rb')
11
+ it_should_behave_like "named generator"
12
+ it_should_behave_like "app generator"
13
+
14
+ it "should create an Gemfile" do
15
+ @generator.should create('/tmp/testing/Gemfile')
13
16
  end
14
17
 
15
- it "should create config/dependencies.rb" do
16
- @generator.should create('/tmp/testing/config/dependencies.rb')
18
+ it "should create an bin/merb" do
19
+ @generator.should create('/tmp/testing/bin/merb')
20
+ end
21
+
22
+ it "should create a passenger config file" do
23
+ @generator.should create('/tmp/testing/config.ru')
24
+ end
25
+
26
+ it "should create config/init.rb" do
27
+ @generator.should create('/tmp/testing/config/init.rb')
17
28
  end
18
29
 
19
30
  it "should create config/database.yml" do
@@ -32,14 +43,16 @@ describe Merb::Generators::MerbStackGenerator do
32
43
  @generator.should create('/tmp/testing/.gitignore')
33
44
  end
34
45
 
35
- it "should have an htaccess file" do
36
- @generator.should create('/tmp/testing/public/.htaccess')
37
- end
38
-
39
46
  it "should create a number of views"
40
47
 
41
48
  it "should render templates successfully" do
42
- lambda { @generator.render! }.should_not raise_error
49
+ lambda do
50
+ @generator.render!
51
+ end.should_not raise_error
52
+ end
53
+
54
+ it "should create an empty lib/tasks directory" do
55
+ @generator.should create('/tmp/testing/lib/tasks')
43
56
  end
44
57
 
45
58
  end
@@ -1,4 +1,4 @@
1
- require File.dirname(__FILE__) + '/spec_helper'
1
+ require 'spec_helper'
2
2
 
3
3
  describe Merb::Generators::MerbVeryFlatGenerator do
4
4
 
@@ -7,6 +7,17 @@ describe Merb::Generators::MerbVeryFlatGenerator do
7
7
  before do
8
8
  @generator = Merb::Generators::MerbVeryFlatGenerator.new('/tmp', {}, 'testing')
9
9
  end
10
+
11
+ it_should_behave_like "named generator"
12
+ it_should_behave_like "app generator"
13
+
14
+ it "should create an Gemfile" do
15
+ @generator.should create('/tmp/testing/Gemfile')
16
+ end
17
+
18
+ it "should create an bin/merb" do
19
+ @generator.should create('/tmp/testing/bin/merb')
20
+ end
10
21
 
11
22
  it "should create a number of views"
12
23
 
@@ -16,4 +27,4 @@ describe Merb::Generators::MerbVeryFlatGenerator do
16
27
 
17
28
  end
18
29
 
19
- end
30
+ end
@@ -1,4 +1,4 @@
1
- require File.dirname(__FILE__) + '/spec_helper'
1
+ require 'spec_helper'
2
2
 
3
3
  describe Merb::Generators::MigrationGenerator do
4
4
 
data/spec/model_spec.rb CHANGED
@@ -1,4 +1,4 @@
1
- require File.dirname(__FILE__) + '/spec_helper'
1
+ require 'spec_helper'
2
2
 
3
3
  describe Merb::Generators::ModelGenerator do
4
4
 
@@ -1,4 +1,4 @@
1
- require File.dirname(__FILE__) + '/spec_helper'
1
+ require 'spec_helper'
2
2
 
3
3
  describe Merb::Generators::NamedGenerator do
4
4
 
@@ -1,4 +1,4 @@
1
- require File.dirname(__FILE__) + '/spec_helper'
1
+ require 'spec_helper'
2
2
 
3
3
  describe Merb::Generators::NamespacedGenerator do
4
4
 
@@ -1,4 +1,4 @@
1
- require File.dirname(__FILE__) + '/spec_helper'
1
+ require 'spec_helper'
2
2
 
3
3
  describe Merb::Generators::PartControllerGenerator do
4
4
 
@@ -0,0 +1,20 @@
1
+ require 'spec_helper'
2
+
3
+ describe Merb::Generators::PassengerGenerator do
4
+
5
+ describe "templates" do
6
+ before(:each) do
7
+ @generator = Merb::Generators::PassengerGenerator.new('/tmp', {})
8
+ end
9
+
10
+ it "should create a config.ru file" do
11
+ @generator.should create('/tmp/config.ru')
12
+ end
13
+
14
+ it "should render templates successfully" do
15
+ lambda { @generator.render! }.should_not raise_error
16
+ end
17
+
18
+ end
19
+
20
+ end
@@ -1,4 +1,4 @@
1
- require File.dirname(__FILE__) + '/spec_helper'
1
+ require 'spec_helper'
2
2
 
3
3
  describe Merb::Generators::ResourceControllerGenerator do
4
4
 
@@ -1,4 +1,4 @@
1
- require File.dirname(__FILE__) + '/spec_helper'
1
+ require 'spec_helper'
2
2
 
3
3
  describe Merb::Generators::ResourceGenerator do
4
4
 
@@ -1,4 +1,4 @@
1
- require File.dirname(__FILE__) + '/spec_helper'
1
+ require 'spec_helper'
2
2
 
3
3
  describe Merb::Generators::MerbPluginGenerator do
4
4
 
data/spec/spec.opts ADDED
@@ -0,0 +1,2 @@
1
+ --format specdoc
2
+ --colour
data/spec/spec_helper.rb CHANGED
@@ -1,9 +1,17 @@
1
- $:.push File.join(File.dirname(__FILE__), '..', 'lib')
1
+ require "rubygems"
2
2
 
3
- require 'rubygems'
4
- require 'spec'
3
+ # Use current merb-core sources if running from a typical dev checkout.
4
+ lib = File.expand_path('../../../merb-core/lib', __FILE__)
5
+ $LOAD_PATH.unshift(lib) if File.directory?(lib)
5
6
  require 'merb-core'
6
- require 'merb-gen'
7
+
8
+ # The lib under test
9
+ require "merb-gen"
10
+
11
+ # Satisfies Autotest and anyone else not using the Rake tasks
12
+ require 'spec'
13
+
14
+ # Templater spec support
7
15
  require 'templater/spec/helpers'
8
16
 
9
17
  Merb.disable(:initfile)
@@ -12,6 +20,47 @@ Spec::Runner.configure do |config|
12
20
  config.include Templater::Spec::Helpers
13
21
  end
14
22
 
23
+ describe "app generator", :shared => true do
24
+
25
+ describe "#gems_for_orm" do
26
+ [:activerecord, :sequel, :datamapper].each do |orm|
27
+ it "should generate DSL for #{orm} ORM plugin" do
28
+ @generator.gems_for_orm(orm).should == %Q{gem "merb_#{orm}"}
29
+ end
30
+ end
31
+
32
+ it "should not generate DSL if we don't use ORM" do
33
+ @generator.gems_for_orm(:none).should == ''
34
+ end
35
+ end
36
+
37
+ describe "#gems_for_template_engine" do
38
+ [:haml, :builder].each do |engine|
39
+ it "should generate DSL for #{engine} template engine plugin" do
40
+ @generator.gems_for_template_engine(engine).should == %Q{gem "merb-#{engine}"}
41
+ end
42
+ end
43
+
44
+ it "should generate DSL for template engine plugins other than haml and builder" do
45
+ @generator.gems_for_template_engine(:liquid).should == 'gem "merb_liquid"'
46
+ end
47
+
48
+ it "should not generate DSL if we use erb" do
49
+ @generator.gems_for_template_engine(:erb).should == ''
50
+ end
51
+ end
52
+
53
+ describe "#gems_for_testing_framework" do
54
+ it "should generate DSL for testing framework plugin" do
55
+ @generator.gems_for_testing_framework(:test_unit).should == 'gem "test_unit", :group => :test'
56
+ end
57
+
58
+ it "should not generate DSL if we use rspec" do
59
+ @generator.gems_for_testing_framework(:rspec).should == ''
60
+ end
61
+ end
62
+ end
63
+
15
64
  describe "named generator", :shared => true do
16
65
 
17
66
  describe '#file_name' do
metadata CHANGED
@@ -1,7 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: merb-gen
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.15
4
+ prerelease: true
5
+ segments:
6
+ - 1
7
+ - 1
8
+ - 0
9
+ - pre
10
+ version: 1.1.0.pre
5
11
  platform: ruby
6
12
  authors:
7
13
  - Jonas Nicklas
@@ -9,45 +15,70 @@ autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
17
 
12
- date: 2009-11-04 00:00:00 +00:00
13
- default_executable:
18
+ date: 2010-03-02 00:00:00 +01:00
19
+ default_executable: merb-gen
14
20
  dependencies:
15
21
  - !ruby/object:Gem::Dependency
16
22
  name: merb-core
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
20
25
  requirements:
21
- - - ">="
26
+ - - ~>
22
27
  - !ruby/object:Gem::Version
23
- version: 1.0.15
24
- version:
28
+ segments:
29
+ - 1
30
+ - 1
31
+ - 0
32
+ - pre
33
+ version: 1.1.0.pre
34
+ type: :runtime
35
+ version_requirements: *id001
25
36
  - !ruby/object:Gem::Dependency
26
37
  name: templater
38
+ prerelease: false
39
+ requirement: &id002 !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ segments:
44
+ - 1
45
+ - 0
46
+ - 0
47
+ version: 1.0.0
27
48
  type: :runtime
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
49
+ version_requirements: *id002
50
+ - !ruby/object:Gem::Dependency
51
+ name: rspec
52
+ prerelease: false
53
+ requirement: &id003 !ruby/object:Gem::Requirement
30
54
  requirements:
31
55
  - - ">="
32
56
  - !ruby/object:Gem::Version
33
- version: 0.3.3
34
- version:
35
- description: Generators suite for Merb.
57
+ segments:
58
+ - 1
59
+ - 2
60
+ - 9
61
+ version: 1.2.9
62
+ type: :development
63
+ version_requirements: *id003
64
+ description: Merb plugin containing useful code generators
36
65
  email: jonas.nicklas@gmail.com
37
66
  executables:
38
67
  - merb-gen
39
68
  extensions: []
40
69
 
41
70
  extra_rdoc_files:
42
- - README
43
71
  - LICENSE
72
+ - README
44
73
  - TODO
45
74
  files:
46
75
  - LICENSE
47
76
  - README
48
77
  - Rakefile
49
78
  - TODO
79
+ - bin/merb-gen
50
80
  - lib/generators/controller.rb
81
+ - lib/generators/fcgi.rb
51
82
  - lib/generators/helper.rb
52
83
  - lib/generators/layout.rb
53
84
  - lib/generators/merb/merb_core.rb
@@ -58,20 +89,15 @@ files:
58
89
  - lib/generators/migration.rb
59
90
  - lib/generators/model.rb
60
91
  - lib/generators/part_controller.rb
92
+ - lib/generators/passenger.rb
61
93
  - lib/generators/resource.rb
62
94
  - lib/generators/resource_controller.rb
63
95
  - lib/generators/session_migration.rb
64
- - lib/generators/templates/application/common/doc.thor
96
+ - lib/generators/templates/application/common/Gemfile
97
+ - lib/generators/templates/application/common/Rakefile
65
98
  - lib/generators/templates/application/common/dotgitignore
66
- - lib/generators/templates/application/common/dothtaccess
67
99
  - lib/generators/templates/application/common/jquery.js
68
- - lib/generators/templates/application/common/merb_thor/app_script.rb
69
- - lib/generators/templates/application/common/merb_thor/common.rb
70
- - lib/generators/templates/application/common/merb_thor/gem_ext.rb
71
- - lib/generators/templates/application/common/merb_thor/main.thor
72
- - lib/generators/templates/application/common/merb_thor/ops.rb
73
- - lib/generators/templates/application/common/merb_thor/utils.rb
74
- - lib/generators/templates/application/common/Rakefile
100
+ - lib/generators/templates/application/common/merb
75
101
  - lib/generators/templates/application/merb_core/app/controllers/application.rb
76
102
  - lib/generators/templates/application/merb_core/app/controllers/exceptions.rb
77
103
  - lib/generators/templates/application/merb_core/app/helpers/global_helpers.rb
@@ -99,29 +125,29 @@ files:
99
125
  - lib/generators/templates/application/merb_core/public/favicon.ico
100
126
  - lib/generators/templates/application/merb_core/public/images/merb.jpg
101
127
  - lib/generators/templates/application/merb_core/public/javascripts/application.js
102
- - lib/generators/templates/application/merb_core/public/merb.fcgi
103
128
  - lib/generators/templates/application/merb_core/public/robots.txt
104
129
  - lib/generators/templates/application/merb_core/public/stylesheets/master.css
105
130
  - lib/generators/templates/application/merb_core/spec/spec.opts
106
131
  - lib/generators/templates/application/merb_core/spec/spec_helper.rb
107
132
  - lib/generators/templates/application/merb_core/test/test_helper.rb
133
+ - lib/generators/templates/application/merb_flat/README.txt
108
134
  - lib/generators/templates/application/merb_flat/application.rbt
109
135
  - lib/generators/templates/application/merb_flat/config/framework.rb
110
136
  - lib/generators/templates/application/merb_flat/config/init.rb
111
- - lib/generators/templates/application/merb_flat/README.txt
112
137
  - lib/generators/templates/application/merb_flat/spec/spec_helper.rb
113
138
  - lib/generators/templates/application/merb_flat/test/test_helper.rb
114
139
  - lib/generators/templates/application/merb_flat/views/foo.html.erb
115
- - lib/generators/templates/application/merb_plugin/lib/%base_name%/merbtasks.rb
116
- - lib/generators/templates/application/merb_plugin/lib/%base_name%.rb
117
140
  - lib/generators/templates/application/merb_plugin/LICENSE
118
- - lib/generators/templates/application/merb_plugin/Rakefile
119
141
  - lib/generators/templates/application/merb_plugin/README
142
+ - lib/generators/templates/application/merb_plugin/Rakefile
143
+ - lib/generators/templates/application/merb_plugin/TODO
144
+ - lib/generators/templates/application/merb_plugin/lib/%base_name%.rb
145
+ - lib/generators/templates/application/merb_plugin/lib/%base_name%/merbtasks.rb
120
146
  - lib/generators/templates/application/merb_plugin/spec/%base_name%_spec.rb
121
147
  - lib/generators/templates/application/merb_plugin/spec/spec_helper.rb
122
148
  - lib/generators/templates/application/merb_plugin/test/%base_name%_test.rb
123
149
  - lib/generators/templates/application/merb_plugin/test/test_helper.rb
124
- - lib/generators/templates/application/merb_plugin/TODO
150
+ - lib/generators/templates/application/merb_stack/Gemfile
125
151
  - lib/generators/templates/application/merb_stack/app/controllers/application.rb
126
152
  - lib/generators/templates/application/merb_stack/app/controllers/exceptions.rb
127
153
  - lib/generators/templates/application/merb_stack/app/helpers/global_helpers.rb
@@ -131,8 +157,8 @@ files:
131
157
  - lib/generators/templates/application/merb_stack/autotest/discover.rb
132
158
  - lib/generators/templates/application/merb_stack/autotest/merb.rb
133
159
  - lib/generators/templates/application/merb_stack/autotest/merb_rspec.rb
160
+ - lib/generators/templates/application/merb_stack/config.ru
134
161
  - lib/generators/templates/application/merb_stack/config/database.yml
135
- - lib/generators/templates/application/merb_stack/config/dependencies.rb
136
162
  - lib/generators/templates/application/merb_stack/config/environments/development.rb
137
163
  - lib/generators/templates/application/merb_stack/config/environments/production.rb
138
164
  - lib/generators/templates/application/merb_stack/config/environments/rake.rb
@@ -154,7 +180,6 @@ files:
154
180
  - lib/generators/templates/application/merb_stack/public/favicon.ico
155
181
  - lib/generators/templates/application/merb_stack/public/images/merb.jpg
156
182
  - lib/generators/templates/application/merb_stack/public/javascripts/application.js
157
- - lib/generators/templates/application/merb_stack/public/merb.fcgi
158
183
  - lib/generators/templates/application/merb_stack/public/robots.txt
159
184
  - lib/generators/templates/application/merb_stack/public/stylesheets/master.css
160
185
  - lib/generators/templates/application/merb_stack/spec/spec.opts
@@ -167,6 +192,8 @@ files:
167
192
  - lib/generators/templates/component/controller/app/views/%file_name%/index.html.erb
168
193
  - lib/generators/templates/component/controller/spec/requests/%file_name%_spec.rb
169
194
  - lib/generators/templates/component/controller/test/requests/%file_name%_test.rb
195
+ - lib/generators/templates/component/fcgi/dothtaccess
196
+ - lib/generators/templates/component/fcgi/merb.fcgi
170
197
  - lib/generators/templates/component/helper/app/helpers/%file_name%_helper.rb
171
198
  - lib/generators/templates/component/layout/app/views/layout/%file_name%.html.erb
172
199
  - lib/generators/templates/component/layout/spec/views/layout/%file_name%.html.erb_spec.rb
@@ -182,15 +209,15 @@ files:
182
209
  - lib/generators/templates/component/resource_controller/app/views/%file_name%/show.html.erb
183
210
  - lib/generators/templates/component/resource_controller/spec/requests/%file_name%_spec.rb
184
211
  - lib/generators/templates/component/resource_controller/test/controllers/%file_name%_test.rb
185
- - lib/generators/thor.rb
212
+ - lib/merb-gen.rb
186
213
  - lib/merb-gen/app_generator.rb
187
214
  - lib/merb-gen/generator.rb
188
215
  - lib/merb-gen/named_generator.rb
189
216
  - lib/merb-gen/namespaced_generator.rb
190
217
  - lib/merb-gen/templater.rb
191
- - lib/merb-gen.rb
192
- - bin/merb-gen
218
+ - lib/merb-gen/version.rb
193
219
  - spec/controller_spec.rb
220
+ - spec/fcgi_spec.rb
194
221
  - spec/fixtures/results/no_modules.test
195
222
  - spec/fixtures/results/some_modules.test
196
223
  - spec/fixtures/templates/no_modules.test
@@ -207,37 +234,43 @@ files:
207
234
  - spec/named_generator_spec.rb
208
235
  - spec/namespaced_generator_spec.rb
209
236
  - spec/part_controller_spec.rb
237
+ - spec/passenger_spec.rb
210
238
  - spec/resource_controller_spec.rb
211
239
  - spec/resource_spec.rb
212
240
  - spec/session_migration_spec.rb
241
+ - spec/spec.opts
213
242
  - spec/spec_helper.rb
214
243
  has_rdoc: true
215
- homepage: http://merbivore.com
244
+ homepage: http://merbivore.com/
216
245
  licenses: []
217
246
 
218
247
  post_install_message:
219
- rdoc_options: []
220
-
248
+ rdoc_options:
249
+ - --charset=UTF-8
221
250
  require_paths:
222
251
  - lib
223
252
  required_ruby_version: !ruby/object:Gem::Requirement
224
253
  requirements:
225
254
  - - ">="
226
255
  - !ruby/object:Gem::Version
256
+ segments:
257
+ - 0
227
258
  version: "0"
228
- version:
229
259
  required_rubygems_version: !ruby/object:Gem::Requirement
230
260
  requirements:
231
- - - ">="
261
+ - - ">"
232
262
  - !ruby/object:Gem::Version
233
- version: "0"
234
- version:
263
+ segments:
264
+ - 1
265
+ - 3
266
+ - 1
267
+ version: 1.3.1
235
268
  requirements: []
236
269
 
237
- rubyforge_project: merb
238
- rubygems_version: 1.3.5
270
+ rubyforge_project:
271
+ rubygems_version: 1.3.6
239
272
  signing_key:
240
273
  specification_version: 3
241
- summary: Generators suite for Merb.
274
+ summary: Merb plugin that provides a suite of code generators for Merb.
242
275
  test_files: []
243
276