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 +4 -4
- data/README.textile +13 -12
- data/recipes/init.rb +3 -3
- data/recipes/railsapps.rb +1 -1
- data/recipes/routes.rb +4 -1
- data/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 744015dfc9483a5beab7f095262a884cff2336a5
|
|
4
|
+
data.tar.gz: fb9304e9be15880ebb8f2c491054fe3fe77a6ce2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
| "
|
|
426
|
-
| "Ruby
|
|
427
|
-
| "
|
|
428
|
-
| "Rails Tutorial":https://tutorials.railsapps.org/rails-tutorial |
|
|
429
|
-
| "
|
|
430
|
-
| "
|
|
431
|
-
| "Rails
|
|
432
|
-
| "Rails
|
|
433
|
-
| "Rails
|
|
434
|
-
|
|
|
435
|
-
|
|
|
436
|
-
|
|
|
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
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
|
-
|
|
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
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.
|
|
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-
|
|
11
|
+
date: 2014-05-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: i18n
|