schemable 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/schemable.gemspec CHANGED
@@ -1,37 +1,36 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative "lib/schemable/version"
3
+ require_relative 'lib/schemable/version'
4
4
 
5
5
  Gem::Specification.new do |spec|
6
- spec.name = "schemable"
6
+ spec.name = 'schemable'
7
7
  spec.version = Schemable::VERSION
8
- spec.authors = ["Muhammad Nawzad"]
9
- spec.email = ["hama127n@gmail.com"]
8
+ spec.authors = ['Muhammad Nawzad']
9
+ spec.email = ['hama127n@gmail.com']
10
10
 
11
- spec.summary = "An opiniated Gem for Rails applications to auto generate schema in JSONAPI format."
11
+ spec.summary = 'An opiniated Gem for Rails applications to auto generate schema in JSONAPI format.'
12
12
  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."
13
- spec.homepage = "https://github.com/muhammadnawzad/schemable"
14
- spec.license = "MIT"
15
- spec.required_ruby_version = ">= 3.1.2"
13
+ spec.homepage = 'https://github.com/muhammadnawzad/schemable'
14
+ spec.license = 'MIT'
15
+ spec.required_ruby_version = '>= 3.1.2'
16
16
 
17
- spec.metadata["allowed_push_host"] = 'https://rubygems.org'
18
-
19
- spec.metadata["homepage_uri"] = spec.homepage
20
- spec.metadata["source_code_uri"] = 'https://github.com/muhammadnawzad/schemable'
21
- spec.metadata["changelog_uri"] = 'https://github.com/muhammadnawzad/schemable/blob/main/CHANGELOG.md'
17
+ spec.metadata['allowed_push_host'] = 'https://rubygems.org'
22
18
 
19
+ spec.metadata['homepage_uri'] = spec.homepage
20
+ spec.metadata['source_code_uri'] = 'https://github.com/muhammadnawzad/schemable'
21
+ spec.metadata['changelog_uri'] = 'https://github.com/muhammadnawzad/schemable/blob/main/CHANGELOG.md'
23
22
 
24
23
  spec.files = Dir.chdir(__dir__) do
25
24
  `git ls-files -z`.split("\x0").reject do |f|
26
25
  (File.expand_path(f) == __FILE__) || f.start_with?(*%w[bin/ test/ spec/ features/ .git .circleci appveyor])
27
26
  end
28
27
  end
29
- spec.bindir = "exe"
28
+ spec.bindir = 'exe'
30
29
  spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
31
- spec.require_paths = ["lib"]
30
+ spec.require_paths = ['lib']
32
31
 
33
- spec.add_dependency "jsonapi-rails", "~> 0.4.1"
34
- spec.add_dependency "factory_bot_rails", "~> 6.2.0"
32
+ spec.add_dependency 'factory_bot_rails', '~> 6.2.0'
33
+ spec.add_dependency 'jsonapi-rails', '~> 0.4.1'
35
34
 
36
35
  spec.metadata['rubygems_mfa_required'] = 'true'
37
36
  end
metadata CHANGED
@@ -1,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: schemable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Muhammad Nawzad
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-05-14 00:00:00.000000000 Z
11
+ date: 2023-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: jsonapi-rails
14
+ name: factory_bot_rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.4.1
19
+ version: 6.2.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.4.1
26
+ version: 6.2.0
27
27
  - !ruby/object:Gem::Dependency
28
- name: factory_bot_rails
28
+ name: jsonapi-rails
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 6.2.0
33
+ version: 0.4.1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 6.2.0
40
+ version: 0.4.1
41
41
  description: The schemable gem is an opiniated Gem for Rails applications to auto
42
42
  generate schema for models in JSONAPI format. It is designed to work with rswag's
43
43
  swagger documentation since it can generate the schemas for it.