add-to-org 3.0.1 → 3.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/workflows/ci.yml +24 -0
- data/.rubocop.yml +8 -0
- data/.rubocop_todo.yml +100 -0
- data/Gemfile +3 -1
- data/Rakefile +5 -3
- data/add-to-org.gemspec +24 -21
- data/bower.json +1 -3
- data/lib/add-to-org/helpers.rb +6 -5
- data/lib/add-to-org/version.rb +3 -1
- data/lib/add-to-org/views/layout.erb +1 -12
- data/lib/add-to-org.rb +17 -18
- data/script/cibuild +1 -0
- data/spec/add-to-org-helpers_spec.rb +43 -40
- data/spec/add-to-org_spec.rb +72 -68
- data/spec/spec_helper.rb +14 -12
- metadata +73 -69
- data/.ruby-version +0 -1
- data/lib/add-to-org/public/vendor/bootstrap/.bower.json +0 -45
- data/lib/add-to-org/public/vendor/bootstrap/LICENSE +0 -21
- data/lib/add-to-org/public/vendor/bootstrap/bower.json +0 -34
- data/lib/add-to-org/public/vendor/bootstrap/dist/css/bootstrap-theme.css +0 -587
- data/lib/add-to-org/public/vendor/bootstrap/dist/css/bootstrap-theme.css.map +0 -1
- data/lib/add-to-org/public/vendor/bootstrap/dist/css/bootstrap-theme.min.css +0 -6
- data/lib/add-to-org/public/vendor/bootstrap/dist/css/bootstrap-theme.min.css.map +0 -1
- data/lib/add-to-org/public/vendor/bootstrap/dist/css/bootstrap.css +0 -6760
- data/lib/add-to-org/public/vendor/bootstrap/dist/css/bootstrap.css.map +0 -1
- data/lib/add-to-org/public/vendor/bootstrap/dist/css/bootstrap.min.css +0 -6
- data/lib/add-to-org/public/vendor/bootstrap/dist/css/bootstrap.min.css.map +0 -1
- data/lib/add-to-org/public/vendor/bootstrap/dist/fonts/glyphicons-halflings-regular.eot +0 -0
- data/lib/add-to-org/public/vendor/bootstrap/dist/fonts/glyphicons-halflings-regular.svg +0 -288
- data/lib/add-to-org/public/vendor/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/lib/add-to-org/public/vendor/bootstrap/dist/fonts/glyphicons-halflings-regular.woff +0 -0
- data/lib/add-to-org/public/vendor/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/lib/add-to-org/public/vendor/bootstrap/dist/js/bootstrap.js +0 -2363
- data/lib/add-to-org/public/vendor/bootstrap/dist/js/bootstrap.min.js +0 -7
- data/lib/add-to-org/public/vendor/bootstrap/dist/js/npm.js +0 -13
- data/lib/add-to-org/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.eot +0 -0
- data/lib/add-to-org/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.svg +0 -288
- data/lib/add-to-org/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/lib/add-to-org/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff +0 -0
- data/lib/add-to-org/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/lib/add-to-org/public/vendor/bootstrap/package.json +0 -87
data/spec/add-to-org_spec.rb
CHANGED
@@ -1,7 +1,9 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
|
3
|
+
require 'spec_helper'
|
4
|
+
|
5
|
+
describe 'config' do
|
6
|
+
%i[views_dir public_dir validator].each do |var|
|
5
7
|
after do
|
6
8
|
AddToOrg.send("#{var}=", nil)
|
7
9
|
end
|
@@ -14,23 +16,21 @@ describe "config" do
|
|
14
16
|
end
|
15
17
|
end
|
16
18
|
|
17
|
-
describe
|
18
|
-
|
19
|
+
describe 'logged out user' do
|
19
20
|
include Rack::Test::Methods
|
20
21
|
|
21
22
|
def app
|
22
23
|
AddToOrg::App
|
23
24
|
end
|
24
25
|
|
25
|
-
it
|
26
|
-
get
|
27
|
-
expect(last_response.status).to
|
26
|
+
it 'asks you to log in' do
|
27
|
+
get '/'
|
28
|
+
expect(last_response.status).to be(302)
|
28
29
|
expect(last_response.headers['Location']).to match(%r{^https://github\.com/login/oauth/authorize})
|
29
30
|
end
|
30
31
|
end
|
31
32
|
|
32
|
-
describe
|
33
|
-
|
33
|
+
describe 'logged in user' do
|
34
34
|
include Rack::Test::Methods
|
35
35
|
|
36
36
|
def app
|
@@ -42,92 +42,96 @@ describe "logged in user" do
|
|
42
42
|
login_as @user
|
43
43
|
end
|
44
44
|
|
45
|
-
it
|
46
|
-
with_env
|
47
|
-
stub_request(:get,
|
48
|
-
|
49
|
-
get
|
50
|
-
expect(last_response.status).to
|
51
|
-
expect(last_response.headers['Location']).to eql(
|
52
|
-
|
53
|
-
get
|
54
|
-
expect(last_response.status).to
|
55
|
-
expect(last_response.headers['Location']).to eql(
|
56
|
-
|
57
|
-
get
|
58
|
-
expect(last_response.status).to
|
59
|
-
expect(last_response.headers['Location']).to eql(
|
45
|
+
it 'redirects if the user is a member' do
|
46
|
+
with_env 'GITHUB_ORG_ID', 'some_org' do
|
47
|
+
stub_request(:get, 'https://api.github.com/orgs/some_org/members/benbaltertest')
|
48
|
+
.to_return(status: 204)
|
49
|
+
get '/'
|
50
|
+
expect(last_response.status).to be(302)
|
51
|
+
expect(last_response.headers['Location']).to eql('https://github.com/')
|
52
|
+
|
53
|
+
get '/foo'
|
54
|
+
expect(last_response.status).to be(302)
|
55
|
+
expect(last_response.headers['Location']).to eql('https://github.com/foo')
|
56
|
+
|
57
|
+
get '/foo/bar'
|
58
|
+
expect(last_response.status).to be(302)
|
59
|
+
expect(last_response.headers['Location']).to eql('https://github.com/foo/bar')
|
60
60
|
end
|
61
61
|
end
|
62
62
|
|
63
|
-
[
|
63
|
+
%i[proc block lambda].each do |method|
|
64
64
|
describe "with validator passed as a #{method}" do
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
AddToOrg.set_validator do |
|
65
|
+
before do
|
66
|
+
case method
|
67
|
+
when :block
|
68
|
+
AddToOrg.set_validator do |_github_user, verified_emails, _client|
|
69
69
|
verified_emails.any? { |email| email[:email] =~ /@github\.com$/ }
|
70
70
|
end
|
71
|
-
|
72
|
-
AddToOrg.validator = proc { |
|
71
|
+
when :proc
|
72
|
+
AddToOrg.validator = proc { |_github_user, verified_emails, _client|
|
73
73
|
verified_emails.any? { |email| email[:email] =~ /@github\.com$/ }
|
74
74
|
}
|
75
|
-
|
76
|
-
AddToOrg.validator = lambda { |
|
75
|
+
when :lambda
|
76
|
+
AddToOrg.validator = lambda { |_github_user, verified_emails, _client|
|
77
77
|
verified_emails.any? { |email| email[:email] =~ /@github\.com$/ }
|
78
78
|
}
|
79
79
|
end
|
80
80
|
end
|
81
81
|
|
82
|
-
it
|
83
|
-
with_env
|
84
|
-
stub_request(:get,
|
85
|
-
|
82
|
+
it 'denies acccess to invalid users' do
|
83
|
+
with_env 'GITHUB_ORG_ID', 'some_org' do
|
84
|
+
stub_request(:get, 'https://api.github.com/orgs/some_org/members/benbaltertest')
|
85
|
+
.to_return(status: 404)
|
86
86
|
|
87
|
-
stub_request(:get,
|
88
|
-
|
87
|
+
stub_request(:get, 'https://api.github.com/user/emails')
|
88
|
+
.to_return(status: 200, body: fixture('invalid_emails.json'), headers: { 'Content-Type' => 'application/json' })
|
89
89
|
|
90
|
-
get
|
91
|
-
expect(last_response.status).to
|
90
|
+
get '/'
|
91
|
+
expect(last_response.status).to be(403)
|
92
92
|
expect(last_response.body).to match(/We're unable to verify your eligibility at this time/)
|
93
93
|
end
|
94
94
|
end
|
95
95
|
|
96
|
-
it
|
97
|
-
with_env
|
98
|
-
|
99
|
-
|
96
|
+
it 'tries to add valid users' do
|
97
|
+
with_env 'GITHUB_ORG_ID', 'some_org' do
|
98
|
+
with_env 'GITHUB_TEAM_ID', '1234' do
|
99
|
+
stub_request(:get, 'https://api.github.com/orgs/some_org/members/benbaltertest')
|
100
|
+
.to_return(status: 404)
|
100
101
|
|
101
|
-
|
102
|
-
|
102
|
+
stub_request(:get, 'https://api.github.com/user/emails')
|
103
|
+
.to_return(status: 200, body: fixture('emails.json'), headers: { 'Content-Type' => 'application/json' })
|
103
104
|
|
104
|
-
|
105
|
-
|
105
|
+
stub = stub_request(:put, 'https://api.github.com/teams/1234/memberships/benbaltertest')
|
106
|
+
.to_return(status: 204)
|
106
107
|
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
108
|
+
get '/foo'
|
109
|
+
expect(stub).to have_been_requested
|
110
|
+
expect(last_response.status).to be(200)
|
111
|
+
expect(last_response.body).to match(/confirm your invitation to join the organization/)
|
112
|
+
expect(last_response.body).to match(%r{https://github.com/orgs/some_org/invitation})
|
113
|
+
expect(last_response.body).to match(%r{\?return_to=https://github.com/foo})
|
114
|
+
end
|
113
115
|
end
|
114
116
|
end
|
115
117
|
|
116
|
-
it
|
117
|
-
with_env
|
118
|
-
|
119
|
-
|
118
|
+
it 'includes the requested URL' do
|
119
|
+
with_env 'GITHUB_ORG_ID', 'some_org' do
|
120
|
+
with_env 'GITHUB_TEAM_ID', '1234' do
|
121
|
+
stub_request(:get, 'https://api.github.com/orgs/some_org/members/benbaltertest')
|
122
|
+
.to_return(status: 404)
|
120
123
|
|
121
|
-
|
122
|
-
|
124
|
+
stub_request(:get, 'https://api.github.com/user/emails')
|
125
|
+
.to_return(status: 200, body: fixture('emails.json'), headers: { 'Content-Type' => 'application/json' })
|
123
126
|
|
124
|
-
|
125
|
-
|
127
|
+
stub = stub_request(:put, 'https://api.github.com/teams/1234/memberships/benbaltertest')
|
128
|
+
.to_return(status: 204)
|
126
129
|
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
130
|
+
get '/foo/bar'
|
131
|
+
expect(stub).to have_been_requested
|
132
|
+
expect(last_response.status).to be(200)
|
133
|
+
expect(last_response.body).to match(Regexp.new('<a href="https://github.com/foo/bar">https://github.com/foo/bar</a>'))
|
134
|
+
end
|
131
135
|
end
|
132
136
|
end
|
133
137
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,18 +1,20 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'bundler/setup'
|
2
4
|
require 'fileutils'
|
3
5
|
require 'securerandom'
|
4
6
|
|
5
7
|
ENV['RACK_ENV'] = 'test'
|
6
|
-
ENV['GITHUB_CLIENT_ID'] =
|
8
|
+
ENV['GITHUB_CLIENT_ID'] = 'CLIENT_ID'
|
7
9
|
ENV['GITHUB_CLIENT_SECRET'] = 'CLIENT_SECRET'
|
8
|
-
|
10
|
+
$LOAD_PATH.push File.join(File.dirname(__FILE__), '..', 'lib')
|
9
11
|
|
10
12
|
require 'rack/test'
|
11
13
|
require 'sinatra/auth/github'
|
12
14
|
require 'sinatra/auth/github/test/test_helper'
|
13
15
|
require 'webmock/rspec'
|
14
16
|
|
15
|
-
require_relative
|
17
|
+
require_relative '../lib/add-to-org'
|
16
18
|
WebMock.disable_net_connect!
|
17
19
|
|
18
20
|
RSpec.configure do |config|
|
@@ -35,16 +37,16 @@ def with_env(key, value)
|
|
35
37
|
end
|
36
38
|
|
37
39
|
class User < Warden::GitHub::User
|
38
|
-
def self.make(attrs = {}, token=nil)
|
40
|
+
def self.make(attrs = {}, token = nil)
|
39
41
|
default_attrs = {
|
40
|
-
'login'
|
41
|
-
'name'
|
42
|
-
'email'
|
43
|
-
'company' =>
|
44
|
-
'gravatar_id' => 'a'*32,
|
45
|
-
'avatar_url'
|
42
|
+
'login' => 'test_user',
|
43
|
+
'name' => 'Test User',
|
44
|
+
'email' => 'test@example.com',
|
45
|
+
'company' => 'GitHub',
|
46
|
+
'gravatar_id' => 'a' * 32,
|
47
|
+
'avatar_url' => 'https://a249.e.akamai.net/assets.github.com/images/gravatars/gravatar-140.png?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png'
|
46
48
|
}
|
47
49
|
default_attrs.merge! attrs
|
48
|
-
User.new(default_attrs,token)
|
50
|
+
User.new(default_attrs, token)
|
49
51
|
end
|
50
52
|
end
|
metadata
CHANGED
@@ -1,73 +1,73 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: add-to-org
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Balter
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: dotenv
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '2.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: '2.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: octokit
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '4.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: '4.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: rack-ssl-enforcer
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '0.2'
|
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: '0.2'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '0
|
61
|
+
version: '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: '0
|
68
|
+
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: sinatra_auth_github
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
@@ -81,19 +81,33 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '2.0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: pry
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
90
|
-
type: :
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - "
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rack-test
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
95
109
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
110
|
+
version: '0'
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
112
|
name: rspec
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -109,47 +123,61 @@ dependencies:
|
|
109
123
|
- !ruby/object:Gem::Version
|
110
124
|
version: '3.1'
|
111
125
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
126
|
+
name: rubocop
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|
114
128
|
requirements:
|
115
|
-
- - "
|
129
|
+
- - ">="
|
116
130
|
- !ruby/object:Gem::Version
|
117
|
-
version: '0
|
131
|
+
version: '0'
|
118
132
|
type: :development
|
119
133
|
prerelease: false
|
120
134
|
version_requirements: !ruby/object:Gem::Requirement
|
121
135
|
requirements:
|
122
|
-
- - "
|
136
|
+
- - ">="
|
123
137
|
- !ruby/object:Gem::Version
|
124
|
-
version: '0
|
138
|
+
version: '0'
|
125
139
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
140
|
+
name: rubocop-performance
|
127
141
|
requirement: !ruby/object:Gem::Requirement
|
128
142
|
requirements:
|
129
|
-
- - "
|
143
|
+
- - ">="
|
130
144
|
- !ruby/object:Gem::Version
|
131
|
-
version: '
|
145
|
+
version: '0'
|
132
146
|
type: :development
|
133
147
|
prerelease: false
|
134
148
|
version_requirements: !ruby/object:Gem::Requirement
|
135
149
|
requirements:
|
136
|
-
- - "
|
150
|
+
- - ">="
|
137
151
|
- !ruby/object:Gem::Version
|
138
|
-
version: '
|
152
|
+
version: '0'
|
139
153
|
- !ruby/object:Gem::Dependency
|
140
|
-
name:
|
154
|
+
name: rubocop-rspec
|
141
155
|
requirement: !ruby/object:Gem::Requirement
|
142
156
|
requirements:
|
143
|
-
- - "
|
157
|
+
- - ">="
|
144
158
|
- !ruby/object:Gem::Version
|
145
|
-
version: '0
|
159
|
+
version: '0'
|
146
160
|
type: :development
|
147
161
|
prerelease: false
|
148
162
|
version_requirements: !ruby/object:Gem::Requirement
|
149
163
|
requirements:
|
150
|
-
- - "
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: webmock
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
151
179
|
- !ruby/object:Gem::Version
|
152
|
-
version: '0
|
180
|
+
version: '0'
|
153
181
|
description: A simple Oauth App to automatically add users to an organization.
|
154
182
|
email: ben.balter@github.com
|
155
183
|
executables: []
|
@@ -157,8 +185,10 @@ extensions: []
|
|
157
185
|
extra_rdoc_files: []
|
158
186
|
files:
|
159
187
|
- ".bowerrc"
|
188
|
+
- ".github/workflows/ci.yml"
|
160
189
|
- ".gitignore"
|
161
|
-
- ".
|
190
|
+
- ".rubocop.yml"
|
191
|
+
- ".rubocop_todo.yml"
|
162
192
|
- ".travis.yml"
|
163
193
|
- Gemfile
|
164
194
|
- LICENSE.md
|
@@ -168,31 +198,6 @@ files:
|
|
168
198
|
- bower.json
|
169
199
|
- lib/add-to-org.rb
|
170
200
|
- lib/add-to-org/helpers.rb
|
171
|
-
- lib/add-to-org/public/vendor/bootstrap/.bower.json
|
172
|
-
- lib/add-to-org/public/vendor/bootstrap/LICENSE
|
173
|
-
- lib/add-to-org/public/vendor/bootstrap/bower.json
|
174
|
-
- lib/add-to-org/public/vendor/bootstrap/dist/css/bootstrap-theme.css
|
175
|
-
- lib/add-to-org/public/vendor/bootstrap/dist/css/bootstrap-theme.css.map
|
176
|
-
- lib/add-to-org/public/vendor/bootstrap/dist/css/bootstrap-theme.min.css
|
177
|
-
- lib/add-to-org/public/vendor/bootstrap/dist/css/bootstrap-theme.min.css.map
|
178
|
-
- lib/add-to-org/public/vendor/bootstrap/dist/css/bootstrap.css
|
179
|
-
- lib/add-to-org/public/vendor/bootstrap/dist/css/bootstrap.css.map
|
180
|
-
- lib/add-to-org/public/vendor/bootstrap/dist/css/bootstrap.min.css
|
181
|
-
- lib/add-to-org/public/vendor/bootstrap/dist/css/bootstrap.min.css.map
|
182
|
-
- lib/add-to-org/public/vendor/bootstrap/dist/fonts/glyphicons-halflings-regular.eot
|
183
|
-
- lib/add-to-org/public/vendor/bootstrap/dist/fonts/glyphicons-halflings-regular.svg
|
184
|
-
- lib/add-to-org/public/vendor/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf
|
185
|
-
- lib/add-to-org/public/vendor/bootstrap/dist/fonts/glyphicons-halflings-regular.woff
|
186
|
-
- lib/add-to-org/public/vendor/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2
|
187
|
-
- lib/add-to-org/public/vendor/bootstrap/dist/js/bootstrap.js
|
188
|
-
- lib/add-to-org/public/vendor/bootstrap/dist/js/bootstrap.min.js
|
189
|
-
- lib/add-to-org/public/vendor/bootstrap/dist/js/npm.js
|
190
|
-
- lib/add-to-org/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.eot
|
191
|
-
- lib/add-to-org/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.svg
|
192
|
-
- lib/add-to-org/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.ttf
|
193
|
-
- lib/add-to-org/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff
|
194
|
-
- lib/add-to-org/public/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff2
|
195
|
-
- lib/add-to-org/public/vendor/bootstrap/package.json
|
196
201
|
- lib/add-to-org/version.rb
|
197
202
|
- lib/add-to-org/views/error.erb
|
198
203
|
- lib/add-to-org/views/forbidden.erb
|
@@ -211,7 +216,7 @@ homepage: https://github.com/benbalter/add-to-org
|
|
211
216
|
licenses:
|
212
217
|
- MIT
|
213
218
|
metadata: {}
|
214
|
-
post_install_message:
|
219
|
+
post_install_message:
|
215
220
|
rdoc_options: []
|
216
221
|
require_paths:
|
217
222
|
- lib
|
@@ -226,9 +231,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
226
231
|
- !ruby/object:Gem::Version
|
227
232
|
version: '0'
|
228
233
|
requirements: []
|
229
|
-
|
230
|
-
|
231
|
-
signing_key:
|
234
|
+
rubygems_version: 3.2.28
|
235
|
+
signing_key:
|
232
236
|
specification_version: 4
|
233
237
|
summary: A simple Oauth App to automatically add users to an organization
|
234
238
|
test_files:
|
data/.ruby-version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
2.3.0
|
@@ -1,45 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"name": "bootstrap",
|
3
|
-
"description": "The most popular front-end framework for developing responsive, mobile first projects on the web.",
|
4
|
-
"keywords": [
|
5
|
-
"css",
|
6
|
-
"js",
|
7
|
-
"less",
|
8
|
-
"mobile-first",
|
9
|
-
"responsive",
|
10
|
-
"front-end",
|
11
|
-
"framework",
|
12
|
-
"web"
|
13
|
-
],
|
14
|
-
"homepage": "http://getbootstrap.com",
|
15
|
-
"license": "MIT",
|
16
|
-
"moduleType": "globals",
|
17
|
-
"main": [
|
18
|
-
"less/bootstrap.less",
|
19
|
-
"dist/js/bootstrap.js"
|
20
|
-
],
|
21
|
-
"ignore": [
|
22
|
-
"/.*",
|
23
|
-
"_config.yml",
|
24
|
-
"CNAME",
|
25
|
-
"composer.json",
|
26
|
-
"CONTRIBUTING.md",
|
27
|
-
"docs",
|
28
|
-
"js/tests",
|
29
|
-
"test-infra"
|
30
|
-
],
|
31
|
-
"dependencies": {
|
32
|
-
"jquery": "1.9.1 - 2"
|
33
|
-
},
|
34
|
-
"version": "3.3.6",
|
35
|
-
"_release": "3.3.6",
|
36
|
-
"_resolution": {
|
37
|
-
"type": "version",
|
38
|
-
"tag": "v3.3.6",
|
39
|
-
"commit": "81df608a40bf0629a1dc08e584849bb1e43e0b7a"
|
40
|
-
},
|
41
|
-
"_source": "git://github.com/twbs/bootstrap.git",
|
42
|
-
"_target": "~3.3.6",
|
43
|
-
"_originalSource": "bootstrap",
|
44
|
-
"_direct": true
|
45
|
-
}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2011-2015 Twitter, Inc
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
13
|
-
all copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
THE SOFTWARE.
|
@@ -1,34 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"name": "bootstrap",
|
3
|
-
"description": "The most popular front-end framework for developing responsive, mobile first projects on the web.",
|
4
|
-
"keywords": [
|
5
|
-
"css",
|
6
|
-
"js",
|
7
|
-
"less",
|
8
|
-
"mobile-first",
|
9
|
-
"responsive",
|
10
|
-
"front-end",
|
11
|
-
"framework",
|
12
|
-
"web"
|
13
|
-
],
|
14
|
-
"homepage": "http://getbootstrap.com",
|
15
|
-
"license": "MIT",
|
16
|
-
"moduleType": "globals",
|
17
|
-
"main": [
|
18
|
-
"less/bootstrap.less",
|
19
|
-
"dist/js/bootstrap.js"
|
20
|
-
],
|
21
|
-
"ignore": [
|
22
|
-
"/.*",
|
23
|
-
"_config.yml",
|
24
|
-
"CNAME",
|
25
|
-
"composer.json",
|
26
|
-
"CONTRIBUTING.md",
|
27
|
-
"docs",
|
28
|
-
"js/tests",
|
29
|
-
"test-infra"
|
30
|
-
],
|
31
|
-
"dependencies": {
|
32
|
-
"jquery": "1.9.1 - 2"
|
33
|
-
}
|
34
|
-
}
|