jsonapi-store 0.1.0

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: cc5abb5c77828e875fe51e220bf70c5326d5a9ce
4
+ data.tar.gz: 5d9e914fe4f045585efcc0988a367aa68c4ea63a
5
+ SHA512:
6
+ metadata.gz: ee1faed02f071181bd66aba29057c964a31ac09bc59761680863017e3a417be0875da8926cfd9f3c04923e27155a0ccbbce935a74b5fa581456f689a319d4f0b
7
+ data.tar.gz: 4ad5fbc58581f5057047f16187c04791706f8d106042076ddc6cc3c784277b44551e0c1072cb7e85cdbdb8f4cdb676099d6b27654e81d79f6adc724ced9ad43d
@@ -0,0 +1,13 @@
1
+ .ruby-version
2
+ /.bundle/
3
+ /Gemfile.lock
4
+ /pkg/
5
+
6
+ /.yardoc
7
+ /_yardoc/
8
+ /doc/
9
+
10
+ /spec/reports/
11
+ /coverage/
12
+
13
+ /tmp/
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
@@ -0,0 +1,7 @@
1
+ Style/Documentation:
2
+ Exclude:
3
+ - 'spec/**/*'
4
+ - 'test/**/*'
5
+ Style/FileName:
6
+ Exclude:
7
+ - 'lib/jsonapi-store.rb'
@@ -0,0 +1,6 @@
1
+ SimpleCov.start do
2
+ add_filter '/bin/'
3
+ add_filter '/spec/'
4
+ end
5
+ require 'codeclimate-test-reporter'
6
+ CodeClimate::TestReporter.start
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.3.1
5
+ before_install: gem install bundler -v 1.13.1
@@ -0,0 +1,5 @@
1
+ --title 'jsonapi-store: JSON API Data Store'
2
+ --markup markdown
3
+ lib/**/*.rb
4
+ -
5
+ README.md
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at alex@semyonov.us. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+ source 'https://rubygems.org'
3
+
4
+ # Specify your gem's dependencies in jsonapi-store.gemspec
5
+ gemspec
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ © Alex Semyonov, 2016
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,44 @@
1
+ # jsonapi-store: JSON API Data Store
2
+
3
+ Data Store for implementing JSON API-compliant server in Ruby.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'jsonapi-store'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ ```bash
16
+ bundle
17
+ ```
18
+
19
+ Or install it yourself as:
20
+
21
+ ```bash
22
+ gem install jsonapi-store
23
+ ```
24
+
25
+ ## Usage
26
+
27
+ TODO: Write usage instructions here
28
+
29
+ ## Development
30
+
31
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
32
+
33
+ To install this gem onto your local machine, run `bin/rake install`. To release a new version, update the version number in `version.rb`, and then run `bin/rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
34
+
35
+ ## Contributing
36
+
37
+ Bug reports and pull requests are welcome on GitHub at https://github.com/alsemyonov/jsonapi-store. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
38
+
39
+ ## License
40
+
41
+ © [Alex Semyonov](https://github.com/alsemyonov), <[alex@semyonov.us](mailto:alex@semyonov.us?subject=jsonapi-store)> 2016.
42
+
43
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
44
+
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+ require 'bundler/gem_tasks'
3
+
4
+ require 'rspec/core/rake_task'
5
+ RSpec::Core::RakeTask.new(:spec)
6
+ task default: :spec
7
+
8
+ require 'rubocop/rake_task'
9
+ RuboCop::RakeTask.new(:cop)
10
+ task default: :cop
11
+
12
+ require 'yard'
13
+ require 'yard/rake/yardoc_task'
14
+ YARD::Rake::YardocTask.new(:doc)
15
+ task default: :doc
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require 'bundler/setup'
5
+ require 'jsonapi/store'
6
+
7
+ # You can add fixtures and/or initialization code here to make experimenting
8
+ # with your gem easier. You can also use a different console, if you like.
9
+
10
+ # (If you use this, don't forget to add pry to your Gemfile!)
11
+ # require "pry"
12
+ # Pry.start
13
+
14
+ require 'irb'
15
+ IRB.start
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+ #
4
+ # This file was generated by Bundler.
5
+ #
6
+ # The application 'rake' is installed as part of a gem, and
7
+ # this file is here to facilitate running it.
8
+ #
9
+
10
+ require 'pathname'
11
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile',
12
+ Pathname.new(__FILE__).realpath)
13
+
14
+ require 'rubygems'
15
+ require 'bundler/setup'
16
+
17
+ load Gem.bin_path('rake', 'rake')
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+ #
4
+ # This file was generated by Bundler.
5
+ #
6
+ # The application 'rspec' is installed as part of a gem, and
7
+ # this file is here to facilitate running it.
8
+ #
9
+
10
+ require 'pathname'
11
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile',
12
+ Pathname.new(__FILE__).realpath)
13
+
14
+ require 'rubygems'
15
+ require 'bundler/setup'
16
+
17
+ load Gem.bin_path('rspec-core', 'rspec')
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+ #
4
+ # This file was generated by Bundler.
5
+ #
6
+ # The application 'rubocop' is installed as part of a gem, and
7
+ # this file is here to facilitate running it.
8
+ #
9
+
10
+ require 'pathname'
11
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile',
12
+ Pathname.new(__FILE__).realpath)
13
+
14
+ require 'rubygems'
15
+ require 'bundler/setup'
16
+
17
+ load Gem.bin_path('rubocop', 'rubocop')
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,39 @@
1
+ # coding: utf-8
2
+ # frozen_string_literal: true
3
+ lib = File.expand_path('../lib', __FILE__)
4
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
+ require 'jsonapi/store/version'
6
+
7
+ Gem::Specification.new do |spec|
8
+ spec.name = 'jsonapi-store'
9
+ spec.version = JSONAPI::Store::VERSION
10
+ spec.authors = ['Alex Semyonov']
11
+ spec.email = ['alex@semyonov.us']
12
+
13
+ spec.summary = 'JSON API Data Store'
14
+ spec.description = <<-DESCRIPTION
15
+ Data Store for implementing JSON API-compliant server in Ruby.
16
+ DESCRIPTION
17
+ spec.homepage = 'https://github.com/alsemyonov/jsonapi-store'
18
+ spec.license = 'MIT'
19
+
20
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
21
+ f.match(%r{^(test|spec|features)/})
22
+ end
23
+ spec.bindir = 'exe'
24
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
25
+ spec.require_paths = ['lib']
26
+
27
+ spec.add_runtime_dependency 'dry-types', '~> 0.9.0'
28
+ spec.add_runtime_dependency 'dry-struct', '~> 0.1.0'
29
+
30
+ spec.add_development_dependency 'bundler', '~> 1.13'
31
+ spec.add_development_dependency 'rake', '~> 10.0'
32
+ spec.add_development_dependency 'rspec', '~> 3.0'
33
+ spec.add_development_dependency 'simplecov', '~> 0.12.0'
34
+ spec.add_development_dependency 'simplecov-html', '~> 0.10.0'
35
+ spec.add_development_dependency 'codeclimate-test-reporter'
36
+ spec.add_development_dependency 'rubocop', '~> 0.43.0'
37
+ spec.add_development_dependency 'yard', '~> 0.9.5'
38
+ spec.add_development_dependency 'redcarpet', '~> 3.3.4'
39
+ end
@@ -0,0 +1,2 @@
1
+ # frozen_string_literal: true
2
+ require 'jsonapi/store'
@@ -0,0 +1,71 @@
1
+ # frozen_string_literal: true
2
+ require 'jsonapi/store/version'
3
+
4
+ module JSONAPI
5
+ # Basic in-memory store implementation compliant with JSON API
6
+ class Store
7
+ autoload :Entity, 'jsonapi/store/entity'
8
+ autoload :Types, 'jsonapi/store/types'
9
+ autoload :Identifier, 'jsonapi/store/identifier'
10
+
11
+ # @param [JSONAPI::Store::Entity] entity
12
+ # @return [JSONAPI::Store] store itself
13
+ def <<(entity)
14
+ entity = Entity.new(entity)
15
+ entities << entity
16
+ entity.relationships.each do |_name, data|
17
+ Array(data).each do |relationship|
18
+ relationship = Entity.new(relationship)
19
+ self << relationship unless self[relationship.identifier]
20
+ end
21
+ end
22
+ self
23
+ end
24
+
25
+ # @overload fetch(identifier)
26
+ # @param [#to_s] identifier
27
+ # @return [JSONAPI::Store::Entity?]
28
+ # @overload fetch(type, id)
29
+ # @param [#to_s] type
30
+ # @param [#to_s] id
31
+ # @return [JSONAPI::Store::Entity?]
32
+ def fetch(*args)
33
+ identifier = args.size == 2 ? args.join('/') : args.first.to_s
34
+ detect { |entity| entity.identifier == identifier }
35
+ end
36
+
37
+ alias [] fetch
38
+
39
+ # @param [#to_s] type
40
+ # @return [<JSONAPI::Store::Entity>]
41
+ def all(type)
42
+ type = type.to_s
43
+ select { |entity| entity.type == type }
44
+ end
45
+
46
+ # @return [<String>]
47
+ def types
48
+ entities.map(&:type).uniq
49
+ end
50
+
51
+ # @return [<JSONAPI::Store::Entity>]
52
+ def entities
53
+ @entities ||= []
54
+ end
55
+
56
+ # @return [Integer]
57
+ def size
58
+ entities.size
59
+ end
60
+
61
+ # @overload each(&block)
62
+ # @return [<JSONAPI::Store::Entity>]
63
+ # @overload each
64
+ # @return [Enumerator<JSONAPI::Store::Entity>]
65
+ def each(&block)
66
+ entities.each(&block)
67
+ end
68
+
69
+ include Enumerable
70
+ end
71
+ end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+ require 'jsonapi/store'
3
+ require 'jsonapi/store/identifier'
4
+
5
+ module JSONAPI
6
+ class Store
7
+ # Basic entity implementation for {JSONAPI::Store}
8
+ class Entity < Identifier
9
+ constructor_type :strict_with_defaults
10
+
11
+ # @return [Hash] attributes of the entity
12
+ attribute :attributes, Types::Optional::Hash
13
+ # @return [Hash] relationships of the entity
14
+ attribute :relationships, Types::Optional::Hash
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,24 @@
1
+ # frozen_string_literal: true
2
+ require 'jsonapi/store'
3
+ require 'dry-struct'
4
+
5
+ module JSONAPI
6
+ class Store
7
+ # Basic Identifier implementation for {JSONAPI::Store}
8
+ class Identifier < Dry::Struct
9
+ constructor_type :strict
10
+
11
+ # @return [String] id of the entity
12
+ attribute :id, Types::Coercible::String
13
+ # @return [String] type of the entity
14
+ attribute :type, Types::Coercible::String
15
+
16
+ # @return [String]
17
+ def identifier
18
+ @identifier ||= "#{type}/#{id}"
19
+ end
20
+ alias to_s identifier
21
+ alias to_str identifier
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+ require 'jsonapi/store'
3
+ require 'dry-types'
4
+
5
+ module JSONAPI
6
+ class Store
7
+ # Constrained types for {JSONAPI::Store} entities
8
+ module Types
9
+ include Dry::Types.module
10
+
11
+ # Add optional Hash for use in {Store::Entity}
12
+ module Optional
13
+ Hash = Types::Strict::Hash.optional.default({})
14
+
15
+ def Hash.to_s
16
+ 'JSONAPI::Store::Types::Optional::Hash'
17
+ end
18
+ end
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+ module JSONAPI
3
+ class Store
4
+ VERSION = '0.1.0'
5
+ end
6
+ end
metadata ADDED
@@ -0,0 +1,223 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jsonapi-store
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Alex Semyonov
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-10-06 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: dry-types
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.9.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.9.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: dry-struct
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 0.1.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 0.1.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.13'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.13'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '10.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '10.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '3.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '3.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: simplecov
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 0.12.0
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 0.12.0
97
+ - !ruby/object:Gem::Dependency
98
+ name: simplecov-html
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 0.10.0
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 0.10.0
111
+ - !ruby/object:Gem::Dependency
112
+ name: codeclimate-test-reporter
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rubocop
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: 0.43.0
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: 0.43.0
139
+ - !ruby/object:Gem::Dependency
140
+ name: yard
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: 0.9.5
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: 0.9.5
153
+ - !ruby/object:Gem::Dependency
154
+ name: redcarpet
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: 3.3.4
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: 3.3.4
167
+ description: 'Data Store for implementing JSON API-compliant server in Ruby.
168
+
169
+ '
170
+ email:
171
+ - alex@semyonov.us
172
+ executables: []
173
+ extensions: []
174
+ extra_rdoc_files: []
175
+ files:
176
+ - ".gitignore"
177
+ - ".rspec"
178
+ - ".rubocop.yml"
179
+ - ".simplecov"
180
+ - ".travis.yml"
181
+ - ".yardopts"
182
+ - CODE_OF_CONDUCT.md
183
+ - Gemfile
184
+ - LICENSE.txt
185
+ - README.md
186
+ - Rakefile
187
+ - bin/console
188
+ - bin/rake
189
+ - bin/rspec
190
+ - bin/rubocop
191
+ - bin/setup
192
+ - jsonapi-store.gemspec
193
+ - lib/jsonapi-store.rb
194
+ - lib/jsonapi/store.rb
195
+ - lib/jsonapi/store/entity.rb
196
+ - lib/jsonapi/store/identifier.rb
197
+ - lib/jsonapi/store/types.rb
198
+ - lib/jsonapi/store/version.rb
199
+ homepage: https://github.com/alsemyonov/jsonapi-store
200
+ licenses:
201
+ - MIT
202
+ metadata: {}
203
+ post_install_message:
204
+ rdoc_options: []
205
+ require_paths:
206
+ - lib
207
+ required_ruby_version: !ruby/object:Gem::Requirement
208
+ requirements:
209
+ - - ">="
210
+ - !ruby/object:Gem::Version
211
+ version: '0'
212
+ required_rubygems_version: !ruby/object:Gem::Requirement
213
+ requirements:
214
+ - - ">="
215
+ - !ruby/object:Gem::Version
216
+ version: '0'
217
+ requirements: []
218
+ rubyforge_project:
219
+ rubygems_version: 2.6.7
220
+ signing_key:
221
+ specification_version: 4
222
+ summary: JSON API Data Store
223
+ test_files: []