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.
- checksums.yaml +4 -4
- data/lib/global_id/locator.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f2528856199c7987932762dc50ef3c32e648bed3
|
|
4
|
+
data.tar.gz: 5173c699b2cc2259f69020ad8ab612cd743c6dcc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bfe22b6446db4558d072e4879ab105aecc08d3f5e4ad11c10242165391b3aab1aea0c913f03af1a17f3fa1358edd11988436c39f47088d00317908ca39ef34d2
|
|
7
|
+
data.tar.gz: 56ee044ed7cec2396866bc83be18c0045784c5e36072a20545c92b30305704d49169291a6e8b4dd2d6b89f4aecf0495cfa140c3d80b62a1786876d2adb2f1ea2
|
data/lib/global_id/locator.rb
CHANGED
|
@@ -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.
|
|
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-
|
|
11
|
+
date: 2015-02-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|