reality-core 1.7.0 → 1.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/reality/base_element.rb +2 -0
- data/reality-core.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ba39526431b1bd4ce9956699aa614f129d91fab
|
4
|
+
data.tar.gz: 465a199e1c1869bc5a9fefd20de804ef511f03d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94c0eecf37f5797784b741a732cb5336e539aabe2f3f3ea3bfb35d5de67c153b21a778acf55ffd509d33ed369dc335f1c17d45235d2cf3551806097fbcaf500e
|
7
|
+
data.tar.gz: 784f022b10f8f454567774dc73f8ffac483cfe407f5b9761c6e3b8002e478e01b92ea00edab59aeb1af235c446b45929070ac7989203f4968691fa7706d77bb9
|
data/lib/reality/base_element.rb
CHANGED
@@ -42,6 +42,7 @@ module Reality #nodoc
|
|
42
42
|
|
43
43
|
container_key = options[:container_key]
|
44
44
|
pre_config_code = options[:pre_config_code]
|
45
|
+
post_config_code = options[:post_config_code]
|
45
46
|
has_name = !!options[:name]
|
46
47
|
has_key = !!options[:key]
|
47
48
|
|
@@ -85,6 +86,7 @@ module Reality #nodoc
|
|
85
86
|
#{initializers}
|
86
87
|
#{pre_config_code}
|
87
88
|
super(options, &block)
|
89
|
+
#{post_config_code}
|
88
90
|
end
|
89
91
|
RUBY
|
90
92
|
type.class_eval(code)
|
data/reality-core.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: reality-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Donald
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|