sql_enum 0.1.6 → 0.1.7

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: 843fd8b612bdd575ae54a36a1b5e162e8155bc4c
4
- data.tar.gz: 33299f79834daab120f811196c4e46032141a28b
3
+ metadata.gz: 800771c9f66e38efd82466bb42bf3fe69cdeac30
4
+ data.tar.gz: c51fbf911e5d86a28da0579e49a47421bef5807a
5
5
  SHA512:
6
- metadata.gz: ba6150c41c68081151c46f11e44a39f20302fe96f094037b848e3ff0c5236f281f5de440612a1c190a7edc670711677351912b0d03fb06324782dea845f543cb
7
- data.tar.gz: ce4685e49fb99fa77a8964d271011a26ff37e0d3fb692cf7a73c81f313574e728f71cee675c9f83209bb6bf591d414ba867839f227ac619476b7e54f4413732c
6
+ metadata.gz: 3413183959640b5d695387fd010af9e1f04dc2ef8d58308fa6c955c93755bf0137a6b1453668d1de5b2c066a4ea352080651365e06173d47a0a4c3cf2e8ea6e2
7
+ data.tar.gz: 8cee03e3b00830174d6c119041ec621afe5c94834b452d1ff479ffb452d3bae3ad9217676e1bf89c527e01a34178f674e59b5c844dac1cd80c6fedb6f244be4e
@@ -13,7 +13,7 @@ module ActiveRecord
13
13
  return if value.blank?
14
14
 
15
15
  if valid?(value)
16
- value.to_s
16
+ value.to_sym
17
17
  else
18
18
  assert_valid_value(value)
19
19
  end
@@ -1,3 +1,3 @@
1
1
  module SqlEnum
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sql_enum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fletcher Fowler
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-02-28 00:00:00.000000000 Z
11
+ date: 2018-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord