nanoc-redirector 0.2.1 → 0.3.0

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
  SHA1:
3
- metadata.gz: 7fb0da35d3e7afc4bf672a1d9eb608ce32e9c430
4
- data.tar.gz: 9b37d22ba63efb07a0b2221fbaee159a9234a8d5
3
+ metadata.gz: eb61dd555ad942541bbf82b7feaa9e1dfce02381
4
+ data.tar.gz: c6057a35380dc3aad633af5d30d5f949a07dae2b
5
5
  SHA512:
6
- metadata.gz: 3ab3e45fa7b6e8a86b492fd0898f5d135b953b0df29c152c3c4f37d3393fd82c7d97103390a65927ba277217d86ce3352c704ec009d816d36c0baf6e9f2da286
7
- data.tar.gz: 6bf518bbb869ce3b40edbe4b8403443ebc16941a6704d84c70d02f8edcb1338e2500fd551e5a478b947d439a548af9aabf561ba44f47fdc696ed8b3c3e072bb0
6
+ metadata.gz: 746c2bb57624bfb7d500d4cf323946a9b7228b2ea0b2d5c56129047f35dda29d14d3504feffa12988d3c7ab29378b4819fae113e334f9b3ba8512e5234cea10f
7
+ data.tar.gz: 3514fb18bee71fc21c3e6897500f1b1d8f06edaf6ca3f83fe413bf7239a7bd44d855050d89dcd7c904d2c90af33361fd1d0e166c5c22d51ab15eb72975d4f828
data/.travis.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.2
3
+ - 2.3
4
4
  env:
5
5
  global:
6
6
  - NOKOGIRI_USE_SYSTEM_LIBRARIES=true
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2017 Garen Torikian
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md CHANGED
@@ -58,10 +58,8 @@ You can implement this functionality by calling `NanocRedirector::RedirectFrom.p
58
58
 
59
59
  ``` ruby
60
60
  postprocess do
61
- REPS.each do |rep|
62
- @items.each do |item|
63
- NanocRedirector::RedirectFrom.process(item, item.path(rep: rep))
64
- end
61
+ @items.each do |item|
62
+ NanocRedirector::RedirectFrom.process(item, item.path)
65
63
  end
66
64
  end
67
65
  ```
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module NanocRedirector
2
- VERSION = '0.2.1'
2
+ VERSION = '0.3.0'
3
3
  end
@@ -7,6 +7,7 @@ Gem::Specification.new do |spec|
7
7
  spec.version = NanocRedirector::VERSION
8
8
  spec.authors = 'Garen J. Torikian'
9
9
  spec.email = %w(gjtorikian@gmail.com)
10
+ spec.licenses = ['MIT']
10
11
 
11
12
  spec.summary = %w(Allows you to generate redirects to and from an item.)
12
13
  spec.homepage = 'https://www.github.com/gjtorikian/nanoc-redirector'
@@ -16,7 +17,7 @@ Gem::Specification.new do |spec|
16
17
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
17
18
  spec.require_paths = ['lib']
18
19
 
19
- spec.add_runtime_dependency 'nanoc', '~> 4.3.0'
20
+ spec.add_runtime_dependency 'nanoc', '~> 4.9.0'
20
21
 
21
22
  spec.add_development_dependency 'rake'
22
23
  spec.add_development_dependency 'minitest', '~> 5.8'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nanoc-redirector
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Garen J. Torikian
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-05 00:00:00.000000000 Z
11
+ date: 2018-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nanoc
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 4.3.0
19
+ version: 4.9.0
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: 4.3.0
26
+ version: 4.9.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -76,6 +76,7 @@ files:
76
76
  - ".gitignore"
77
77
  - ".travis.yml"
78
78
  - Gemfile
79
+ - LICENSE
79
80
  - README.md
80
81
  - Rakefile
81
82
  - lib/nanoc-redirector.rb
@@ -84,7 +85,8 @@ files:
84
85
  - nanoc-redirector.gemspec
85
86
  - script/bootstrap
86
87
  homepage: https://www.github.com/gjtorikian/nanoc-redirector
87
- licenses: []
88
+ licenses:
89
+ - MIT
88
90
  metadata: {}
89
91
  post_install_message:
90
92
  rdoc_options: []
@@ -102,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
102
104
  version: '0'
103
105
  requirements: []
104
106
  rubyforge_project:
105
- rubygems_version: 2.4.5.1
107
+ rubygems_version: 2.6.12
106
108
  signing_key:
107
109
  specification_version: 4
108
110
  summary: '["Allows", "you", "to", "generate", "redirects", "to", "and", "from", "an",