jekyll-auth 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +3 -0
- data/Rakefile +1 -1
- data/bin/jekyll-auth +5 -2
- data/lib/jekyll-auth.rb +2 -0
- data/lib/jekyll-auth/version.rb +1 -1
- metadata +17 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d4e8bc864cb8bedec79218e3c58e20bb5b568ab
|
4
|
+
data.tar.gz: 75d55969a1e80848f815a35015fecbd9f1c2e692
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f0b2e3942858c42cd26246b7318b701a36dea11f6e50a4bfc1bfe8cd2ba77b35bfb2a8cc5e6d788596ec68521f72586b845b7b98adbd1e89968fd06dfa42f2d
|
7
|
+
data.tar.gz: a52c765a092f29e208bcff4f31fc572c67654a631c76821a0cd44fc5b9a57f710bf51642dc229ce3d0253670fc4feb2f5b86ff9413c5de22dbd92e0a36fafbe8
|
data/.gitignore
ADDED
data/Rakefile
CHANGED
data/bin/jekyll-auth
CHANGED
@@ -23,7 +23,7 @@ command :new do |c|
|
|
23
23
|
destination = Dir.pwd
|
24
24
|
say "Initaiting new Jekyll Auth site in #{destination}"
|
25
25
|
|
26
|
-
["Rakefile", "config.ru"].each do |file|
|
26
|
+
["Rakefile", "config.ru", ".gitignore"].each do |file|
|
27
27
|
if File.exist? "#{destination}/#{file}"
|
28
28
|
say "* #{destination}/#{file} already exists... skipping."
|
29
29
|
else
|
@@ -122,12 +122,15 @@ command :serve do |c|
|
|
122
122
|
end
|
123
123
|
end
|
124
124
|
|
125
|
+
# Run the standard jekyll build command
|
126
|
+
# Called by Rake task, to allow the gem
|
127
|
+
# to add functionality here in the future
|
125
128
|
command :build do |c|
|
126
129
|
c.syntax = 'jekyll-auth build'
|
127
130
|
c.description = "Build Jekyll site"
|
128
131
|
c.action do |args, options|
|
129
132
|
say "building the site..."
|
130
|
-
sh "bundle exec
|
133
|
+
sh "bundle exec jekyll build"
|
131
134
|
say "site built."
|
132
135
|
end
|
133
136
|
end
|
data/lib/jekyll-auth.rb
CHANGED
@@ -2,9 +2,11 @@ require 'rubygems'
|
|
2
2
|
require 'sinatra-index'
|
3
3
|
require 'sinatra_auth_github'
|
4
4
|
require 'rack'
|
5
|
+
require 'dotenv'
|
5
6
|
require File.dirname(__FILE__) + '/jekyll-auth/version'
|
6
7
|
require File.dirname(__FILE__) + '/jekyll-auth/auth-site'
|
7
8
|
require File.dirname(__FILE__) + '/jekyll-auth/jekyll-site'
|
9
|
+
Dotenv.load
|
8
10
|
|
9
11
|
class JekyllAuth
|
10
12
|
def self.site
|
data/lib/jekyll-auth/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Balter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: github-pages
|
@@ -94,6 +94,20 @@ dependencies:
|
|
94
94
|
- - '>='
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: dotenv
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
112
|
name: rake
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -123,6 +137,7 @@ files:
|
|
123
137
|
- lib/jekyll-auth/auth-site.rb
|
124
138
|
- lib/jekyll-auth/jekyll-site.rb
|
125
139
|
- lib/jekyll-auth/version.rb
|
140
|
+
- .gitignore
|
126
141
|
homepage: https://github.com/benbalter/jekyll-auth
|
127
142
|
licenses:
|
128
143
|
- MIT
|