diff --git a/Gemfile b/Gemfile index 2df8685..1531efa 100644 --- a/Gemfile +++ b/Gemfile @@ -4,12 +4,12 @@ source 'https://rubygems.org' gemspec -gem 'rake', '~> 13.0.6' -gem 'rspec', '~> 3.12' -gem 'rubocop', '~> 1.55' -gem 'rubocop-rails', '~> 2.20.2' +gem 'rake', '~> 13.1.0' +gem 'rspec', '~> 3.12.0' +gem 'rubocop', '~> 1.57.2' +gem 'rubocop-rails', '~> 2.22.1' group :development, :test do - gem 'factory_bot_rails', '~> 6.2' + gem 'factory_bot_rails', '~> 6.2.0' gem 'jsonapi-rails', '~> 0.4.1' end diff --git a/Gemfile.lock b/Gemfile.lock index b8afb76..acbf803 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,43 +2,58 @@ PATH remote: . specs: schemable (1.0.0) - factory_bot_rails (~> 6.2.0) - jsonapi-rails (~> 0.4.1) GEM remote: https://rubygems.org/ specs: - actionpack (7.0.4.3) - actionview (= 7.0.4.3) - activesupport (= 7.0.4.3) - rack (~> 2.0, >= 2.2.0) + actionpack (7.1.2) + actionview (= 7.1.2) + activesupport (= 7.1.2) + nokogiri (>= 1.8.5) + racc + rack (>= 2.2.4) + rack-session (>= 1.0.1) rack-test (>= 0.6.3) - rails-dom-testing (~> 2.0) - rails-html-sanitizer (~> 1.0, >= 1.2.0) - actionview (7.0.4.3) - activesupport (= 7.0.4.3) + rails-dom-testing (~> 2.2) + rails-html-sanitizer (~> 1.6) + actionview (7.1.2) + activesupport (= 7.1.2) builder (~> 3.1) - erubi (~> 1.4) - rails-dom-testing (~> 2.0) - rails-html-sanitizer (~> 1.1, >= 1.2.0) - activesupport (7.0.4.3) + erubi (~> 1.11) + rails-dom-testing (~> 2.2) + rails-html-sanitizer (~> 1.6) + activesupport (7.1.2) + base64 + bigdecimal concurrent-ruby (~> 1.0, >= 1.0.2) + connection_pool (>= 2.2.5) + drb i18n (>= 1.6, < 2) minitest (>= 5.1) + mutex_m tzinfo (~> 2.0) ast (2.4.2) + base64 (0.2.0) + bigdecimal (3.1.4) builder (3.2.4) concurrent-ruby (1.2.2) + connection_pool (2.4.1) crass (1.0.6) diff-lcs (1.5.0) + drb (2.2.0) + ruby2_keywords erubi (1.12.0) factory_bot (6.2.1) activesupport (>= 5.0.0) factory_bot_rails (6.2.0) factory_bot (~> 6.2.0) railties (>= 5.0.0) - i18n (1.13.0) + i18n (1.14.1) concurrent-ruby (~> 1.0) + io-console (0.6.0) + irb (1.9.0) + rdoc + reline (>= 0.3.8) json (2.6.3) jsonapi-deserializable (0.2.0) jsonapi-parser (0.1.1) @@ -52,36 +67,50 @@ GEM jsonapi-serializable (0.3.1) jsonapi-renderer (~> 0.2.0) language_server-protocol (3.17.0.3) - loofah (2.21.2) + loofah (2.22.0) crass (~> 1.0.2) nokogiri (>= 1.12.0) - method_source (1.0.0) - minitest (5.18.0) - nokogiri (1.14.4-x86_64-linux) + minitest (5.20.0) + mutex_m (0.2.0) + nokogiri (1.15.4-x86_64-linux) racc (~> 1.4) parallel (1.23.0) - parser (3.2.2.3) + parser (3.2.2.4) ast (~> 2.4.1) racc - racc (1.6.2) - rack (2.2.7) + psych (5.1.1.1) + stringio + racc (1.7.3) + rack (3.0.8) + rack-session (2.0.0) + rack (>= 3.0.0) rack-test (2.1.0) rack (>= 1.3) - rails-dom-testing (2.0.3) - activesupport (>= 4.2.0) + rackup (2.1.0) + rack (>= 3) + webrick (~> 1.8) + rails-dom-testing (2.2.0) + activesupport (>= 5.0.0) + minitest nokogiri (>= 1.6) - rails-html-sanitizer (1.5.0) - loofah (~> 2.19, >= 2.19.1) - railties (7.0.4.3) - actionpack (= 7.0.4.3) - activesupport (= 7.0.4.3) - method_source + rails-html-sanitizer (1.6.0) + loofah (~> 2.21) + nokogiri (~> 1.14) + railties (7.1.2) + actionpack (= 7.1.2) + activesupport (= 7.1.2) + irb + rackup (>= 1.0.0) rake (>= 12.2) - thor (~> 1.0) - zeitwerk (~> 2.5) + thor (~> 1.0, >= 1.2.2) + zeitwerk (~> 2.6) rainbow (3.1.1) - rake (13.0.6) - regexp_parser (2.8.1) + rake (13.1.0) + rdoc (6.6.0) + psych (>= 4.0.0) + regexp_parser (2.8.2) + reline (0.4.0) + io-console (~> 0.5) rexml (3.2.6) rspec (3.12.0) rspec-core (~> 3.12.0) @@ -92,45 +121,48 @@ GEM rspec-expectations (3.12.3) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.12.0) - rspec-mocks (3.12.5) + rspec-mocks (3.12.6) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.12.0) - rspec-support (3.12.0) - rubocop (1.55.0) + rspec-support (3.12.1) + rubocop (1.57.2) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) - parser (>= 3.2.2.3) + parser (>= 3.2.2.4) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) rexml (>= 3.2.5, < 4.0) rubocop-ast (>= 1.28.1, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.29.0) + rubocop-ast (1.30.0) parser (>= 3.2.1.0) - rubocop-rails (2.20.2) + rubocop-rails (2.22.1) activesupport (>= 4.2.0) rack (>= 1.1) rubocop (>= 1.33.0, < 2.0) ruby-progressbar (1.13.0) - thor (1.2.2) + ruby2_keywords (0.0.5) + stringio (3.0.9) + thor (1.3.0) tzinfo (2.0.6) concurrent-ruby (~> 1.0) - unicode-display_width (2.4.2) - zeitwerk (2.6.8) + unicode-display_width (2.5.0) + webrick (1.8.1) + zeitwerk (2.6.12) PLATFORMS x86_64-linux DEPENDENCIES - factory_bot_rails (~> 6.2) + factory_bot_rails (~> 6.2.0) jsonapi-rails (~> 0.4.1) - rake (~> 13.0.6) - rspec (~> 3.12) - rubocop (~> 1.55) - rubocop-rails (~> 2.20.2) + rake (~> 13.1.0) + rspec (~> 3.12.0) + rubocop (~> 1.57.2) + rubocop-rails (~> 2.22.1) schemable! BUNDLED WITH - 2.4.12 + 2.4.17 diff --git a/schemable.gemspec b/schemable.gemspec index 2048249..a52a073 100644 --- a/schemable.gemspec +++ b/schemable.gemspec @@ -8,8 +8,8 @@ Gem::Specification.new do |spec| spec.authors = ['Muhammad Nawzad'] spec.email = ['hama127n@gmail.com'] - spec.summary = 'An opiniated Gem for Rails applications to auto generate schema in JSONAPI format.' - spec.description = "The schemable gem is an opiniated Gem for Rails applications to auto generate schema for models in JSONAPI format. It is designed to work with rswag's swagger documentation since it can generate the schemas for it." + spec.summary = 'An opinionated Gem for Rails applications to auto generate schema in JSONAPI format.' + spec.description = "The schemable gem is an opinionated Gem for Rails applications to auto generate schema for models in JSONAPI format. It is designed to work with rswag's swagger documentation since it can generate the schemas for it." spec.homepage = 'https://github.com/muhammadnawzad/schemable' spec.license = 'MIT' spec.required_ruby_version = '>= 3.1.2' @@ -29,8 +29,5 @@ Gem::Specification.new do |spec| spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) } spec.require_paths = ['lib'] - spec.add_dependency 'factory_bot_rails', '~> 6.2.0' - spec.add_dependency 'jsonapi-rails', '~> 0.4.1' - spec.metadata['rubygems_mfa_required'] = 'true' end