jekyll-environment-variables 1.0.0 → 1.0.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
  SHA256:
3
- metadata.gz: 4ea5098ecc5722013c76a442dc232f7b85a815f4bc89b443640e43173e7c1386
4
- data.tar.gz: 29405a80f4ce41e3c0df50a4529d475e3df36c96fb1c569a9eab78f2e584699d
3
+ metadata.gz: c84ba155a9a3059de45c62dc010e3971694369214d04d0fdbadf2d41fb8d42a4
4
+ data.tar.gz: 748e5698510e40908fa2b1a09f00d3ba67a675da905c88616d62099f85146d6e
5
5
  SHA512:
6
- metadata.gz: 3a03cc28c23e2e6e128f2753406d86c6d1cea57c57550fd11f769c18530bfca809850c92c62004bdc76584c786c1fbd901e1e734fabce1bc8195495f2035fb24
7
- data.tar.gz: f08c2f6f168632220820eb5b2ddb6c18b7165fd88a5938f61e347f9d8a390ccf10188585d931e51a7a60f9f1857090203103aac11ddaff2f9353e1546ea1fa44
6
+ metadata.gz: bf265fc6e917f1bd355297177a60e89a6e4ced5a6e3e7a76a4f414d967d9aeddff00f158b8ea1ef3032597842a70f577484ed3914485b1d88bfb57e28330fbf5
7
+ data.tar.gz: 85080cd66f4f4327a8a39f0f221b6125e1d191176d95fc7c15d0856a3e1e12cafed74689f2b2de58f54cd746a17ba3071d118359852c914333645fa28475ca0b
@@ -5,4 +5,4 @@ cache: bundler
5
5
 
6
6
  #install: bundle install
7
7
  script:
8
- - gem build ./jekyll-env.gemspec
8
+ - gem build ./jekyll-environment-variables.gemspec
data/README.md CHANGED
@@ -1,8 +1,23 @@
1
1
  # Jekyll Environment Variables
2
2
 
3
+ [![Buile Status](https://travis-ci.org/iBug/jekyll-environment-variables.svg?branch=master)](https://travis-ci.org/iBug/jekyll-environment-variables) [![Gem Version](https://badge.fury.io/rb/jekyll-environment-variables.svg)](https://badge.fury.io/rb/jekyll-environment-variables)
4
+
3
5
  ## Installation
4
6
 
5
- Use `Gemfile`
7
+ Install the gem:
8
+
9
+ ```
10
+ gem install jekyll-environment-variables
11
+ ```
12
+
13
+ And then add it to your `_config.yml`:
14
+
15
+ ```yaml
16
+ plugins: # "gems" before Jekyll 3.5
17
+ - jekyll-environment-variables
18
+ ```
19
+
20
+ Alternatively, you can use Bundler with `Gemfile`:
6
21
 
7
22
  ```ruby
8
23
  group :jekyll_plugins do
@@ -17,5 +32,6 @@ Then run `bundle install` and let Bundler handle it for you.
17
32
  All environment variables will be copied to `site.env` for use in Liquid templates.
18
33
 
19
34
  ```html
20
- Working directory: {{ site.env.PWD }}
35
+ Hostname: {{ site.env.HOSTNAME }}
36
+ My home: {{ site.env.HOME }}
21
37
  ```
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "jekyll-environment-variables"
3
- s.version = "1.0.0"
3
+ s.version = "1.0.1"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.authors = ['iBug']
6
6
  s.homepage = 'http://github.com/iBug/jekyll-environment-variables'
@@ -10,6 +10,6 @@ Gem::Specification.new do |s|
10
10
  s.date = Time.now
11
11
  s.files = `git ls-files -z`.split("\0")
12
12
 
13
- s.add_runtime_dependency('jekyll', '~> 3.0')
13
+ s.add_runtime_dependency 'jekyll', '>= 3.0', '< 5.x'
14
14
  s.required_rubygems_version = '>= 1.3.6'
15
15
  end
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-environment-variables
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - iBug
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-09 00:00:00.000000000 Z
11
+ date: 2019-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '3.0'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 5.x
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: '3.0'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: 5.x
27
33
  description: Access environment variables using Liquid tags with Jekyll
28
34
  email:
29
35
  executables: []
@@ -55,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
55
61
  version: 1.3.6
56
62
  requirements: []
57
63
  rubyforge_project:
58
- rubygems_version: 2.7.6
64
+ rubygems_version: 2.7.6.2
59
65
  signing_key:
60
66
  specification_version: 4
61
67
  summary: Access environment variables using Liquid tags with Jekyll