open_api 0.6.2 → 0.6.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4c07f02a4fac93faa55eceb4868dea44d36bd8d826308570d1d0febc3d86ce85
4
- data.tar.gz: 94d01fa180f33358df3e6c13b95d02fd02e986bee64773e14366b8bcf5bffd20
3
+ metadata.gz: 2fa8ecea42b09e04c882c1090c0f4bc43a752d1cabedac77898249b7bac2da8c
4
+ data.tar.gz: 9dafa535d3676b386f0149383cae8ad83ff699ee9e13e6d6de783950122d7524
5
5
  SHA512:
6
- metadata.gz: 07ef1f1a2f54b5237fff9259a29db82135a793fd245833463ecfe2b6fc3ad52d4e15589040fb37feaf2683431bfe10916164495fb9dbde36586a3564a4b0c46c
7
- data.tar.gz: 7fdc41602fa5522826a1c6ed93da713e0d2765de82b272116d509416f7a0aff581d244457385db5fe2d3643312fc994dc7c416801f5415aa88d3fd0ddc00135a
6
+ metadata.gz: 41b69c8e3cf08bb2abfeab845f4aa2219b042ac7cfe1ec4d36b54018b1923ef2e2ca5aba516d9bf15f9d32d7b5daa4e38026cc0e4b9924b1b6604c861ae2bd90
7
+ data.tar.gz: e644f33a57b440ce8748fee3455fa7ccb2b1969ccd14ff4b29a3caf928e6d0f189e7d4ea98694b7b5ad2e469a507fc244dc9f8741089799fb6484a75e020cbf1
@@ -4,13 +4,19 @@ jobs:
4
4
  test:
5
5
  strategy:
6
6
  matrix:
7
- ruby: ["3.0", "3.1", "3.2"]
7
+ ruby: ["3.3", "3.4", "4.0"]
8
8
  gemfile: [Gemfile]
9
9
  include:
10
- - ruby: "3.2"
10
+ - ruby: "3.3"
11
+ gemfile: "gemfiles/rails-8.0.gemfile"
12
+ - ruby: "3.3"
13
+ gemfile: "gemfiles/rails-7.2.gemfile"
14
+ - ruby: "3.3"
15
+ gemfile: "gemfiles/rails-7.1.gemfile"
16
+ - ruby: "3.3"
17
+ gemfile: "gemfiles/rails-7.0.gemfile"
18
+ - ruby: "4.0"
11
19
  gemfile: "gemfiles/rails-7.0.gemfile"
12
- - ruby: "3.2"
13
- gemfile: "gemfiles/rails-6.1.gemfile"
14
20
 
15
21
  env:
16
22
  BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
@@ -23,7 +29,3 @@ jobs:
23
29
  ruby-version: ${{ matrix.ruby }}
24
30
  bundler-cache: true
25
31
  - run: bundle exec rake
26
- - name: Send coverage
27
- uses: paambaati/codeclimate-action@v5
28
- env:
29
- CC_TEST_REPORTER_ID: 618e64226e212a5824797037cb1a71487cdbfb3aa664bddc42a7189fb027f73a
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.2.2
1
+ 4.0.9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  ## Unreleased
2
2
 
3
+ ## 0.6.3
4
+
5
+ - Require `forwardable` explicitly to fix `NameError: uninitialized constant OpenApi::Paths::Forwardable` when nothing has loaded it beforehand (e.g. `require "open_api"` right after `require "rails"` on Ruby 3.3+, whose psych no longer loads it) https://github.com/wantedly/open_api/pull/18
6
+ - Bump Ruby and Rails https://github.com/wantedly/open_api/pull/18
7
+ - Supported Rubies: 3.3, 3.4, 4.0
8
+ - Supported Rails: 7.0, 7.1, 7.2, 8.0, 8.1
9
+
3
10
  ## 0.6.2
4
11
 
5
12
  - Reflect ownership transfer https://github.com/wantedly/open_api/pull/16
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/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)
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)
2
2
 
3
3
  `open_api` provides PORO and serializers for OpenAPI and it supports OpenAPI v3.0.1.
4
4
 
@@ -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.1.0'
8
+ gem 'activesupport', '~> 7.1.0'
@@ -0,0 +1,8 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in open_api.gemspec
6
+ gemspec path: '..'
7
+
8
+ gem 'activesupport', '~> 7.2.0'
@@ -0,0 +1,8 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in open_api.gemspec
6
+ gemspec path: '..'
7
+
8
+ gem 'activesupport', '~> 8.0.0'
@@ -1,3 +1,3 @@
1
1
  module OpenApi
2
- VERSION = "0.6.2"
2
+ VERSION = "0.6.3"
3
3
  end
data/lib/open_api.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  # Dependant libraries
2
+ require "forwardable"
2
3
  require "active_support"
3
4
  require "active_support/core_ext/hash"
4
5
  require "active_support/core_ext/string/inflections"
data/open_api.gemspec CHANGED
@@ -21,8 +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', '< 7.2']
25
- spec.add_development_dependency "bundler", "~> 2.0"
24
+ spec.add_dependency "activesupport", ['>= 5.0', '< 8.2']
26
25
  spec.add_development_dependency "rake", "~> 13.0"
27
26
  spec.add_development_dependency "rspec", "~> 3.0"
28
27
  spec.add_development_dependency "pry"
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: open_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kent Nagata
8
8
  - Wantedly, Inc.
9
- autorequire:
10
9
  bindir: exe
11
10
  cert_chain: []
12
- date: 2023-11-10 00:00:00.000000000 Z
11
+ date: 1980-01-02 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: activesupport
@@ -20,7 +19,7 @@ dependencies:
20
19
  version: '5.0'
21
20
  - - "<"
22
21
  - !ruby/object:Gem::Version
23
- version: '7.2'
22
+ version: '8.2'
24
23
  type: :runtime
25
24
  prerelease: false
26
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -30,21 +29,7 @@ dependencies:
30
29
  version: '5.0'
31
30
  - - "<"
32
31
  - !ruby/object:Gem::Version
33
- version: '7.2'
34
- - !ruby/object:Gem::Dependency
35
- name: bundler
36
- requirement: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '2.0'
41
- type: :development
42
- prerelease: false
43
- version_requirements: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '2.0'
32
+ version: '8.2'
48
33
  - !ruby/object:Gem::Dependency
49
34
  name: rake
50
35
  requirement: !ruby/object:Gem::Requirement
@@ -136,8 +121,10 @@ files:
136
121
  - Rakefile
137
122
  - bin/console
138
123
  - bin/setup
139
- - gemfiles/rails-6.1.gemfile
140
124
  - gemfiles/rails-7.0.gemfile
125
+ - gemfiles/rails-7.1.gemfile
126
+ - gemfiles/rails-7.2.gemfile
127
+ - gemfiles/rails-8.0.gemfile
141
128
  - lib/open_api.rb
142
129
  - lib/open_api/callback.rb
143
130
  - lib/open_api/components.rb
@@ -179,7 +166,6 @@ homepage: https://github.com/wantedly/open_api
179
166
  licenses:
180
167
  - MIT
181
168
  metadata: {}
182
- post_install_message:
183
169
  rdoc_options: []
184
170
  require_paths:
185
171
  - lib
@@ -194,8 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
194
180
  - !ruby/object:Gem::Version
195
181
  version: '0'
196
182
  requirements: []
197
- rubygems_version: 3.4.10
198
- signing_key:
183
+ rubygems_version: 4.0.20
199
184
  specification_version: 4
200
185
  summary: Provide PORO of OpenAPI specification
201
186
  test_files: []