mixture 0.6.0 → 0.6.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: 95cabd50c1d706133dba24ed86abdcf09ed87031
4
- data.tar.gz: 0863af8affcc701628bc018238811f25dbd20ecb
3
+ metadata.gz: a61f4e8461df9033af51e5f8dc3f68fe8baf33c1
4
+ data.tar.gz: be7e393f72d9c6440c519538a890ce149e5ad755
5
5
  SHA512:
6
- metadata.gz: 1f981a3f52d15b01f9516cc7f64b1c6121dce13150c08eae8df621dfd8a269b17920ee20858aff73be253c7613d05d376ee23ec96e49e6be96f94db407bc9b49
7
- data.tar.gz: 2e40d5329d7b8966d01f270efd5f071923864f2755ab10d3fe51d3ca75a392a2e6ca2137353fb8b898ea906907e712f579e6ba8eb92e7819cd9e9d41abd28a28
6
+ metadata.gz: afb4f2976cc1e8f5d218250c1d787a856df19d92b4bc475b65f0c26a97c3848df0714695ef1aabd03fc93e486c4144e11a847679d86f0c6dc1e470953290f37f
7
+ data.tar.gz: 503ba240a8d700f521ea79da83f27d3292ae986f0cf84da64dfff027b44ec8f414fc1642ff9160b643ec2c46222a187349343703539634ef8a054412627b12a8
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mixture (0.5.1)
4
+ mixture (0.6.1)
5
5
  thread_safe (~> 0.3)
6
6
 
7
7
  GEM
@@ -88,4 +88,4 @@ DEPENDENCIES
88
88
  rubocop
89
89
 
90
90
  BUNDLED WITH
91
- 1.10.5
91
+ 1.10.6
@@ -1,6 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
-
4
3
  require "mixture/coerce/base"
5
4
  require "mixture/coerce/array"
6
5
  require "mixture/coerce/class"
@@ -14,6 +14,7 @@ module Mixture
14
14
  extend Access
15
15
 
16
16
  constraints.clear
17
+ # rubocop:disable Style/CaseEquality
17
18
  constraint do |value|
18
19
  if value.is_a?(::Class)
19
20
  options.fetch(:members).first == value
@@ -5,5 +5,5 @@ module Mixture
5
5
  # The current version of Mixture.
6
6
  #
7
7
  # @return [String]
8
- VERSION = "0.6.0"
8
+ VERSION = "0.6.1"
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mixture
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Rodi
@@ -163,7 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
163
163
  version: '0'
164
164
  requirements: []
165
165
  rubyforge_project:
166
- rubygems_version: 2.4.5
166
+ rubygems_version: 2.4.8
167
167
  signing_key:
168
168
  specification_version: 4
169
169
  summary: Handle validation, coercion, and attributes.