rails_apps_composer 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.textile +15 -7
  2. data/recipes/backbone.rb +6 -1
  3. data/version.rb +1 -1
  4. metadata +20 -20
data/README.textile CHANGED
@@ -66,13 +66,7 @@ h4. Select Recipes
66
66
  You can mix and match recipes to create your own customized starter app. See an annotated list of available "recipes for the Rails Apps Composer gem":http://railsapps.github.com/rails-apps-recipes.html. For an up-to-date list, browse the repository "recipes directory":https://github.com/RailsApps/rails_apps_composer/tree/master/recipes to see what is available. Then provide your list of recipes to the Rails Apps Composer gem using the @-r@ option and generate an app as needed. Here's an example that creates a simple app using haml:
67
67
 
68
68
  <pre>
69
- $ rails_apps_composer new myapp -r haml
70
- </pre>
71
-
72
- For example, to build the "rails3-mongoid-devise":http://github.com/RailsApps/rails3-mongoid-devise/ example application, run the command:
73
-
74
- <pre>
75
- $ rails_apps_composer new myapp -r haml rspec cucumber guard mongoid action_mailer devise add_user home_page home_page_users seed_database users_page html5 cleanup extras git
69
+ $ rails_apps_composer new myapp -r haml home_page html5
76
70
  </pre>
77
71
 
78
72
  Replace @myapp@ with the name you want for your application.
@@ -115,6 +109,20 @@ You can specify the @-T -O@ flags as needed to skip Test::Unit files and Active
115
109
 
116
110
  That's all it takes. You'll have a ready-to-customize Rails web application in minutes.
117
111
 
112
+ h4. Template for Rails 3 + Haml + HTML5
113
+
114
+ This application template will offer you a choice of Haml or ERB, give you options for a CSS front-end framework such as Twitter Bootstrap, and create a default application layout using HTML5:
115
+
116
+ <pre>
117
+ $ rake print --silent RECIPES=haml,home_page,html5,cleanup,extras,git > ~/Desktop/template.txt
118
+ </pre>
119
+
120
+ Then generate the application:
121
+
122
+ <pre>
123
+ $ rails new myapp -m ~/Desktop/template.txt
124
+ </pre>
125
+
118
126
  h4. Template for Rails 3 + Devise + RSpec + Cucumber
119
127
 
120
128
  To build a reusable application template for the "rails3-devise-rspec-cucumber":http://github.com/RailsApps/rails3-devise-rspec-cucumber/ example application, run the command:
data/recipes/backbone.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  if config['backbone']
2
- gem 'rails-backbone', :version => '~> 0.6.1'
2
+ gem 'rails-backbone', :version => '>= 0.7.0'
3
3
  after_bundler do
4
4
  generate 'backbone:install'
5
5
  end
@@ -16,3 +16,8 @@ author: ashley_woodard
16
16
  exclusive: javascript_framework
17
17
  category: assets
18
18
  tags: [javascript, framework]
19
+
20
+ config:
21
+ - haml:
22
+ type: boolean
23
+ prompt: Would you like to use the Backbone.js MVC framework?
data/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RailsWizard
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_apps_composer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-08 00:00:00.000000000 Z
12
+ date: 2012-03-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: i18n
16
- requirement: &2157748600 !ruby/object:Gem::Requirement
16
+ requirement: &2153664200 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2157748600
24
+ version_requirements: *2153664200
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: activesupport
27
- requirement: &2157748100 !ruby/object:Gem::Requirement
27
+ requirement: &2153663680 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 3.0.0
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *2157748100
35
+ version_requirements: *2153663680
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: thor
38
- requirement: &2157747660 !ruby/object:Gem::Requirement
38
+ requirement: &2153663240 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *2157747660
46
+ version_requirements: *2153663240
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rake
49
- requirement: &2157747200 !ruby/object:Gem::Requirement
49
+ requirement: &2153618740 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *2157747200
57
+ version_requirements: *2153618740
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: rspec
60
- requirement: &2157740660 !ruby/object:Gem::Requirement
60
+ requirement: &2153618240 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: 2.5.0
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *2157740660
68
+ version_requirements: *2153618240
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: mg
71
- requirement: &2157740020 !ruby/object:Gem::Requirement
71
+ requirement: &2153617820 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *2157740020
79
+ version_requirements: *2153617820
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: activesupport
82
- requirement: &2157739380 !ruby/object:Gem::Requirement
82
+ requirement: &2153617280 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ! '>='
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: 3.0.0
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *2157739380
90
+ version_requirements: *2153617280
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: i18n
93
- requirement: &2157738900 !ruby/object:Gem::Requirement
93
+ requirement: &2153616820 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ! '>='
@@ -98,7 +98,7 @@ dependencies:
98
98
  version: '0'
99
99
  type: :development
100
100
  prerelease: false
101
- version_requirements: *2157738900
101
+ version_requirements: *2153616820
102
102
  description: A gem with recipes to create Rails application templates you can use
103
103
  to generate Rails starter apps.
104
104
  email:
@@ -177,7 +177,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
177
177
  version: '0'
178
178
  segments:
179
179
  - 0
180
- hash: 4050339708211014768
180
+ hash: 18862800852877578
181
181
  required_rubygems_version: !ruby/object:Gem::Requirement
182
182
  none: false
183
183
  requirements:
@@ -186,7 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
186
186
  version: '0'
187
187
  segments:
188
188
  - 0
189
- hash: 4050339708211014768
189
+ hash: 18862800852877578
190
190
  requirements: []
191
191
  rubyforge_project: rails_apps_composer
192
192
  rubygems_version: 1.8.16