jekyll-auth 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/CODEOWNERS +3 -0
- data/.github/config.yml +20 -0
- data/.github/no-response.yml +13 -0
- data/.github/settings.yml +31 -0
- data/.github/stale.yml +27 -0
- data/.rubocop.yml +8 -1
- data/Gemfile +3 -1
- data/Rakefile +13 -11
- data/bin/jekyll-auth +3 -1
- data/docs/CODE_OF_CONDUCT.md +46 -0
- data/docs/CONTRIBUTING.md +88 -0
- data/docs/README.md +33 -0
- data/docs/_config.yml +2 -0
- data/docs/configuring.md +36 -0
- data/docs/getting-started.md +63 -0
- data/docs/running-locally.md +24 -0
- data/docs/troubleshooting.md +31 -0
- data/jekyll-auth.gemspec +28 -25
- data/lib/jekyll-auth.rb +3 -0
- data/lib/jekyll_auth/auth_site.rb +2 -0
- data/lib/jekyll_auth/commands.rb +3 -1
- data/lib/jekyll_auth/config.rb +15 -8
- data/lib/jekyll_auth/config_error.rb +2 -0
- data/lib/jekyll_auth/helpers.rb +2 -0
- data/lib/jekyll_auth/jekyll_site.rb +4 -2
- data/lib/jekyll_auth/sinatra/auth/github.rb +8 -4
- data/lib/jekyll_auth/version.rb +3 -1
- data/spec/jekyll_auth_auth_site_spec.rb +2 -0
- data/spec/jekyll_auth_bin_spec.rb +2 -0
- data/spec/jekyll_auth_commands_spec.rb +2 -0
- data/spec/jekyll_auth_helpers_spec.rb +2 -0
- data/spec/jekyll_auth_jekyll_site_spec.rb +2 -0
- data/spec/jekyll_auth_spec.rb +2 -0
- data/spec/spec_helper.rb +2 -0
- data/templates/.gitignore +0 -1
- data/templates/Rakefile +3 -1
- data/templates/config.ru +3 -1
- metadata +81 -43
- data/README.md +0 -179
@@ -0,0 +1,24 @@
|
|
1
|
+
## Running locally
|
2
|
+
|
3
|
+
Want to run it locally?
|
4
|
+
|
5
|
+
### Without authentication
|
6
|
+
|
7
|
+
Just run `jekyll serve` as you would normally.
|
8
|
+
|
9
|
+
### With authentication
|
10
|
+
|
11
|
+
1. `export GITHUB_CLIENT_ID=[your github app client id]`
|
12
|
+
2. `export GITHUB_CLIENT_SECRET=[your github app client secret]`
|
13
|
+
3. `export GITHUB_ORG_NAME=[org name]` or `export GITHUB_TEAM_ID=[team id]` or `export GITHUB_TEAM_IDS=1234,5678`
|
14
|
+
4. `jekyll-auth serve`
|
15
|
+
|
16
|
+
*Pro-tip #1:* For sanity's sake, and to avoid problems with your callback URL, you may want to have two apps, one with a local Oauth callback, and one for production if you're going to be testing auth locally.
|
17
|
+
|
18
|
+
*Pro-tip #2*: Jekyll Auth supports [dotenv](https://github.com/bkeepers/dotenv) out of the box. You can create a `.env` file in the root of site and add your configuration variables there. It's ignored by `.gitignore` if you use `jekyll-auth new`, but be sure not to accidentally commit your `.env` file. Here's what your `.env` file might look like:
|
19
|
+
|
20
|
+
```
|
21
|
+
GITHUB_CLIENT_SECRET=abcdefghijklmnopqrstuvwxyz0123456789
|
22
|
+
GITHUB_CLIENT_ID=qwertyuiop0001
|
23
|
+
GITHUB_TEAM_ID=12345
|
24
|
+
```
|
@@ -0,0 +1,31 @@
|
|
1
|
+
## Troubleshooting
|
2
|
+
|
3
|
+
### `ERROR: YOUR SITE COULD NOT BE BUILT` During install, either locally or on Heroku.
|
4
|
+
|
5
|
+
You likely need to add `exclude: [vendor]` to `_config.yml` in your branch's root directory (create the file if it does not exist already). If you still have problems on the *local* install, you may have better luck using `bundle install --deployment`, but be sure to add the resulting 'vendor' directory to .gitignore. For completeness, the full error may look something like this:
|
6
|
+
|
7
|
+
|
8
|
+
```
|
9
|
+
remote: Configuration file: none
|
10
|
+
remote: ERROR: YOUR SITE COULD NOT BE BUILT:
|
11
|
+
remote: ------------------------------------
|
12
|
+
remote: Invalid date '0000-00-00': Post '/vendor/bundle/ruby/2.0.0/gems/jekyll-2.5.3/lib/site_template/_posts/0000-00-00-welcome-to-jekyll.markdown.erb' does not have a valid date in the filename.
|
13
|
+
```
|
14
|
+
|
15
|
+
### Pushing to heroku
|
16
|
+
|
17
|
+
If you are working from a new GitHub-cloned repo (where you have not run `heroku create`), you may also want to push to Heroku. Instead of adding the remote in the standard way with Git, do this:
|
18
|
+
|
19
|
+
|
20
|
+
```
|
21
|
+
heroku git:remote -a my-site
|
22
|
+
```
|
23
|
+
|
24
|
+
### Upgrading from Jekyll Auth < 0.1.0
|
25
|
+
|
26
|
+
1. `cd` to your project directory
|
27
|
+
2. `rm config.ru`
|
28
|
+
3. `rm Procfile`
|
29
|
+
4. Remove any Jekyll Auth specific requirements from your `Gemfile`
|
30
|
+
5. Follow [the instructions above](https://github.com/benbalter/jekyll-auth#add-jekyll-auth-to-your-site) to get started
|
31
|
+
6. When prompted, select "n" if Heroku is already set up
|
data/jekyll-auth.gemspec
CHANGED
@@ -1,33 +1,36 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "./lib/jekyll_auth/version"
|
2
4
|
|
3
5
|
Gem::Specification.new do |s|
|
4
|
-
s.name =
|
6
|
+
s.name = "jekyll-auth"
|
5
7
|
s.version = JekyllAuth::VERSION
|
6
|
-
s.summary =
|
7
|
-
s.description =
|
8
|
-
s.authors =
|
9
|
-
s.email =
|
10
|
-
s.homepage =
|
11
|
-
s.license =
|
8
|
+
s.summary = "A simple way to use GitHub OAuth to serve a protected jekyll site to your GitHub organization"
|
9
|
+
s.description = "A simple way to use GitHub OAuth to serve a protected jekyll site to your GitHub organization."
|
10
|
+
s.authors = "Ben Balter"
|
11
|
+
s.email = "ben@balter.com"
|
12
|
+
s.homepage = "https://github.com/benbalter/jekyll-auth"
|
13
|
+
s.license = "MIT"
|
12
14
|
s.files = `git ls-files`.split("\n")
|
13
15
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
14
16
|
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
|
15
|
-
s.require_paths = [
|
17
|
+
s.require_paths = ["lib"]
|
16
18
|
|
17
|
-
s.add_dependency
|
18
|
-
s.add_dependency
|
19
|
-
s.add_dependency
|
20
|
-
s.add_dependency
|
21
|
-
s.add_dependency
|
22
|
-
s.add_dependency
|
23
|
-
s.add_dependency
|
24
|
-
s.add_dependency
|
25
|
-
s.add_dependency
|
26
|
-
s.add_dependency
|
27
|
-
s.add_dependency
|
28
|
-
s.
|
29
|
-
s.add_development_dependency
|
30
|
-
s.add_development_dependency
|
31
|
-
s.add_development_dependency
|
32
|
-
s.add_development_dependency
|
19
|
+
s.add_dependency "activesupport", "~> 4.0"
|
20
|
+
s.add_dependency "colorator", "~> 1.0"
|
21
|
+
s.add_dependency "dotenv", "~> 2.0"
|
22
|
+
s.add_dependency "jekyll", "~> 3.0"
|
23
|
+
s.add_dependency "mercenary", "~> 0.3"
|
24
|
+
s.add_dependency "rack", "~> 1.6"
|
25
|
+
s.add_dependency "rack-protection", "~> 1.5", ">= 1.5.5"
|
26
|
+
s.add_dependency "rack-ssl-enforcer", "~> 0.2"
|
27
|
+
s.add_dependency "rake", "~> 10.3"
|
28
|
+
s.add_dependency "safe_yaml", "~> 1.0"
|
29
|
+
s.add_dependency "sinatra-index", "~> 0.0"
|
30
|
+
s.add_dependency "sinatra_auth_github", "~> 1.1"
|
31
|
+
s.add_development_dependency "pry", "~> 0.10"
|
32
|
+
s.add_development_dependency "rack-test", "~> 0.6"
|
33
|
+
s.add_development_dependency "rspec", "~> 3.1"
|
34
|
+
s.add_development_dependency "rubocop", "~> 0.49", ">= 0.49.0"
|
35
|
+
s.add_development_dependency "webmock", "~> 1.2 "
|
33
36
|
end
|
data/lib/jekyll-auth.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require "sinatra-index"
|
2
4
|
require "sinatra_auth_github"
|
3
5
|
require "dotenv"
|
@@ -11,6 +13,7 @@ require_relative "jekyll_auth/auth_site"
|
|
11
13
|
require_relative "jekyll_auth/jekyll_site"
|
12
14
|
require_relative "jekyll_auth/config_error"
|
13
15
|
require_relative "jekyll_auth/commands"
|
16
|
+
require_relative "jekyll_auth/sinatra/auth/github"
|
14
17
|
|
15
18
|
Dotenv.load
|
16
19
|
|
data/lib/jekyll_auth/commands.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
class JekyllAuth
|
2
4
|
class Commands
|
3
5
|
FILES = %w(Rakefile config.ru .gitignore .env).freeze
|
@@ -13,7 +15,7 @@ class JekyllAuth
|
|
13
15
|
|
14
16
|
def self.changed?
|
15
17
|
!execute_command("git", "status", destination, "--porcelain").empty?
|
16
|
-
rescue
|
18
|
+
rescue StandardError
|
17
19
|
false
|
18
20
|
end
|
19
21
|
|
data/lib/jekyll_auth/config.rb
CHANGED
@@ -1,23 +1,30 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
class JekyllAuth
|
2
4
|
def self.config_file
|
3
5
|
File.join(Dir.pwd, "_config.yml")
|
4
6
|
end
|
5
7
|
|
8
|
+
def self.jekyll_config
|
9
|
+
@config ||= YAML.safe_load_file(config_file)
|
10
|
+
rescue StandardError
|
11
|
+
{}
|
12
|
+
end
|
13
|
+
|
6
14
|
def self.config
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
end
|
15
|
+
jekyll_config.fetch("jekyll_auth", {})
|
16
|
+
end
|
17
|
+
|
18
|
+
def self.destination
|
19
|
+
jekyll_config.fetch("destination", File.expand_path("_site", Dir.pwd))
|
13
20
|
end
|
14
21
|
|
15
22
|
def self.whitelist
|
16
|
-
whitelist =
|
23
|
+
whitelist = config["whitelist"]
|
17
24
|
Regexp.new(whitelist.join("|")) unless whitelist.nil?
|
18
25
|
end
|
19
26
|
|
20
27
|
def self.ssl?
|
21
|
-
!!
|
28
|
+
!!config["ssl"]
|
22
29
|
end
|
23
30
|
end
|
data/lib/jekyll_auth/helpers.rb
CHANGED
@@ -1,12 +1,14 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
class JekyllAuth
|
2
4
|
class JekyllSite < Sinatra::Base
|
3
5
|
register Sinatra::Index
|
4
|
-
set :public_folder, File.expand_path(
|
6
|
+
set :public_folder, File.expand_path(JekyllAuth.destination, Dir.pwd)
|
5
7
|
use_static_index "index.html"
|
6
8
|
|
7
9
|
not_found do
|
8
10
|
status 404
|
9
|
-
four_oh_four = File.expand_path("
|
11
|
+
four_oh_four = File.expand_path(settings.public_folder + "/404.html", Dir.pwd)
|
10
12
|
File.read(four_oh_four) if File.exist?(four_oh_four)
|
11
13
|
end
|
12
14
|
end
|
@@ -1,10 +1,14 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
module Sinatra
|
2
4
|
module Auth
|
3
5
|
module Github
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
6
|
+
module Helpers
|
7
|
+
# Like the native github_team_authenticate! but accepts an array of team ids
|
8
|
+
def github_teams_authenticate!(teams)
|
9
|
+
authenticate!
|
10
|
+
halt([401, "Unauthorized User"]) unless teams.any? { |team_id| github_team_access?(team_id) }
|
11
|
+
end
|
8
12
|
end
|
9
13
|
end
|
10
14
|
end
|
data/lib/jekyll_auth/version.rb
CHANGED
data/spec/jekyll_auth_spec.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
data/templates/.gitignore
CHANGED
data/templates/Rakefile
CHANGED
@@ -1,9 +1,11 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# This file is auto-generated by Jekyll Auth
|
2
4
|
# Feel free to add additional Rake tasks so long as
|
3
5
|
# `rake assets:precompile` continues to generate the jekyll site
|
4
6
|
|
5
7
|
namespace :assets do
|
6
8
|
task :precompile do
|
7
|
-
sh
|
9
|
+
sh "bundle exec jekyll-auth build"
|
8
10
|
end
|
9
11
|
end
|
data/templates/config.ru
CHANGED
metadata
CHANGED
@@ -1,99 +1,119 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.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:
|
11
|
+
date: 2018-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: activesupport
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '4.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '4.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: colorator
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '1.0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '1.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: dotenv
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '2.0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '2.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: jekyll
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '3.0'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '3.0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: mercenary
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '0.3'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '0.3'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: rack
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '1.6'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
96
|
+
version: '1.6'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rack-protection
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '1.5'
|
104
|
+
- - ">="
|
105
|
+
- !ruby/object:Gem::Version
|
106
|
+
version: 1.5.5
|
107
|
+
type: :runtime
|
108
|
+
prerelease: false
|
109
|
+
version_requirements: !ruby/object:Gem::Requirement
|
110
|
+
requirements:
|
111
|
+
- - "~>"
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
version: '1.5'
|
114
|
+
- - ">="
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: 1.5.5
|
97
117
|
- !ruby/object:Gem::Dependency
|
98
118
|
name: rack-ssl-enforcer
|
99
119
|
requirement: !ruby/object:Gem::Requirement
|
@@ -109,19 +129,19 @@ dependencies:
|
|
109
129
|
- !ruby/object:Gem::Version
|
110
130
|
version: '0.2'
|
111
131
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
132
|
+
name: rake
|
113
133
|
requirement: !ruby/object:Gem::Requirement
|
114
134
|
requirements:
|
115
135
|
- - "~>"
|
116
136
|
- !ruby/object:Gem::Version
|
117
|
-
version: '
|
137
|
+
version: '10.3'
|
118
138
|
type: :runtime
|
119
139
|
prerelease: false
|
120
140
|
version_requirements: !ruby/object:Gem::Requirement
|
121
141
|
requirements:
|
122
142
|
- - "~>"
|
123
143
|
- !ruby/object:Gem::Version
|
124
|
-
version: '
|
144
|
+
version: '10.3'
|
125
145
|
- !ruby/object:Gem::Dependency
|
126
146
|
name: safe_yaml
|
127
147
|
requirement: !ruby/object:Gem::Requirement
|
@@ -137,47 +157,47 @@ dependencies:
|
|
137
157
|
- !ruby/object:Gem::Version
|
138
158
|
version: '1.0'
|
139
159
|
- !ruby/object:Gem::Dependency
|
140
|
-
name:
|
160
|
+
name: sinatra-index
|
141
161
|
requirement: !ruby/object:Gem::Requirement
|
142
162
|
requirements:
|
143
163
|
- - "~>"
|
144
164
|
- !ruby/object:Gem::Version
|
145
|
-
version: '
|
165
|
+
version: '0.0'
|
146
166
|
type: :runtime
|
147
167
|
prerelease: false
|
148
168
|
version_requirements: !ruby/object:Gem::Requirement
|
149
169
|
requirements:
|
150
170
|
- - "~>"
|
151
171
|
- !ruby/object:Gem::Version
|
152
|
-
version: '
|
172
|
+
version: '0.0'
|
153
173
|
- !ruby/object:Gem::Dependency
|
154
|
-
name:
|
174
|
+
name: sinatra_auth_github
|
155
175
|
requirement: !ruby/object:Gem::Requirement
|
156
176
|
requirements:
|
157
177
|
- - "~>"
|
158
178
|
- !ruby/object:Gem::Version
|
159
|
-
version: '
|
179
|
+
version: '1.1'
|
160
180
|
type: :runtime
|
161
181
|
prerelease: false
|
162
182
|
version_requirements: !ruby/object:Gem::Requirement
|
163
183
|
requirements:
|
164
184
|
- - "~>"
|
165
185
|
- !ruby/object:Gem::Version
|
166
|
-
version: '
|
186
|
+
version: '1.1'
|
167
187
|
- !ruby/object:Gem::Dependency
|
168
|
-
name:
|
188
|
+
name: pry
|
169
189
|
requirement: !ruby/object:Gem::Requirement
|
170
190
|
requirements:
|
171
191
|
- - "~>"
|
172
192
|
- !ruby/object:Gem::Version
|
173
|
-
version: '
|
193
|
+
version: '0.10'
|
174
194
|
type: :development
|
175
195
|
prerelease: false
|
176
196
|
version_requirements: !ruby/object:Gem::Requirement
|
177
197
|
requirements:
|
178
198
|
- - "~>"
|
179
199
|
- !ruby/object:Gem::Version
|
180
|
-
version: '
|
200
|
+
version: '0.10'
|
181
201
|
- !ruby/object:Gem::Dependency
|
182
202
|
name: rack-test
|
183
203
|
requirement: !ruby/object:Gem::Requirement
|
@@ -193,47 +213,53 @@ dependencies:
|
|
193
213
|
- !ruby/object:Gem::Version
|
194
214
|
version: '0.6'
|
195
215
|
- !ruby/object:Gem::Dependency
|
196
|
-
name:
|
216
|
+
name: rspec
|
197
217
|
requirement: !ruby/object:Gem::Requirement
|
198
218
|
requirements:
|
199
219
|
- - "~>"
|
200
220
|
- !ruby/object:Gem::Version
|
201
|
-
version: '1
|
221
|
+
version: '3.1'
|
202
222
|
type: :development
|
203
223
|
prerelease: false
|
204
224
|
version_requirements: !ruby/object:Gem::Requirement
|
205
225
|
requirements:
|
206
226
|
- - "~>"
|
207
227
|
- !ruby/object:Gem::Version
|
208
|
-
version: '1
|
228
|
+
version: '3.1'
|
209
229
|
- !ruby/object:Gem::Dependency
|
210
|
-
name:
|
230
|
+
name: rubocop
|
211
231
|
requirement: !ruby/object:Gem::Requirement
|
212
232
|
requirements:
|
213
233
|
- - "~>"
|
214
234
|
- !ruby/object:Gem::Version
|
215
|
-
version: '0.
|
235
|
+
version: '0.49'
|
236
|
+
- - ">="
|
237
|
+
- !ruby/object:Gem::Version
|
238
|
+
version: 0.49.0
|
216
239
|
type: :development
|
217
240
|
prerelease: false
|
218
241
|
version_requirements: !ruby/object:Gem::Requirement
|
219
242
|
requirements:
|
220
243
|
- - "~>"
|
221
244
|
- !ruby/object:Gem::Version
|
222
|
-
version: '0.
|
245
|
+
version: '0.49'
|
246
|
+
- - ">="
|
247
|
+
- !ruby/object:Gem::Version
|
248
|
+
version: 0.49.0
|
223
249
|
- !ruby/object:Gem::Dependency
|
224
|
-
name:
|
250
|
+
name: webmock
|
225
251
|
requirement: !ruby/object:Gem::Requirement
|
226
252
|
requirements:
|
227
253
|
- - "~>"
|
228
254
|
- !ruby/object:Gem::Version
|
229
|
-
version: '
|
255
|
+
version: '1.2'
|
230
256
|
type: :development
|
231
257
|
prerelease: false
|
232
258
|
version_requirements: !ruby/object:Gem::Requirement
|
233
259
|
requirements:
|
234
260
|
- - "~>"
|
235
261
|
- !ruby/object:Gem::Version
|
236
|
-
version: '
|
262
|
+
version: '1.2'
|
237
263
|
description: A simple way to use GitHub OAuth to serve a protected jekyll site to
|
238
264
|
your GitHub organization.
|
239
265
|
email: ben@balter.com
|
@@ -242,13 +268,25 @@ executables:
|
|
242
268
|
extensions: []
|
243
269
|
extra_rdoc_files: []
|
244
270
|
files:
|
271
|
+
- ".github/CODEOWNERS"
|
272
|
+
- ".github/config.yml"
|
273
|
+
- ".github/no-response.yml"
|
274
|
+
- ".github/settings.yml"
|
275
|
+
- ".github/stale.yml"
|
245
276
|
- ".gitignore"
|
246
277
|
- ".rubocop.yml"
|
247
278
|
- ".travis.yml"
|
248
279
|
- Gemfile
|
249
|
-
- README.md
|
250
280
|
- Rakefile
|
251
281
|
- bin/jekyll-auth
|
282
|
+
- docs/CODE_OF_CONDUCT.md
|
283
|
+
- docs/CONTRIBUTING.md
|
284
|
+
- docs/README.md
|
285
|
+
- docs/_config.yml
|
286
|
+
- docs/configuring.md
|
287
|
+
- docs/getting-started.md
|
288
|
+
- docs/running-locally.md
|
289
|
+
- docs/troubleshooting.md
|
252
290
|
- jekyll-auth.gemspec
|
253
291
|
- lib/jekyll-auth.rb
|
254
292
|
- lib/jekyll_auth/auth_site.rb
|
@@ -297,7 +335,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
297
335
|
version: '0'
|
298
336
|
requirements: []
|
299
337
|
rubyforge_project:
|
300
|
-
rubygems_version: 2.6
|
338
|
+
rubygems_version: 2.7.6
|
301
339
|
signing_key:
|
302
340
|
specification_version: 4
|
303
341
|
summary: A simple way to use GitHub OAuth to serve a protected jekyll site to your
|