rhino_project_organizations 0.20.0.beta.84 → 0.20.0.beta.85

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: 40458f91ead49c3725ffcc2db049b51be882fc4792c2a619e4be1fe0942d2786
4
- data.tar.gz: 7fc818e8d0a3ffedc7c6b76d145a189ca9dc5e85bc5f25f3238f737f2c2f98f2
3
+ metadata.gz: 67fc7f42cf66710506192f78b0e01cc0f2404e544217f3965ab2c69e42b2e7a4
4
+ data.tar.gz: fb036549a9424747b7658466aa1ec48b419122da0de0f29b7a2b029825f0c362
5
5
  SHA512:
6
- metadata.gz: 7fbdc33613b1c34b6b4fc5bae2176fa8e1c48af1839fd01c30f97fcebea67988ac887877b508bf8863e13f4d363618661238ad3381595c109b2c6b75fa173b0d
7
- data.tar.gz: 6aa17fed8aaf6acd70a6268c99f2eb82341b8fc850d321e2dcc39af1ca12bf9740bb9fa8ce21a5d057d0c0fab0af53b119f5bd33f62f2b3b6a65d830194f6e15
6
+ metadata.gz: d7b5eceb4a08bb83ef39c810a69539ca2c60672c3f5ab514c191f74bf09c19d4f26e6e6010724400dd97df9346b4e5fa219bc7ca8eb665406baae8d2e4e444db
7
+ data.tar.gz: 4bcf4ecaa6d67f3c4075aced88882c1fad2c0df0ec7cc16f2bc9ade94585f5d0a9de2622f2fa30fcfd9f6ba12e756c7c670b4b5de25795699fc7797775eb96d5
@@ -1,15 +1,18 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'rhino/engine'
4
- require 'rhino_organizations/version'
3
+ require "rhino/engine"
4
+ require "rhino_organizations/version"
5
+
6
+ # https://guides.rubyonrails.org/engines.html#other-gem-dependencies
7
+ require "devise_invitable"
5
8
 
6
9
  module RhinoOrganizations
7
10
  class Engine < ::Rails::Engine
8
- config.autoload_paths << File.expand_path('../../lib', __dir__)
11
+ config.autoload_paths << File.expand_path("../../lib", __dir__)
9
12
 
10
- initializer 'rhino_organizations.register_module' do
13
+ initializer "rhino_organizations.register_module" do
11
14
  config.after_initialize do
12
- if Rhino.resources.include?('Organization')
15
+ if Rhino.resources.include?("Organization")
13
16
  Rhino.registered_modules[:rhino_organizations] = {
14
17
  version: RhinoOrganizations::VERSION::STRING
15
18
  }
@@ -19,13 +22,13 @@ module RhinoOrganizations
19
22
 
20
23
  # https://guides.rubyonrails.org/engines.html#overriding-models-and-controllers
21
24
  # Use root instead of Rails.root to scope for this engine
22
- initializer 'rhino_organizations.overrides' do
25
+ initializer "rhino_organizations.overrides" do
23
26
  overrides = "#{root}/app/overrides"
24
27
  Rails.autoloaders.main.ignore(overrides)
25
28
 
26
29
  config.to_prepare do
27
30
  # FIXME: Only necessary because this module is in tree NUB-682
28
- if Rhino.resources.include?('Organization')
31
+ if Rhino.resources.include?("Organization")
29
32
  Dir.glob("#{overrides}/**/*_override.rb").each do |override|
30
33
  load override
31
34
  end
@@ -10,7 +10,7 @@ module RhinoOrganizations
10
10
  MAJOR = 0
11
11
  MINOR = 20
12
12
  TINY = 0
13
- PRE = "beta.84"
13
+ PRE = "beta.85"
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rhino_project_organizations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0.beta.84
4
+ version: 0.20.0.beta.85
5
5
  platform: ruby
6
6
  authors:
7
7
  - JP Rosevear
@@ -36,14 +36,14 @@ dependencies:
36
36
  requirements:
37
37
  - - '='
38
38
  - !ruby/object:Gem::Version
39
- version: 0.20.0.beta.84
39
+ version: 0.20.0.beta.85
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - '='
45
45
  - !ruby/object:Gem::Version
46
- version: 0.20.0.beta.84
46
+ version: 0.20.0.beta.85
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: devise_invitable
49
49
  requirement: !ruby/object:Gem::Requirement