kani_laser 0.1.0 → 0.1.1

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: f3d6c0af59adddc29260563de855215f25310cb4d8681926f591bc28d7827c13
4
- data.tar.gz: 407a7a83f4f1590092ae746a92ac55a8d85b37a51285561496266165c522f880
3
+ metadata.gz: 629725323e60755e5ed17046a5fbf8e9dfdbd343ba50cbe3a583e7d93b441edf
4
+ data.tar.gz: 39b5ab6ef6e934c1038688adece659ef923c16e058e3561970e8f501d7d45b1d
5
5
  SHA512:
6
- metadata.gz: 6408e0ac2d077c16fd05692546a9f0030f48823bd85aba0cdfea9e6e48587d77e36d09db7431dab67e7d5d2fe82e849ad0ff8ffecac029ac00b381fc0c66a9b8
7
- data.tar.gz: 69ed49def9327a7123b2716b3cab5a6d051e2d611ec8858f74d0517c1d7a3dca69f4e04b89e5cda270aaa6c268b366f394d986c89ed99e65fe9269995691263a
6
+ metadata.gz: 6291332807e373005fb4d4ae40b05a94955ed6e7b9791219a69f1549c6b9d2a617947ba903f7ed6fc110828f2b45f49326dd99c5e4dd7a1d325422eb066f09d8
7
+ data.tar.gz: 95850d562e647f7d75b721075cf18a29339a6be9d101cac21f15c46b18ea8d9df03d3745048ad1843f03bbe5f84fb4191c733f366bfa950be3258cbda54977ab
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- kani_laser (0.1.0)
4
+ kani_laser (0.1.1)
5
5
  faraday (~> 0.17.1)
6
6
  faraday_middleware
7
7
  json-schema
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # KaniLaser
2
2
 
3
- [SendGrid v3 Mail Send API](https://sendgrid.com/docs/API_Reference/Web_API_v3/Mail/index.html) Ruby Client.
3
+ [SendGrid v3 Mail Send API](https://sendgrid.com/docs/API_Reference/Web_API_v3/Mail/index.html) Ruby Client that validates API request body using [JSON Schema](https://github.com/winebarrel/kani_laser/blob/master/lib/kani_laser/schema.rb).
4
4
 
5
5
  [![Gem Version](https://badge.fury.io/rb/kani_laser.svg)](http://badge.fury.io/rb/kani_laser)
6
6
  [![Build Status](https://travis-ci.org/winebarrel/kani_laser.svg?branch=master)](https://travis-ci.org/winebarrel/kani_laser)
@@ -51,3 +51,9 @@ client.send_mail(
51
51
  ]
52
52
  )
53
53
  ```
54
+
55
+ ## Related Links
56
+
57
+ * https://sendgrid.com/docs/API_Reference/Web_API_v3/Mail/index.html
58
+ * https://sendgrid.api-docs.io/
59
+ * https://github.com/sendgrid/sendgrid-oai/
data/kani_laser.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.authors = ['winebarrel']
11
11
  spec.email = ['sugawara@winebarrel.jp']
12
12
 
13
- spec.summary = 'SendGrid v3 Mail Send API Ruby Client.'
13
+ spec.summary = 'SendGrid v3 Mail Send API Ruby Client that validates API request body using JSON Schema.'
14
14
  spec.description = spec.summary
15
15
  spec.homepage = 'https://github.com/winebarrel/kani_laser'
16
16
  spec.license = 'MIT'
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
  # Generated by "rake schema:update". DO NOT EDIT!
3
+ # source: https://raw.githubusercontent.com/sendgrid/sendgrid-oai/master/oai.json
3
4
 
4
5
  module KaniLaser
5
6
  SCHEMA = {"type"=>"object",
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module KaniLaser
4
- VERSION = '0.1.0'
4
+ VERSION = '0.1.1'
5
5
  end
data/tasks/schema.rake CHANGED
@@ -12,6 +12,7 @@ namespace :schema do
12
12
  f.puts <<~RUBY
13
13
  # frozen_string_literal: true
14
14
  # Generated by "rake schema:update". DO NOT EDIT!
15
+ # source: #{JSONSchema::REFERENCE_URL}
15
16
 
16
17
  module KaniLaser
17
18
  SCHEMA = #{JSONSchema.fetch.pretty_inspect.strip}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kani_laser
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
  - winebarrel
@@ -122,7 +122,8 @@ dependencies:
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
- description: SendGrid v3 Mail Send API Ruby Client.
125
+ description: SendGrid v3 Mail Send API Ruby Client that validates API request body
126
+ using JSON Schema.
126
127
  email:
127
128
  - sugawara@winebarrel.jp
128
129
  executables: []
@@ -172,5 +173,6 @@ requirements: []
172
173
  rubygems_version: 3.0.3
173
174
  signing_key:
174
175
  specification_version: 4
175
- summary: SendGrid v3 Mail Send API Ruby Client.
176
+ summary: SendGrid v3 Mail Send API Ruby Client that validates API request body using
177
+ JSON Schema.
176
178
  test_files: []