globalid 0.3.2 → 0.3.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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/global_id/locator.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8de6b91a01618007f9a6e49dbd58a90624388f7f
4
- data.tar.gz: 43b53c7a32f09a2460aba23c8dfad3a0c216dd15
3
+ metadata.gz: f2528856199c7987932762dc50ef3c32e648bed3
4
+ data.tar.gz: 5173c699b2cc2259f69020ad8ab612cd743c6dcc
5
5
  SHA512:
6
- metadata.gz: 22b319f6839af32cb2ae8b9f6a9f08a261655ec9e879ba5ad49c1cc2236c630e30fcff0ac4a070db2a96adbb5f9a70716d46ef8467c633b942980943c26da93d
7
- data.tar.gz: 265231350914b1259566b568a4dd1d69a5790a397792da0eeea658a9abb1468ff61db1337051251aceaf9c72910dd15589c98d5283cb4e2e383855987601b887
6
+ metadata.gz: bfe22b6446db4558d072e4879ab105aecc08d3f5e4ad11c10242165391b3aab1aea0c913f03af1a17f3fa1358edd11988436c39f47088d00317908ca39ef34d2
7
+ data.tar.gz: 56ee044ed7cec2396866bc83be18c0045784c5e36072a20545c92b30305704d49169291a6e8b4dd2d6b89f4aecf0495cfa140c3d80b62a1786876d2adb2f1ea2
@@ -69,7 +69,7 @@ class GlobalID
69
69
  # instances of returned classes to those including that module. If no classes or
70
70
  # modules match, +nil+ is returned.
71
71
  def locate_many_signed(sgids, options = {})
72
- locate_many sgids.collect { |sgid| SignedGlobalID.parse(sgid) }, options
72
+ locate_many sgids.collect { |sgid| SignedGlobalID.parse(sgid, options.slice(:for)) }.compact, options
73
73
  end
74
74
 
75
75
  # Tie a locator to an app.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: globalid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-05 00:00:00.000000000 Z
11
+ date: 2015-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport