sinatra_auth_github 0.14.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +5 -0
- data/README.md +5 -5
- data/lib/sinatra/auth/github/version.rb +1 -1
- data/sinatra_auth_github.gemspec +1 -1
- metadata +5 -4
data/CHANGELOG.md
ADDED
data/README.md
CHANGED
@@ -36,17 +36,17 @@ You can check team membership by hitting http://localhost:9393/teams/42
|
|
36
36
|
|
37
37
|
All unsuccessful authentication requests get sent to the securocat denied page.
|
38
38
|
|
39
|
-
API
|
39
|
+
API Access
|
40
40
|
============
|
41
41
|
|
42
|
-
The extension also provides a simple way to
|
43
|
-
|
42
|
+
The extension also provides a simple way to access the GitHub API, by providing an
|
43
|
+
authenticated Octokit::Client for the user.
|
44
44
|
|
45
45
|
def repos
|
46
|
-
|
46
|
+
github_user.api.repositories
|
47
47
|
end
|
48
48
|
|
49
|
-
|
49
|
+
For more information on API access, refer to the [octokit documentation](http://rdoc.info/gems/octokit).
|
50
50
|
|
51
51
|
Extension Options
|
52
52
|
=================
|
data/sinatra_auth_github.gemspec
CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
|
|
15
15
|
s.rubyforge_project = "sinatra_auth_github"
|
16
16
|
|
17
17
|
s.add_dependency "sinatra", "~>1.0"
|
18
|
-
s.add_dependency "warden-github", "~>
|
18
|
+
s.add_dependency "warden-github", "~>1.0"
|
19
19
|
|
20
20
|
s.add_development_dependency "rake"
|
21
21
|
s.add_development_dependency "rspec", "~>2.4.0"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sinatra_auth_github
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-09-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sinatra
|
@@ -34,7 +34,7 @@ dependencies:
|
|
34
34
|
requirements:
|
35
35
|
- - ~>
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version:
|
37
|
+
version: '1.0'
|
38
38
|
type: :runtime
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -42,7 +42,7 @@ dependencies:
|
|
42
42
|
requirements:
|
43
43
|
- - ~>
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version:
|
45
|
+
version: '1.0'
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: rake
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
@@ -131,6 +131,7 @@ extensions: []
|
|
131
131
|
extra_rdoc_files: []
|
132
132
|
files:
|
133
133
|
- .gitignore
|
134
|
+
- CHANGELOG.md
|
134
135
|
- Gemfile
|
135
136
|
- LICENSE
|
136
137
|
- README.md
|