open_api 0.6.0 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bb57b4e43ec107bec1a066f674386b1c599bb92f39b961cc766150fc0efe3add
4
- data.tar.gz: dd9bbb124fc68821fa0876bb207e3d3e92dacb1b6e52ead4fb771a1be57a05a6
3
+ metadata.gz: 4c07f02a4fac93faa55eceb4868dea44d36bd8d826308570d1d0febc3d86ce85
4
+ data.tar.gz: 94d01fa180f33358df3e6c13b95d02fd02e986bee64773e14366b8bcf5bffd20
5
5
  SHA512:
6
- metadata.gz: 5f40c17eef8d3bd6c4851f2a3421034f16c936ca81cfd5023639889194cd6a99f6a0513a7f8aa953b5935e76831e33fd09b1dc2d196e2305fa11a4fe9721192e
7
- data.tar.gz: 44be1896d44eac13e20f013cd32a5db63ba077359fd6596cedc8617ce1f2ea997f35b53c3f1c0b29ae9a68c04e1d9d22a8265335099ade1f80442cfbb6c885da
6
+ metadata.gz: 07ef1f1a2f54b5237fff9259a29db82135a793fd245833463ecfe2b6fc3ad52d4e15589040fb37feaf2683431bfe10916164495fb9dbde36586a3564a4b0c46c
7
+ data.tar.gz: 7fdc41602fa5522826a1c6ed93da713e0d2765de82b272116d509416f7a0aff581d244457385db5fe2d3643312fc994dc7c416801f5415aa88d3fd0ddc00135a
@@ -4,26 +4,26 @@ jobs:
4
4
  test:
5
5
  strategy:
6
6
  matrix:
7
- ruby: ["2.5", "2.6", "2.7", "3.0"]
7
+ ruby: ["3.0", "3.1", "3.2"]
8
8
  gemfile: [Gemfile]
9
9
  include:
10
- - ruby: "2.7"
11
- gemfile: "gemfiles/rails-6.0.gemfile"
12
- - ruby: "2.6"
13
- gemfile: "gemfiles/rails-5.2.gemfile"
10
+ - ruby: "3.2"
11
+ gemfile: "gemfiles/rails-7.0.gemfile"
12
+ - ruby: "3.2"
13
+ gemfile: "gemfiles/rails-6.1.gemfile"
14
14
 
15
15
  env:
16
16
  BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
17
17
 
18
18
  runs-on: ubuntu-latest
19
19
  steps:
20
- - uses: actions/checkout@v2
20
+ - uses: actions/checkout@v4
21
21
  - uses: ruby/setup-ruby@v1
22
22
  with:
23
23
  ruby-version: ${{ matrix.ruby }}
24
24
  bundler-cache: true
25
25
  - run: bundle exec rake
26
26
  - name: Send coverage
27
- uses: paambaati/codeclimate-action@v2.7.5
27
+ uses: paambaati/codeclimate-action@v5
28
28
  env:
29
29
  CC_TEST_REPORTER_ID: 618e64226e212a5824797037cb1a71487cdbfb3aa664bddc42a7189fb027f73a
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.0.2
1
+ 3.2.2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  ## Unreleased
2
2
 
3
+ ## 0.6.2
4
+
5
+ - Reflect ownership transfer https://github.com/wantedly/open_api/pull/16
6
+ - Bump Ruby and Rails https://github.com/wantedly/open_api/pull/17
7
+ - Supported Rubies: 3.0, 3.1, 3.2
8
+ - Supported Rails: 6.1, 7.0, 7.1
9
+
10
+ ## 0.6.1
11
+ - Fix `Paths` initializer to enable to take no args
3
12
  ## 0.6.0
4
13
  - Supported Ruby 3.0 by fixing keyword parameters
5
14
  - Relaxed the version constraint on Rails
data/CODE_OF_CONDUCT.md CHANGED
@@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
55
55
  ## Enforcement
56
56
 
57
57
  Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
- reported by contacting the project team at ngtknt@me.com. All
58
+ reported by contacting the project team at dev@wantedly.com. All
59
59
  complaints will be reviewed and investigated and will result in a response that
60
60
  is deemed necessary and appropriate to the circumstances. The project team is
61
61
  obligated to maintain confidentiality with regard to the reporter of an incident.
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # OpenApi [![Gem Version](https://badge.fury.io/rb/open_api.svg)](https://badge.fury.io/rb/open_api) [![Build Status](https://travis-ci.org/ngtk/open_api.svg?branch=master)](https://travis-ci.org/ngtk/open_api) [![Maintainability](https://api.codeclimate.com/v1/badges/dc4713a3cb67f6edce65/maintainability)](https://codeclimate.com/github/ngtk/open_api/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/dc4713a3cb67f6edce65/test_coverage)](https://codeclimate.com/github/ngtk/open_api/test_coverage)
1
+ # OpenApi [![Gem Version](https://badge.fury.io/rb/open_api.svg)](https://badge.fury.io/rb/open_api) [![Build Status](https://travis-ci.org/wantedly/open_api.svg?branch=master)](https://travis-ci.org/wantedly/open_api) [![Maintainability](https://api.codeclimate.com/v1/badges/dc4713a3cb67f6edce65/maintainability)](https://codeclimate.com/github/wantedly/open_api/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/dc4713a3cb67f6edce65/test_coverage)](https://codeclimate.com/github/wantedly/open_api/test_coverage)
2
2
 
3
3
  `open_api` provides PORO and serializers for OpenAPI and it supports OpenAPI v3.0.1.
4
4
 
@@ -75,7 +75,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
75
75
 
76
76
  ## Contributing
77
77
 
78
- Bug reports and pull requests are welcome on GitHub at https://github.com/ngtk/open_api. 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.
78
+ Bug reports and pull requests are welcome on GitHub at https://github.com/wantedly/open_api. 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.
79
79
 
