rails_apps_composer 3.0.15 → 3.0.16
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/recipes/gems.rb +3 -0
- data/recipes/learn_rails.rb +1 -0
- data/recipes/pages.rb +1 -0
- data/recipes/rails_bootstrap.rb +1 -0
- data/recipes/rails_devise.rb +1 -0
- data/recipes/rails_foundation.rb +1 -0
- data/recipes/rails_mailinglist_signup.rb +1 -0
- data/recipes/rails_omniauth.rb +1 -0
- data/recipes/setup.rb +5 -0
- 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: 8bf5f3c677f7b089185fdab6832e6e30e152d2cf
|
|
4
|
+
data.tar.gz: f6966cc5dac42836889f4a0e076e8b4b250fc138
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 067712b4678e1c5c870e1f3243f865cf759fdf9170eb3977118738c45f369ca6eb1d5296b8eec62052b4d476902c5f8fff1cb4ae535fde6a14cfee79f4752448
|
|
7
|
+
data.tar.gz: 3c4d5beef38d0d75e3903003aee3e80972aed2ce279dfea1dd1eb4e21dae62138cd036fbcf508eda20197d78c3a0a5da91426252571e6bda2cd8c16878bd179d
|
data/recipes/gems.rb
CHANGED
|
@@ -109,6 +109,9 @@ if prefer :authentication, 'devise'
|
|
|
109
109
|
end
|
|
110
110
|
add_gem 'devise_invitable' if prefer :devise_modules, 'invitable'
|
|
111
111
|
|
|
112
|
+
## Administratative Interface (Upmin)
|
|
113
|
+
add_gem 'upmin-admin' if prefer :dashboard, 'upmin'
|
|
114
|
+
|
|
112
115
|
## Authentication (OmniAuth)
|
|
113
116
|
add_gem 'omniauth' if prefer :authentication, 'omniauth'
|
|
114
117
|
add_gem 'omniauth-twitter' if prefer :omniauth_provider, 'twitter'
|
data/recipes/learn_rails.rb
CHANGED
data/recipes/pages.rb
CHANGED
|
@@ -18,6 +18,7 @@ stage_two do
|
|
|
18
18
|
generate 'pages:roles -f' if prefer :authorization, 'roles'
|
|
19
19
|
generate 'pages:authorized -f' if prefer :authorization, 'pundit'
|
|
20
20
|
end
|
|
21
|
+
generate 'pages:upmin -f' if prefer :dashboard, 'upmin'
|
|
21
22
|
generate 'layout:navigation -f'
|
|
22
23
|
### GIT ###
|
|
23
24
|
git :add => '-A' if prefer :git, true
|
data/recipes/rails_bootstrap.rb
CHANGED
data/recipes/rails_devise.rb
CHANGED
data/recipes/rails_foundation.rb
CHANGED
data/recipes/rails_omniauth.rb
CHANGED
data/recipes/setup.rb
CHANGED
|
@@ -83,6 +83,11 @@ if (recipes.include? 'devise') || (recipes.include? 'omniauth')
|
|
|
83
83
|
["LinkedIn", "linkedin"], ["Google-Oauth-2", "google_oauth2"], ["Tumblr", "tumblr"]] unless prefs.has_key? :omniauth_provider
|
|
84
84
|
end
|
|
85
85
|
prefs[:authorization] = multiple_choice "Authorization?", [["None", "none"], ["Simple role-based", "roles"], ["Pundit", "pundit"]] unless prefs.has_key? :authorization
|
|
86
|
+
if prefer :authentication, 'devise'
|
|
87
|
+
if (prefer :authorization, 'roles') || (prefer :authorization, 'pundit')
|
|
88
|
+
prefs[:dashboard] = multiple_choice "Admin interface for database?", [["None", "none"], ["Upmin", "upmin"]] unless prefs.has_key? :dashboard
|
|
89
|
+
end
|
|
90
|
+
end
|
|
86
91
|
end
|
|
87
92
|
|
|
88
93
|
## Form Builder
|
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: 3.0.
|
|
4
|
+
version: 3.0.16
|
|
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-09-
|
|
11
|
+
date: 2014-09-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: i18n
|