jekyll-gitlab-letsencrypt 0.4.0 → 0.4.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
  SHA1:
3
- metadata.gz: 79378ccf5c1ca836797f30d679431a9376f84bb2
4
- data.tar.gz: c96ee95aa011835934dc5530b3c27f5c868e059d
3
+ metadata.gz: 2eb3d34eee9fe72635e657e14862021b48b1009e
4
+ data.tar.gz: 52bea35d056df1944361465259e2828647d0fdd5
5
5
  SHA512:
6
- metadata.gz: ee2d248cd6eaf23e877d60204e5ce6da05e6362afe0af1bc4330dbb67b13c0c7377bb7ee208abd034e647907ea0f5faaf5560fe36ecbc30734ede4e2f2089839
7
- data.tar.gz: d0470fed12427e434a4091894a611f77dfcf07faac825a9d24998b0f266cf15767cb25b9fe4717a67b4dafcce463dd8e4580e4c7b66e02e2a5ff9957493e2ef9
6
+ metadata.gz: d0c4c9100e85fbf1601cdd8c642e833035a85bb476e7661793e348b6e0fe1a9328717e65c2842590aa90f568698bd66ac20995521d1addb56fe353c0214a545b
7
+ data.tar.gz: b02b2fce0dd06515aa14bd7ce4792be687f3834124f28a991f8dd39b9307f9f42f4a430a4d91910d63d96bf35f0dcb1d730b9198c3cdcf37ed3a18b2d38578c3
@@ -1,3 +1,6 @@
1
+ # 0.4.1
2
+ - #23 - Add option to append arbitrary text to the challenge file
3
+
1
4
  # 0.4.0
2
5
 
3
6
  - Updated travis testing matrix
data/README.md CHANGED
@@ -62,6 +62,7 @@ gitlab-letsencrypt:
62
62
  # Jekyll settings:
63
63
  base_path: './' # Where you want the file to go
64
64
  pretty_url: false # Add a "/" on the end of the URL... set to `true` if you use permalink_style: pretty
65
+ append_str: '' # Append this string to the end of the challenge URL
65
66
  filename: 'letsencrypt.html' # What to call the generated challenge file
66
67
 
67
68
  # Delay settings:
@@ -43,6 +43,10 @@ module Jekyll
43
43
  !!jekyll_config['pretty_url']
44
44
  end
45
45
 
46
+ def append_str
47
+ jekyll_config['append_str'] || ''
48
+ end
49
+
46
50
  def layout
47
51
  jekyll_config['layout'] || DEFAULT_LAYOUT
48
52
  end
@@ -12,7 +12,7 @@ module Jekyll
12
12
  self.new(client).process!
13
13
  end
14
14
 
15
- delegate :base_path, :gitlab_url, :gitlab_repo, :pretty_url?, :layout, :domain, :initial_delay, :delay_time, :scheme, to: Configuration
15
+ delegate :base_path, :gitlab_url, :gitlab_repo, :pretty_url?, :append_str, :layout, :domain, :initial_delay, :delay_time, :scheme, to: Configuration
16
16
 
17
17
  def initialize(client)
18
18
  @client = client
@@ -107,6 +107,7 @@ module Jekyll
107
107
  permalink += base_path if base_path
108
108
  permalink += challenge.filename
109
109
  permalink += "/" if pretty_url?
110
+ permalink += append_str
110
111
 
111
112
  content = "---\n"
112
113
  content += "layout: #{layout}\n"
@@ -1,7 +1,7 @@
1
1
  module Jekyll
2
2
  module Gitlab
3
3
  module Letsencrypt
4
- VERSION = "0.4.0"
4
+ VERSION = "0.4.1"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-gitlab-letsencrypt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Aiken
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-07 00:00:00.000000000 Z
11
+ date: 2019-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler