rails_apps_composer 1.0.0 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.textile CHANGED
@@ -164,66 +164,7 @@ $ rails new testapp -m ~/Desktop/template.txt -T -O -J
164
164
 
165
165
  h2. The Recipes
166
166
 
167
- The following recipes are available.
168
-
169
- h4. Recipes for General Use
170
-
171
- |_. File |_. |_. Dependencies |_. Authors |
172
- | "action_mailer.rb":https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/action_mailer.rb | Changes ActionMailer defaults | none | dkehoe |
173
- | "ban_spiders.rb":https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/ban_spiders.rb | Ban spiders from your site by changing robots.txt | none | dkehoe |
174
- | "cleanup.rb":https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/cleanup.rb | Remove unnecessary files, add READMEs | none | fnichol, dkehoe |
175
- | "git.rb":https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/git.rb | Add a gitignore file, initialize new Git repo | Git | fnichol, dkehoe |
176
- | "sample_readme.textile":https://github.com/RailsApps/rails-template-recipes/raw/master/sample_readme.textile | Placeholder text for a README file (textile markup) | none | dkehoe |
177
- | "sample_readme.txt":https://github.com/RailsApps/rails-template-recipes/raw/master/sample_readme.txt | Placeholder text for a README file (ASCII) | none | dkehoe |
178
-
179
- h4. Recipes for Testing and BDD
180
-
181
- |_. File |_. |_. Dependencies |_. Authors |
182
- | "rspec.rb":https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/rspec.rb | Install RSpec | none | rbrooker, dkehoe |
183
- | "cucumber.rb":https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/cucumber.rb | Install Cucumber | none | rbrooker, dkehoe |
184
-
185
- h4. Recipes for Mongoid
186
-
187
- |_. File |_. |_. Dependencies |_. Authors |
188
- | "mongoid.rb":https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/mongoid.rb | Installs Mongoid with the bson_ext gem | Mongoid | dkehoe |
189
-
190
- h4. Recipes for jQuery
191
-
192
- |_. File |_. |_. Dependencies |_. Authors |
193
- | "jquery.rb":https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/jquery_fix.rb | Installs jQuery | none | dkehoe |
194
-
195
- h4. Recipes for Devise
196
-
197
- |_. File |_. |_. Dependencies |_. Authors |
198
- | "devise.rb":https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/devise.rb | Installs Devise | none | dkehoe |
199
-
200
- h4. Recipes for OmniAuth
201
-
202
- |_. File |_. |_. Dependencies |_. Authors |
203
- | "omniauth.rb":https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/omniauth.rb | OmniAuth for authentication | none | dkehoe |
204
- | "omniauth_email.rb":https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/omniauth_email.rb | Requests a new uer's email address when authenticating with Twitter, etc. | OmniAuth | dkehoe |
205
-
206
- h4. Recipes for Haml
207
-
208
- |_. File |_. |_. Dependencies |_. Authors |
209
- | "haml.rb":https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/haml.rb | Installs Haml | none | dkehoe |
210
-
211
- h4. Recipes for the Application Layout
212
-
213
- |_. File |_. |_. Dependencies |_. Authors |
214
- | "application_layout.rb":https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/application_layout.rb | Adds application layout with flash messages | ERB or Haml | dkehoe |
215
- | "css_setup.rb":https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/css_setup.rb | Add a stylesheet with styles for a horizontal menu and flash messages | none | dkehoe |
216
-
217
- h4. Recipes for the Example Apps
218
-
219
- |_. File |_. |_. Dependencies |_. Authors |
220
- | "add_user.rb":https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/add_user.rb | adds User model for use with OmniAuth or Devise | none | dkehoe |
221
- | "navigation.rb":https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/_navigation.rb | Add navigation links to the default application layout | none | dkehoe |
222
- | "devise_navigation.rb":https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/devise_navigation.rb | Add navigation links to the default application layout | Devise | dkehoe |
223
- | "home_page.rb":https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/home_page.rb | Create a home controller, route, and simple view | ERB or Haml | dkehoe |
224
- | "home_page_users.rb":https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/home_page_users.rb | Modify a home page to display a list of users | Home controller, User model, ERB or Haml | dkehoe |
225
- | "seed_database.rb":https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/seed_database.rb | Adds a db/seeds.rb file to initialize a database | none | dkehoe |
226
- | "users_page.rb":https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/users_page.rb | Add a home page containing links to User pages | User model, ERB or Haml | dkehoe |
167
+ For your reference, here’s 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.
227
168
 
228
169
  h2. Writing New Recipes
229
170
 
@@ -1,5 +1,5 @@
1
1
  # Application template recipe for the rails_apps_composer. Check for a newer version here:
2
- # https://github.com/fortuity/rails_apps_composer/blob/master/recipes/action_mailer.rb
2
+ # https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/action_mailer.rb
3
3
 
4
4
  after_bundler do
5
5
  say_wizard "ActionMailer recipe running 'after bundler'"
@@ -35,7 +35,7 @@ __END__
35
35
 
36
36
  name: ActionMailer
37
37
  description: "Configure ActionMailer to show errors during development and suppress failures when the app is deployed to production."
38
- author: fortuity
38
+ author: RailsApps
39
39
 
40
40
  category: other
41
41
  tags: [utilities, configuration]
data/recipes/add_user.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # Application template recipe for the rails_apps_composer. Check for a newer version here:
2
- # https://github.com/fortuity/rails_apps_composer/blob/master/recipes/add_user.rb
2
+ # https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/add_user.rb
3
3
 
4
4
  after_bundler do
5
5
 
@@ -67,8 +67,8 @@ ERB
67
67
 
68
68
  # copy Haml versions of modified Devise views
69
69
  inside 'app/views/devise/registrations' do
70
- get 'https://github.com/fortuity/rails3-application-templates/raw/master/files/rails3-mongoid-devise/app/views/devise/registrations/edit.html.haml', 'edit.html.haml'
71
- get 'https://github.com/fortuity/rails3-application-templates/raw/master/files/rails3-mongoid-devise/app/views/devise/registrations/new.html.haml', 'new.html.haml'
70
+ get 'https://github.com/RailsApps/rails3-application-templates/raw/master/files/rails3-mongoid-devise/app/views/devise/registrations/edit.html.haml', 'edit.html.haml'
71
+ get 'https://github.com/RailsApps/rails3-application-templates/raw/master/files/rails3-mongoid-devise/app/views/devise/registrations/new.html.haml', 'new.html.haml'
72
72
  end
73
73
 
74
74
  end
@@ -81,7 +81,7 @@ __END__
81
81
 
82
82
  name: AddUser
83
83
  description: "Add a User model including 'name' and 'email' attributes."
84
- author: fortuity
84
+ author: RailsApps
85
85
 
86
86
  category: other
87
87
  tags: [utilities, configuration]
@@ -1,5 +1,5 @@
1
1
  # Application template recipe for the rails_apps_composer. Check for a newer version here:
2
- # https://github.com/fortuity/rails_apps_composer/blob/master/recipes/add_user_name.rb
2
+ # https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/add_user_name.rb
3
3
 
4
4
  after_bundler do
5
5
 
@@ -53,8 +53,8 @@ ERB
53
53
 
54
54
  # copy Haml versions of modified Devise views
55
55
  inside 'app/views/devise/registrations' do
56
- get 'https://github.com/fortuity/rails3-application-templates/raw/master/files/rails3-mongoid-devise/app/views/devise/registrations/edit.html.haml', 'edit.html.haml'
57
- get 'https://github.com/fortuity/rails3-application-templates/raw/master/files/rails3-mongoid-devise/app/views/devise/registrations/new.html.haml', 'new.html.haml'
56
+ get 'https://github.com/RailsApps/rails3-application-templates/raw/master/files/rails3-mongoid-devise/app/views/devise/registrations/edit.html.haml', 'edit.html.haml'
57
+ get 'https://github.com/RailsApps/rails3-application-templates/raw/master/files/rails3-mongoid-devise/app/views/devise/registrations/new.html.haml', 'new.html.haml'
58
58
  end
59
59
 
60
60
  end
@@ -67,7 +67,7 @@ __END__
67
67
 
68
68
  name: AddUserName
69
69
  description: "Modify the default Devise configuration to add a 'name' attribute for all users."
70
- author: fortuity
70
+ author: RailsApps
71
71
 
72
72
  requires: [devise]
73
73
  category: other
@@ -1,5 +1,5 @@
1
1
  # Application template recipe for the rails_apps_composer. Check for a newer version here:
2
- # https://github.com/fortuity/rails_apps_composer/blob/master/recipes/application_layout.rb
2
+ # https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/application_layout.rb
3
3
 
4
4
  after_bundler do
5
5
 
@@ -39,7 +39,7 @@ __END__
39
39
 
40
40
  name: ApplicationLayout
41
41
  description: "Add a default application layout with flash messages."
42
- author: fortuity
42
+ author: RailsApps
43
43
 
44
44
  category: other
45
45
  tags: [utilities, configuration]
@@ -1,5 +1,5 @@
1
1
  # Application template recipe for the rails_apps_composer. Check for a newer version here:
2
- # https://github.com/fortuity/rails_apps_composer/blob/master/recipes/ban_spiders.rb
2
+ # https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/ban_spiders.rb
3
3
 
4
4
  if config['ban_spiders']
5
5
  say_wizard "BanSpiders recipe running 'after bundler'"
@@ -16,7 +16,7 @@ __END__
16
16
 
17
17
  name: BanSpiders
18
18
  description: "Ban spiders from the site by changing robots.txt."
19
- author: fortuity
19
+ author: RailsApps
20
20
 
21
21
  category: other
22
22
  tags: [utilities, configuration]
data/recipes/cleanup.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # Application template recipe for the rails_apps_composer. Check for a newer version here:
2
- # https://github.com/fortuity/rails_apps_composer/blob/master/recipes/cleanup.rb
2
+ # https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/cleanup.rb
3
3
 
4
4
  after_bundler do
5
5
 
@@ -14,8 +14,8 @@ after_bundler do
14
14
  }.each { |file| remove_file file }
15
15
 
16
16
  # add placeholder READMEs
17
- get "https://github.com/fortuity/rails-template-recipes/raw/master/sample_readme.txt", "README"
18
- get "https://github.com/fortuity/rails-template-recipes/raw/master/sample_readme.textile", "README.textile"
17
+ get "https://github.com/RailsApps/rails3-application-templates/raw/master/files/sample_readme.txt", "README"
18
+ get "https://github.com/RailsApps/rails3-application-templates/raw/master/files/sample_readme.textile", "README.textile"
19
19
  gsub_file "README", /App_Name/, "#{app_name.humanize.titleize}"
20
20
  gsub_file "README.textile", /App_Name/, "#{app_name.humanize.titleize}"
21
21
 
@@ -30,7 +30,7 @@ __END__
30
30
 
31
31
  name: Cleanup
32
32
  description: "Remove unnecessary files left over from generating a new Rails app."
33
- author: fortuity
33
+ author: RailsApps
34
34
 
35
35
  category: other
36
36
  tags: [utilities, configuration]
data/recipes/css_setup.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # Application template recipe for the rails_apps_composer. Check for a newer version here:
2
- # https://github.com/fortuity/rails_apps_composer/blob/master/recipes/css_setup.rb
2
+ # https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/css_setup.rb
3
3
 
4
4
  after_bundler do
5
5
 
@@ -36,7 +36,7 @@ __END__
36
36
 
37
37
  name: CssSetup
38
38
  description: "Add a stylesheet with styles for a horizontal menu and flash messages."
