kazan 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kazan/generators/app_generator.rb +7 -8
- data/lib/kazan/version.rb +1 -1
- data/templates/spec_helper.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: 8730943cef0edadb092bee293a961a9a53623546
|
4
|
+
data.tar.gz: 1dc5f006042279ddbdc2c4a61c5dc777c0d22c8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4dab6138955c104fb959ca95cabb6a390693cf44d557c62a70cb86b753d7daed252b7bd696821000d5fad9678e3ed0534e70ba9b143fd23e4c1f66d7bbef9bca
|
7
|
+
data.tar.gz: 55f16c278e32fb494f5026a68757420dd1428203ab051c3e23f13d312c0beb5f263b70bdd0eaeb58f98177f67dc748731835b9f83dd33dfbe8f7a248364363cc
|
@@ -21,6 +21,7 @@ module Kazan
|
|
21
21
|
end
|
22
22
|
|
23
23
|
def customization
|
24
|
+
invoke :setup_gitignore
|
24
25
|
invoke :setup_ruby
|
25
26
|
invoke :setup_gems
|
26
27
|
invoke :setup_secrets
|
@@ -35,8 +36,6 @@ module Kazan
|
|
35
36
|
invoke :setup_helpers
|
36
37
|
end
|
37
38
|
|
38
|
-
invoke :setup_clockwork if options[:clockwork]
|
39
|
-
invoke :setup_sidekiq if options[:sidekiq]
|
40
39
|
invoke :setup_static if options[:static]
|
41
40
|
|
42
41
|
invoke :setup_error_pages
|
@@ -47,6 +46,12 @@ module Kazan
|
|
47
46
|
invoke :outro
|
48
47
|
end
|
49
48
|
|
49
|
+
def setup_gitignore
|
50
|
+
say 'Setup gitignore'
|
51
|
+
|
52
|
+
build :gitignore
|
53
|
+
end
|
54
|
+
|
50
55
|
def setup_ruby
|
51
56
|
say 'Setup ruby'
|
52
57
|
build :ruby_version
|
@@ -124,12 +129,6 @@ module Kazan
|
|
124
129
|
build :rack_mini_profiler_config
|
125
130
|
end
|
126
131
|
|
127
|
-
def setup_clockwork
|
128
|
-
end
|
129
|
-
|
130
|
-
def setup_sidekiq
|
131
|
-
end
|
132
|
-
|
133
132
|
def setup_static
|
134
133
|
say 'Setup static'
|
135
134
|
|
data/lib/kazan/version.rb
CHANGED
data/templates/spec_helper.rb
CHANGED
@@ -18,7 +18,7 @@ RSpec.configure do |config|
|
|
18
18
|
config.example_status_persistence_file_path = 'tmp/rspec_examples.txt'
|
19
19
|
config.order = :random
|
20
20
|
|
21
|
-
|
21
|
+
# config.infer_spec_type_from_file_location!
|
22
22
|
end
|
23
23
|
|
24
24
|
WebMock.disable_net_connect!(allow_localhost: true)
|
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.2.
|
4
|
+
version: 0.2.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-10-
|
11
|
+
date: 2016-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|