bitmasker 0.3.0 → 0.3.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: 0b9d86b80ada949fbfe10b5b0facfeeaa252dc4d
4
- data.tar.gz: 2ad25ab9c0b786d7a337eaecdd44803395e3fc9c
3
+ metadata.gz: f8e18e40165c1a709f4d8c17576fd36584f53bf5
4
+ data.tar.gz: 2d93c535a39aaa6d580d2fb99568e54ac92948bf
5
5
  SHA512:
6
- metadata.gz: 10d0d57a118c30a543ddb867ea057268db5fa9cc090ea17e9c3db339b6da8e7e97d9c5dfd9e4eb94e6fa49aede0c4ef3f457745d3187e88ab3c332095422bc1b
7
- data.tar.gz: 612d47def7e725abb1e3a38f18c58973b4639fc4f1f79673df2b697cdc548d9870b51c0d5e9b09a0fba427c9e68a7368ec1ced80ee87e264a1999b86bf0313bd
6
+ metadata.gz: a24fbbac996502ed2bf30641d2497e290db8da3d80a05c6e43ef7be8a1171f40b82111bc85f3a207b9fa73f5320a6b8febfd35750119d5982ae86e67344c1345
7
+ data.tar.gz: 892fc1cde3deda78f16dc566d5f2aeaa1ea93f24a5b2f8b78ac4ac0645b1632758e8632e1f15ed0500310315d2c4754804a4627f03d704aaf136d0feaf2ea7e3
@@ -8,8 +8,8 @@ module Bitmasker
8
8
  end
9
9
 
10
10
  def value_to_boolean(value)
11
- if defined? ::ActiveRecord::ConnectionAdapters::Column
12
- ::ActiveRecord::ConnectionAdapters::Column.value_to_boolean(value)
11
+ if defined? ::ActiveRecord::ConnectionAdapters::Column::TRUE_VALUES
12
+ ::ActiveRecord::ConnectionAdapters::Column::TRUE_VALUES.include? value
13
13
  else
14
14
  ['1', 1, 't', 'true', true].include? value
15
15
  end
@@ -1,3 +1,3 @@
1
1
  module Bitmasker
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitmasker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amiel Martin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-25 00:00:00.000000000 Z
11
+ date: 2015-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bitmask