39
- author: fortuity
39
+ author: RailsApps
40
40
 
41
41
  category: other
42
42
  tags: [utilities, configuration]
data/recipes/cucumber.rb CHANGED
@@ -1,9 +1,9 @@
1
1
  # Application template recipe for the rails_apps_composer. Check for a newer version here:
2
- # https://github.com/fortuity/rails_apps_composer/blob/master/recipes/cucumber.rb
2
+ # https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/cucumber.rb
3
3
 
4
4
  if config['cucumber']
5
- gem 'cucumber-rails', ">= 0.4.1", :group => :test
6
- gem 'capybara', ">= 0.4.1.2", :group => :test
5
+ gem 'cucumber-rails', ">= 0.5.0", :group => :test
6
+ gem 'capybara', ">= 1.0.0.beta1", :group => :test
7
7
  gem 'database_cleaner', '>= 0.6.7', :group => :test
8
8
  gem 'launchy', ">= 0.4.0", :group => :test
9
9
  else
@@ -27,20 +27,18 @@ if config['cucumber']
27
27
  if recipes.include? 'devise'
28
28
  after_bundler do
29
29
  say_wizard "Copying Cucumber scenarios from the rails3-mongoid-devise examples"
30
- # copy all the Cucumber scenario files from the rails3-mongoid-devise example app
31
- inside 'features/users' do
32
- get 'https://github.com/fortuity/rails3-mongoid-devise/raw/master/features/users/sign_in.feature', 'sign_in.feature'
33
- get 'https://github.com/fortuity/rails3-mongoid-devise/raw/master/features/users/sign_out.feature', 'sign_out.feature'
34
- get 'https://github.com/fortuity/rails3-mongoid-devise/raw/master/features/users/sign_up.feature', 'sign_up.feature'
35
- get 'https://github.com/fortuity/rails3-mongoid-devise/raw/master/features/users/user_edit.feature', 'user_edit.feature'
36
- get 'https://github.com/fortuity/rails3-mongoid-devise/raw/master/features/users/user_show.feature', 'user_show.feature'
37
- end
38
- inside 'features/step_definitions' do
39
- get 'https://github.com/fortuity/rails3-mongoid-devise/raw/master/features/step_definitions/user_steps.rb', 'user_steps.rb'
40
- end
41
- remove_file 'features/support/paths.rb'
42
- inside 'features/support' do
43
- get 'https://github.com/fortuity/rails3-mongoid-devise/raw/master/features/support/paths.rb', 'paths.rb'
30
+ begin
31
+ # copy all the Cucumber scenario files from the rails3-mongoid-devise example app
32
+ get 'https://github.com/RailsApps/rails3-mongoid-devise/raw/master/features/users/sign_in.feature', 'features/users/sign_in.feature'
33
+ get 'https://github.com/RailsApps/rails3-mongoid-devise/raw/master/features/users/sign_out.feature', 'features/users/sign_out.feature'
34
+ get 'https://github.com/RailsApps/rails3-mongoid-devise/raw/master/features/users/sign_up.feature', 'features/users/sign_up.feature'
35
+ get 'https://github.com/RailsApps/rails3-mongoid-devise/raw/master/features/users/user_edit.feature', 'features/users/user_edit.feature'
36
+ get 'https://github.com/RailsApps/rails3-mongoid-devise/raw/master/features/users/user_show.feature', 'features/users/user_show.feature'
37
+ get 'https://github.com/RailsApps/rails3-mongoid-devise/raw/master/features/step_definitions/user_steps.rb', 'features/step_definitions/user_steps.rb'
38
+ remove_file 'features/support/paths.rb'
39
+ get 'https://github.com/RailsApps/rails3-mongoid-devise/raw/master/features/support/paths.rb', 'features/support/paths.rb'
40
+ rescue OpenURI::HTTPError
41
+ say_wizard "Unable to obtain Cucumber example files from the repo"
44
42
  end
45
43
  end
46
44
  end
@@ -50,7 +48,7 @@ __END__
50
48
 
51
49
  name: Cucumber
52
50
  description: "Use Cucumber for BDD (with Capybara)."
53
- author: fortuity
51
+ author: RailsApps
54
52
 
55
53
  exclusive: acceptance_testing
56
54
  category: testing
data/recipes/devise.rb CHANGED
@@ -1,8 +1,8 @@
1
1
  # Application template recipe for the rails_apps_composer. Check for a newer version here:
2
- # https://github.com/fortuity/rails_apps_composer/blob/master/recipes/devise.rb
2
+ # https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/devise.rb
3
3
 
4
4
  if config['devise']
5
- gem "devise", ">= 1.3.3"
5
+ gem "devise", ">= 1.3.4"
6
6
  else
7
7
  recipes.delete('devise')
8
8
  end
@@ -36,19 +36,17 @@ if config['devise']
36
36
 
37
37
  if recipes.include? 'rspec'
38
38
  say_wizard "Copying RSpec files from the rails3-devise-rspec-cucumber examples"
39
- # copy all the RSpec specs files from the rails3-devise-rspec-cucumber example app
40
- inside 'spec' do
41
- get 'https://github.com/fortuity/rails3-devise-rspec-cucumber/raw/master/spec/factories.rb', 'factories.rb'
42
- end
43
- remove_file 'spec/controllers/home_controller_spec.rb'
44
- remove_file 'spec/controllers/users_controller_spec.rb'
45
- inside 'spec/controllers' do
46
- get 'https://github.com/fortuity/rails3-devise-rspec-cucumber/raw/master/spec/controllers/home_controller_spec.rb', 'home_controller_spec.rb'
47
- get 'https://github.com/fortuity/rails3-devise-rspec-cucumber/raw/master/spec/controllers/users_controller_spec.rb', 'users_controller_spec.rb'
48
- end
49
- remove_file 'spec/models/user_spec.rb'
50
- inside 'spec/models' do
51
- get 'https://github.com/fortuity/rails3-devise-rspec-cucumber/raw/master/spec/models/user_spec.rb', 'user_spec.rb'
39
+ begin
40
+ # copy all the RSpec specs files from the rails3-devise-rspec-cucumber example app
41
+ get 'https://github.com/RailsApps/rails3-devise-rspec-cucumber/raw/master/spec/factories.rb', 'spec/factories.rb'
42
+ remove_file 'spec/controllers/home_controller_spec.rb'
43
+ remove_file 'spec/controllers/users_controller_spec.rb'
44
+ get 'https://github.com/RailsApps/rails3-devise-rspec-cucumber/raw/master/spec/controllers/home_controller_spec.rb', 'spec/controllers/home_controller_spec.rb'
45
+ get 'https://github.com/RailsApps/rails3-devise-rspec-cucumber/raw/master/spec/controllers/users_controller_spec.rb', 'spec/controllers/users_controller_spec.rb'
46
+ remove_file 'spec/models/user_spec.rb'
47
+ get 'https://github.com/RailsApps/rails3-devise-rspec-cucumber/raw/master/spec/models/user_spec.rb', 'spec/models/user_spec.rb'
48
+ rescue OpenURI::HTTPError
49
+ say_wizard "Unable to obtain RSpec example files from the repo"
52
50
  end
53
51
  remove_file 'spec/views/home/index.html.erb_spec.rb'
54
52
  remove_file 'spec/views/home/index.html.haml_spec.rb'
@@ -65,7 +63,7 @@ __END__
65
63
 
66
64
  name: Devise
67
65
  description: Utilize Devise for authentication, automatically configured for your selected ORM.
68
- author: fortuity
66
+ author: RailsApps
69
67
 
70
68
  category: authentication
71
69
  exclusive: authentication
@@ -1,5 +1,5 @@
1
1
  # Application template recipe for the rails_apps_composer. Check for a newer version here:
