alki-dsl 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/alki/dsl/class_helpers.rb +2 -2
- data/lib/alki/dsl/version.rb +1 -1
- data/lib/alki/dsls/class.rb +1 -0
- 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: 3049970503a496913ddb6c325f05bb6e5638c21d
|
4
|
+
data.tar.gz: 7bff335255be597d9e219dad99789b1e604c80ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91efd70a0d47d70481dd0db89c59a4d287710a84aeee5df9fb441e5823fb2083c4bd818376d25fe102b5b313918214d2dfe89c98b12c0606b0465586c2f33dac
|
7
|
+
data.tar.gz: 197bb68fa144226dccb6d9a6463570f5a37f64861702d484862f7c67ba561b39a96e6e5dd18e6a54849e1f6430a399e50874f65789f9b74c2ff5a17ddada82ae
|
@@ -59,8 +59,8 @@ module Alki
|
|
59
59
|
add_module mod, subclass: 'Helpers'
|
60
60
|
end
|
61
61
|
|
62
|
-
def add_initialize_param(name,default=nil,
|
63
|
-
(class_builder(subclass)[:initialize_params]||=[]) << [name.to_sym,default]
|
62
|
+
def add_initialize_param(name,default=nil,opts={})
|
63
|
+
(class_builder(opts[:subclass])[:initialize_params]||=[]) << [name.to_sym,default]
|
64
64
|
end
|
65
65
|
|
66
66
|
def add_instance_class_proxy(type, name,subclass: nil)
|
data/lib/alki/dsl/version.rb
CHANGED
data/lib/alki/dsls/class.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alki-dsl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Edlefsen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-12-
|
11
|
+
date: 2016-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: alki-support
|