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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a99e1e236e472a2f44627590833f038129a24b8b
4
- data.tar.gz: 4d73b4d2dc3a555a946a3335baa5eb125b1efe13
3
+ metadata.gz: 3049e5e1cae5d67d9839b00c3f02bd5e4848b676
4
+ data.tar.gz: fc3327868c20797d2b601bb76729da6e1e93ec90
5
5
  SHA512:
6
- metadata.gz: 9725439777f374fe441cee6b05bdfd69fd836fb18a8776141eab222c99c28c128658de13e83aaa174cc8f5d6c9b1284b0bfe433818ded81c47d974f9ad63513f
7
- data.tar.gz: 86ff8d294343e2917804b38c1551a364245d6eba9784eed5e63f52863dc9c8a60e30e8254281da17d52c34bac6da6e83094ec3c25d7c47ab1c37b34c98053541
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]
@@ -1,4 +1,4 @@
1
1
  #
2
2
  module Might
3
- VERSION = '0.7.0'.freeze
3
+ VERSION = '0.7.1'.freeze
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: might
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tema Bolshakov