acts_as_hoc_user 1.0.2 → 1.0.3

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: a49ca7c032c1db977a55082f9bb021103081ceef
4
- data.tar.gz: a71a8f081ddb62f710898d5c2162f4cecceaf1f4
3
+ metadata.gz: 90b376f54370805ce19e74fcce556fb41ce43f90
4
+ data.tar.gz: 3ce3592510ef5ea758665b2fa9ff1aa96a4eb270
5
5
  SHA512:
6
- metadata.gz: d63df15b901b3d8442803b5566f0c160f9ca94bd455f8f3a8dbaa061e3d25157ace27c52e82bab83877bf7e33afc04952252919c95bf5eaf838165fd5554ffe7
7
- data.tar.gz: 1cfa855585d358769889345455b9858af30cd2178eaa7a56b898e7c2a383ef3fff017597700f86a6ff84230e95c3fbdef4431aa699ac9d8678cef3bab727e2e3
6
+ metadata.gz: ffbe107f43232cce9b3731a5cc8a21f7df5176b3c029a0a52171cc577fd9f9cc5c2406f9556a18028ba973524fe73b9a815267e8d5564ae73fe1e4678c7954fe
7
+ data.tar.gz: d82ca9d1ad0c12fc8ea7e1e3915a2ab6c0f77bdf8650f02e08d1b871df03a5b7883b3066fca8970d5c4a1e3b06234443107e78d792d0a54702e0d88cbcb2c78d
@@ -1,3 +1,3 @@
1
1
  module ActsAsHocUser
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
@@ -35,7 +35,7 @@ module ActsAsHocUser
35
35
  def migration_indexes
36
36
  return fields.map { |field|
37
37
  elems = field.split(":")
38
- elems.second if elems.count > 2
38
+ elems.first if elems.count > 2
39
39
  }.compact unless fields.nil?
40
40
  return []
41
41
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acts_as_hoc_user
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gert Lavsen