rails_apps_composer 3.1.1 → 3.1.2

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: 5837faae2ef8d9335161c68cca474b29b3db7bbd
4
- data.tar.gz: 6921dcca0f2781f9e16b47758b679a2a4aa24566
3
+ metadata.gz: 1b1b566ae99171a1260e2f81c712f2b1255c1a1d
4
+ data.tar.gz: 5d77deb03ee95cbf9a34aa7758a228eb0e589082
5
5
  SHA512:
6
- metadata.gz: 4927834ddf982969cd2286758a2087904ab111f26591330413d06bec0aab07dcbe8b02c203c74c7ce9b6a36ae0f137e6800c1e23e34738ee603b571501b8a007
7
- data.tar.gz: f403f832b68bd9ed28e0893c29cf9685cd19588e074b8b65badbf4bff6eea12de3014f382541273e5cffc78955aa86ef7b6698ff72e7de46d8cb61e59ee02640
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 (Upmin)
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"], ["Upmin", "upmin"]] unless prefs.has_key? :dashboard
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
@@ -1,3 +1,3 @@
1
1
  module RailsWizard
2
- VERSION = "3.1.1"
2
+ VERSION = "3.1.2"
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: 3.1.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-06 00:00:00.000000000 Z
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.4.8
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.