simple-jsonapi-deserializer 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 +4 -0
- data/.rspec +1 -0
- data/.rubocop.yml +14 -0
- data/ChangeLog.md +4 -0
- data/Gemfile +3 -0
- data/Gemfile.lock +50 -0
- data/LICENSE.txt +20 -0
- data/README.md +82 -0
- data/lib/simple_jsonapi_deserializer.rb +14 -0
- data/lib/simple_jsonapi_deserializer/deserializer.rb +35 -0
- data/lib/simple_jsonapi_deserializer/parse_error.rb +3 -0
- data/lib/simple_jsonapi_deserializer/resource.rb +91 -0
- data/lib/simple_jsonapi_deserializer/resource/cache.rb +26 -0
- data/lib/simple_jsonapi_deserializer/resource/includes.rb +29 -0
- data/lib/simple_jsonapi_deserializer/version.rb +3 -0
- data/simple-jsonapi-deserializer.gemspec +33 -0
- data/spec/deserializer_spec.rb +806 -0
- data/spec/spec_helper.rb +3 -0
- metadata +111 -0
data/spec/spec_helper.rb
ADDED
metadata
ADDED
@@ -0,0 +1,111 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: simple-jsonapi-deserializer
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Gerrit Seger
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-09-21 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rspec
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 3.8.0
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 3.0.0
|
23
|
+
type: :development
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 3.8.0
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 3.0.0
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: rspec_snapshot_matcher
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: 0.1.0
|
40
|
+
type: :development
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 0.1.0
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: rubocop
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - "~>"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 0.52.0
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - "~>"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 0.52.0
|
61
|
+
description: Straight forward, painless, zero config deserialization of JSON API resources.
|
62
|
+
email: gerrit.seger@gmail.com
|
63
|
+
executables: []
|
64
|
+
extensions: []
|
65
|
+
extra_rdoc_files: []
|
66
|
+
files:
|
67
|
+
- ".gitignore"
|
68
|
+
- ".rspec"
|
69
|
+
- ".rubocop.yml"
|
70
|
+
- ChangeLog.md
|
71
|
+
- Gemfile
|
72
|
+
- Gemfile.lock
|
73
|
+
- LICENSE.txt
|
74
|
+
- README.md
|
75
|
+
- lib/simple_jsonapi_deserializer.rb
|
76
|
+
- lib/simple_jsonapi_deserializer/deserializer.rb
|
77
|
+
- lib/simple_jsonapi_deserializer/parse_error.rb
|
78
|
+
- lib/simple_jsonapi_deserializer/resource.rb
|
79
|
+
- lib/simple_jsonapi_deserializer/resource/cache.rb
|
80
|
+
- lib/simple_jsonapi_deserializer/resource/includes.rb
|
81
|
+
- lib/simple_jsonapi_deserializer/version.rb
|
82
|
+
- simple-jsonapi-deserializer.gemspec
|
83
|
+
- spec/deserializer_spec.rb
|
84
|
+
- spec/spec_helper.rb
|
85
|
+
homepage: https://rubygems.org/gems/simple-jsonapi-deserializer
|
86
|
+
licenses:
|
87
|
+
- MIT
|
88
|
+
metadata: {}
|
89
|
+
post_install_message:
|
90
|
+
rdoc_options: []
|
91
|
+
require_paths:
|
92
|
+
- lib
|
93
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - ">="
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '0'
|
98
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '0'
|
103
|
+
requirements: []
|
104
|
+
rubyforge_project:
|
105
|
+
rubygems_version: 2.7.6
|
106
|
+
signing_key:
|
107
|
+
specification_version: 4
|
108
|
+
summary: JSON API resource deserialization.
|
109
|
+
test_files:
|
110
|
+
- spec/deserializer_spec.rb
|
111
|
+
- spec/spec_helper.rb
|