media_types-serialization 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +12 -0
- data/.idea/.rakeTasks +7 -0
- data/.idea/dictionaries/Derk_Jan.xml +7 -0
- data/.idea/inspectionProfiles/Project_Default.xml +6 -0
- data/.idea/media_types-serialization.iml +55 -0
- data/.idea/misc.xml +7 -0
- data/.idea/modules.xml +8 -0
- data/.idea/runConfigurations/test.xml +20 -0
- data/.idea/vcs.xml +6 -0
- data/.travis.yml +17 -0
- data/CHANGELOG.md +5 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +76 -0
- data/LICENSE.txt +21 -0
- data/README.md +209 -0
- data/Rakefile +10 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/media_types/serialization.rb +194 -0
- data/lib/media_types/serialization/base.rb +138 -0
- data/lib/media_types/serialization/error.rb +7 -0
- data/lib/media_types/serialization/migrations_command.rb +38 -0
- data/lib/media_types/serialization/migrations_support.rb +41 -0
- data/lib/media_types/serialization/mime_type_support.rb +55 -0
- data/lib/media_types/serialization/no_content_type_given.rb +11 -0
- data/lib/media_types/serialization/no_media_type_serializers.rb +11 -0
- data/lib/media_types/serialization/no_serializer_for_content_type.rb +15 -0
- data/lib/media_types/serialization/renderer.rb +31 -0
- data/lib/media_types/serialization/renderer/register.rb +4 -0
- data/lib/media_types/serialization/version.rb +5 -0
- data/lib/media_types/serialization/wrapper.rb +15 -0
- data/lib/media_types/serialization/wrapper/html_wrapper.rb +42 -0
- data/lib/media_types/serialization/wrapper/media_collection_wrapper.rb +48 -0
- data/lib/media_types/serialization/wrapper/media_index_wrapper.rb +48 -0
- data/lib/media_types/serialization/wrapper/media_object_wrapper.rb +45 -0
- data/lib/media_types/serialization/wrapper/media_wrapper.rb +32 -0
- data/lib/media_types/serialization/wrapper/root_key.rb +20 -0
- data/media_types-serialization.gemspec +48 -0
- metadata +212 -0
metadata
ADDED
@@ -0,0 +1,212 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: media_types-serialization
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Derk-Jan Karrenbeld
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-02-18 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: actionpack
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 4.0.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 4.0.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: activesupport
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 4.0.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 4.0.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: media_types
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.6.0
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.6.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: oj
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 3.5.0
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 3.5.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: http_headers-accept
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "<"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 1.0.0
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "<"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 1.0.0
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: http_headers-link
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "<"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 1.0.0
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "<"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 1.0.0
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: bundler
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '2.0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '2.0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rake
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '10.0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '10.0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: minitest
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '5.0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '5.0'
|
139
|
+
description:
|
140
|
+
email:
|
141
|
+
- derk-jan@xpbytes.com
|
142
|
+
executables: []
|
143
|
+
extensions: []
|
144
|
+
extra_rdoc_files: []
|
145
|
+
files:
|
146
|
+
- ".gitignore"
|
147
|
+
- ".idea/.rakeTasks"
|
148
|
+
- ".idea/dictionaries/Derk_Jan.xml"
|
149
|
+
- ".idea/inspectionProfiles/Project_Default.xml"
|
150
|
+
- ".idea/media_types-serialization.iml"
|
151
|
+
- ".idea/misc.xml"
|
152
|
+
- ".idea/modules.xml"
|
153
|
+
- ".idea/runConfigurations/test.xml"
|
154
|
+
- ".idea/vcs.xml"
|
155
|
+
- ".travis.yml"
|
156
|
+
- CHANGELOG.md
|
157
|
+
- CODE_OF_CONDUCT.md
|
158
|
+
- Gemfile
|
159
|
+
- Gemfile.lock
|
160
|
+
- LICENSE.txt
|
161
|
+
- README.md
|
162
|
+
- Rakefile
|
163
|
+
- bin/console
|
164
|
+
- bin/setup
|
165
|
+
- lib/media_types/serialization.rb
|
166
|
+
- lib/media_types/serialization/base.rb
|
167
|
+
- lib/media_types/serialization/error.rb
|
168
|
+
- lib/media_types/serialization/migrations_command.rb
|
169
|
+
- lib/media_types/serialization/migrations_support.rb
|
170
|
+
- lib/media_types/serialization/mime_type_support.rb
|
171
|
+
- lib/media_types/serialization/no_content_type_given.rb
|
172
|
+
- lib/media_types/serialization/no_media_type_serializers.rb
|
173
|
+
- lib/media_types/serialization/no_serializer_for_content_type.rb
|
174
|
+
- lib/media_types/serialization/renderer.rb
|
175
|
+
- lib/media_types/serialization/renderer/register.rb
|
176
|
+
- lib/media_types/serialization/version.rb
|
177
|
+
- lib/media_types/serialization/wrapper.rb
|
178
|
+
- lib/media_types/serialization/wrapper/html_wrapper.rb
|
179
|
+
- lib/media_types/serialization/wrapper/media_collection_wrapper.rb
|
180
|
+
- lib/media_types/serialization/wrapper/media_index_wrapper.rb
|
181
|
+
- lib/media_types/serialization/wrapper/media_object_wrapper.rb
|
182
|
+
- lib/media_types/serialization/wrapper/media_wrapper.rb
|
183
|
+
- lib/media_types/serialization/wrapper/root_key.rb
|
184
|
+
- media_types-serialization.gemspec
|
185
|
+
homepage: https://github.com/XPBytes/media_types-serialization
|
186
|
+
licenses:
|
187
|
+
- MIT
|
188
|
+
metadata:
|
189
|
+
homepage_uri: https://github.com/XPBytes/media_types-serialization
|
190
|
+
source_code_uri: https://github.com/XPBytes/media_types-serialization
|
191
|
+
changelog_uri: https://github.com/XPBytes/media_types-serialization/CHANGELOG.md
|
192
|
+
post_install_message:
|
193
|
+
rdoc_options: []
|
194
|
+
require_paths:
|
195
|
+
- lib
|
196
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
197
|
+
requirements:
|
198
|
+
- - ">="
|
199
|
+
- !ruby/object:Gem::Version
|
200
|
+
version: '0'
|
201
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
202
|
+
requirements:
|
203
|
+
- - ">="
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
version: '0'
|
206
|
+
requirements: []
|
207
|
+
rubyforge_project:
|
208
|
+
rubygems_version: 2.7.6
|
209
|
+
signing_key:
|
210
|
+
specification_version: 4
|
211
|
+
summary: Add media types supported serialization using your favourite serializer
|
212
|
+
test_files: []
|