kazan 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kazan/app_builder.rb +8 -0
- data/lib/kazan/generators/app_generator.rb +1 -7
- data/lib/kazan/version.rb +1 -1
- data/templates/application.scss +0 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92a09a82f5c5171eaa603476f36bd52dccb0e2bf
|
4
|
+
data.tar.gz: 7f75e22fa996c23e02264eda3b3ecc560091c12d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ecaee3fd71efd1412b65f6ae2a49ee4a0775442d3134a1850673ff6bd21c1e1cedffc7ed03712b1369f608520cab625cf2c24d9b4f71177b37929ea2ded3a5c3
|
7
|
+
data.tar.gz: c4d07628c166eead5b18cc9efd205591c3c581e7823893324de97c9d5f439ca5a80652c5fba3367c9300fdd7eadcef2d72da0a24dba7ba70cb1875ac76c1b91f
|
data/lib/kazan/app_builder.rb
CHANGED
@@ -141,6 +141,14 @@ module Kazan
|
|
141
141
|
inject_into_class 'config/application.rb', 'Application', config
|
142
142
|
end
|
143
143
|
|
144
|
+
def remove_turbolinks
|
145
|
+
replace_in_file(
|
146
|
+
"app/assets/javascripts/application.js",
|
147
|
+
"//= require turbolinks",
|
148
|
+
""
|
149
|
+
)
|
150
|
+
end
|
151
|
+
|
144
152
|
def stylesheets_gems
|
145
153
|
gems = <<-RUBY
|
146
154
|
|
@@ -21,7 +21,6 @@ module Kazan
|
|
21
21
|
end
|
22
22
|
|
23
23
|
def customization
|
24
|
-
invoke :setup_gitignore
|
25
24
|
invoke :setup_ruby
|
26
25
|
invoke :setup_gems
|
27
26
|
invoke :setup_secrets
|
@@ -46,12 +45,6 @@ module Kazan
|
|
46
45
|
invoke :outro
|
47
46
|
end
|
48
47
|
|
49
|
-
def setup_gitignore
|
50
|
-
say 'Setup gitignore'
|
51
|
-
|
52
|
-
build :gitignore
|
53
|
-
end
|
54
|
-
|
55
48
|
def setup_ruby
|
56
49
|
say 'Setup ruby'
|
57
50
|
build :ruby_version
|
@@ -132,6 +125,7 @@ module Kazan
|
|
132
125
|
def setup_static
|
133
126
|
say 'Setup static'
|
134
127
|
|
128
|
+
build :remove_turbolinks
|
135
129
|
build :stylesheets_gems
|
136
130
|
build :stylesheets_manifest
|
137
131
|
build :refils
|
data/lib/kazan/version.rb
CHANGED
data/templates/application.scss
CHANGED