rails_apps_composer 3.1.1 → 3.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/recipes/gems.rb +2 -1
- data/recipes/pages.rb +1 -0
- data/recipes/setup.rb +2 -1
- data/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b1b566ae99171a1260e2f81c712f2b1255c1a1d
|
4
|
+
data.tar.gz: 5d77deb03ee95cbf9a34aa7758a228eb0e589082
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8825bf8ca17a727562f65e9f0f25705fc622315233ff6e18475ea5605d7f5bde7734b6597c04d5edf4128f119d8e088821a3c88b20763cb8c86132393978ecc3
|
7
|
+
data.tar.gz: ee50e325a8a962e4f97157722352453a20f034809ef225c1d351fe56871dcdf30e60ae1d3809b9cdbd9ff4c2eb2c191fe50722268ec0d4cd3a493014eada6ee8
|
data/recipes/gems.rb
CHANGED
@@ -107,8 +107,9 @@ if prefer :authentication, 'devise'
|
|
107
107
|
add_gem 'devise_invitable' if prefer :devise_modules, 'invitable'
|
108
108
|
end
|
109
109
|
|
110
|
-
## Administratative Interface
|
110
|
+
## Administratative Interface
|
111
111
|
add_gem 'upmin-admin' if prefer :dashboard, 'upmin'
|
112
|
+
add_gem 'administrate' if prefer :dashboard, 'administrate'
|
112
113
|
|
113
114
|
## Authentication (OmniAuth)
|
114
115
|
add_gem 'omniauth' if prefer :authentication, 'omniauth'
|
data/recipes/pages.rb
CHANGED
@@ -19,6 +19,7 @@ stage_two do
|
|
19
19
|
generate 'pages:authorized -f' if prefer :authorization, 'pundit'
|
20
20
|
end
|
21
21
|
generate 'pages:upmin -f' if prefer :dashboard, 'upmin'
|
22
|
+
generate 'administrate:install' if prefer :dashboard, 'administrate'
|
22
23
|
### GIT ###
|
23
24
|
git :add => '-A' if prefer :git, true
|
24
25
|
git :commit => '-qm "rails_apps_composer: add pages"' if prefer :git, true
|
data/recipes/setup.rb
CHANGED
@@ -73,7 +73,8 @@ if (recipes.include? 'devise') || (recipes.include? 'omniauth')
|
|
73
73
|
prefs[:authorization] = multiple_choice "Authorization?", [["None", "none"], ["Simple role-based", "roles"], ["Pundit", "pundit"]] unless prefs.has_key? :authorization
|
74
74
|
if prefer :authentication, 'devise'
|
75
75
|
if (prefer :authorization, 'roles') || (prefer :authorization, 'pundit')
|
76
|
-
prefs[:dashboard] = multiple_choice "Admin interface for database?", [["None", "none"],
|
76
|
+
prefs[:dashboard] = multiple_choice "Admin interface for database?", [["None", "none"],
|
77
|
+
["Thoughtbot Administrate", "administrate"], ["Upmin", "upmin"]] unless prefs.has_key? :dashboard
|
77
78
|
end
|
78
79
|
end
|
79
80
|
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: 3.1.
|
4
|
+
version: 3.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Kehoe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|
@@ -184,7 +184,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
184
184
|
version: '0'
|
185
185
|
requirements: []
|
186
186
|
rubyforge_project: rails_apps_composer
|
187
|
-
rubygems_version: 2.
|
187
|
+
rubygems_version: 2.5.0
|
188
188
|
signing_key:
|
189
189
|
specification_version: 4
|
190
190
|
summary: A version of the RailsWizard gem with custom recipes for Rails starter apps.
|