w3c_api 0.1.3 → 0.1.4
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/.rubocop_todo.yml +22 -13
- data/README.adoc +246 -827
- data/demo/test_embed_functionality.rb +87 -0
- data/lib/w3c_api/client.rb +23 -1
- data/lib/w3c_api/embed.rb +40 -0
- data/lib/w3c_api/hal.rb +290 -115
- data/lib/w3c_api/models.rb +37 -37
- data/lib/w3c_api/version.rb +1 -1
- data/lib/w3c_api.rb +1 -0
- metadata +6 -18
data/lib/w3c_api/models.rb
CHANGED
@@ -6,42 +6,42 @@ module W3cApi
|
|
6
6
|
# This eliminates the class loading order dependency that caused
|
7
7
|
# inconsistent type names in HAL output
|
8
8
|
|
9
|
-
autoload :Account, '
|
10
|
-
autoload :Affiliation, '
|
11
|
-
autoload :AffiliationIndex, '
|
12
|
-
autoload :CallForTranslation, '
|
13
|
-
autoload :ChairIndex, '
|
14
|
-
autoload :Charter, '
|
15
|
-
autoload :CharterIndex, '
|
16
|
-
autoload :ConnectedAccount, '
|
17
|
-
autoload :DelivererIndex, '
|
18
|
-
autoload :Ecosystem, '
|
19
|
-
autoload :EcosystemIndex, '
|
20
|
-
autoload :EditorIndex, '
|
21
|
-
autoload :EvangelistIndex, '
|
22
|
-
autoload :Extension, '
|
23
|
-
autoload :Group, '
|
24
|
-
autoload :GroupIndex, '
|
25
|
-
autoload :Groups, '
|
26
|
-
autoload :
|
27
|
-
autoload :ParticipantIndex, '
|
28
|
-
autoload :Participation, '
|
29
|
-
autoload :ParticipationIndex, '
|
30
|
-
autoload :Photo, '
|
31
|
-
autoload :Serie, '
|
32
|
-
autoload :SerieIndex, '
|
33
|
-
autoload :SpecVersion, '
|
34
|
-
autoload :SpecVersionIndex, '
|
35
|
-
autoload :SpecVersionPredecessorIndex, '
|
36
|
-
autoload :SpecVersionSuccessorIndex, '
|
37
|
-
autoload :SpecVersionRef, '
|
38
|
-
autoload :Specification, '
|
39
|
-
autoload :SpecificationIndex, '
|
40
|
-
autoload :TeamContactIndex, '
|
41
|
-
autoload :Testimonial, '
|
42
|
-
autoload :Translation, '
|
43
|
-
autoload :TranslationIndex, '
|
44
|
-
autoload :User, '
|
45
|
-
autoload :UserIndex, '
|
9
|
+
autoload :Account, File.expand_path('models/account', __dir__)
|
10
|
+
autoload :Affiliation, File.expand_path('models/affiliation', __dir__)
|
11
|
+
autoload :AffiliationIndex, File.expand_path('models/affiliation_index', __dir__)
|
12
|
+
autoload :CallForTranslation, File.expand_path('models/call_for_translation', __dir__)
|
13
|
+
autoload :ChairIndex, File.expand_path('models/chair_index', __dir__)
|
14
|
+
autoload :Charter, File.expand_path('models/charter', __dir__)
|
15
|
+
autoload :CharterIndex, File.expand_path('models/charter_index', __dir__)
|
16
|
+
autoload :ConnectedAccount, File.expand_path('models/connected_account', __dir__)
|
17
|
+
autoload :DelivererIndex, File.expand_path('models/deliverer_index', __dir__)
|
18
|
+
autoload :Ecosystem, File.expand_path('models/ecosystem', __dir__)
|
19
|
+
autoload :EcosystemIndex, File.expand_path('models/ecosystem_index', __dir__)
|
20
|
+
autoload :EditorIndex, File.expand_path('models/editor_index', __dir__)
|
21
|
+
autoload :EvangelistIndex, File.expand_path('models/evangelist_index', __dir__)
|
22
|
+
autoload :Extension, File.expand_path('models/extension', __dir__)
|
23
|
+
autoload :Group, File.expand_path('models/group', __dir__)
|
24
|
+
autoload :GroupIndex, File.expand_path('models/group_index', __dir__)
|
25
|
+
autoload :Groups, File.expand_path('models/groups', __dir__)
|
26
|
+
autoload :JoinEmailIndex, File.expand_path('models/join_emails', __dir__)
|
27
|
+
autoload :ParticipantIndex, File.expand_path('models/participant_index', __dir__)
|
28
|
+
autoload :Participation, File.expand_path('models/participation', __dir__)
|
29
|
+
autoload :ParticipationIndex, File.expand_path('models/participation_index', __dir__)
|
30
|
+
autoload :Photo, File.expand_path('models/photo', __dir__)
|
31
|
+
autoload :Serie, File.expand_path('models/serie', __dir__)
|
32
|
+
autoload :SerieIndex, File.expand_path('models/serie_index', __dir__)
|
33
|
+
autoload :SpecVersion, File.expand_path('models/spec_version', __dir__)
|
34
|
+
autoload :SpecVersionIndex, File.expand_path('models/spec_version_index', __dir__)
|
35
|
+
autoload :SpecVersionPredecessorIndex, File.expand_path('models/spec_version_predecessor_index', __dir__)
|
36
|
+
autoload :SpecVersionSuccessorIndex, File.expand_path('models/spec_version_successor_index', __dir__)
|
37
|
+
autoload :SpecVersionRef, File.expand_path('models/spec_version_ref', __dir__)
|
38
|
+
autoload :Specification, File.expand_path('models/specification', __dir__)
|
39
|
+
autoload :SpecificationIndex, File.expand_path('models/specification_index', __dir__)
|
40
|
+
autoload :TeamContactIndex, File.expand_path('models/team_contact_index', __dir__)
|
41
|
+
autoload :Testimonial, File.expand_path('models/testimonial', __dir__)
|
42
|
+
autoload :Translation, File.expand_path('models/translation', __dir__)
|
43
|
+
autoload :TranslationIndex, File.expand_path('models/translation_index', __dir__)
|
44
|
+
autoload :User, File.expand_path('models/user', __dir__)
|
45
|
+
autoload :UserIndex, File.expand_path('models/user_index', __dir__)
|
46
46
|
end
|
47
47
|
end
|
data/lib/w3c_api/version.rb
CHANGED
data/lib/w3c_api.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: w3c_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-07-
|
11
|
+
date: 2025-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -44,28 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.1.
|
47
|
+
version: 0.1.9
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.1.
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: lutaml-model
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
type: :runtime
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
54
|
+
version: 0.1.9
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
56
|
name: rainbow
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -107,6 +93,7 @@ files:
|
|
107
93
|
- LICENSE.md
|
108
94
|
- README.adoc
|
109
95
|
- Rakefile
|
96
|
+
- demo/test_embed_functionality.rb
|
110
97
|
- exe/w3c_api
|
111
98
|
- lib/w3c_api.rb
|
112
99
|
- lib/w3c_api/cli.rb
|
@@ -121,6 +108,7 @@ files:
|
|
121
108
|
- lib/w3c_api/commands/specification_version.rb
|
122
109
|
- lib/w3c_api/commands/translation.rb
|
123
110
|
- lib/w3c_api/commands/user.rb
|
111
|
+
- lib/w3c_api/embed.rb
|
124
112
|
- lib/w3c_api/hal.rb
|
125
113
|
- lib/w3c_api/models.rb
|
126
114
|
- lib/w3c_api/models/account.rb
|