api-regulator 0.1.6 → 0.1.7
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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/api_regulator/formats.rb +1 -0
- data/lib/api_regulator/open_api_generator.rb +2 -0
- data/lib/api_regulator/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21f65fe067c5267aa27557544c2ff86d4bc860be047322336b9489562d6912fa
|
4
|
+
data.tar.gz: c87cb89c91c7d5f8a5d2d0454db67c80672696b34594e0f18aab5d0721db39bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02f6d4e3824a31fe8ac562d08c87ec1c5c3bb80050e7589ab76b9a2aee172ca06a96965bcc714d54729d263aa85c4eca245608eaaf98dff487f36b4cbdc65c60
|
7
|
+
data.tar.gz: 294239002947154ea624821f5f73d4e9600113ce380a7d3344315dba9c3a36be77e77c1a41e28c02890f9fe56ccab981d2a63e177f14069fb0938a3cd023febf
|
data/Gemfile.lock
CHANGED
@@ -141,6 +141,8 @@ module ApiRegulator
|
|
141
141
|
schema[:format] = 'email'
|
142
142
|
elsif param.options[:format][:with] == Formats::DATE
|
143
143
|
schema[:format] = 'date'
|
144
|
+
elsif param.options[:format][:with] == Formats::DATETIME
|
145
|
+
schema[:format] = 'date-type'
|
144
146
|
elsif param.options[:format][:with] == Formats::URI
|
145
147
|
schema[:format] = 'uri'
|
146
148
|
elsif param.options[:format][:with].is_a?(Regexp)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: api-regulator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Geoff Massanek
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-12-
|
11
|
+
date: 2024-12-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|