plate_id 0.0.7 → 0.0.11

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
  SHA256:
3
- metadata.gz: 4a739c97b4695a5e4215733bf61da11d9a062f4efad404f6457f3af84297076d
4
- data.tar.gz: 554eb95e24f95a830446d45c404677d47f86986d2d593aae9caa7f38be932e2b
3
+ metadata.gz: 488d85239ff8cf21a64aa0b26d92979c14ae171df4d6dc2a86b904b75951bbd7
4
+ data.tar.gz: a558664d19fe9453f47baa02533474bf5a721db453b404e7b297acb1211539b0
5
5
  SHA512:
6
- metadata.gz: 6a74bde97760d74f9bb9ac4a172423eaec845a8c55cbe528154b6a130c968b02cb8e14124cfdff70f4d71cc259152450489c2290b7f57c8192634371891c8fac
7
- data.tar.gz: 6a0022c025bd6916448f2bee27c9a372ab49e9e737d8a5c55fa0009359dcd35599d7743bc6d95f8acc5856264efa8f406d72146bfbe2372d46e01b43f3090004
6
+ metadata.gz: 65d296b931c674c016189c2763a48b998733aa7304c1b5f6f25dfbdcd2af0d126cd956502c6ab5e4904d7d9d28e0a8db3c085550677c3aafa3e3ffedfdcebc23
7
+ data.tar.gz: 31d0cdf339fb8abf64f2f6c6a56c01169c0a4a948f26452450ee4390ed1d545aa26d6445973eaecef6531cdb36ff9ec543153d65b27aa8f0b090141b8f5a43d1
data/.gitignore CHANGED
@@ -9,3 +9,4 @@
9
9
 
10
10
  # rspec failure tracking
11
11
  .rspec_status
12
+ *.gem
data/lib/uri/plate_id.rb CHANGED
@@ -13,7 +13,11 @@ module URI
13
13
 
14
14
  MAPPING = {
15
15
  "Site" => { host: "Base", base_class: "Site" },
16
+ "Ngn::Site" => { host: "Base", base_class: "Site" },
17
+ "Org::Site" => { host: "Base", base_class: "Site" },
16
18
  "Ngn::Attachment" => { host: "Base", base_class: "Attachment" },
19
+ "Ngn::AttachmentSetting" => { host: "Base", base_class: "AttachmentSetting" },
20
+ "Ngn::AttachmentFolder" => { host: "Base", base_class: "AttachmentFolder" },
17
21
  "Ngn::Domain" => { host: "Base", base_class: "Domain" },
18
22
  "Ngn::ClipboardItem" => { host: "Base", base_class: "ClipboardItem" },
19
23
  "Ngn::VersionControl::Actions::Action" => { host: "Base", base_class: "VersionControl" },
@@ -33,10 +37,11 @@ module URI
33
37
  "Ngn::ContentModel::SectionType" => { host: "ContentModel", base_class: "SectionType" },
34
38
  "Ngn::ContentModel::ElementType" => { host: "ContentModel", base_class: "ElementType" },
35
39
  "Ngn::ContentModel::ObjectTypeKind" => { host: "ContentModel", base_class: "ContentType" },
40
+ "Ngn::ContentModel::ObjectType" => { host: "ContentModel", base_class: "ObjectType" }, # TODO: legacy, to be replaced with typed kinds
36
41
  "Ngn::ContentModel::TrayType" => { host: "ContentModel", base_class: "TrayType" },
37
42
  "Ngn::ContentModel::AuthenticationType" => { host: "ContentModel", base_class: "AuthenticationType" },
38
43
 
39
- "Ngn::Theming::SiteTheme" => { host: "Theming", base_class: "Theme" },
44
+ "Ngn::Theming::Theme" => { host: "Theming", base_class: "Theme" },
40
45
  "Ngn::Theming::ThemeFile" => { host: "Theming", base_class: "ThemeFile" },
41
46
  "Ngn::Theming::Prerender" => { host: "Theming", base_class: "Prerender" },
42
47
 
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.7"
5
+ spec.version = "0.0.11"
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.7
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kobus Post
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-04-08 00:00:00.000000000 Z
11
+ date: 2021-08-17 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.