rails_apps_composer 2.6.8 → 2.6.9

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2c18a97d5c0fd32660378a29ffcebc61d899ae1d
4
- data.tar.gz: f493ee949d15dadbc9e12230a301026808eed7b3
3
+ metadata.gz: 744015dfc9483a5beab7f095262a884cff2336a5
4
+ data.tar.gz: fb9304e9be15880ebb8f2c491054fe3fe77a6ce2
5
5
  SHA512:
6
- metadata.gz: fa667dbb4e507a49f42dcd349db800063622ef1b743081eb62e790cd439c5b0a59dc5e88dd927a16c102effe8b52fa1d28c7eebed4e0b492d78b7f7f86a83e7c
7
- data.tar.gz: 1f5152cbcee02c589d16c525fb673377ca0962dd9b045dff91b6a9c2733abf30658b357c681ed81cc45a0ea7399e8a0417d194308117b34110a42b56976d9ff7
6
+ metadata.gz: a3d55c226aefdf2993c46b1b0b56a0e0bb777a3e410a662ba10f1286585484acece934c10ab9199bac9bd191fc672ce19297b7c155071404d81a17346fe1902f
7
+ data.tar.gz: 00749e87664db3b48cbcc7b0fd4f84f9ed7c8c1f2fa3c0a8e0a0a513f547ef3497afcca74cb9c2ad84e3f1fc896758bfa4586a1dba4d48977775f8dba3385014
data/README.textile CHANGED
@@ -422,17 +422,18 @@ Copyright © 2012-2014 Daniel Kehoe
422
422
  h2. Useful Links
423
423
 
424
424
  |_. Getting Started |_. Articles |_. Tutorials |
425
- | "Learn Rails":http://learn-rails.com/ | "Bootstrap and Rails":http://railsapps.github.io/twitter-bootstrap-rails.html | "Rails and Bootstrap":http://railsapps.github.io/rails-bootstrap/ |
426
- | "Ruby and Rails":http://railsapps.github.io/ruby-and-rails.html | "Analytics for Rails":http://railsapps.github.io/rails-google-analytics.html | |
427
- | "What is Ruby on Rails?":http://railsapps.github.io/what-is-ruby-rails.html | "Heroku and Rails":http://railsapps.github.io/rails-heroku-tutorial.html | "Devise with CanCan and Bootstrap":https://tutorials.railsapps.org/rails3-bootstrap-devise-cancan |
428
- | "Rails Tutorial":https://tutorials.railsapps.org/rails-tutorial | "JavaScript and Rails":http://railsapps.github.io/rails-javascript-include-external.html | "Rails Membership Site with Stripe":https://tutorials.railsapps.org/rails-stripe-membership-saas |
429
- | "Installing Rails":http://railsapps.github.io/installing-rails.html | "Rails Environment Variables":http://railsapps.github.io/rails-environment-variables.html | "Rails Subscription Site with Recurly":https://tutorials.railsapps.org/rails-recurly-subscription-saas |
430
- | "Updating Rails":http://railsapps.github.io/updating-rails.html | "Git and Rails":http://railsapps.github.io/rails-git.html | "Startup Prelaunch Signup Application":http://railsapps.github.io/tutorial-rails-prelaunch-signup.html |
431
- | "Rails Composer":http://railsapps.github.io/rails-composer/ | "Email and Rails":http://railsapps.github.io/rails-send-email.html | "Devise with RSpec and Cucumber":http://railsapps.github.io/tutorial-rails-devise-rspec-cucumber.html |
432
- | "Rails Examples":http://railsapps.github.io/ | "Haml and Rails":http://railsapps.github.io/rails-haml.html | "Devise with Mongoid":http://railsapps.github.io/tutorial-rails-mongoid-devise.html |
433
- | "Rails Starter Apps":http://railsapps.github.io/rails-examples-tutorials.html | "Rails Application Layout":http://railsapps.github.io/rails-default-application-layout.html | "OmniAuth with Mongoid":http://railsapps.github.io/tutorial-rails-mongoid-omniauth.html |
434
- | | "HTML5 Boilerplate for Rails":http://railsapps.github.io/rails-html5-boilerplate.html | "Subdomains with Devise":http://railsapps.github.io/tutorial-rails-subdomains.html |
435
- | | "Example Gemfiles for Rails":http://railsapps.github.io/rails-3-2-example-gemfile.html | |
436
- | | "Rails Application Templates":http://railsapps.github.io/rails-application-templates.html | |
425
+ | "Ruby on Rails":http://railsapps.github.io/ruby-and-rails.html | "Analytics for Rails":http://railsapps.github.io/rails-google-analytics.html | "Rails Bootstrap":http://railsapps.github.io/twitter-bootstrap-rails.html |
426
+ | "What is Ruby on Rails?":http://railsapps.github.io/what-is-ruby-rails.html | "Heroku and Rails":http://railsapps.github.io/rails-heroku-tutorial.html | "Rails Foundation":http://railsapps.github.io/rails-foundation.html |
427
+ | "Learn Ruby on Rails":http://learn-rails.com/learn-ruby-on-rails.html | "JavaScript and Rails":http://railsapps.github.io/rails-javascript-include-external.html | "RSpec Tutorial":http://railsapps.github.io/rspec.html |
428
+ | "Rails Tutorial":https://tutorials.railsapps.org/rails-tutorial | "Rails Environment Variables":http://railsapps.github.io/rails-environment-variables.html | "Rails Devise Tutorial":http://railsapps.github.io/tutorial-rails-devise.html |
429
+ | "Ruby on Rails Tutorial for Beginners":http://learn-rails.com/ruby-on-rails-tutorial-for-beginners | "Git and GitHub with Rails":http://railsapps.github.io/rails-git.html | "Devise RSpec":http://railsapps.github.io/tutorial-rails-devise-rspec-cucumber.html |
430
+ | "Install Ruby on Rails":http://railsapps.github.io/installing-rails.html | "Send Email with Rails":http://railsapps.github.io/rails-send-email.html | "Devise Bootstrap":http://railsapps.github.io/tutorial-rails-bootstrap-devise-cancan.html |
431
+ | "Install Ruby on Rails - Mac OS X":http://railsapps.github.io/installrubyonrails-mac.html | "Haml and Rails":http://railsapps.github.io/rails-haml.html | "Rails Membership Site with Stripe":https://tutorials.railsapps.org/rails-stripe-membership-saas |
432
+ | "Install Ruby on Rails - Ubuntu":http://railsapps.github.io/installrubyonrails-ubuntu.html | "Rails Application Layout":http://railsapps.github.io/rails-default-application-layout.html | "Rails Subscription Site with Recurly":https://tutorials.railsapps.org/rails-recurly-subscription-saas |
433
+ | "Ruby on Rails - Nitrous.io":http://railsapps.github.io/rubyonrails-nitrous-io.html | "HTML5 Boilerplate for Rails":http://railsapps.github.io/rails-html5-boilerplate.html | "Startup Prelaunch Signup Application":https://tutorials.railsapps.org/rails-prelaunch-signup |
434
+ | "Update Rails":http://railsapps.github.io/updating-rails.html | "Example Gemfiles for Rails":http://railsapps.github.io/rails-3-2-example-gemfile.html |
435
+ | "Rails Composer":http://railsapps.github.io/rails-composer/ | "Rails Application Templates":http://railsapps.github.io/rails-application-templates.html |
436
+ | "Rails Examples":http://railsapps.github.io/ | "Rails Product Planning":http://railsapps.github.io/rails-product-planning.html |
437
+ | "Rails Starter Apps":http://railsapps.github.io/rails-examples-tutorials.html | "Rails Project Management":http://railsapps.github.io/rails-project-management.html |
437
438
 
