jekyll-urls 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 185911cd733893125a4e3aa17db95994361b7c2b
4
+ data.tar.gz: edf857e4d7841497d467e1afd5b7f9c5e133baaa
5
+ SHA512:
6
+ metadata.gz: e12aea7cc18f9e983ff46b258f235e43821bc562f318992b1e0a72b12d5dd3277f0d91734925ce70a8979ae1ac99498e2aec34294227a49333c8a6068672d48f
7
+ data.tar.gz: 492421675545e3b743d09fe7c1b3640bcdd5cdef0717ff10f73b2df6d1f788601c9d0881e3f138c7edb5dd672d3e64646c3891455d408b2392441e438d8f1232
@@ -0,0 +1,14 @@
1
+ module Jekyll
2
+ module Converters
3
+ class UrlsGenerator < Generator
4
+ def generate(site)
5
+ site.config['urls'] = {}
6
+ site.html_pages.each do |key, value|
7
+ if value.id?
8
+ site.config['urls'][value.id] = value.url
9
+ end
10
+ end
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,5 @@
1
+ module Jekyll
2
+ module Urls
3
+ VERSION = "1.1.0"
4
+ end
5
+ end
@@ -0,0 +1,8 @@
1
+ require "jekyll"
2
+ require "jekyll-urls/version"
3
+ require "jekyll/generators/urls"
4
+
5
+ module Jekyll
6
+ module Urls
7
+ end
8
+ end
metadata ADDED
@@ -0,0 +1,103 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-urls
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Arkady Zalkowitsch
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-01-19 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: jekyll
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '2.0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '2.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.5'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.5'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ description: Access pages url within your Jekyll liquid templates
70
+ email:
71
+ - arkady@carta.com
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - lib/jekyll-urls.rb
77
+ - lib/jekyll-urls/version.rb
78
+ - lib/jekyll/generators/urls.rb
79
+ homepage: https://github.com/arkadyzalko/jekyll-urls
80
+ licenses:
81
+ - MIT
82
+ metadata: {}
83
+ post_install_message:
84
+ rdoc_options: []
85
+ require_paths:
86
+ - lib
87
+ required_ruby_version: !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - - ">="
90
+ - !ruby/object:Gem::Version
91
+ version: '0'
92
+ required_rubygems_version: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ requirements: []
98
+ rubyforge_project:
99
+ rubygems_version: 2.5.2
100
+ signing_key:
101
+ specification_version: 4
102
+ summary: Jekyll urls.
103
+ test_files: []