problem_details-rails 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/problem_details/rails/version.rb +1 -1
- data/problem_details-rails.gemspec +2 -3
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90d8f95d500ca8c0e91985dd0bb594ebde223187
|
4
|
+
data.tar.gz: 80d4b3360d8243f2aeefa990d209dfd3ed12e893
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 799384d3bee62d3a57d593bd31fd0bc215b497b4088d65b6ecef4d1814c910170e6047a0d919eb5258d0e280b127b0f26a759f8086718ea5d5ac0efad0cc5581
|
7
|
+
data.tar.gz: 56b8fa285e56030675951b5b405d2ef82f1f8b6817861467f496de92878c2ab7c74724f1d3defde183870b728285b5e726b9f4c735e28409f022aa7e89089379
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# ProblemDetails::Rails [![Build Status](https://travis-ci.org/nikushi/problem_details.svg?branch=master)](https://travis-ci.org/nikushi/problem_details) [![Gem Version](https://badge.fury.io/rb/problem_details.svg)](https://badge.fury.io/rb/problem_details)
|
1
|
+
# ProblemDetails::Rails [![Build Status](https://travis-ci.org/nikushi/problem_details.svg?branch=master)](https://travis-ci.org/nikushi/problem_details) [![Gem Version](https://badge.fury.io/rb/problem_details-rails.svg)](https://badge.fury.io/rb/problem_details-rails)
|
2
2
|
|
3
3
|
This gem helps Rails systems to render "problem detail" json form described in [RFC7807 Problem Details for HTTP APIs](https://tools.ietf.org/html/rfc7807).
|
4
4
|
|
@@ -1,7 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
version = File.read(File.expand_path('../VERSION', __dir__)).strip
|
4
|
-
|
5
4
|
lib = File.expand_path('lib', __dir__)
|
6
5
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
7
6
|
|
@@ -10,12 +9,10 @@ Gem::Specification.new do |spec|
|
|
10
9
|
spec.version = version
|
11
10
|
spec.authors = ['Nobuhiro Nikushi']
|
12
11
|
spec.email = ['deneb.ge@gmail.com']
|
13
|
-
|
14
12
|
spec.summary = 'Add a :problem renderer that renponds with RFC 7807 Problem Details format'
|
15
13
|
spec.description = spec.summary
|
16
14
|
spec.homepage = 'https://github.com/nikushi/problem_details'
|
17
15
|
spec.license = 'MIT'
|
18
|
-
|
19
16
|
spec.files = Dir['lib/**/*.rb'] + %w[
|
20
17
|
LICENSE.txt
|
21
18
|
README.md
|
@@ -24,6 +21,8 @@ Gem::Specification.new do |spec|
|
|
24
21
|
]
|
25
22
|
spec.require_paths = ['lib']
|
26
23
|
|
24
|
+
spec.required_ruby_version = '>= 2.0.0'
|
25
|
+
|
27
26
|
spec.add_runtime_dependency 'problem_details', version
|
28
27
|
spec.add_dependency 'actionpack', '>= 4.0'
|
29
28
|
spec.add_dependency 'activesupport', '>= 4.0'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: problem_details-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nobuhiro Nikushi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-03-
|
11
|
+
date: 2018-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: problem_details
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.2.
|
19
|
+
version: 0.2.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.2.
|
26
|
+
version: 0.2.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: actionpack
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -123,7 +123,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
123
123
|
requirements:
|
124
124
|
- - ">="
|
125
125
|
- !ruby/object:Gem::Version
|
126
|
-
version:
|
126
|
+
version: 2.0.0
|
127
127
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - ">="
|