rspec-json_api 1.5.0 → 2.0.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.
data/Gemfile.lock DELETED
@@ -1,182 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- rspec-json_api (1.5.0)
5
- activesupport (>= 6.1.4.1)
6
- diffy (>= 3.4.2)
7
- railties (>= 6.1.4.1)
8
- rspec-rails (>= 5.0.2)
9
-
10
- GEM
11
- remote: https://rubygems.org/
12
- specs:
13
- actionpack (8.1.2)
14
- actionview (= 8.1.2)
15
- activesupport (= 8.1.2)
16
- nokogiri (>= 1.8.5)
17
- rack (>= 2.2.4)
18
- rack-session (>= 1.0.1)
19
- rack-test (>= 0.6.3)
20
- rails-dom-testing (~> 2.2)
21
- rails-html-sanitizer (~> 1.6)
22
- useragent (~> 0.16)
23
- actionview (8.1.2)
24
- activesupport (= 8.1.2)
25
- builder (~> 3.1)
26
- erubi (~> 1.11)
27
- rails-dom-testing (~> 2.2)
28
- rails-html-sanitizer (~> 1.6)
29
- activesupport (8.1.2)
30
- base64
31
- bigdecimal
32
- concurrent-ruby (~> 1.0, >= 1.3.1)
33
- connection_pool (>= 2.2.5)
34
- drb
35
- i18n (>= 1.6, < 2)
36
- json
37
- logger (>= 1.4.2)
38
- minitest (>= 5.1)
39
- securerandom (>= 0.3)
40
- tzinfo (~> 2.0, >= 2.0.5)
41
- uri (>= 0.13.1)
42
- ast (2.4.3)
43
- base64 (0.3.0)
44
- bigdecimal (4.0.1)
45
- builder (3.3.0)
46
- concurrent-ruby (1.3.6)
47
- connection_pool (3.0.2)
48
- crass (1.0.6)
49
- date (3.5.1)
50
- diff-lcs (1.6.2)
51
- diffy (3.4.4)
52
- drb (2.2.3)
53
- erb (6.0.1)
54
- erubi (1.13.1)
55
- i18n (1.14.8)
56
- concurrent-ruby (~> 1.0)
57
- io-console (0.8.2)
58
- irb (1.16.0)
59
- pp (>= 0.6.0)
60
- rdoc (>= 4.0.0)
61
- reline (>= 0.4.2)
62
- json (2.18.0)
63
- language_server-protocol (3.17.0.5)
64
- lint_roller (1.1.0)
65
- logger (1.7.0)
66
- loofah (2.25.0)
67
- crass (~> 1.0.2)
68
- nokogiri (>= 1.12.0)
69
- minitest (6.0.1)
70
- prism (~> 1.5)
71
- nokogiri (1.19.0-arm64-darwin)
72
- racc (~> 1.4)
73
- nokogiri (1.19.0-x86_64-darwin)
74
- racc (~> 1.4)
75
- nokogiri (1.19.0-x86_64-linux-gnu)
76
- racc (~> 1.4)
77
- parallel (1.27.0)
78
- parser (3.3.10.1)
79
- ast (~> 2.4.1)
80
- racc
81
- pp (0.6.3)
82
- prettyprint
83
- prettyprint (0.2.0)
84
- prism (1.8.0)
85
- psych (5.3.1)
86
- date
87
- stringio
88
- racc (1.8.1)
89
- rack (3.2.4)
90
- rack-session (2.1.1)
91
- base64 (>= 0.1.0)
92
- rack (>= 3.0.0)
93
- rack-test (2.2.0)
94
- rack (>= 1.3)
95
- rackup (2.3.1)
96
- rack (>= 3)
97
- rails-dom-testing (2.3.0)
98
- activesupport (>= 5.0.0)
99
- minitest
100
- nokogiri (>= 1.6)
101
- rails-html-sanitizer (1.6.2)
102
- loofah (~> 2.21)
103
- nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
104
- railties (8.1.2)
105
- actionpack (= 8.1.2)
106
- activesupport (= 8.1.2)
107
- irb (~> 1.13)
108
- rackup (>= 1.0.0)
109
- rake (>= 12.2)
110
- thor (~> 1.0, >= 1.2.2)
111
- tsort (>= 0.2)
112
- zeitwerk (~> 2.6)
113
- rainbow (3.1.1)
114
- rake (13.3.1)
115
- rdoc (7.1.0)
116
- erb
117
- psych (>= 4.0.0)
118
- tsort
119
- regexp_parser (2.11.3)
120
- reline (0.6.3)
121
- io-console (~> 0.5)
122
- rspec-core (3.13.6)
123
- rspec-support (~> 3.13.0)
124
- rspec-expectations (3.13.5)
125
- diff-lcs (>= 1.2.0, < 2.0)
126
- rspec-support (~> 3.13.0)
127
- rspec-mocks (3.13.7)
128
- diff-lcs (>= 1.2.0, < 2.0)
129
- rspec-support (~> 3.13.0)
130
- rspec-rails (8.0.2)
131
- actionpack (>= 7.2)
132
- activesupport (>= 7.2)
133
- railties (>= 7.2)
134
- rspec-core (~> 3.13)
135
- rspec-expectations (~> 3.13)
136
- rspec-mocks (~> 3.13)
137
- rspec-support (~> 3.13)
138
- rspec-support (3.13.6)
139
- rubocop (1.82.1)
140
- json (~> 2.3)
141
- language_server-protocol (~> 3.17.0.2)
142
- lint_roller (~> 1.1.0)
143
- parallel (~> 1.10)
144
- parser (>= 3.3.0.2)
145
- rainbow (>= 2.2.2, < 4.0)
146
- regexp_parser (>= 2.9.3, < 3.0)
147
- rubocop-ast (>= 1.48.0, < 2.0)
148
- ruby-progressbar (~> 1.7)
149
- unicode-display_width (>= 2.4.0, < 4.0)
150
- rubocop-ast (1.49.0)
151
- parser (>= 3.3.7.2)
152
- prism (~> 1.7)
153
- ruby-progressbar (1.13.0)
154
- securerandom (0.4.1)
155
- stringio (3.2.0)
156
- thor (1.5.0)
157
- tsort (0.2.0)
158
- tzinfo (2.0.6)
159
- concurrent-ruby (~> 1.0)
160
- unicode-display_width (3.2.0)
161
- unicode-emoji (~> 4.1)
162
- unicode-emoji (4.2.0)
163
- uri (1.1.1)
164
- useragent (0.16.11)
165
- zeitwerk (2.7.4)
166
-
167
- PLATFORMS
168
- arm64-darwin-22
169
- arm64-darwin-25
170
- x86_64-darwin-20
171
- x86_64-linux
172
-
173
- DEPENDENCIES
174
- activesupport (>= 6.1.4.1)
175
- diffy (~> 3.4)
176
- rake (~> 13.2)
177
- rspec-json_api!
178
- rspec-rails (>= 5.0.2)
179
- rubocop (~> 1.65)
180
-
181
- BUNDLED WITH
182
- 4.0.4
data/Rakefile DELETED
@@ -1,12 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "bundler/gem_tasks"
4
- require "rspec/core/rake_task"
5
-
6
- RSpec::Core::RakeTask.new(:spec)
7
-
8
- require "rubocop/rake_task"
9
-
10
- RuboCop::RakeTask.new
11
-
12
- task default: %i[spec rubocop]
data/bin/console DELETED
@@ -1,15 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- require "bundler/setup"
5
- require "rspec/json_api"
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(__FILE__)
data/bin/setup DELETED
@@ -1,8 +0,0 @@
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
@@ -1,7 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Inherits the dev dependencies from the root Gemfile and pins the Rails line
4
- # under test. Generated/maintained for the CI compatibility matrix.
5
- eval_gemfile File.expand_path("../Gemfile", __dir__)
6
-
7
- gem "rails", "~> 6.1.0"
@@ -1,7 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Inherits the dev dependencies from the root Gemfile and pins the Rails line
4
- # under test. Generated/maintained for the CI compatibility matrix.
5
- eval_gemfile File.expand_path("../Gemfile", __dir__)
6
-
7
- gem "rails", "~> 7.1.0"
@@ -1,7 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Inherits the dev dependencies from the root Gemfile and pins the Rails line
4
- # under test. Generated/maintained for the CI compatibility matrix.
5
- eval_gemfile File.expand_path("../Gemfile", __dir__)
6
-
7
- gem "rails", "~> 7.2.0"
@@ -1,7 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Inherits the dev dependencies from the root Gemfile and pins the Rails line
4
- # under test. Generated/maintained for the CI compatibility matrix.
5
- eval_gemfile File.expand_path("../Gemfile", __dir__)
6
-
7
- gem "rails", "~> 8.0.0"
@@ -1,7 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Inherits the dev dependencies from the root Gemfile and pins the Rails line
4
- # under test. Generated/maintained for the CI compatibility matrix.
5
- eval_gemfile File.expand_path("../Gemfile", __dir__)
6
-
7
- gem "rails", "~> 8.1.0"
@@ -1,14 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module RSpec
4
- module JsonApi
5
- module Interfaces
6
- EXAMPLE_INTERFACE = {
7
- id: Types::UUID,
8
- name: String,
9
- number: Integer,
10
- color: -> { { inclusion: %w[black red white], allow_blank: true } }
11
- }.freeze
12
- end
13
- end
14
- end
@@ -1,42 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require_relative "lib/rspec/json_api/version"
4
-
5
- Gem::Specification.new do |spec|
6
- spec.name = "rspec-json_api"
7
- spec.version = RSpec::JsonApi::VERSION
8
- spec.authors = ["Michal Gajowiak"]
9
- spec.email = ["m.gajowiak@nomtek.com"]
10
-
11
- spec.summary = "RSpec extension to test JSON API response."
12
- spec.homepage = "https://github.com/nomtek/rspec-json_api"
13
- spec.license = "MIT"
14
- spec.required_ruby_version = Gem::Requirement.new(">= 3.2.0")
15
-
16
- spec.metadata["homepage_uri"] = spec.homepage
17
- spec.metadata["source_code_uri"] = "https://github.com/nomtek/rspec-json_api"
18
- spec.metadata["changelog_uri"] = "https://github.com/nomtek/rspec-json_api/blob/master/CHANGELOG.md"
19
- spec.metadata["rubygems_mfa_required"] = "true"
20
-
21
- # Specify which files should be added to the gem when it is released.
22
- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
23
- spec.files = Dir.chdir(File.expand_path(__dir__)) do
24
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
25
- end
26
- spec.bindir = "exe"
27
- spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
28
- spec.require_paths = ["lib"]
29
-
30
- # Runtime dependencies. The gem only needs ActiveSupport's blank?/present?
31
- # core extensions and Rails::Generators (which lives in railties); depending
32
- # on the full "rails" meta-gem would force ActiveRecord, ActionCable,
33
- # ActionMailer, ActionMailbox, ActiveStorage, ActionText, etc. on every
34
- # consumer of a JSON-matcher gem. The >= 6.1.4.1 floor is unchanged.
35
- spec.add_dependency "activesupport", ">= 6.1.4.1"
36
- spec.add_dependency "diffy", ">= 3.4.2"
37
- spec.add_dependency "railties", ">= 6.1.4.1"
38
- spec.add_dependency "rspec-rails", ">= 5.0.2"
39
-
40
- # For more information and examples about making a new gem, checkout our
41
- # guide at: https://bundler.io/guides/creating_gem.html
42
- end