schema_plus 1.8.4 → 1.8.5

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: b535cbef242d2c3616d089e7ef267ffcda421a06
4
- data.tar.gz: e788022566d93869fd22c992c1e15b6acee28bf9
3
+ metadata.gz: b9a8707ec7f02b04de258e6ff545d03b1104b49c
4
+ data.tar.gz: b0188b5c1f872ade4d5f154e3c30bd3cb28ae998
5
5
  SHA512:
6
- metadata.gz: 2c4bb4ccada1450523f33121bf5c7f4071c53f1714c6fbe6cd1c32efdce9aa85ddf7130194332b048127af5ef18ecbff4b738be8e6e172126d68abf686e9e0c2
7
- data.tar.gz: c5f26b566f7cc429eb62d53a0d1f84faed2583b4bbc1f76b0ceabcc6e44ad3f80571456aef55a614720a9a106ea38e89bb18c508b3839eb91943c85591d57f28
6
+ metadata.gz: c17a94e9fae19d6a1c59ba46e0f86aca656934696652e19101ea354da8caaf21862aaa5ffcffffafe430dfbd7c3fa9581ed100e2ed2d85828c78ce0c7a5af2e3
7
+ data.tar.gz: 1be229a2a98c6e24534a9bc5e3123737adb9792e0626a1f21d6572e158370c09ec1df4f7c21434393584a34ba1d2257c03abb048edb63bf5f03c8153d80ee3d9
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## Change Log
4
4
 
5
+ ## 1.8.5
6
+
7
+ * Bug fix: DB_DEFAULT shouldn't cause t.inet columns to fail. (#198)
8
+
5
9
  ## 1.8.4
6
10
 
7
11
  * Bug fix: Allow default value as hash for json columns (#195)
@@ -9,7 +9,7 @@ module SchemaPlus
9
9
  # prevent attempts to cast DB_DEFAULT to the attributes type.
10
10
  # We want to keep it as DB_DEFAULT so that we can handle it when
11
11
  # generating the sql.
12
- return DB_DEFAULT if value_before_type_cast == DB_DEFAULT
12
+ return DB_DEFAULT if value_before_type_cast.equal? DB_DEFAULT
13
13
  original_value_without_schema_plus
14
14
  end
15
15
 
@@ -1,3 +1,3 @@
1
1
  module SchemaPlus
2
- VERSION = "1.8.4"
2
+ VERSION = "1.8.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: schema_plus
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.4
4
+ version: 1.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ronen Barzel
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-01-14 00:00:00.000000000 Z
12
+ date: 2015-01-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord