rack-joint 0.3.1 → 0.3.2
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/.travis.yml +2 -1
- data/CHANGELOG.md +4 -0
- data/LICENSE.txt +1 -1
- data/README.md +4 -0
- data/lib/rack/joint/version.rb +1 -1
- data/rack-joint.gemspec +2 -3
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b3670705be914aaa49cc18435c1a7360a1086aa793b73abe54e5e219028143b
|
4
|
+
data.tar.gz: 184d6f057bfe0ff5fadb139d52ac5deaa3084bd5575c8bd4b9c1834be0c944b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e50a54b2b1f9ad7b1492c43e4ac347a61d8faba6df4b1f3f2a3f8759ee8f0d00b160da1b984c7f8f4b6f1ed1ad008cb4e1bb82328c1a6c84f5425bc7e693aef
|
7
|
+
data.tar.gz: 5626b7f6949dbcf5ab62722e348f62a4efe618f348388ca616ff8e98bfbc661cef74836fa80fc92e14f246be050951ccee8823d3a0f868acef1b7b6133962a7c
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
|
3
3
|
## master
|
4
4
|
|
5
|
+
### 0.3.2 (2018-01-01)
|
6
|
+
* Revise test files' names. [#11](https://github.com/akito19/rack-joint/pull/11)
|
7
|
+
* Support for Ruby 2.6.0 and update gemspec. [#12](https://github.com/akito19/rack-joint/pull/12)
|
8
|
+
|
5
9
|
### 0.3.1 (2018-12-05)
|
6
10
|
* Enable to redirect with an only host replaced. [#9](https://github.com/akito19/rack-joint/pull/9)
|
7
11
|
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -88,6 +88,10 @@ You can use following resources with block.
|
|
88
88
|
| `to` | `string` | A new path name redirects to. |
|
89
89
|
| `status` | `integer` | Status when redirecting. You can use `301`, `302`, `303`, `307`, `308`; which is `301` to default. |
|
90
90
|
|
91
|
+
#### Supplement
|
92
|
+
|
93
|
+
[This library's test case](https://github.com/akito19/rack-joint/tree/master/test/config) will be actual samples.
|
94
|
+
|
91
95
|
## Development
|
92
96
|
|
93
97
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
data/lib/rack/joint/version.rb
CHANGED
data/rack-joint.gemspec
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
|
2
1
|
lib = File.expand_path("../lib", __FILE__)
|
3
2
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
3
|
require "rack/joint/version"
|
@@ -10,7 +9,7 @@ Gem::Specification.new do |spec|
|
|
10
9
|
spec.email = ["kasai@akito19.com"]
|
11
10
|
|
12
11
|
spec.summary = %q{A rack middleware for redirecting.}
|
13
|
-
spec.description = %q{Rack::Joint is a rack middleware to
|
12
|
+
spec.description = %q{Rack::Joint is a rack middleware to set redirect configuration with your anticipation.}
|
14
13
|
spec.homepage = "https://github.com/akito19/rack-joint"
|
15
14
|
spec.license = "MIT"
|
16
15
|
|
@@ -22,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
22
21
|
spec.require_paths = ["lib"]
|
23
22
|
|
24
23
|
spec.add_dependency "rack"
|
25
|
-
spec.add_development_dependency "bundler", "~> 1.
|
24
|
+
spec.add_development_dependency "bundler", "~> 1.17"
|
26
25
|
spec.add_development_dependency "rake", "~> 12.0"
|
27
26
|
spec.add_development_dependency "minitest", "~> 5.0"
|
28
27
|
spec.add_development_dependency "rack-test"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-joint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Akito Kasai
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '1.
|
33
|
+
version: '1.17'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '1.
|
40
|
+
version: '1.17'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,7 +80,8 @@ dependencies:
|
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
-
description: Rack::Joint is a rack middleware to
|
83
|
+
description: Rack::Joint is a rack middleware to set redirect configuration with your
|
84
|
+
anticipation.
|
84
85
|
email:
|
85
86
|
- kasai@akito19.com
|
86
87
|
executables: []
|