kazan 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.ruby-version +1 -1
- data/.travis.yml +1 -1
- data/README.md +1 -1
- data/lib/kazan/app_builder.rb +2 -2
- data/lib/kazan/generators/app_generator.rb +1 -1
- data/lib/kazan/version.rb +1 -1
- data/spec/project_spec.rb +1 -1
- data/templates/Gemfile.api.erb +3 -3
- data/templates/Gemfile.erb +2 -2
- data/templates/factory_bot.rb +3 -0
- metadata +4 -4
- data/templates/factory_girl.rb +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 8598c93ee60bf9636d66598cf52dd49fdd54fb79df3f310a914c1bb95e83c54d
|
4
|
+
data.tar.gz: e0608cb63584f1855dc15dea343b128437213daa4a5d5d175d2589806b031629
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c8568b6a629b898001006a717e9210decd7498303b42b1f889154c1ccbb7894af821166561806f17870fe63b98fe7f2920cca76ccbfcadf0c61c979fb056d12
|
7
|
+
data.tar.gz: feeb88954aecff972e6c20b112bc3b1eb31c9c412250d873aea4b2ff6894ee13fadec23b52dd8a6840e6141bc56c05bacb6979ab61d10ca3f7e540d3bf732241
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.5.0
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -62,7 +62,7 @@ It includes development gems:
|
|
62
62
|
It includes tests gems:
|
63
63
|
- [Capybara](https://github.com/jnicklas/capybara) [API EXCLUDED] helps you test web applications by simulating how a real user would interact with your app.
|
64
64
|
- [Database Cleaner](https://github.com/DatabaseCleaner/database_cleaner) is a set of strategies for cleaning your database in Ruby.
|
65
|
-
- [Factory
|
65
|
+
- [Factory Bot](https://github.com/thoughtbot/factory_bot) is a fixtures replacement with a straightforward definition syntax.
|
66
66
|
- [Faker](https://github.com/stympy/faker) a port of Perl's Data::Faker library that generates fake data.
|
67
67
|
- [Formulaic](https://github.com/thoughtbot/formulaic) [API EXCLUDED] the tedium of formulaic form filling with Capybara.
|
68
68
|
- [I18n-Tasks](https://github.com/glebm/i18n-tasks) [API EXCLUDED] Gem that helps manage locales and test if are there problems.
|
data/lib/kazan/app_builder.rb
CHANGED
@@ -208,8 +208,8 @@ module Kazan
|
|
208
208
|
copy_file 'shoulda_matchers.rb', 'spec/support/shoulda_matchers.rb'
|
209
209
|
end
|
210
210
|
|
211
|
-
def
|
212
|
-
copy_file '
|
211
|
+
def spec_factory_bot_config
|
212
|
+
copy_file 'factory_bot.rb', 'spec/support/factory_bot.rb'
|
213
213
|
end
|
214
214
|
|
215
215
|
def rspec_config
|
data/lib/kazan/version.rb
CHANGED
data/spec/project_spec.rb
CHANGED
data/templates/Gemfile.api.erb
CHANGED
@@ -2,12 +2,12 @@ source "https://rubygems.org"
|
|
2
2
|
ruby "<%= Kazan::RUBY_PROJECT_VERSION %>"
|
3
3
|
|
4
4
|
gem 'rails', "<%= Kazan::RAILS_VERSION %>"
|
5
|
-
gem 'rails-i18n'
|
5
|
+
gem 'rails-i18n', '~> 5.0.0'
|
6
6
|
gem 'dotenv-rails'
|
7
7
|
gem 'config'
|
8
|
-
|
9
8
|
gem 'pg'
|
10
9
|
|
10
|
+
|
11
11
|
gem 'rollbar'
|
12
12
|
|
13
13
|
gem 'puma'
|
@@ -28,7 +28,7 @@ group :development, :test do
|
|
28
28
|
gem 'bullet'
|
29
29
|
gem 'bundler-audit', '>= 0.5.0', require: false
|
30
30
|
gem 'faker'
|
31
|
-
gem '
|
31
|
+
gem 'factory_bot_rails'
|
32
32
|
gem 'pry-byebug'
|
33
33
|
gem 'pry-rails'
|
34
34
|
gem 'rspec-rails', '~> 3.5.0.beta4'
|
data/templates/Gemfile.erb
CHANGED
@@ -2,7 +2,7 @@ source 'https://rubygems.org'
|
|
2
2
|
ruby "<%= Kazan::RUBY_PROJECT_VERSION %>"
|
3
3
|
|
4
4
|
gem 'rails', "<%= Kazan::RAILS_VERSION %>"
|
5
|
-
gem 'rails-i18n'
|
5
|
+
gem 'rails-i18n', '~> 5.0.0'
|
6
6
|
gem 'dotenv-rails'
|
7
7
|
gem 'config'
|
8
8
|
|
@@ -41,7 +41,7 @@ group :development, :test do
|
|
41
41
|
gem 'bullet'
|
42
42
|
gem 'bundler-audit', '>= 0.5.0', require: false
|
43
43
|
gem 'faker'
|
44
|
-
gem '
|
44
|
+
gem 'factory_bot_rails'
|
45
45
|
gem 'pry-byebug'
|
46
46
|
gem 'pry-rails'
|
47
47
|
gem 'rspec-rails', '~> 3.5.0.beta4'
|
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.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marat Khusnetdinov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-12-
|
11
|
+
date: 2017-12-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -116,7 +116,7 @@ files:
|
|
116
116
|
- templates/envs/.env.local.example
|
117
117
|
- templates/envs/.env.production
|
118
118
|
- templates/errors.rb
|
119
|
-
- templates/
|
119
|
+
- templates/factory_bot.rb
|
120
120
|
- templates/flashes_helper.rb
|
121
121
|
- templates/i18n-tasks.yml
|
122
122
|
- templates/i18n.rb
|
@@ -152,7 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
152
152
|
version: '0'
|
153
153
|
requirements: []
|
154
154
|
rubyforge_project:
|
155
|
-
rubygems_version: 2.
|
155
|
+
rubygems_version: 2.7.3
|
156
156
|
signing_key:
|
157
157
|
specification_version: 4
|
158
158
|
summary: Kazan creates rails project and setups predefined gems and tools.
|
data/templates/factory_girl.rb
DELETED