thyone_creator 0.0.3 → 0.0.4

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.
Files changed (3) hide show
  1. data/recipes/extras.rb +14 -0
  2. data/version.rb +1 -1
  3. metadata +3 -3
data/recipes/extras.rb CHANGED
@@ -28,6 +28,17 @@ if config['paginate']
28
28
  recipes << 'paginate'
29
29
  end
30
30
 
31
+ if config['navigation']
32
+ say_wizard "Adding 'simple-navigation'"
33
+ gem 'simple-navigation'
34
+
35
+ after_bundler do
36
+ generate 'navigation_config'
37
+ end
38
+
39
+ recipes << 'navigation'
40
+ end
41
+
31
42
  if config['jsruntime']
32
43
  say_wizard "Adding 'therubyracer' JavaScript runtime gem"
33
44
  # maybe it was already added by the html5 recipe for bootstrap_less?
@@ -72,6 +83,9 @@ config:
72
83
  - paginate:
73
84
  type: boolean
74
85
  prompt: Would you like to add 'kaminari' for pagination?
86
+ - navigation:
87
+ type: boolean
88
+ prompt: Would you like to add 'simple-navigation' for navigation?
75
89
  - jsruntime:
76
90
  type: boolean
77
91
  prompt: Add 'therubyracer' JavaScript runtime (for Linux users without node.js)?
data/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RailsWizard
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thyone_creator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -224,7 +224,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
224
224
  version: '0'
225
225
  segments:
226
226
  - 0
227
- hash: 4076943475739101775
227
+ hash: 1673836940887641943
228
228
  required_rubygems_version: !ruby/object:Gem::Requirement
229
229
  none: false
230
230
  requirements:
@@ -233,7 +233,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
233
233
  version: '0'
234
234
  segments:
235
235
  - 0
236
- hash: 4076943475739101775
236
+ hash: 1673836940887641943
237
237
  requirements: []
238
238
  rubyforge_project: thyone_creator
239
239
  rubygems_version: 1.8.24