jekyll-env 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: a441cf1aec6591ce61b11277ddf7e136b1a3e4ba
4
+ data.tar.gz: 3dd1089f385fa9fd673627d5ab5479914f313679
5
+ SHA512:
6
+ metadata.gz: ee6af0d98758124739fcc16b2a204a38e46ee1b56432f39d1d2301dea7240bd4f8b939a093a66b5660d28d6210a4e5ef75e49c4c0934ed3aa8245376051660ee
7
+ data.tar.gz: 2f47c0c6ce9b8b478bb940a053ee3411b57de4013bcc9b63e37ef1ada064041d0d226cb312224d7b28742be18363dadd0f8ae68a77c7d100e6e1a0f69adc62e0
@@ -0,0 +1,8 @@
1
+ require "jekyll"
2
+ require "jekyll-env/version"
3
+ require "jekyll/generators/env"
4
+
5
+ module Jekyll
6
+ module Env
7
+ end
8
+ end
@@ -0,0 +1,5 @@
1
+ module Jekyll
2
+ module Env
3
+ VERSION = "1.1.0"
4
+ end
5
+ end
@@ -0,0 +1,14 @@
1
+ module Jekyll
2
+ module Converters
3
+ class EnvironmentVariablesGenerator < Generator
4
+ def generate(site)
5
+ # assigning to ENV will not work in liquid templates
6
+ # must iterate through the keys & values and build a new map
7
+ site.config['env'] = {}
8
+ ENV.each do |key, value|
9
+ site.config['env'][key] = value
10
+ end
11
+ end
12
+ end
13
+ end
14
+ end
metadata ADDED
@@ -0,0 +1,103 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-env
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 environment variables from within your Jekyll liquid templates
70
+ email:
71
+ - arkady@carta.com
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - lib/jekyll-env.rb
77
+ - lib/jekyll-env/version.rb
78
+ - lib/jekyll/generators/env.rb
79
+ homepage: https://github.com/arkadyzalko/jekyll-env
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 environment variables.
103
+ test_files: []