2
- # https://github.com/fortuity/rails_apps_composer/blob/master/recipes/devise_navigation.rb
2
+ # https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/devise_navigation.rb
3
3
 
4
4
  after_bundler do
5
5
 
@@ -86,7 +86,7 @@ __END__
86
86
 
87
87
  name: DeviseNavigation
88
88
  description: "Add navigation links for Devise."
89
- author: fortuity
89
+ author: RailsApps
90
90
 
91
91
  requires: [devise]
92
92
  category: other
data/recipes/git.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # Application template recipe for the rails_apps_composer. Check for a newer version here:
2
- # https://github.com/fortuity/rails_apps_composer/blob/master/recipes/git.rb
2
+ # https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/git.rb
3
3
 
4
4
  after_everything do
5
5
 
@@ -7,7 +7,7 @@ after_everything do
7
7
 
8
8
  # Git should ignore some files
9
9
  remove_file '.gitignore'
10
- get "https://github.com/fortuity/rails3-gitignore/raw/master/gitignore.txt", ".gitignore"
10
+ get "https://github.com/RailsApps/rails3-application-templates/raw/master/files/gitignore.txt", ".gitignore"
11
11
 
12
12
  if recipes.include? 'omniauth'
13
13
  append_file '.gitignore' do <<-TXT
@@ -31,7 +31,7 @@ __END__
31
31
 
32
32
  name: Git
33
33
  description: "Set up Git and commit the initial repository."
34
- author: fortuity
34
+ author: RailsApps
35
35
 
36
36
  exclusive: scm
37
37
  category: other
data/recipes/haml.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # Application template recipe for the rails_apps_composer. Check for a newer version here:
2
- # https://github.com/fortuity/rails_apps_composer/blob/master/recipes/haml.rb
2
+ # https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/haml.rb
3
3
 
4
4
  if config['haml']
5
5
  gem 'haml', '>= 3.1.1'
@@ -12,7 +12,7 @@ __END__
12
12
 
13
13
  name: HAML
14
14
  description: "Utilize Haml instead of ERB."
15
- author: fortuity
15
+ author: RailsApps
16
16
 
17
17
  category: templating
18
18
  exclusive: templating
data/recipes/home_page.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # Application template recipe for the rails_apps_composer. Check for a newer version here:
2
- # https://github.com/fortuity/rails_apps_composer/blob/master/recipes/home_page.rb
2
+ # https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/home_page.rb
3
3
 
4
4
  after_bundler do
5
5
 
@@ -39,7 +39,7 @@ __END__
39
39
 
40
40
  name: HomePage
41
41
  description: "Create a simple home page (creates a home controller and view)."
42
- author: fortuity
42
+ author: RailsApps
43
43
 
44
44
  category: other
45
45
  tags: [utilities, configuration]
@@ -1,5 +1,5 @@
1
1
  # Application template recipe for the rails_apps_composer. Check for a newer version here:
2
- # https://github.com/fortuity/rails_apps_composer/blob/master/recipes/home_page_users.rb
2
+ # https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/home_page_users.rb
3
3
 
4
4
  after_bundler do
5
5
 
@@ -41,7 +41,7 @@ __END__
41
41
 
42
42
  name: HomePageUsers
43
43
  description: "Display a list of users on the home page."
44
- author: fortuity
44
+ author: RailsApps
45
45
 
46
46
  category: other
47
47
  tags: [utilities, configuration]
data/recipes/jquery.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # Application template recipe for the rails_apps_composer. Check for a newer version here:
2
- # https://github.com/fortuity/rails_apps_composer/blob/master/recipes/jquery.rb
2
+ # https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/jquery.rb
3
3
 
4
4
  if config['jquery']
5
5
  if recipes.include? 'rails 3.0'
@@ -25,7 +25,7 @@ if config['jquery']
25
25
  # first uncomment "config.action_view.javascript_expansions"
26
26
  gsub_file "config/application.rb", /# config.action_view.javascript_expansions/, "config.action_view.javascript_expansions"
