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 +4 -4
- data/lib/bpluser/engine.rb +8 -8
- data/lib/bpluser/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 273e8bcd9adbdc7333852e96fb3e6cf1113d978e9745f77767a28cba8e58cb38
|
4
|
+
data.tar.gz: 7393ad95403e4d864189915311df5065817c353589e4f4cc078f825e20e10e67
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50a72c3da9a8276a35f6c35d7cce2dad055bebd9adc67f945ee6dd9c2c5cc18cc7fe7b8ea13104c8f57e76edf7d196df3a97e74825fb5f70074f6ddbe962ca63
|
7
|
+
data.tar.gz: 36c3a0bb3866d934ed69b56f3f66bee0f048a9295cd5c8cb63bde6e1ede4e03d1098568609f87b0abef479c838d837e382f8210703c03efc973c4c6da8e85e81
|
data/lib/bpluser/engine.rb
CHANGED
@@ -4,20 +4,20 @@ module Bpluser
|
|
4
4
|
class Engine < ::Rails::Engine
|
5
5
|
isolate_namespace Bpluser
|
6
6
|
|
7
|
-
|
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
|
data/lib/bpluser/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2023-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: blacklight
|