kazan 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/kazan/app_builder.rb +2 -1
- data/lib/kazan/generators/app_generator.rb +11 -8
- data/lib/kazan/version.rb +1 -1
- data/templates/{application.html.erb → _application.html.erb} +0 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58853891fe8da4be3358010f40f2a01ef1627fa4
|
4
|
+
data.tar.gz: 2aaded8479739ef637e4cadc8e4c0cf1af6bee5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c695920aca3d9de686e53c47a11e69d3bf74ee8f5fd0714e2b4754d14068cddae00464d9069b1b464e823361f0fd5a9718a629bd50c3f633fa35eb9e7eef998
|
7
|
+
data.tar.gz: 27899722fd8c02e3f8bb5879b94eb2aa08f1d3e4e0b07f50e596797d98badd43dcdbae9637d96b01daa0c0bc3a1a42886b7a46f6f21740b5547f0326b4bf2dc9
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Kazan creates rails project and setups predefined gems and tools.
|
4
4
|
|
5
|
-
![img](http://res.cloudinary.com/dtoqqxqjv/image/upload/c_scale,
|
5
|
+
![img](http://res.cloudinary.com/dtoqqxqjv/image/upload/c_scale,w_300/v1480266858/imageedit_4_6229938689_bt8x5c.png)
|
6
6
|
|
7
7
|
## Installation
|
8
8
|
|
data/lib/kazan/app_builder.rb
CHANGED
@@ -61,7 +61,7 @@ module Kazan
|
|
61
61
|
end
|
62
62
|
|
63
63
|
def shared_layout
|
64
|
-
copy_file '
|
64
|
+
copy_file '_application.html.erb', 'app/views/layouts/application.html.erb', force: true
|
65
65
|
end
|
66
66
|
|
67
67
|
def assets_config
|
@@ -153,6 +153,7 @@ module Kazan
|
|
153
153
|
|
154
154
|
gem 'bourbon', '5.0.0.beta.6'
|
155
155
|
gem 'neat', '~> 1.8.0'
|
156
|
+
gem 'bitters'
|
156
157
|
gem 'refills', group: [:development, :test]
|
157
158
|
RUBY
|
158
159
|
|
@@ -116,6 +116,7 @@ module Kazan
|
|
116
116
|
build :shared_javascript
|
117
117
|
build :shared_styles
|
118
118
|
build :assets_config
|
119
|
+
build :shared_layout
|
119
120
|
end
|
120
121
|
end
|
121
122
|
|
@@ -127,14 +128,16 @@ module Kazan
|
|
127
128
|
end
|
128
129
|
|
129
130
|
def setup_static
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
131
|
+
unless options[:api]
|
132
|
+
if options[:static]
|
133
|
+
say 'Setup static'
|
134
|
+
|
135
|
+
build :remove_turbolinks
|
136
|
+
build :stylesheets_gems
|
137
|
+
build :stylesheets_manifest
|
138
|
+
build :refils
|
139
|
+
build :bitters
|
140
|
+
end
|
138
141
|
end
|
139
142
|
end
|
140
143
|
|
data/lib/kazan/version.rb
CHANGED
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kazan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marat Khusnetdinov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -102,11 +102,11 @@ files:
|
|
102
102
|
- templates/Gemfile.erb
|
103
103
|
- templates/Procfile.erb
|
104
104
|
- templates/README.md.erb
|
105
|
+
- templates/_application.html.erb
|
105
106
|
- templates/_flashes.html.erb
|
106
107
|
- templates/_javascript.html.erb
|
107
108
|
- templates/_styles.html.erb
|
108
109
|
- templates/action_mailer.rb
|
109
|
-
- templates/application.html.erb
|
110
110
|
- templates/application.scss
|
111
111
|
- templates/browserslist
|
112
112
|
- templates/bullet.rb
|