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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 1a146cf90117988b0e012a40f7caaad4e4fabd78
4
- data.tar.gz: 3d12728bee49099e001b83d07a30a5880291e433
2
+ SHA256:
3
+ metadata.gz: 8598c93ee60bf9636d66598cf52dd49fdd54fb79df3f310a914c1bb95e83c54d
4
+ data.tar.gz: e0608cb63584f1855dc15dea343b128437213daa4a5d5d175d2589806b031629
5
5
  SHA512:
6
- metadata.gz: '0933b186353c97a1fff600a1fd413f11bb26739d98ad83f73536196507d54ab636c3e162eed4e392084c31b0095bb5eb6e323395567bf6dd0ea7bdcebd05b37c'
7
- data.tar.gz: b7481dba81323156d85a26890b99861dfdf67c71f1f346618aa9f0d48e4a335c03e7638fabae5417b33dca4d4662805c0e855526fb54165a8e8e5b8a6b0b55cd
6
+ metadata.gz: 5c8568b6a629b898001006a717e9210decd7498303b42b1f889154c1ccbb7894af821166561806f17870fe63b98fe7f2920cca76ccbfcadf0c61c979fb056d12
7
+ data.tar.gz: feeb88954aecff972e6c20b112bc3b1eb31c9c412250d873aea4b2ff6894ee13fadec23b52dd8a6840e6141bc56c05bacb6979ab61d10ca3f7e540d3bf732241
@@ -1 +1 @@
1
- 2.3.1
1
+ 2.5.0
@@ -1,7 +1,7 @@
1
1
  sudo: false
2
2
  language: ruby
3
3
  rvm:
4
- - 2.3.1
4
+ - 2.5.0
5
5
  gemfile:
6
6
  - Gemfile
7
7
  before_install:
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 Girl](https://github.com/thoughtbot/factory_girl) is a fixtures replacement with a straightforward definition syntax.
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.
@@ -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 spec_factory_girl_config
212
- copy_file 'factory_girl.rb', 'spec/support/factory_girl.rb'
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
@@ -1,6 +1,6 @@
1
1
  require 'rails/generators'
2
- require 'rails/generators/rails/app/app_generator'
3
2
 
3
+ require 'rails/generators/rails/app/app_generator'
4
4
  module Kazan
5
5
  class AppGenerator < Rails::Generators::AppGenerator
6
6
  hide!
@@ -1,5 +1,5 @@
1
1
  module Kazan
2
- VERSION = '0.4.0'.freeze
2
+ VERSION = '0.5.0'.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
@@ -50,7 +50,7 @@ RSpec.describe 'Project with configuration' do
50
50
  'config',
51
51
  'database_cleaner',
52
52
  'dotenv',
53
- 'factory_girl_rails',
53
+ 'factory_bot_rails',
54
54
  'faker',
55
55
  'flutie',
56
56
  'foreman',
@@ -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 'factory_girl_rails'
31
+ gem 'factory_bot_rails'
32
32
  gem 'pry-byebug'
33
33
  gem 'pry-rails'
34
34
  gem 'rspec-rails', '~> 3.5.0.beta4'
@@ -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 'factory_girl_rails'
44
+ gem 'factory_bot_rails'
45
45
  gem 'pry-byebug'
46
46
  gem 'pry-rails'
47
47
  gem 'rspec-rails', '~> 3.5.0.beta4'
@@ -0,0 +1,3 @@
1
+ RSpec.configure do |config|
2
+ config.include FactoryBot::Syntax::Methods
3
+ 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.4.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-25 00:00:00.000000000 Z
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/factory_girl.rb
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.6.14
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.
@@ -1,3 +0,0 @@
1
- RSpec.configure do |config|
2
- config.include FactoryGirl::Syntax::Methods
3
- end