27
27
  # then add "jquery rails" if necessary
28
- gsub_file "config/application.rb", /= \%w\(\)/, "%w(jquery rails)"
28
+ gsub_file "config/application.rb", /= \%w\(\)/, "= %w(jquery rails)"
29
29
  # finally change to "jquery jqueryui rails" if necessary
30
30
  if config['ui']
31
31
  gsub_file "config/application.rb", /jquery rails/, "jquery jqueryui rails"
@@ -53,7 +53,7 @@ __END__
53
53
 
54
54
  name: jQuery
55
55
  description: "Install jQuery (with jQuery UI option) for Rails 3.0 or 3.1."
56
- author: fortuity
56
+ author: RailsApps
57
57
 
58
58
  exclusive: javascript_framework
59
59
  category: assets
data/recipes/mongoid.rb CHANGED
@@ -1,10 +1,10 @@
1
1
  # Application template recipe for the rails_apps_composer. Check for a newer version here:
2
- # https://github.com/fortuity/rails_apps_composer/blob/master/recipes/mongoid.rb
2
+ # https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/mongoid.rb
3
3
 
4
4
  if config['mongoid']
5
5
  say_wizard "REMINDER: When creating a Rails app using Mongoid..."
6
6
  say_wizard "you should add the '-O' flag to 'rails new'"
7
- gem 'bson_ext', '>= 1.3.0'
7
+ gem 'bson_ext', '>= 1.3.1'
8
8
  gem 'mongoid', '>= 2.0.1'
9
9
  else
10
10
  recipes.delete('mongoid')
@@ -25,7 +25,7 @@ __END__
25
25
 
26
26
  name: Mongoid
27
27
  description: "Use Mongoid to connect to a MongoDB database."
28
- author: fortuity
28
+ author: RailsApps
29
29
 
30
30
  category: persistence
31
31
  exclusive: orm
@@ -1,5 +1,5 @@
1
1
  # Application template recipe for the rails_apps_composer. Check for a newer version here:
2
- # https://github.com/fortuity/rails_apps_composer/blob/master/recipes/navigation.rb
2
+ # https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/navigation.rb
3
3
 
4
4
  after_bundler do
5
5
 
@@ -62,7 +62,7 @@ __END__
62
62
 
63
63
  name: Navigation
64
64
  description: "Add navigation links."
65
- author: fortuity
65
+ author: RailsApps
66
66
 
67
67
  category: other
68
68
  tags: [utilities, configuration]
data/recipes/omniauth.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # Application template recipe for the rails_apps_composer. Check for a newer version here:
2
- # https://github.com/fortuity/rails_apps_composer/blob/master/recipes/omniauth.rb
2
+ # https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/omniauth.rb
3
3
 
4
4
  if config['omniauth']
5
5
  gem 'omniauth', '>= 0.2.4'
@@ -137,7 +137,7 @@ __END__
137
137
 
138
138
  name: OmniAuth
139
139
  description: "Utilize OmniAuth for authentication."
140
- author: fortuity
140
+ author: RailsApps
141
141
 
142
142
  exclusive: authentication
143
143
  category: authentication
@@ -1,5 +1,5 @@
1
1
  # Application template recipe for the rails_apps_composer. Check for a newer version here:
2
- # https://github.com/fortuity/rails_apps_composer/blob/master/recipes/omniauth_email.rb
2
+ # https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/omniauth_email.rb
3
3
 
4
4
  after_bundler do
5
5
 
@@ -76,7 +76,7 @@ __END__
76
76
 
77
77
  name: OmniAuthEmail
78
78
  description: "Request a user's email address for an OmniAuth example app."
79
- author: fortuity
79
+ author: RailsApps
80
80
 
81
81
  category: other
82
82
  tags: [utilities, configuration]
data/recipes/rspec.rb CHANGED
@@ -1,10 +1,10 @@
1
1
  # Application template recipe for the rails_apps_composer. Check for a newer version here:
