swagger_shield 0.1.0 → 0.1.1

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: a77114331c4b36bc63927cffa6d71b64e3edbc2f93874ecab7855669b54ed89e
4
- data.tar.gz: 28707bd376642cd675ba0e105d2e9ec930a7ed790241f0dd5c38f802a54afb9e
3
+ metadata.gz: b4997fe123bae9f71dca770366e9495b38c2348b52480f42bc26ccf93be13186
4
+ data.tar.gz: b6be56f9b7def102d133277e0d18beecd6d462c07136e302aa83366e5b7fb59a
5
5
  SHA512:
6
- metadata.gz: cbeaf6b524b1cb69077c6d862b7c4ae8a273b141d8b36b5b8e4e35322c3d77a48d6246d801e30651704e2e8582ed8b7feb13490210140b1038621b9764911e05
7
- data.tar.gz: 185fb9066698ef7f206ad6c1e92ad8732bb6da34be8399b9a2450f885c37c18e94f7427835b470389e9a83777bc61ee3cd233ddcaaf5aeadbac302c1d878217d
6
+ metadata.gz: a15d7b014d8e8321035d2e0096daf2f3b854c7b235bc0c5d36c888942b6f5ff4cba8adfa7ef4c304bd72fff6d81a45400bd066b3d1a563105e798a833d4a2d13
7
+ data.tar.gz: d95436ba4a6f33d1386e4bde234b699f5302b0c852c3bbb408f7cb78aca3d7971cab50037eb66ef39ed0ea52bd2257a33ff470921eb2dc33ea3c47f0923ca578
data/README.md CHANGED
@@ -1,3 +1,6 @@
1
+ [![Build Status](https://travis-ci.org/amcaplan/swagger_shield.svg?branch=master)](https://travis-ci.org/amcaplan/swagger_shield)
2
+ [![Gem Version](https://badge.fury.io/rb/swagger_shield.svg)](https://badge.fury.io/rb/swagger_shield)
3
+
1
4
  # SwaggerShield
2
5
 
3
6
  Tired of getting weird errors when users (or your own clients) submit random
@@ -97,7 +97,7 @@ module SwaggerShield
97
97
  baseline,
98
98
  {
99
99
  'type' => 'string',
100
- 'pattern' => '\A[0-9]\z'
100
+ 'pattern' => '\A\d+\z'
101
101
  }
102
102
  ]
103
103
  }
@@ -1,3 +1,3 @@
1
1
  module SwaggerShield
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["arielmcaplan@gmail.com"]
11
11
 
12
12
  spec.summary = %q{Protect your API from malformed requests with Swagger Shield!}
13
- spec.description = %q{Validates requests to your API against your Swagger spec.}
13
+ spec.description = %q{Validates requests to your Rails API against your Swagger spec.}
14
14
  spec.homepage = "https://github.com/amcaplan/swagger_shield"
15
15
  spec.license = "MIT"
16
16
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swagger_shield
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - amcaplan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-11-27 00:00:00.000000000 Z
11
+ date: 2017-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json-schema
@@ -108,7 +108,7 @@ dependencies:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
- description: Validates requests to your API against your Swagger spec.
111
+ description: Validates requests to your Rails API against your Swagger spec.
112
112
  email:
113
113
  - arielmcaplan@gmail.com
114
114
  executables: []
@@ -150,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
150
150
  version: '0'
151
151
  requirements: []
152
152
  rubyforge_project:
153
- rubygems_version: 2.7.1
153
+ rubygems_version: 2.7.3
154
154
  signing_key:
155
155
  specification_version: 4
156
156
  summary: Protect your API from malformed requests with Swagger Shield!