438
439
  !https://cruel-carlota.pagodabox.com/1f4f51c551cd90489a558e5fe4d91fff(githalytics.com alpha)!
data/recipes/init.rb CHANGED
@@ -38,10 +38,10 @@ after_everything do
38
38
  foreman_cancan = "ROLES=[admin, user, VIP]\n\n"
39
39
  figaro_cancan = foreman_cancan.gsub('=', ': ')
40
40
  ## EMAIL
41
+ inject_into_file 'config/secrets.yml', "\n" + " domain_name: example.com", :after => "development:" if rails_4_1?
42
+ inject_into_file 'config/secrets.yml', "\n" + " domain_name: <%= ENV[\"DOMAIN_NAME\"] %>", :after => "production:" if rails_4_1?
43
+ inject_into_file 'config/secrets.yml', "\n" + secrets_email, :after => "development:" if rails_4_1?
41
44
  unless prefer :email, 'none'
42
- inject_into_file 'config/secrets.yml', "\n" + " domain_name: example.com", :after => "development:" if rails_4_1?
43
- inject_into_file 'config/secrets.yml', "\n" + " domain_name: <%= ENV[\"DOMAIN_NAME\"] %>", :after => "production:" if rails_4_1?
44
- inject_into_file 'config/secrets.yml', "\n" + secrets_email, :after => "development:" if rails_4_1?
45
45
  ### 'inject_into_file' doesn't let us inject the same text twice unless we append the extra space, why?
46
46
  inject_into_file 'config/secrets.yml', "\n" + secrets_email + " ", :after => "production:" if rails_4_1?
47
47
  append_file '.env', foreman_email if prefer :local_env_file, 'foreman'
data/recipes/railsapps.rb CHANGED
@@ -41,7 +41,7 @@ when "4"
41
41
  end
42
42
  when 'contributed_app'
43
43
  prefs[:apps4] = multiple_choice "No contributed applications are available.",
44
- [["continue", "railsapps"]]
44
+ [["create custom application", "railsapps"]]
45
45
  end
46
46
  end
47
47
 
data/recipes/routes.rb CHANGED
@@ -30,7 +30,10 @@ after_bundler do
30
30
  ### SUBDOMAINS ###
31
31
  copy_from_repo 'lib/subdomain.rb', :repo => 'https://raw.github.com/RailsApps/rails3-subdomains/master/' if prefer :starter_app, 'subdomains_app'
32
32
  copy_from_repo 'config/routes.rb', :repo => 'https://raw.github.com/RailsApps/rails3-subdomains/master/' if prefer :starter_app, 'subdomains_app'
33
- unless rails_4_1?
33
+ if rails_4_1?
34
+ # replaces application name copied from rails3-devise-rspec-cucumber repo
35
+ gsub_file 'config/routes.rb', /^.*.routes.draw do/, "Rails.application.routes.draw do"
36
+ else
34
37
  # correct application name
35
38
  gsub_file 'config/routes.rb', /^.*.routes.draw do/, "#{app_const}.routes.draw do"
36
39
  end
data/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RailsWizard
2
- VERSION = "2.6.8"
2
+ VERSION = "2.6.9"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_apps_composer
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.8
4
+ version: 2.6.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Kehoe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-26 00:00:00.000000000 Z
11
+ date: 2014-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n