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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 614d5d3b5a14971612d1ed5743735cbd7aaf1467
4
- data.tar.gz: fd5e8a580f3b26ff5c8c4780e2bfb0db2b881711
3
+ metadata.gz: 58853891fe8da4be3358010f40f2a01ef1627fa4
4
+ data.tar.gz: 2aaded8479739ef637e4cadc8e4c0cf1af6bee5b
5
5
  SHA512:
6
- metadata.gz: ba46df0a95d2bfd5525eab987eea55ba854118e80e775f4034572e9ae4ffc71ffe451c932a39e4663d54cf756b5b0470f5e078989e44ced40256c29ecc0dd818
7
- data.tar.gz: 84996a8f37d621d97e07b4abbcf6d930bc6f150e8ee537c348354344e94173dd046c1f13ee40ecd6bddff81724bdd568dcdb773a96adee1a83ddbb2bdf39a2df
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,w_240/v1476011701/147601141068782_rgcl3z.png)
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
 
@@ -61,7 +61,7 @@ module Kazan
61
61
  end
62
62
 
63
63
  def shared_layout
64
- copy_file 'application.html.erb', 'app/views/layouts/application.html.erb', force: true
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
- if options[:static] && !options[:api]
131
- say 'Setup static'
132
-
133
- build :remove_turbolinks
134
- build :stylesheets_gems
135
- build :stylesheets_manifest
136
- build :refils
137
- build :bitters
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
@@ -1,5 +1,5 @@
1
1
  module Kazan
2
- VERSION = '0.3.0'.freeze
2
+ VERSION = '0.3.1'.freeze
3
3
  RAILS_VERSION = '~> 5.0.0'.freeze
4
4
  RUBY_PROJECT_VERSION = IO.read("#{File.dirname(__FILE__)}/../../.ruby-version").strip.freeze
5
5
  end
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.0
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: 2016-11-27 00:00:00.000000000 Z
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