sinatra_auth_github 0.14.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ v1.0.0 2013/09/03
2
+ -----------------
3
+
4
+ * Explicitly require Octokit 2.1.1
5
+ * Fixups for moving to octokit 2.1.1
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 Requests
39
+ API Access
40
40
  ============
41
41
 
42
- The extension also provides a simple way to do get requests against the
43
- GitHub API as the authenticated user.
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
- github_request("user/repos")
46
+ github_user.api.repositories
47
47
  end
48
48
 
49
- There's awesome docs on the v3 API [available here](http://developer.github.com/v3/).
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
  =================
@@ -1,7 +1,7 @@
1
1
  module Sinatra
2
2
  module Auth
3
3
  module Github
4
- VERSION = "0.14.1"
4
+ VERSION = "1.0.0"
5
5
  end
6
6
  end
7
7
  end
@@ -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", "~>0.14.0"
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.14.1
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-08-14 00:00:00.000000000 Z
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: 0.14.0
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: 0.14.0
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