plate_id 0.0.12 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7eb7c5597adcc23dd5ed9b52ccba9c60b13114f57d91021632a96861f8e0e004
4
- data.tar.gz: 32ae6fb755fc9e59e90b73da758b06ab1644f48841583ab5a6401b56e23d43a8
3
+ metadata.gz: 1e30fc65658e39f6b2d420929c6c5d068b6ee9cf470bf5ea9a528eb9cf8317c1
4
+ data.tar.gz: 8c4a02b584b848d9f8276f4d881af29749e1b9d66be9fb9d7899ae58044a0bdc
5
5
  SHA512:
6
- metadata.gz: f25b9d041ce5a9dd21cbde0095b3f7fd84b9f2a9d7cf6ece09db8d1f81699b8c7c7b6458b6fb832ee0b408415e898e89b69909a8672744dbb4f8fe67870322e7
7
- data.tar.gz: f62f1d99d6e491c9f99e44ecedeaf74f407c0bdffa1cd5b477ad280b2866b985f296439b1e436fbd7aa9b8fa62822451a85ce2080f2b3bc2acff561e1b6824f3
6
+ metadata.gz: d8bc279eb2b127a38db39a4ab45fc8a580091f3e631eb24245f02d329581c0881e3c88793e84ba878513844f9bb89b788630029ab7e1e124d173f1772ba308bf
7
+ data.tar.gz: 7cfe0f44c9a17c11352507ff308ff4a6495b02d3745d2b2ed71e04a712e3dddfd8d1578678321e34a61e29d605f2cc7d87c370fb6d982e2eb09581dcba77b13f
data/Gemfile.lock ADDED
@@ -0,0 +1,34 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ plate_id (0.0.14)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ diff-lcs (1.5.0)
10
+ rake (13.0.6)
11
+ rspec (3.11.0)
12
+ rspec-core (~> 3.11.0)
13
+ rspec-expectations (~> 3.11.0)
14
+ rspec-mocks (~> 3.11.0)
15
+ rspec-core (3.11.0)
16
+ rspec-support (~> 3.11.0)
17
+ rspec-expectations (3.11.0)
18
+ diff-lcs (>= 1.2.0, < 2.0)
19
+ rspec-support (~> 3.11.0)
20
+ rspec-mocks (3.11.1)
21
+ diff-lcs (>= 1.2.0, < 2.0)
22
+ rspec-support (~> 3.11.0)
23
+ rspec-support (3.11.0)
24
+
25
+ PLATFORMS
26
+ x86_64-linux
27
+
28
+ DEPENDENCIES
29
+ plate_id!
30
+ rake (~> 13.0)
31
+ rspec (~> 3.0)
32
+
33
+ BUNDLED WITH
34
+ 2.3.4
data/lib/plate_id.rb CHANGED
@@ -56,6 +56,10 @@ class PlateID
56
56
  plate_class&.find_by(id: uri.id)
57
57
  end
58
58
 
59
+ def ==(other)
60
+ to_s == other.to_s
61
+ end
62
+
59
63
  private
60
64
 
61
65
  def fetch_uri(plate_id)
data/lib/uri/plate_id.rb CHANGED
@@ -42,6 +42,10 @@ module URI
42
42
  "Ngn::ContentModel::TrayType" => { host: "ContentModel", base_class: "TrayType" },
43
43
  "Ngn::ContentModel::AuthenticationType" => { host: "ContentModel", base_class: "AuthenticationType" },
44
44
 
45
+ "Ngn::ContentModel::ContentFieldDefinition" => { host: "ContentModel", base_class: "ContentFieldDefinition" },
46
+ "Ngn::ContentModel::ContentFieldDefinitionGroup" => { host: "ContentModel", base_class: "ContentFieldDefinitionGroup" },
47
+ "Ngn::ContentModel::ContentFieldDefinitionGroupAssignment" => { host: "ContentModel", base_class: "ContentFieldDefinitionGroupAssignment" },
48
+
45
49
  "Ngn::Theming::Theme" => { host: "Theming", base_class: "Theme" },
46
50
  "Ngn::Theming::ThemeFile" => { host: "Theming", base_class: "ThemeFile" },
47
51
  "Ngn::Theming::Prerender" => { host: "Theming", base_class: "Prerender" },
data/plate_id.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "plate_id"
5
- spec.version = "0.0.12"
5
+ spec.version = "0.0.14"
6
6
  spec.authors = ["Kobus Post"]
7
7
  spec.email = ["kobus@getplate.com"]
8
8
  spec.homepage = "https://www.getplate.com"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plate_id
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kobus Post
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-10-14 00:00:00.000000000 Z
11
+ date: 2022-12-22 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Identify any Plate record or class with URIs. Somewhat based on Rails's
14
14
  GlobalID gem.
@@ -21,6 +21,7 @@ files:
21
21
  - ".gitignore"
22
22
  - ".rspec"
23
23
  - Gemfile
24
+ - Gemfile.lock
24
25
  - LICENSE.txt
25
26
  - Rakefile
26
27
  - bin/console
@@ -32,7 +33,7 @@ homepage: https://www.getplate.com
32
33
  licenses:
33
34
  - MIT
34
35
  metadata: {}
35
- post_install_message:
36
+ post_install_message:
36
37
  rdoc_options: []
37
38
  require_paths:
38
39
  - lib
@@ -47,8 +48,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
47
48
  - !ruby/object:Gem::Version
48
49
  version: '0'
49
50
  requirements: []
50
- rubygems_version: 3.1.2
51
- signing_key:
51
+ rubygems_version: 3.3.4
52
+ signing_key:
52
53
  specification_version: 4
53
54
  summary: 'Refer to any Plate object or class by using the URI syntax: plateid://Group/Class/id'
54
55
  test_files: []