octokit 2.3.1 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: f629afcf00490756d9918174b9c80cff0afe64ab
4
+ data.tar.gz: 7e27860c840368c6285551ca8354a563d6542922
5
+ SHA512:
6
+ metadata.gz: 810ded7876d09f26e4a77ce387cc20db3a7e4c439d948d9bc5f6543dd62be4dca6b3ac1932683c35ebb78ef91a5876e696f1db201f352239261f15609575b07f
7
+ data.tar.gz: 44cf44e3501922f0bf8ff533c7f053355cd77f1e76df6df36de132367cad3147f5e3e72e85223cf74be62cdc4d7e55c144a931e5662d2f249585267ca2577236
@@ -436,6 +436,13 @@ module Octokit
436
436
  end
437
437
  alias :conceal_membership :unpublicize_membership
438
438
 
439
+ # List all teams for the authenticated user across all their orgs
440
+ #
441
+ # @return [Array<Sawyer::Resource>] Array of team resources.
442
+ # @see http://developer.github.com/v3/orgs/teams/#list-user-teams
443
+ def user_teams(options = {})
444
+ paginate "/user/teams", options
445
+ end
439
446
  end
440
447
  end
441
448
  end
@@ -2,6 +2,6 @@ module Octokit
2
2
 
3
3
  # Current version
4
4
  # @return [String]
5
- VERSION = "2.3.1".freeze
5
+ VERSION = "2.4.0".freeze
6
6
 
7
7
  end
metadata CHANGED
@@ -1,68 +1,54 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: octokit
3
- version: !ruby/object:Gem::Version
4
- hash: 1
5
- prerelease:
6
- segments:
7
- - 2
8
- - 3
9
- - 1
10
- version: 2.3.1
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.4.0
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Wynn Netherland
14
8
  - Erik Michaels-Ober
15
9
  - Clint Shryock
16
10
  autorequire:
17
11
  bindir: bin
18
12
  cert_chain: []
19
-
20
- date: 2013-10-01 00:00:00 -05:00
21
- default_executable:
22
- dependencies:
23
- - !ruby/object:Gem::Dependency
13
+ date: 2013-10-07 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
24
16
  name: bundler
25
- prerelease: false
26
- requirement: &id001 !ruby/object:Gem::Requirement
27
- none: false
28
- requirements:
17
+ requirement: !ruby/object:Gem::Requirement
18
+ requirements:
29
19
  - - ~>
30
- - !ruby/object:Gem::Version
31
- hash: 15
32
- segments:
33
- - 1
34
- - 0
35
- version: "1.0"
20
+ - !ruby/object:Gem::Version
21
+ version: '1.0'
36
22
  type: :development
37
- version_requirements: *id001
38
- - !ruby/object:Gem::Dependency
39
- name: sawyer
40
23
  prerelease: false
41
- requirement: &id002 !ruby/object:Gem::Requirement
42
- none: false
43
- requirements:
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - ~>
27
+ - !ruby/object:Gem::Version
28
+ version: '1.0'
29
+ - !ruby/object:Gem::Dependency
30
+ name: sawyer
31
+ requirement: !ruby/object:Gem::Requirement
32
+ requirements:
44
33
  - - ~>
45
- - !ruby/object:Gem::Version
46
- hash: 9
47
- segments:
48
- - 0
49
- - 5
50
- - 1
34
+ - !ruby/object:Gem::Version
51
35
  version: 0.5.1
52
36
  type: :runtime
53
- version_requirements: *id002
37
+ prerelease: false
38
+ version_requirements: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - ~>
41
+ - !ruby/object:Gem::Version
42
+ version: 0.5.1
54
43
  description: Simple wrapper for the GitHub API
55
- email:
44
+ email:
56
45
  - wynn.netherland@gmail.com
57
46
  - sferik@gmail.com
58
47
  - clint@ctshryock.com
59
48
  executables: []
60
-
61
49
  extensions: []
62
-
63
50
  extra_rdoc_files: []
64
-
65
- files:
51
+ files:
66
52
  - .document
67
53
  - CONTRIBUTING.md
68
54
  - LICENSE.md
@@ -113,41 +99,29 @@ files:
113
99
  - lib/octokit/response/raise_error.rb
114
100
  - lib/octokit/version.rb
115
101
  - lib/octokit.rb
116
- has_rdoc: true
117
102
  homepage: https://github.com/octokit/octokit.rb
118
- licenses:
103
+ licenses:
119
104
  - MIT
105
+ metadata: {}
120
106
  post_install_message:
121
107
  rdoc_options: []
122
-
123
- require_paths:
108
+ require_paths:
124
109
  - lib
125
- required_ruby_version: !ruby/object:Gem::Requirement
126
- none: false
127
- requirements:
128
- - - ">="
129
- - !ruby/object:Gem::Version
130
- hash: 3
131
- segments:
132
- - 0
133
- version: "0"
134
- required_rubygems_version: !ruby/object:Gem::Requirement
135
- none: false
136
- requirements:
137
- - - ">="
138
- - !ruby/object:Gem::Version
139
- hash: 17
140
- segments:
141
- - 1
142
- - 3
143
- - 5
110
+ required_ruby_version: !ruby/object:Gem::Requirement
111
+ requirements:
112
+ - - '>='
113
+ - !ruby/object:Gem::Version
114
+ version: '0'
115
+ required_rubygems_version: !ruby/object:Gem::Requirement
116
+ requirements:
117
+ - - '>='
118
+ - !ruby/object:Gem::Version
144
119
  version: 1.3.5
145
120
  requirements: []
146
-
147
121
  rubyforge_project:
148
- rubygems_version: 1.6.2
122
+ rubygems_version: 2.0.3
149
123
  signing_key:
150
- specification_version: 3
124
+ specification_version: 4
151
125
  summary: Ruby toolkit for working with the GitHub API
152
126
  test_files: []
153
-
127
+ has_rdoc: