mixture 0.3.5 → 0.3.6

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: 4d1742242ea849a090822c7ebb757bc929680ac6
4
- data.tar.gz: 1013eed36ef57d304d46cacd2c7433c546678c5e
3
+ metadata.gz: 9b2b9aac90a35e8c7a8fa158571cf3d3a71089aa
4
+ data.tar.gz: cb128e660ba6b94b21abbad509c9b8ab552fd684
5
5
  SHA512:
6
- metadata.gz: 7432c83a3d89d69c14410c4c9150cc5dacdeb896661542bfa5485e9db381396e7a94754896aa91f325b79eda2a6952cbfcd5e856d910adaddc33e60215494198
7
- data.tar.gz: b8246393d85c2af4c703d9f4c60773a79aeddf7bb55b089eb753c895be762d5d078af1bdd1cd36b94a8c398276b0f3c073bead5b1d60754c031395c287576ab1
6
+ metadata.gz: 2842a8c7f634943157a2df5d3e11ae334b46fc9e1f9934d9fdd2c120266ce252115e895e220c588f89a29d929d572254d8ee66e8cbf068da83acd5cc67a102a7
7
+ data.tar.gz: b86867c04e4a0df40f4eeac7da81ff678f0de751c929400290f63de5da25cc4a3cc67f14c27600ed29264362a11d7a686b7955bfeb8a5e85a81f3695a8eef473
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mixture (0.3.5)
4
+ mixture (0.3.6)
5
5
  thread_safe (~> 0.3)
6
6
 
7
7
  GEM
@@ -7,6 +7,7 @@ module Mixture
7
7
  type Types::Nil
8
8
 
9
9
  coerce_to(Types::Object, Itself)
10
+ coerce_to(Types::Nil, Itself)
10
11
  coerce_to(Types::String) { "" }
11
12
  coerce_to(Types::Array) { [] }
12
13
  coerce_to(Types::Float) { 0.0 }
@@ -7,6 +7,7 @@ module Mixture
7
7
  type Types::Range
8
8
 
9
9
  coerce_to(Types::Object, Itself)
10
+ coerce_to(Types::Range, Itself)
10
11
  coerce_to(Types::String, :to_s)
11
12
  coerce_to(Types::Array, :to_a)
12
13
  end
@@ -81,6 +81,7 @@ module Mixture
81
81
  register Integer
82
82
  register Nil
83
83
  register Object
84
+ register Range
84
85
  register Rational
85
86
  register Set
86
87
  register String
@@ -5,5 +5,5 @@ module Mixture
5
5
  # The current version of Mixture.
6
6
  #
7
7
  # @return [String]
8
- VERSION = "0.3.5"
8
+ VERSION = "0.3.6"
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.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Rodi