rails_apps_composer 3.0.37 → 3.0.38
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/recipes/extras.rb +8 -1
- 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: 74a107aed86cfae5722b483a21c65617bacc72fa
|
4
|
+
data.tar.gz: 97f1c4c4929932895a309dc15716eabb1a353f5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7741a71f1b38ef6518c78736dfd9b566c209c4fde3f948cebd80b9a5b91349a5e1d605337492978bdaa2a17a80f636972109a051e92c642998e095547225646e
|
7
|
+
data.tar.gz: f416edf4eb6424e703262d9b7dd3d88277cdad50f9121a8bab1793a54752105e28f43823217a49d37e321ef9ba6e3c7908a083bbbff1c612fe0b6f0f1d1b9862
|
data/recipes/extras.rb
CHANGED
@@ -140,7 +140,14 @@ if prefs[:disable_turbolinks]
|
|
140
140
|
say_wizard "recipe stage two"
|
141
141
|
gsub_file 'Gemfile', /gem 'turbolinks'\n/, ''
|
142
142
|
gsub_file 'app/assets/javascripts/application.js', "//= require turbolinks\n", ''
|
143
|
-
|
143
|
+
case prefs[:templates]
|
144
|
+
when 'erb'
|
145
|
+
gsub_file 'app/views/layouts/application.html.erb', /, 'data-turbolinks-track' => true/, ''
|
146
|
+
when 'haml'
|
147
|
+
gsub_file 'app/views/layouts/application.html.haml', /, 'data-turbolinks-track' => true/, ''
|
148
|
+
when 'slim'
|
149
|
+
gsub_file 'app/views/layouts/application.html.slim', /, 'data-turbolinks-track' => true/, ''
|
150
|
+
end
|
144
151
|
end
|
145
152
|
end
|
146
153
|
|
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.38
|
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-04-
|
11
|
+
date: 2015-04-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|