ncore 3.3.0 → 3.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/ncore.rb +1 -0
- data/lib/ncore/rails/module_fix.rb +19 -0
- data/lib/ncore/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 07e96bdc957fc537987137e4029761a2783ddc947de794cf95e90234fa9adda3
|
4
|
+
data.tar.gz: eace234486547704df6dcdad2963fb4f2d7cab5de6effbdb7f47a9889fc73737
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6cff9f32d5f2eb0c79bb15e05e1e60384e4a13ebb9eaf8dc750ada0cb4d49e093ffb0692ef6530f8be672bf53280816f725095496911c00453fefcc19d771309
|
7
|
+
data.tar.gz: c4099d3db77792c8775e3ce1ba215203f896f03ca549401c70d3f95ee0bf4877eaa3b9a6404929b55f2d48dfafb6f562c64cf3f85b19f7cd3a9b26084b58fc86
|
data/CHANGELOG.md
CHANGED
data/lib/ncore.rb
CHANGED
@@ -0,0 +1,19 @@
|
|
1
|
+
# ActiveSupport 6.0 changed :parent -> :module_parent
|
2
|
+
# This continues to support AS <= 5.2.
|
3
|
+
|
4
|
+
module NCore
|
5
|
+
module ModuleFix
|
6
|
+
extend ActiveSupport::Concern
|
7
|
+
|
8
|
+
included do
|
9
|
+
alias :module_parent :parent
|
10
|
+
alias :module_parent_name :parent_name
|
11
|
+
alias :module_parents :parents
|
12
|
+
end
|
13
|
+
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
unless Module.respond_to?(:module_parent)
|
18
|
+
Module.include NCore::ModuleFix
|
19
|
+
end
|
data/lib/ncore/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ncore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.
|
4
|
+
version: 3.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Notioneer Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-05-
|
11
|
+
date: 2021-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -117,6 +117,7 @@ files:
|
|
117
117
|
- lib/ncore/rails/action_controller.rb
|
118
118
|
- lib/ncore/rails/active_model.rb
|
119
119
|
- lib/ncore/rails/log_subscriber.rb
|
120
|
+
- lib/ncore/rails/module_fix.rb
|
120
121
|
- lib/ncore/singleton_base.rb
|
121
122
|
- lib/ncore/util.rb
|
122
123
|
- lib/ncore/version.rb
|