activerecord_flag_support 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 07737a02d0a2ca4ca885b194276fa0a03a16feed
4
- data.tar.gz: ed7466e52c8aaead7a245ae74bb36dd5175e8d9e
3
+ metadata.gz: 136a64d0d8c46a621c89f0d5c4c9931d5038fda6
4
+ data.tar.gz: 9301a59414fdf1c72faf52804fad3afafa4698a6
5
5
  SHA512:
6
- metadata.gz: 12e0a461320a0560509ab851526eb6250a30fc3cf30b359db4381c5fc5e68ab41e5342578a50f7511646076dbc238a8a9cadb287c6eb4eda127532eb049d2037
7
- data.tar.gz: 702f3b578bc0ea0161a71f18909aa5b7e01a8a914d31082b4d11d9fbcadab460107e0ff70ddf11c9e817f09142191d1ec9e45b3bdab9dc68c6a497ce6718fb1f
6
+ metadata.gz: f76f91e085785f1641c96d34522a98115abcce7e213a9b029c5da7e2d1e5975fffaa9ecb3a7e99cfc2303c2a6ee7c3c14b831336366a5389eccd924b0af56f0c
7
+ data.tar.gz: 41fb60182238c97d669eee76c9ee28f71607d198099ef05738085f15937a0b8f6464f5fe03867598cf3fe48b0bc108113043cea9ab63a4b4cc27f3fc01e89e4a
@@ -10,7 +10,7 @@ module ActiveRecordFlagSupport
10
10
  method_hash = field
11
11
  field = :flags
12
12
  end
13
- unless method_hash.is_a?( Hash )
13
+ unless method_hash.is_a?( Array )
14
14
  col = 1
15
15
  method_hash = method_hash.inject( {} ) do |m,x|
16
16
  m[x] = col
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord_flag_support
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Palmblad