makandra-navy 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/navy/section_activator.rb +8 -2
- data/lib/navy/version.rb +1 -1
- metadata +4 -4
|
@@ -11,9 +11,15 @@ module Navy
|
|
|
11
11
|
module ClassMethods
|
|
12
12
|
|
|
13
13
|
def default_active_sections
|
|
14
|
-
@
|
|
14
|
+
@default_active_sections_with_ancestors ||= begin
|
|
15
|
+
sections = @default_active_sections || []
|
|
16
|
+
if superclass.respond_to?(:default_active_sections)
|
|
17
|
+
sections += superclass.default_active_sections
|
|
18
|
+
end
|
|
19
|
+
sections
|
|
20
|
+
end
|
|
15
21
|
end
|
|
16
|
-
|
|
22
|
+
|
|
17
23
|
private
|
|
18
24
|
|
|
19
25
|
def in_sections(*sections)
|
data/lib/navy/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: makandra-navy
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 11
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 4
|
|
9
|
-
-
|
|
10
|
-
version: 0.4.
|
|
9
|
+
- 2
|
|
10
|
+
version: 0.4.2
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Tobias Kraze
|
|
@@ -16,7 +16,7 @@ autorequire:
|
|
|
16
16
|
bindir: bin
|
|
17
17
|
cert_chain: []
|
|
18
18
|
|
|
19
|
-
date: 2012-
|
|
19
|
+
date: 2012-08-27 00:00:00 +02:00
|
|
20
20
|
default_executable:
|
|
21
21
|
dependencies:
|
|
22
22
|
- !ruby/object:Gem::Dependency
|