rails-openapi-gen 0.0.3 → 0.0.4

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: 0d59044c5ff98fab8b4ca1e9de7dd53e71eea91ffa2d5a8d37f0acb9f335f059
4
- data.tar.gz: cc88029ac40811d0181ca65892ea8c09dd43134dd08a2d668bcd0285e2003f3d
3
+ metadata.gz: 7bab2549eaa886a2db1f422e761bad0a4973cc960b6d06bd28590cd31be9fc5f
4
+ data.tar.gz: 8db90aaaa39e41fd7bd8952c2d84b4a82a448a7362d357cc6287dff524b8cc44
5
5
  SHA512:
6
- metadata.gz: 2578b9fd575a89a3432ea01f64e86e8f4e6922343f606c8f246a092f5a7a6dfe8da98b47717159238982f0140377ebdfdf0dc90bac879ba2b14727782e5ca297
7
- data.tar.gz: 0cc4b985a493cf04edb7d1cb689e24d244ac33572d457f7b0c8fea49d8562a2c778ee13c5972fe14ddecd09ba026ee943edcc2c5924c6585717ce4952b69eff7
6
+ metadata.gz: 7ffbabd67baa2ba6aa01a09999b1af70a4d48b02e899ef7b9ef0147d272b55047416ddee03fbe461db9d18cbd8a0667293c01e6a908ea8fa73be8f3da9f33b28
7
+ data.tar.gz: d451c60b9fe4fce8e64f82c4ae57fb80d97cd089a1d2b12e8fbbcfaaa403159599d2100499c0bc5833add0697fe1b6f264065a745760fb96aaa25213c8c41c13
data/CHANGELOG.md CHANGED
@@ -2,6 +2,17 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [0.0.4] - 2025-01-13
6
+
7
+ ### Fixed
8
+ - Fixed format field handling in OpenAPI schema generation
9
+ - Improved AST to schema processor to correctly use format_value method
10
+ - Enhanced date-time type conversion to properly generate format fields
11
+
12
+ ### Changed
13
+ - Parser gem fallback system for better Ruby 3.1 compatibility
14
+ - Improved error handling for Parser gem version mismatches
15
+
5
16
  ## [0.0.3] - 2025-01-13
6
17
 
7
18
  ### Added
@@ -59,7 +59,7 @@ module RailsOpenapiGen::Processors
59
59
 
60
60
  # Add format if specified
61
61
  if node.comment_data&.has_format?
62
- schema['format'] = node.comment_data.format
62
+ schema['format'] = node.comment_data.format_value
63
63
  end
64
64
 
65
65
  # Add example if specified
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsOpenapiGen
4
- VERSION = "0.0.1"
4
+ VERSION = "0.0.4"
5
5
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "rails-openapi-gen"
5
- spec.version = "0.0.3"
5
+ spec.version = "0.0.4"
6
6
  spec.authors = ["myzkey"]
7
7
  spec.email = ["myzkey.dev@example.com"]
8
8
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-openapi-gen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - myzkey