rhino_project_core 0.20.0.beta.18 → 0.20.0.beta.19

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: f8779f64179f5c2a26ea37d704c7ac7355f713fc2f386aa6ab08e3e7a0ff174f
4
- data.tar.gz: 2e6139b4b62758822ab9db651b9468af7726e0a56d0a34c1d5712b418e21db70
3
+ metadata.gz: d4ba6a40376e33af733736cf12d42f608a354af19b90a417de328d6de7545031
4
+ data.tar.gz: 948176e60a5386cad491d31c0fe7715f1be43b73de00f16e5aa893bc4b561fb8
5
5
  SHA512:
6
- metadata.gz: 877bcedc2608beaa6d9d667991858d1b3c272ff876380e1ec1c34e07504cfbc79b153f686aafecc47b8f233d7939c8310012ec99c9f160ff30bc36543d079efb
7
- data.tar.gz: 3a63eab50a46bbfc236d1cc8d4e0f123bf908ae2a94fbaaf2e251c00817daff159c4acc0a4400730e7cb2df0c39b347595cbac6f810e7aa81c74bfa228d74a56
6
+ metadata.gz: 6bae2e41ce96fa18add92754065f5e11aa97b2ebfa4b6d0a869bd5d57b21216a5eff3a77110d26d8067a50003fdf1458d34b2afbd280c9151a5d8d4f5a3226ce
7
+ data.tar.gz: b79a295d85fcef392fb74ab594fb15f5c76f7875ba175c7145663707a22c072dfd3dea1a433bbc7d24322342cd28eda80342521c532dfe48c7fdc53031d2d39b
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2020-present Nubinary, Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/Rakefile CHANGED
@@ -25,10 +25,10 @@ require 'bundler/gem_tasks'
25
25
 
26
26
  require 'rake/testtask'
27
27
 
28
- Rake::TestTask.new(:test) do |t|
29
- t.libs << 'test'
30
- t.pattern = 'test/**/*_test.rb'
31
- t.verbose = false
28
+ Rake::TestTask.new do |t|
29
+ t.libs << "test"
30
+ t.test_files = FileList["test/**/*_test.rb"].exclude("test/system/**/*", "test/dummy/**/*")
31
+ t.verbose = true
32
32
  end
33
33
 
34
34
  task default: :test
@@ -3,7 +3,7 @@
3
3
  # https://stackoverflow.com/questions/4470108/when-monkey-patching-an-instance-method-can-you-call-the-overridden-method-from/4471202
4
4
  # Mixin Prepending
5
5
  module DeviseTokenAuth::OmniauthCallbacksController::Extensions
6
- include RhinoOrganizations::Concerns::CreateOrganization
6
+ include RhinoOrganizations::Concerns::CreateOrganization if Rhino.resources.include?("Organization")
7
7
 
8
8
  def redirect_callbacks
9
9
  # derive target redirect route from 'resource_class' param, which was set
@@ -3,7 +3,7 @@
3
3
  # https://stackoverflow.com/questions/4470108/when-monkey-patching-an-instance-method-can-you-call-the-overridden-method-from/4471202
4
4
  # Mixin Prepending
5
5
  module DeviseTokenAuth::RegistrationsController::Extensions
6
- include RhinoOrganizations::Concerns::CreateOrganization
6
+ include RhinoOrganizations::Concerns::CreateOrganization if Rhino.resources.include?("Organization")
7
7
 
8
8
  def create
9
9
  return render_error(401, "signup is not allowed") unless Rhino.allow_signup
data/lib/rhino/engine.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
-
2
+ require "rhino/version"
3
3
  module Rhino
4
4
  class Engine < ::Rails::Engine
5
5
  config.before_configuration do
@@ -61,7 +61,7 @@ module Rhino
61
61
 
62
62
  config.after_initialize do
63
63
  Rhino.registered_modules[:rhino] = {
64
- version: Rhino::VERSION,
64
+ version: Rhino::VERSION::STRING,
65
65
  authOwner: Rhino.auth_owner.model_name.singular,
66
66
  baseOwner: Rhino.base_owner.model_name.singular,
67
67
  oauth: Rhino::OmniauthHelper.strategies_metadata,
data/lib/rhino/version.rb CHANGED
@@ -10,7 +10,7 @@ module Rhino
10
10
  MAJOR = 0
11
11
  MINOR = 20
12
12
  TINY = 0
13
- PRE = "beta.18"
13
+ PRE = "beta.19"
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_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0.beta.18
4
+ version: 0.20.0.beta.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - JP Rosevear
@@ -30,6 +30,26 @@ dependencies:
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
32
  version: 7.0.0
33
+ - !ruby/object:Gem::Dependency
34
+ name: activeadmin
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: 2.14.0
40
+ - - "<="
41
+ - !ruby/object:Gem::Version
42
+ version: 3.0.0
43
+ type: :runtime
44
+ prerelease: false
45
+ version_requirements: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - "~>"
48
+ - !ruby/object:Gem::Version
49
+ version: 2.14.0
50
+ - - "<="
51
+ - !ruby/object:Gem::Version
52
+ version: 3.0.0
33
53
  description: ''
34
54
  email:
35
55
  - jprosevear@nubinary.com
@@ -37,6 +57,7 @@ executables: []
37
57
  extensions: []
38
58
  extra_rdoc_files: []
39
59
  files:
60
+ - LICENSE
40
61
  - README.md
41
62
  - Rakefile
42
63
  - app/assets/stripe_flow.png
@@ -154,7 +175,7 @@ files:
154
175
  - lib/validators/mac_address_validator.rb
155
176
  homepage: ''
156
177
  licenses:
157
- - ''
178
+ - MIT
158
179
  metadata: {}
159
180
  post_install_message:
160
181
  rdoc_options: []