utensils 1.6.0 → 2.0.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
2
  SHA1:
3
- metadata.gz: 16c088f81325593b63dda02c858669afb44fa4f5
4
- data.tar.gz: b666cc083f5138b25fdc94c762c287a8dc1a1a29
3
+ metadata.gz: 1f38d2b941dfb45965ae497c6a29991b03e672ab
4
+ data.tar.gz: 1efb9f3ca50d29927aa7dd83141defefa1309e6f
5
5
  SHA512:
6
- metadata.gz: ffa05bc064ae3bb840b2183e2da5a9768e93b7befcc2d5cfec342de3995498a61adb6a228b0e67d3a94af2427d929c0f892434f6642be6d9a8a34a19d9666f19
7
- data.tar.gz: f3be7ab7c10974b2b6353b6ff2aafd48f1c4b08283702558ce13f39923267a020aedbce5ea75bdc4d58aa288dd256f6544937c46b1e5bf40c0cabe0f0b94cdb5
6
+ metadata.gz: 5b2d7635b9ca4bf6099697c9e3db94268ba15882b07ef89f2158d15e7528d5f89c0fbf6e1ca802314efcdf5ca22d07b2e5095ff79c7645a50a65b986513c8fbb
7
+ data.tar.gz: 79758dc4055437475fd47159de1aea206eb445ed85e102939028662283f979e29cd0258872620de714d3496cad0158fdc8c8c8297843775ac0f8e776c2b37dd4
data/README.md CHANGED
@@ -20,7 +20,7 @@ require 'utensils/capybara_screenshot'
20
20
  require 'utensils/custom_matchers'
21
21
  require 'utensils/database_cleaner'
22
22
  require 'utensils/email'
23
- require 'utensils/factory_girl'
23
+ require 'utensils/factory_bot'
24
24
  require 'utensils/omniauth'
25
25
  require 'utensils/timecop'
26
26
  require 'utensils/upload_macros'
@@ -72,13 +72,13 @@ Sets up rspec to use database_cleaner instead of transactional fixtures
72
72
  Clears `ActionMailer::Base.deliveries` before each spec and
73
73
  includes https://github.com/bmabey/email-spec helpers.
74
74
 
75
- ### factory_girl
75
+ ### factory_bot
76
76
 
77
- Use shorthand for FactoryGirl, ie:
77
+ Use shorthand for FactoryBot, ie:
78
78
 
79
79
  ```ruby
80
80
  # instead of:
81
- FactoryGirl.create(:post)
81
+ FactoryBot.create(:post)
82
82
 
83
83
  # use:
84
84
  create(:post)
@@ -0,0 +1,3 @@
1
+ RSpec.configure do |config|
2
+ config.include FactoryBot::Syntax::Methods
3
+ end
@@ -1,3 +1,3 @@
1
1
  module Utensils
2
- VERSION = '1.6.0'
2
+ VERSION = '2.0.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: utensils
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jens Balvig
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-02 00:00:00.000000000 Z
11
+ date: 2017-10-23 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Rspec stuff we use over and over again
14
14
  email:
@@ -29,7 +29,7 @@ files:
29
29
  - lib/utensils/custom_matchers.rb
30
30
  - lib/utensils/database_cleaner.rb
31
31
  - lib/utensils/email.rb
32
- - lib/utensils/factory_girl.rb
32
+ - lib/utensils/factory_bot.rb
33
33
  - lib/utensils/omniauth.rb
34
34
  - lib/utensils/timecop.rb
35
35
  - lib/utensils/upload_macros.rb
@@ -55,7 +55,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
55
55
  version: '0'
56
56
  requirements: []
57
57
  rubyforge_project:
58
- rubygems_version: 2.4.5
58
+ rubygems_version: 2.5.2
59
59
  signing_key:
60
60
  specification_version: 4
61
61
  summary: Rspec stuff we use over and over again
@@ -1,3 +0,0 @@
1
- RSpec.configure do |config|
2
- config.include FactoryGirl::Syntax::Methods
3
- end