rspeckled 0.0.34 → 0.0.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: daf53aabd68d518600a2cff9de16871c4760ed60
4
- data.tar.gz: bc6c02c6128353d1fcfd8f910279056800bccb78
3
+ metadata.gz: b117692de5362ed50188b21bf9abaca1bfabfa22
4
+ data.tar.gz: 7f8d4a993f0cbdf37f0f8f4322a78d25740d9bb5
5
5
  SHA512:
6
- metadata.gz: 7a92c20fbb3efbc2b7b41e087af9bb3fb99cef3dbe261263934190c705c8b10586671df995c9c8ad1c1b1cbe5034b4b7f281c50e142985d3750562ea0e59e9ef
7
- data.tar.gz: 17e55ca7b5612f68ddec7bc6b300bb229a0ce1a9ae5f2d4a53b011b5cf24342dc1ef7781ccf1bb2c8666db1fd31ba96696d88048afee5e5f01f0300c06875511
6
+ metadata.gz: 372c247a6c38faf44d7dac340ad4e6e99f40f909ec4cd826c100cb0edb396a6fac03e8f9cedf8e7085a5fba177daa40f9515f1f581eff0797412d765d43164b0
7
+ data.tar.gz: b9566fdc8f87c213b8655052d411bf6dfe018ebca5ae59b0903c1df2508aa17129339b5f9066361da430b4e610947fdf1b960d4d896e1930e8aaaadcbb6b766c
checksums.yaml.gz.sig CHANGED
Binary file
@@ -33,7 +33,7 @@ RSpec.configure do |config|
33
33
  instance = if options.is_a?(Hash) && options[:strategy] == :instance
34
34
  klass.new
35
35
  else
36
- FactoryGirl.create(underscored_class_name.to_sym)
36
+ FactoryBot.create(underscored_class_name.to_sym)
37
37
  end
38
38
 
39
39
  inferred_auth_method = if options.is_a?(Hash) && options[:authentication_method]
@@ -1,22 +1,22 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  ##############################################################################
4
- # Factory Girl Plugin
4
+ # Factory Bot Plugin
5
5
  ##############################################################################
6
6
 
7
7
  begin
8
- require 'factory_girl'
8
+ require 'factory_bot'
9
9
 
10
- FactoryGirl.definition_file_paths << './spec/factories'
10
+ FactoryBot.definition_file_paths << './spec/factories'
11
11
 
12
- if FactoryGirl.configuration.factories.count.zero? &&
12
+ if FactoryBot.configuration.factories.count.zero? &&
13
13
  Rails.application.class.name.match(/Dummy/)
14
14
 
15
- FactoryGirl.find_definitions
15
+ FactoryBot.find_definitions
16
16
  end
17
17
 
18
18
  RSpec.configure do |config|
19
- config.include FactoryGirl::Syntax::Methods
19
+ config.include FactoryBot::Syntax::Methods
20
20
  end
21
21
  rescue LoadError
22
22
  end
@@ -10,7 +10,7 @@ require 'rspeckled/plugins/database_cleaner'
10
10
  require 'rspeckled/plugins/devise'
11
11
  require 'rspeckled/plugins/elasticsearch'
12
12
  require 'rspeckled/plugins/email'
13
- require 'rspeckled/plugins/factory_girl'
13
+ require 'rspeckled/plugins/factory_bot'
14
14
  require 'rspeckled/plugins/garbage_collection'
15
15
  require 'rspeckled/plugins/fakeredis'
16
16
  require 'rspeckled/plugins/faraday'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Rspeckled
4
- VERSION = '0.0.34'
4
+ VERSION = '0.0.35'
5
5
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspeckled
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.34
4
+ version: 0.0.35
5
5
  platform: ruby
6
6
  authors:
7
7
  - thegranddesign
@@ -31,7 +31,7 @@ cert_chain:
31
31
  Y2GAoHKstmfIVhc4XHOPpmTd2o/C29O9oaRgjrkfQEhF/KvJ/PhoV5hvokzsCyI5
32
32
  iUeXPfvrGD/itYIBCgk+fnzyQQ4QtE5hTQaWQ3o2
33
33
  -----END CERTIFICATE-----
34
- date: 2017-12-18 00:00:00.000000000 Z
34
+ date: 2017-12-20 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rspec
@@ -121,7 +121,7 @@ files:
121
121
  - lib/rspeckled/plugins/devise.rb
122
122
  - lib/rspeckled/plugins/elasticsearch.rb
123
123
  - lib/rspeckled/plugins/email.rb
124
- - lib/rspeckled/plugins/factory_girl.rb
124
+ - lib/rspeckled/plugins/factory_bot.rb
125
125
  - lib/rspeckled/plugins/fakeredis.rb
126
126
  - lib/rspeckled/plugins/faraday.rb
127
127
  - lib/rspeckled/plugins/foreign_keys.rb
metadata.gz.sig CHANGED
Binary file