globalid 0.3.4 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of globalid might be problematic. Click here for more details.

Files changed (3) hide show
  1. data/lib/global_id/locator.rb +2 -2
  2. metadata +18 -12
  3. checksums.yaml +0 -7
@@ -123,8 +123,8 @@ class GlobalID
123
123
  app.to_s.downcase
124
124
  end
125
125
 
126
- def find_records(model_class, ids, ignore_missing:)
127
- if ignore_missing
126
+ def find_records(model_class, ids, options)
127
+ if options[:ignore_missing]
128
128
  model_class.where(id: ids)
129
129
  else
130
130
  model_class.find(ids)
metadata CHANGED
@@ -1,7 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: globalid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - David Heinemeier Hansson
@@ -13,29 +14,33 @@ dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: activesupport
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
- - - ">="
19
+ - - ! '>='
18
20
  - !ruby/object:Gem::Version
19
21
  version: 4.1.0
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
- - - ">="
27
+ - - ! '>='
25
28
  - !ruby/object:Gem::Version
26
29
  version: 4.1.0
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: rake
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
- - - ">="
35
+ - - ! '>='
32
36
  - !ruby/object:Gem::Version
33
37
  version: '0'
34
38
  type: :development
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
- - - ">="
43
+ - - ! '>='
39
44
  - !ruby/object:Gem::Version
40
45
  version: '0'
41
46
  description: URIs for your models makes it easy to pass references around.
@@ -45,36 +50,37 @@ extensions: []
45
50
  extra_rdoc_files: []
46
51
  files:
47
52
  - MIT-LICENSE
48
- - lib/global_id.rb
49
53
  - lib/global_id/global_id.rb
50
54
  - lib/global_id/identification.rb
51
55
  - lib/global_id/locator.rb
52
56
  - lib/global_id/railtie.rb
53
57
  - lib/global_id/signed_global_id.rb
54
58
  - lib/global_id/uri/gid.rb
59
+ - lib/global_id.rb
55
60
  - lib/globalid.rb
56
61
  homepage: http://www.rubyonrails.org
57
62
  licenses:
58
63
  - MIT
59
- metadata: {}
60
64
  post_install_message:
61
65
  rdoc_options: []
62
66
  require_paths:
63
67
  - lib
64
68
  required_ruby_version: !ruby/object:Gem::Requirement
69
+ none: false
65
70
  requirements:
66
- - - ">="
71
+ - - ! '>='
67
72
  - !ruby/object:Gem::Version
68
73
  version: 1.9.3
69
74
  required_rubygems_version: !ruby/object:Gem::Requirement
75
+ none: false
70
76
  requirements:
71
- - - ">="
77
+ - - ! '>='
72
78
  - !ruby/object:Gem::Version
73
79
  version: '0'
74
80
  requirements: []
75
81
  rubyforge_project:
76
- rubygems_version: 2.2.2
82
+ rubygems_version: 1.8.23.2
77
83
  signing_key:
78
- specification_version: 4
79
- summary: 'Refer to any model with a URI: gid://app/class/id'
84
+ specification_version: 3
85
+ summary: ! 'Refer to any model with a URI: gid://app/class/id'
80
86
  test_files: []
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 0900d9c61b92f834447117f95eb42e288bc4c295
4
- data.tar.gz: a16f774ad3ff54c240b65575316d88186f7de201
5
- SHA512:
6
- metadata.gz: c011c4f6d933622e912095363f7443291fff84e51cedd885cf75d3d30c64bd11ddc9a23d9be58428f24fe2672793aff9252ad8ddfce7999ff47d6083b779e04b
7
- data.tar.gz: 939192c118d11e7e2975e4d20042b4fec032a5bb8970917b608b079062da32ae2f0b7188d0cd029f6012b5a22fb6d1010e92d62e7109d7deaea8521a43411dcb