rails_apps_composer 1.4.7 → 1.4.8
Sign up to get free protection for your applications and to get access to all the features.
- data/recipes/extras.rb +12 -1
- data/recipes/html5.rb +3 -0
- data/version.rb +1 -1
- metadata +4 -4
data/recipes/extras.rb
CHANGED
@@ -28,6 +28,14 @@ if config['paginate']
|
|
28
28
|
recipes << 'paginate'
|
29
29
|
end
|
30
30
|
|
31
|
+
if config['jsruntime']
|
32
|
+
say_wizard "Adding 'therubyracer' JavaScript runtime gem"
|
33
|
+
# maybe it was already added by the html5 recipe for bootstrap_less?
|
34
|
+
unless recipes.include? 'jsruntime'
|
35
|
+
gem 'therubyracer', :group => :assets, :platform => :ruby
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
31
39
|
__END__
|
32
40
|
|
33
41
|
name: Extras
|
@@ -46,4 +54,7 @@ config:
|
|
46
54
|
prompt: Would you like to set a robots.txt file to ban spiders?
|
47
55
|
- paginate:
|
48
56
|
type: boolean
|
49
|
-
prompt: Would you like to add 'will_paginate' for pagination?
|
57
|
+
prompt: Would you like to add 'will_paginate' for pagination?
|
58
|
+
- jsruntime:
|
59
|
+
type: boolean
|
60
|
+
prompt: Add 'therubyracer' JavaScript runtime (for Linux users without node.js)?
|
data/recipes/html5.rb
CHANGED
@@ -11,7 +11,10 @@ case config['css_option']
|
|
11
11
|
# https://github.com/seyhunak/twitter-bootstrap-rails
|
12
12
|
# http://railscasts.com/episodes/328-twitter-bootstrap-basics
|
13
13
|
gem 'twitter-bootstrap-rails', '>= 2.0.3', :group => :assets
|
14
|
+
# please install gem 'therubyracer' to use Less
|
15
|
+
gem 'therubyracer', :group => :assets, :platform => :ruby
|
14
16
|
recipes << 'bootstrap'
|
17
|
+
recipes << 'jsruntime'
|
15
18
|
|
16
19
|
when 'bootstrap_sass'
|
17
20
|
# https://github.com/thomas-mcdonald/bootstrap-sass
|
data/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_apps_composer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.8
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-04-
|
12
|
+
date: 2012-04-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: i18n
|
@@ -224,7 +224,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
224
224
|
version: '0'
|
225
225
|
segments:
|
226
226
|
- 0
|
227
|
-
hash:
|
227
|
+
hash: 3458666525967832940
|
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:
|
236
|
+
hash: 3458666525967832940
|
237
237
|
requirements: []
|
238
238
|
rubyforge_project: rails_apps_composer
|
239
239
|
rubygems_version: 1.8.23
|