bpluser 0.2.0.1 → 0.2.0.2

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
  SHA256:
3
- metadata.gz: 0daa228378919dccfed8518e2b7f846a312db580ea7af339cefe66cdd0f12a91
4
- data.tar.gz: f668c0add937c3f45c766a388afe07f8330ea0a8ea803a25191a9ec4e4a92ec1
3
+ metadata.gz: 273e8bcd9adbdc7333852e96fb3e6cf1113d978e9745f77767a28cba8e58cb38
4
+ data.tar.gz: 7393ad95403e4d864189915311df5065817c353589e4f4cc078f825e20e10e67
5
5
  SHA512:
6
- metadata.gz: 705d622dfb9cd8724742acd972953251239fb2fb59b117ff9f6802735d2e165b661f020520b71f97b47c0cf3d883acb0e06540eed2bdf2457f00726de0172b4c
7
- data.tar.gz: 14292ef36278153951b275e77a7d07c5f55aa1d6264b79609f240022abe7bda89441eb3d50ddeffc240d133878e70dc6c9cf5df1e7ca11107b82258717e91a80
6
+ metadata.gz: 50a72c3da9a8276a35f6c35d7cce2dad055bebd9adc67f945ee6dd9c2c5cc18cc7fe7b8ea13104c8f57e76edf7d196df3a97e74825fb5f70074f6ddbe962ca63
7
+ data.tar.gz: 36c3a0bb3866d934ed69b56f3f66bee0f048a9295cd5c8cb63bde6e1ede4e03d1098568609f87b0abef479c838d837e382f8210703c03efc973c4c6da8e85e81
@@ -4,20 +4,20 @@ module Bpluser
4
4
  class Engine < ::Rails::Engine
5
5
  isolate_namespace Bpluser
6
6
 
7
- config.generators do |g|
8
- g.orm :active_record
9
- g.test_framework :rspec, fixture: true
10
- g.fixture_replacement :factory_bot
11
- g.factory_bot dir: 'spec/factories'
12
- end
13
-
14
- if Rails.env.development? || Rails.env.test?
7
+ if %w[development test].member?(Rails.env) && Dir[File.expand_path('../../spec/**', __dir__)].any? { |d| d.include?('dummy') }
15
8
  begin
16
9
  require 'factory_bot_rails'
17
10
  config.factory_bot.definition_file_paths << File.expand_path('../../spec/factories/bpluser', __dir__)
18
11
  rescue LoadError
19
12
  warn 'Factory Bot Rails Not installed!'
20
13
  end
14
+
15
+ config.generators do |g|
16
+ g.orm :active_record
17
+ g.test_framework :rspec, fixture: true
18
+ g.fixture_replacement :factory_bot
19
+ g.factory_bot dir: 'spec/factories'
20
+ end
21
21
  end
22
22
 
23
23
  # initializer 'bpluser.add_devise_guests_overrides', before: 'devise_guests.add_helpers' do
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bpluser
4
- VERSION = '0.2.0.1'
4
+ VERSION = '0.2.0.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bpluser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.1
4
+ version: 0.2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Boston Public Library Repository Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-23 00:00:00.000000000 Z
11
+ date: 2023-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: blacklight