2
- # https://github.com/fortuity/rails_apps_composer/blob/master/recipes/rspec.rb
2
+ # https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/rspec.rb
3
3
 
4
4
  if config['rspec']
5
5
  say_wizard "REMINDER: When creating a Rails app using RSpec..."
6
6
  say_wizard "you should add the '-T' flag to 'rails new'"
7
- gem 'rspec-rails', '>= 2.5.0', :group => [:development, :test]
7
+ gem 'rspec-rails', '>= 2.6.0', :group => [:development, :test]
8
8
  if recipes.include? 'mongoid'
9
9
  # use the database_cleaner gem to reset the test database
10
10
  gem 'database_cleaner', '>= 0.6.7', :group => :test
@@ -96,7 +96,7 @@ __END__
96
96
 
97
97
  name: RSpec
98
98
  description: "Use RSpec instead of TestUnit."
99
- author: fortuity
99
+ author: RailsApps
100
100
 
101
101
  exclusive: unit_testing
102
102
  category: testing
@@ -1,5 +1,5 @@
1
1
  # Application template recipe for the rails_apps_composer. Check for a newer version here:
2
- # https://github.com/fortuity/rails_apps_composer/blob/master/recipes/seed_database.rb
2
+ # https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/seed_database.rb
3
3
 
4
4
 
5
5
  after_bundler do
@@ -36,7 +36,7 @@ __END__
36
36
 
37
37
  name: SeedDatabase
38
38
  description: "Create a database seed file with a default user."
39
- author: fortuity
39
+ author: RailsApps
40
40
 
41
41
  category: other
42
42
  tags: [utilities, configuration]
@@ -1,5 +1,5 @@
1
1
  # Application template recipe for the rails_apps_composer. Check for a newer version here:
2
- # https://github.com/fortuity/rails_apps_composer/blob/master/recipes/users_page.rb
2
+ # https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/users_page.rb
3
3
 
4
4
  after_bundler do
5
5
 
@@ -97,7 +97,7 @@ __END__
97
97
 
98
98
  name: UsersPage
99
99
  description: "Add a users controller and user show page with links from the home page."
100
- author: fortuity
100
+ author: RailsApps
101
101
 
102
102
  category: other
103
103
  tags: [utilities, configuration]
data/templates/layout.erb CHANGED
@@ -9,7 +9,7 @@
9
9
  #
10
10
  # This template was generated by rails_apps_composer, a custom version of
11
11
  # RailsWizard, the application template builder. For more information, see:
12
- # https://github.com/fortuity/rails_apps_composer/
12
+ # https://github.com/RailsApps/rails_apps_composer/
13
13
  #
14
14
  # >---------------------------------------------------------------------------<
15
15
 
@@ -66,4 +66,4 @@ say_wizard "Running 'after everything' callbacks."
66
66
  @current_recipe = nil
67
67
  say_wizard "Finished running the rails_apps_composer app template."
68
68
  say_wizard "Your new Rails app is ready. Any problems?"
69
- say_wizard "See http://github.com/fortuity/rails_apps_composer/issues"
69
+ say_wizard "See http://github.com/RailsApps/rails_apps_composer/issues"
data/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RailsWizard
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.3"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rails_apps_composer
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.0.0
5
+ version: 1.0.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Daniel Kehoe
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-05-17 00:00:00 Z
13
+ date: 2011-05-19 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: i18n
@@ -175,7 +175,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
175
175
  requirements:
176
176
  - - ">="
177
177
  - !ruby/object:Gem::Version
178
- hash: 4261140538500670327
178
+ hash: 1905578387470108079
179
179
  segments:
180
180
  - 0
181
181
  version: "0"
@@ -184,7 +184,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
184
184
  requirements:
185
185
  - - ">="
186
186
  - !ruby/object:Gem::Version
187
- hash: 4261140538500670327
187
+ hash: 1905578387470108079
188
188
  segments:
189
189
  - 0
190
190
  version: "0"