80
80
  ## License
81
81
 
@@ -83,4 +83,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
83
83
 
84
84
  ## Code of Conduct
85
85
 
86
- Everyone interacting in the OpenApi project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/ngtk/open_api/blob/master/CODE_OF_CONDUCT.md).
86
+ Everyone interacting in the OpenApi project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/wantedly/open_api/blob/master/CODE_OF_CONDUCT.md).
@@ -5,4 +5,4 @@ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
5
5
  # Specify your gem's dependencies in open_api.gemspec
6
6
  gemspec path: '..'
7
7
 
8
- gem 'activesupport', '~> 5.2.0'
8
+ gem 'activesupport', '~> 6.1.0'
@@ -5,4 +5,4 @@ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
5
5
  # Specify your gem's dependencies in open_api.gemspec
6
6
  gemspec path: '..'
7
7
 
8
- gem 'activesupport', '~> 6.0.0'
8
+ gem 'activesupport', '~> 7.0.0'
@@ -3,7 +3,7 @@ module OpenApi
3
3
  class Callback
4
4
  extend Forwardable
5
5
 
6
- def initialize(hash)
6
+ def initialize(hash = {})
7
7
  self.hash = hash.with_indifferent_access
8
8
  end
9
9
 
@@ -4,7 +4,7 @@ module OpenApi
4
4
  extend Forwardable
5
5
  prepend EquatableAsContent
6
6
 
7
- def initialize(path_hash)
7
+ def initialize(path_hash = {})
8
8
  self.path_hash = path_hash.with_indifferent_access
9
9
  end
10
10
 
@@ -1,3 +1,3 @@
1
1
  module OpenApi
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.2"
3
3
  end
data/open_api.gemspec CHANGED
@@ -6,12 +6,12 @@ require "open_api/version"
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "open_api"
8
8
  spec.version = OpenApi::VERSION
9
- spec.authors = ["Kent Nagata"]
10
- spec.email = ["ngtknt@me.com"]
9
+ spec.authors = ["Kent Nagata", "Wantedly, Inc."]
10
+ spec.email = ["ngtknt@me.com", "dev@wantedly.com"]
11
11
 
12
12
  spec.summary = "Provide PORO of OpenAPI specification"
13
13
  spec.description = "It provides PORO of OpenAPI specification. It only support OpenAPI v3."
14
- spec.homepage = "https://github.com/ngtk/open_api"
14
+ spec.homepage = "https://github.com/wantedly/open_api"
15
15
  spec.license = "MIT"
16
16
 
17
17
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
22
  spec.require_paths = ["lib"]
23
23
 
24
- spec.add_dependency "activesupport", ['>= 5.0', '< 6.2']
24
+ spec.add_dependency "activesupport", ['>= 5.0', '< 7.2']
25
25
  spec.add_development_dependency "bundler", "~> 2.0"
26
26
  spec.add_development_dependency "rake", "~> 13.0"
27
27
  spec.add_development_dependency "rspec", "~> 3.0"
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: open_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kent Nagata
8
- autorequire:
8
+ - Wantedly, Inc.
9
+ autorequire:
9
10
  bindir: exe
10
11
  cert_chain: []
11
- date: 2021-07-29 00:00:00.000000000 Z
12
+ date: 2023-11-10 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: activesupport
@@ -19,7 +20,7 @@ dependencies:
19
20
  version: '5.0'
20
21
  - - "<"
21
22
  - !ruby/object:Gem::Version
22
- version: '6.2'
23
+ version: '7.2'
23
24
  type: :runtime
24
25
  prerelease: false
25
26
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +30,7 @@ dependencies:
29
30
  version: '5.0'
30
31
  - - "<"
31
32
  - !ruby/object:Gem::Version
32
- version: '6.2'
33
+ version: '7.2'
33
34
  - !ruby/object:Gem::Dependency
34
35
  name: bundler
35
36
  requirement: !ruby/object:Gem::Requirement
@@ -117,6 +118,7 @@ dependencies:
117
118
  description: It provides PORO of OpenAPI specification. It only support OpenAPI v3.
118
119
  email:
119
120
  - ngtknt@me.com
121
+ - dev@wantedly.com
120
122
  executables: []
121
123
  extensions: []
122
124
  extra_rdoc_files: []
@@ -134,8 +136,8 @@ files:
134
136
  - Rakefile
135
137
  - bin/console
136
138
  - bin/setup
137
- - gemfiles/rails-5.2.gemfile
138
- - gemfiles/rails-6.0.gemfile
139
+ - gemfiles/rails-6.1.gemfile
140
+ - gemfiles/rails-7.0.gemfile
139
141
  - lib/open_api.rb
140
142
  - lib/open_api/callback.rb
141
143
  - lib/open_api/components.rb
@@ -173,11 +175,11 @@ files:
173
175
  - lib/open_api/version.rb
174
176
  - lib/open_api/xml.rb
175
177
  - open_api.gemspec
176
- homepage: https://github.com/ngtk/open_api
178
+ homepage: https://github.com/wantedly/open_api
177
179
  licenses:
178
180
  - MIT
179
181
  metadata: {}
180
- post_install_message:
182
+ post_install_message:
181
183
  rdoc_options: []
182
184
  require_paths:
183
185
  - lib
@@ -192,8 +194,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
192
194
  - !ruby/object:Gem::Version
193
195
  version: '0'
194
196
  requirements: []
195
- rubygems_version: 3.1.4
196
- signing_key:
197
+ rubygems_version: 3.4.10
198
+ signing_key:
197
199
  specification_version: 4
198
200
  summary: Provide PORO of OpenAPI specification
199
201
  test_files: []