might 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/might/filter_parameters.rb +12 -0
- data/lib/might/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3049e5e1cae5d67d9839b00c3f02bd5e4848b676
|
4
|
+
data.tar.gz: fc3327868c20797d2b601bb76729da6e1e93ec90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aeb3c48514c7376f951dc86d3b733fafd6543262d22f6d3290b3a257e06d98c75d91401c2db1f29e41c3b84a88fe1fc9de732c7d7233217cf5ecc306f0f80a08
|
7
|
+
data.tar.gz: 992d1c75fc7a391f0689edd8eea34d0be3cf6f7ac28db0ceef1284664b5834743fb4ae2c34d7f33af5bb896beb805faebb7975968c514c7c69c13d5e01d90acd
|
@@ -17,6 +17,18 @@ module Might
|
|
17
17
|
@parameters = Set.new(parameters)
|
18
18
|
end
|
19
19
|
|
20
|
+
# Dup internal set.
|
21
|
+
def initialize_dup(orig)
|
22
|
+
super
|
23
|
+
@parameters = orig.parameters.dup
|
24
|
+
end
|
25
|
+
|
26
|
+
# Clone internal set.
|
27
|
+
def initialize_clone(orig)
|
28
|
+
super
|
29
|
+
@parameters = orig.parameters.clone
|
30
|
+
end
|
31
|
+
|
20
32
|
# Find filter by name
|
21
33
|
# @param name [String]
|
22
34
|
# @return [Might::FilterParameter, nil]
|
data/lib/might/version.rb
CHANGED