jpie 0.3.1 → 0.4.1
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/{.aiconfig → .cursorrules} +14 -2
- data/CHANGELOG.md +51 -0
- data/README.md +179 -844
- data/examples/basic_example.md +146 -0
- data/examples/including_related_resources.md +491 -0
- data/examples/resource_attribute_configuration.md +147 -0
- data/examples/resource_meta_configuration.md +244 -0
- data/examples/single_table_inheritance.md +160 -0
- data/lib/jpie/controller/crud_actions.rb +10 -0
- data/lib/jpie/controller/error_handling.rb +168 -17
- data/lib/jpie/controller/json_api_validation.rb +171 -0
- data/lib/jpie/controller.rb +2 -0
- data/lib/jpie/errors.rb +41 -0
- data/lib/jpie/generators/resource_generator.rb +86 -9
- data/lib/jpie/generators/templates/resource.rb.erb +20 -1
- data/lib/jpie/resource/attributable.rb +21 -2
- data/lib/jpie/resource.rb +26 -0
- data/lib/jpie/version.rb +1 -1
- metadata +9 -3
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jpie
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Emil Kampp
|
8
8
|
bindir: exe
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-05-
|
10
|
+
date: 2025-05-25 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: activesupport
|
@@ -169,18 +169,24 @@ executables: []
|
|
169
169
|
extensions: []
|
170
170
|
extra_rdoc_files: []
|
171
171
|
files:
|
172
|
-
- ".
|
172
|
+
- ".cursorrules"
|
173
173
|
- ".rubocop.yml"
|
174
174
|
- CHANGELOG.md
|
175
175
|
- LICENSE.txt
|
176
176
|
- README.md
|
177
177
|
- Rakefile
|
178
|
+
- examples/basic_example.md
|
179
|
+
- examples/including_related_resources.md
|
180
|
+
- examples/resource_attribute_configuration.md
|
181
|
+
- examples/resource_meta_configuration.md
|
182
|
+
- examples/single_table_inheritance.md
|
178
183
|
- jpie.gemspec
|
179
184
|
- lib/jpie.rb
|
180
185
|
- lib/jpie/configuration.rb
|
181
186
|
- lib/jpie/controller.rb
|
182
187
|
- lib/jpie/controller/crud_actions.rb
|
183
188
|
- lib/jpie/controller/error_handling.rb
|
189
|
+
- lib/jpie/controller/json_api_validation.rb
|
184
190
|
- lib/jpie/controller/parameter_parsing.rb
|
185
191
|
- lib/jpie/controller/rendering.rb
|
186
192
|
- lib/jpie/deserializer.rb
|