github_api 0.11.1 → 0.11.2
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/README.md +1 -1
- data/features/cassettes/auths/list.yml +5 -20
- data/features/cassettes/search/code_query.yml +1 -1
- data/features/cassettes/search/code_unicode.yml +1 -1
- data/features/cassettes/search/users_keyword.yml +1 -1
- data/lib/github_api.rb +50 -57
- data/lib/github_api/activity.rb +5 -6
- data/lib/github_api/connection.rb +26 -19
- data/lib/github_api/ext/faraday.rb +1 -1
- data/lib/github_api/gists.rb +1 -3
- data/lib/github_api/git_data.rb +7 -8
- data/lib/github_api/issues.rb +7 -8
- data/lib/github_api/orgs.rb +3 -4
- data/lib/github_api/pull_requests.rb +2 -3
- data/lib/github_api/repos.rb +14 -15
- data/lib/github_api/repos/commits.rb +2 -1
- data/lib/github_api/repos/releases.rb +1 -3
- data/lib/github_api/request.rb +13 -7
- data/lib/github_api/search.rb +1 -2
- data/lib/github_api/users.rb +4 -5
- data/lib/github_api/validations.rb +5 -6
- data/lib/github_api/version.rb +1 -1
- metadata +38 -39
- data/features/settings.yml +0 -4
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://<BASIC_AUTH>@api.github.com/authorizations?
|
5
|
+
uri: https://<BASIC_AUTH>@api.github.com/authorizations?access_token=<TOKEN>
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ""
|
@@ -59,25 +59,10 @@ http_interactions:
|
|
59
59
|
- gzip
|
60
60
|
body:
|
61
61
|
encoding: ASCII-8BIT
|
62
|
-
string: !binary
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
/pV+eo2XwvlwF9ZVHZrDoHc4r7rA8y/7j/ztn+QphRTGrcuwaZddphkZeGWP
|
67
|
-
s6yt/oZN97sKlElujKbaMWqpRae9IEEqojxwCJxrz2QKu6nalPFmt17335f7
|
68
|
-
dPtr1wTTBr80bYoJhNI8vUEuKBRcF5T+6Z6u9u/abF164m1WXGVNqKvs+nHW
|
69
|
-
K84lIpmoeO9zoviiub9Iqh/L3Tb3z0KX1ZGIqI0GZJ4KYyEgM4yYQxG1A4NS
|
70
|
-
JfmkcUioj6i8SUpGzqySnoFJ4hIxUUTIicopWwApCBZUD4n41gZIZzMmIhCB
|
71
|
-
grBpdfvkdCLjTblqd3aZau3ia6reb8d6HnRCHdrQ5Le7xrjVvL/f+R2JPFCo
|
72
|
-
5FBkI0E4T7kIWjCnBXBtLEGGURNmXPDKxxCCfRE5e03x6V5fsfuGTQ12XoZH
|
73
|
-
hY05wRxwATRVdYGDTIZsRpmAlnIyk95pgEk3fUaYdCPqvEeeMj48l5prSSND
|
74
|
-
yQUzAFqD0tGraDgYatMdFtghlOccT6Gcn+IpFZZTvgAoKC+oGuqUROXE5pVK
|
75
|
-
vbPr0i33U2d2NHwAqZYIE/umd/oEjCgSzZk3kOa4Q029CzZYJwzxxGLQXPEY
|
76
|
-
rFUfwkjuO0cVCOOM3tqcy4gJpJMZ7Z0+ASPkVCQMkXGj0wJ2lsU0qmOMRGlk
|
77
|
-
wSLnSthIPoIRkAWVBSMFZ6OMjmwmMGI4tY8SI4afgJGW0XjHvYzdGpUhakuN
|
78
|
-
4MqmS6cx7R5ilWPuAxmlWTd4tNrPuidGzzZjGwipYkLIaVSenE6ojBxnzx/s
|
79
|
-
E3aPAO2UlulwxQIHRdOZVQgnAzNeAiHgHRrtSdfew0fXl5P7eWvxdOfIHPR+
|
80
|
-
58iCjM2zE5t3euX6P3bQzuJkDAAA
|
62
|
+
string: !binary |-
|
63
|
+
H4sIAAAAAAAAA2WPOw4CMQxE7+J6NcTjBCdcZbU1IIotoEPcHQcWCUIxhZ/m
|
64
|
+
I9/ltK6XqxxmYXI0BxkqtjPKJCWhOJQV2vyNNMXhGsqh+u2jKfa6kQxagVZD
|
65
|
+
bn+In/7NpTU2hyT79m8y0NjfEbtrmeR4vo2P2Gt7eTwBsL4sp+gAAAA=
|
81
66
|
|
82
67
|
http_version:
|
83
68
|
recorded_at: Sun, 08 Dec 2013 22:23:35 GMT
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://<BASIC_AUTH>@api.github.com/search/code?
|
5
|
+
uri: https://<BASIC_AUTH>@api.github.com/search/code?access_token=<TOKEN>&q=TTY%20in:file%20language:ruby%20repo:peter-murach/tty&sort=indexed
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ""
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://<BASIC_AUTH>@api.github.com/search/code?
|
5
|
+
uri: https://<BASIC_AUTH>@api.github.com/search/code?access_token=<TOKEN>&q=Gemfile%20in:path%20repo:peter-murach/github&sort=indexed
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ""
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://<BASIC_AUTH>@api.github.com/search/users?
|
5
|
+
uri: https://<BASIC_AUTH>@api.github.com/search/users?access_token=<TOKEN>&q=location:Sheffield%20repos:20
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ""
|
data/lib/github_api.rb
CHANGED
@@ -13,6 +13,10 @@ require 'github_api/ext/faraday'
|
|
13
13
|
module Github
|
14
14
|
extend Configuration
|
15
15
|
|
16
|
+
LIBNAME = 'github_api'
|
17
|
+
|
18
|
+
LIBDIR = File.expand_path("../#{LIBNAME}", __FILE__)
|
19
|
+
|
16
20
|
class << self
|
17
21
|
|
18
22
|
# Alias for Github::Client.new
|
@@ -33,66 +37,55 @@ module Github
|
|
33
37
|
new.respond_to?(method, include_private) || super(method, include_private)
|
34
38
|
end
|
35
39
|
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
options.each do |const_name, value|
|
48
|
-
const_set const_name.upcase.to_s, value
|
40
|
+
# Requires internal github_api libraries
|
41
|
+
#
|
42
|
+
# @param [String] prefix
|
43
|
+
# the relative path prefix
|
44
|
+
# @param [Array[String]] libs
|
45
|
+
# the array of libraries to require
|
46
|
+
#
|
47
|
+
# @return [self]
|
48
|
+
def require_all(prefix, *libs)
|
49
|
+
libs.each do |lib|
|
50
|
+
require "#{File.join(prefix, lib)}"
|
49
51
|
end
|
50
52
|
end
|
51
|
-
|
52
|
-
def lookup_constant(const_name)
|
53
|
-
const_get const_name.upcase.to_s
|
54
|
-
end
|
55
|
-
|
56
53
|
end
|
57
54
|
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
:Validations => 'validations',
|
94
|
-
:ParameterFilter => 'parameter_filter',
|
95
|
-
:ParamsHash => 'params_hash',
|
96
|
-
:Normalizer => 'normalizer'
|
55
|
+
require_all LIBDIR,
|
56
|
+
'authorization',
|
57
|
+
'validations',
|
58
|
+
'normalizer',
|
59
|
+
'parameter_filter',
|
60
|
+
'api',
|
61
|
+
'arguments',
|
62
|
+
'activity',
|
63
|
+
'api_factory',
|
64
|
+
'client',
|
65
|
+
'repos',
|
66
|
+
'pagination',
|
67
|
+
'request',
|
68
|
+
'response',
|
69
|
+
'response_wrapper',
|
70
|
+
'error',
|
71
|
+
'issues',
|
72
|
+
'gists',
|
73
|
+
'git_data',
|
74
|
+
'gitignore',
|
75
|
+
'orgs',
|
76
|
+
'pull_requests',
|
77
|
+
'users',
|
78
|
+
'emojis',
|
79
|
+
'search',
|
80
|
+
'say',
|
81
|
+
'scopes',
|
82
|
+
'markdown',
|
83
|
+
'meta',
|
84
|
+
'mime_type',
|
85
|
+
'authorizations',
|
86
|
+
'page_links',
|
87
|
+
'paged_request',
|
88
|
+
'page_iterator',
|
89
|
+
'params_hash'
|
97
90
|
|
98
91
|
end # Github
|
data/lib/github_api/activity.rb
CHANGED
@@ -2,13 +2,12 @@
|
|
2
2
|
|
3
3
|
module Github
|
4
4
|
class Activity < API
|
5
|
-
extend AutoloadHelper
|
6
5
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
6
|
+
Github::require_all 'github_api/activity',
|
7
|
+
'events',
|
8
|
+
'notifications',
|
9
|
+
'starring',
|
10
|
+
'watching'
|
12
11
|
|
13
12
|
# Access to Activity::Events API
|
14
13
|
def events(options={}, &block)
|
@@ -11,6 +11,8 @@ require 'github_api/request/basic_auth'
|
|
11
11
|
require 'github_api/request/jsonize'
|
12
12
|
|
13
13
|
module Github
|
14
|
+
|
15
|
+
# Specifies Http connection options
|
14
16
|
module Connection
|
15
17
|
extend self
|
16
18
|
include Github::Constants
|
@@ -23,25 +25,26 @@ module Github
|
|
23
25
|
:ssl
|
24
26
|
].freeze
|
25
27
|
|
26
|
-
def default_options(options={})
|
28
|
+
def default_options(options = {})
|
29
|
+
accept = options[:headers] && options[:headers][:accept]
|
27
30
|
{
|
28
|
-
:
|
29
|
-
ACCEPT
|
30
|
-
|
31
|
-
|
32
|
-
ACCEPT_CHARSET
|
33
|
-
USER_AGENT
|
31
|
+
headers: {
|
32
|
+
ACCEPT => accept || 'application/vnd.github.v3+json,' \
|
33
|
+
'application/vnd.github.beta+json;q=0.5,' \
|
34
|
+
'application/json;q=0.1',
|
35
|
+
ACCEPT_CHARSET => 'utf-8',
|
36
|
+
USER_AGENT => user_agent
|
34
37
|
},
|
35
|
-
:
|
36
|
-
:
|
37
|
-
}
|
38
|
+
ssl: ssl,
|
39
|
+
url: options.fetch(:endpoint) { Github.endpoint }
|
40
|
+
}
|
38
41
|
end
|
39
42
|
|
40
43
|
# Default middleware stack that uses default adapter as specified at
|
41
44
|
# configuration stage.
|
42
45
|
#
|
43
|
-
def default_middleware(options={})
|
44
|
-
|
46
|
+
def default_middleware(options = {})
|
47
|
+
proc do |builder|
|
45
48
|
builder.use Github::Request::Jsonize
|
46
49
|
builder.use Faraday::Request::Multipart
|
47
50
|
builder.use Faraday::Request::UrlEncoded
|
@@ -73,7 +76,7 @@ module Github
|
|
73
76
|
# Exposes middleware builder to facilitate custom stacks and easy
|
74
77
|
# addition of new extensions such as cache adapter.
|
75
78
|
#
|
76
|
-
def stack(options={}, &block)
|
79
|
+
def stack(options = {}, &block)
|
77
80
|
@stack ||= begin
|
78
81
|
if block_given?
|
79
82
|
Faraday::Builder.new(&block)
|
@@ -83,14 +86,18 @@ module Github
|
|
83
86
|
end
|
84
87
|
end
|
85
88
|
|
86
|
-
#
|
89
|
+
# Creates http connection
|
87
90
|
#
|
88
|
-
|
89
|
-
|
91
|
+
# Returns a Fraday::Connection object
|
92
|
+
def connection(options = {})
|
93
|
+
connection_options = default_options(options)
|
90
94
|
clear_cache unless options.empty?
|
91
|
-
|
92
|
-
|
93
|
-
|
95
|
+
connection_options.merge!(builder: stack(options))
|
96
|
+
if ENV['DEBUG']
|
97
|
+
p "Connection options : \n"
|
98
|
+
pp connection_options
|
99
|
+
end
|
100
|
+
@connection ||= Faraday.new(connection_options)
|
94
101
|
end
|
95
102
|
|
96
103
|
end # Connection
|
data/lib/github_api/gists.rb
CHANGED
data/lib/github_api/git_data.rb
CHANGED
@@ -2,14 +2,13 @@
|
|
2
2
|
|
3
3
|
module Github
|
4
4
|
class GitData < API
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
:Trees => 'trees'
|
5
|
+
|
6
|
+
Github::require_all 'github_api/git_data',
|
7
|
+
'blobs',
|
8
|
+
'commits',
|
9
|
+
'references',
|
10
|
+
'tags',
|
11
|
+
'trees'
|
13
12
|
|
14
13
|
# Access to GitData::Blobs API
|
15
14
|
def blobs(options={}, &block)
|
data/lib/github_api/issues.rb
CHANGED
@@ -2,14 +2,13 @@
|
|
2
2
|
|
3
3
|
module Github
|
4
4
|
class Issues < API
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
:Milestones => 'milestones'
|
5
|
+
|
6
|
+
Github::require_all 'github_api/issues',
|
7
|
+
'assignees',
|
8
|
+
'comments',
|
9
|
+
'events',
|
10
|
+
'labels',
|
11
|
+
'milestones'
|
13
12
|
|
14
13
|
VALID_ISSUE_PARAM_NAMES = %w[
|
15
14
|
assignee
|
data/lib/github_api/orgs.rb
CHANGED
@@ -2,11 +2,10 @@
|
|
2
2
|
|
3
3
|
module Github
|
4
4
|
class Orgs < API
|
5
|
-
extend AutoloadHelper
|
6
5
|
|
7
|
-
|
8
|
-
|
9
|
-
|
6
|
+
Github::require_all 'github_api/orgs',
|
7
|
+
'members',
|
8
|
+
'teams'
|
10
9
|
|
11
10
|
VALID_ORG_PARAM_NAMES = %w[
|
12
11
|
billing_email
|
data/lib/github_api/repos.rb
CHANGED
@@ -2,23 +2,22 @@
|
|
2
2
|
|
3
3
|
module Github
|
4
4
|
class Repos < API
|
5
|
-
extend AutoloadHelper
|
6
5
|
|
7
6
|
# Load all the modules after initializing Repos to avoid superclass mismatch
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
7
|
+
Github::require_all 'github_api/repos',
|
8
|
+
'collaborators',
|
9
|
+
'comments',
|
10
|
+
'commits',
|
11
|
+
'contents',
|
12
|
+
'downloads',
|
13
|
+
'forks',
|
14
|
+
'hooks',
|
15
|
+
'keys',
|
16
|
+
'merging',
|
17
|
+
'pub_sub_hubbub',
|
18
|
+
'releases',
|
19
|
+
'statistics',
|
20
|
+
'statuses'
|
22
21
|
|
23
22
|
DEFAULT_REPO_OPTIONS = {
|
24
23
|
"homepage" => "https://github.com",
|
@@ -17,7 +17,8 @@ module Github
|
|
17
17
|
# * <tt>:sha</tt> Optional string. Sha or branch to start listing commits from.
|
18
18
|
# * <tt>:path</tt> Optional string. Only commits containing this file path will be returned.
|
19
19
|
# * <tt>:author</tt> GitHub login, name, or email by which to filter by commit author.
|
20
|
-
#
|
20
|
+
# * <tt>:since</tt> Optional string. Only commits after this date will be returned. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
|
21
|
+
# * <tt>:until</tt> Optional string. Only commits before this date will be returned. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
|
21
22
|
# = Examples
|
22
23
|
# github = Github.new
|
23
24
|
# github.repos.commits.list 'user-name', 'repo-name', :sha => '...'
|
@@ -4,10 +4,8 @@ module Github
|
|
4
4
|
|
5
5
|
# The Releases API
|
6
6
|
class Repos::Releases < API
|
7
|
-
extend AutoloadHelper
|
8
7
|
|
9
|
-
|
10
|
-
:Assets => 'assets'
|
8
|
+
Github::require_all 'github_api/repos/releases', 'assets'
|
11
9
|
|
12
10
|
VALID_RELEASE_PARAM_NAMES = %w[
|
13
11
|
tag_name
|
data/lib/github_api/request.rb
CHANGED
@@ -29,6 +29,14 @@ module Github
|
|
29
29
|
request(:delete, path, params)
|
30
30
|
end
|
31
31
|
|
32
|
+
# Performs a request
|
33
|
+
#
|
34
|
+
# method - The Symbol the HTTP verb
|
35
|
+
# path - String relative URL to access
|
36
|
+
# params - ParamsHash to configure the request API
|
37
|
+
#
|
38
|
+
# Returns a Github::ResponseWrapper
|
39
|
+
#
|
32
40
|
def request(method, path, params) # :nodoc:
|
33
41
|
unless METHODS.include?(method)
|
34
42
|
raise ArgumentError, "unkown http method: #{method}"
|
@@ -36,8 +44,10 @@ module Github
|
|
36
44
|
|
37
45
|
puts "EXECUTED: #{method} - #{path} with PARAMS: #{params}" if ENV['DEBUG']
|
38
46
|
|
39
|
-
|
40
|
-
|
47
|
+
request_options = params.options
|
48
|
+
connection_options = current_options.merge(request_options)
|
49
|
+
conn = connection(connection_options)
|
50
|
+
|
41
51
|
if conn.path_prefix != '/' && path.index(conn.path_prefix) != 0
|
42
52
|
path = (conn.path_prefix + path).gsub(/\/(\/)*/, '/')
|
43
53
|
end
|
@@ -51,11 +61,7 @@ module Github
|
|
51
61
|
end
|
52
62
|
request.url(path, params.to_hash)
|
53
63
|
when *METHODS_WITH_BODIES
|
54
|
-
|
55
|
-
request.url(path, conn_options[:query])
|
56
|
-
else
|
57
|
-
request.path = path
|
58
|
-
end
|
64
|
+
request.url(path, connection_options[:query] || {})
|
59
65
|
request.body = params.data unless params.empty?
|
60
66
|
end
|
61
67
|
end
|
data/lib/github_api/search.rb
CHANGED
@@ -6,12 +6,11 @@ module Github
|
|
6
6
|
# you're looking for (e.g., a specific user, a specific file
|
7
7
|
# in a repository, etc.).
|
8
8
|
class Search < API
|
9
|
-
extend AutoloadHelper
|
10
9
|
include Github::Utils::Url
|
11
10
|
|
12
11
|
PREVIEW_MEDIA = 'application/vnd.github.preview'.freeze # :nodoc:
|
13
12
|
|
14
|
-
|
13
|
+
Github::require_all 'github_api/search', 'legacy'
|
15
14
|
|
16
15
|
# Access to Search::Legacy API
|
17
16
|
def legacy(options = {}, &block)
|
data/lib/github_api/users.rb
CHANGED
@@ -2,13 +2,12 @@
|
|
2
2
|
|
3
3
|
module Github
|
4
4
|
class Users < API
|
5
|
-
extend AutoloadHelper
|
6
5
|
|
7
6
|
# Load all the modules after initializing Repos to avoid superclass mismatch
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
7
|
+
Github::require_all 'github_api/users',
|
8
|
+
'emails',
|
9
|
+
'followers',
|
10
|
+
'keys'
|
12
11
|
|
13
12
|
VALID_USER_PARAMS_NAMES = %w[
|
14
13
|
name
|
@@ -2,13 +2,12 @@
|
|
2
2
|
|
3
3
|
module Github
|
4
4
|
module Validations
|
5
|
-
extend AutoloadHelper
|
6
5
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
6
|
+
Github::require_all 'github_api/validations',
|
7
|
+
'presence',
|
8
|
+
'token',
|
9
|
+
'format',
|
10
|
+
'required'
|
12
11
|
|
13
12
|
include Presence
|
14
13
|
include Format
|
data/lib/github_api/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: github_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2014-02-02 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: addressable
|
16
|
-
requirement: &
|
16
|
+
requirement: &2153384340 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '2.3'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2153384340
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: hashie
|
27
|
-
requirement: &
|
27
|
+
requirement: &2153383340 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '1.2'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2153383340
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: faraday
|
38
|
-
requirement: &
|
38
|
+
requirement: &2153382320 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -46,10 +46,10 @@ dependencies:
|
|
46
46
|
version: '0.10'
|
47
47
|
type: :runtime
|
48
48
|
prerelease: false
|
49
|
-
version_requirements: *
|
49
|
+
version_requirements: *2153382320
|
50
50
|
- !ruby/object:Gem::Dependency
|
51
51
|
name: multi_json
|
52
|
-
requirement: &
|
52
|
+
requirement: &2153380100 !ruby/object:Gem::Requirement
|
53
53
|
none: false
|
54
54
|
requirements:
|
55
55
|
- - ! '>='
|
@@ -60,10 +60,10 @@ dependencies:
|
|
60
60
|
version: '2.0'
|
61
61
|
type: :runtime
|
62
62
|
prerelease: false
|
63
|
-
version_requirements: *
|
63
|
+
version_requirements: *2153380100
|
64
64
|
- !ruby/object:Gem::Dependency
|
65
65
|
name: oauth2
|
66
|
-
requirement: &
|
66
|
+
requirement: &2153377920 !ruby/object:Gem::Requirement
|
67
67
|
none: false
|
68
68
|
requirements:
|
69
69
|
- - ! '>='
|
@@ -71,10 +71,10 @@ dependencies:
|
|
71
71
|
version: '0'
|
72
72
|
type: :runtime
|
73
73
|
prerelease: false
|
74
|
-
version_requirements: *
|
74
|
+
version_requirements: *2153377920
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: nokogiri
|
77
|
-
requirement: &
|
77
|
+
requirement: &2153376620 !ruby/object:Gem::Requirement
|
78
78
|
none: false
|
79
79
|
requirements:
|
80
80
|
- - ~>
|
@@ -82,10 +82,10 @@ dependencies:
|
|
82
82
|
version: 1.6.0
|
83
83
|
type: :runtime
|
84
84
|
prerelease: false
|
85
|
-
version_requirements: *
|
85
|
+
version_requirements: *2153376620
|
86
86
|
- !ruby/object:Gem::Dependency
|
87
87
|
name: descendants_tracker
|
88
|
-
requirement: &
|
88
|
+
requirement: &2153375420 !ruby/object:Gem::Requirement
|
89
89
|
none: false
|
90
90
|
requirements:
|
91
91
|
- - ~>
|
@@ -93,10 +93,10 @@ dependencies:
|
|
93
93
|
version: 0.0.1
|
94
94
|
type: :runtime
|
95
95
|
prerelease: false
|
96
|
-
version_requirements: *
|
96
|
+
version_requirements: *2153375420
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rspec
|
99
|
-
requirement: &
|
99
|
+
requirement: &2153374100 !ruby/object:Gem::Requirement
|
100
100
|
none: false
|
101
101
|
requirements:
|
102
102
|
- - ~>
|
@@ -104,10 +104,10 @@ dependencies:
|
|
104
104
|
version: '2.14'
|
105
105
|
type: :development
|
106
106
|
prerelease: false
|
107
|
-
version_requirements: *
|
107
|
+
version_requirements: *2153374100
|
108
108
|
- !ruby/object:Gem::Dependency
|
109
109
|
name: cucumber
|
110
|
-
requirement: &
|
110
|
+
requirement: &2153373000 !ruby/object:Gem::Requirement
|
111
111
|
none: false
|
112
112
|
requirements:
|
113
113
|
- - ~>
|
@@ -115,10 +115,10 @@ dependencies:
|
|
115
115
|
version: '1.3'
|
116
116
|
type: :development
|
117
117
|
prerelease: false
|
118
|
-
version_requirements: *
|
118
|
+
version_requirements: *2153373000
|
119
119
|
- !ruby/object:Gem::Dependency
|
120
120
|
name: webmock
|
121
|
-
requirement: &
|
121
|
+
requirement: &2153371900 !ruby/object:Gem::Requirement
|
122
122
|
none: false
|
123
123
|
requirements:
|
124
124
|
- - ~>
|
@@ -126,10 +126,10 @@ dependencies:
|
|
126
126
|
version: '1.13'
|
127
127
|
type: :development
|
128
128
|
prerelease: false
|
129
|
-
version_requirements: *
|
129
|
+
version_requirements: *2153371900
|
130
130
|
- !ruby/object:Gem::Dependency
|
131
131
|
name: vcr
|
132
|
-
requirement: &
|
132
|
+
requirement: &2153371180 !ruby/object:Gem::Requirement
|
133
133
|
none: false
|
134
134
|
requirements:
|
135
135
|
- - ~>
|
@@ -137,10 +137,10 @@ dependencies:
|
|
137
137
|
version: '2.6'
|
138
138
|
type: :development
|
139
139
|
prerelease: false
|
140
|
-
version_requirements: *
|
140
|
+
version_requirements: *2153371180
|
141
141
|
- !ruby/object:Gem::Dependency
|
142
142
|
name: simplecov
|
143
|
-
requirement: &
|
143
|
+
requirement: &2153370520 !ruby/object:Gem::Requirement
|
144
144
|
none: false
|
145
145
|
requirements:
|
146
146
|
- - ~>
|
@@ -148,10 +148,10 @@ dependencies:
|
|
148
148
|
version: 0.7.1
|
149
149
|
type: :development
|
150
150
|
prerelease: false
|
151
|
-
version_requirements: *
|
151
|
+
version_requirements: *2153370520
|
152
152
|
- !ruby/object:Gem::Dependency
|
153
153
|
name: coveralls
|
154
|
-
requirement: &
|
154
|
+
requirement: &2153369920 !ruby/object:Gem::Requirement
|
155
155
|
none: false
|
156
156
|
requirements:
|
157
157
|
- - ~>
|
@@ -159,10 +159,10 @@ dependencies:
|
|
159
159
|
version: 0.6.7
|
160
160
|
type: :development
|
161
161
|
prerelease: false
|
162
|
-
version_requirements: *
|
162
|
+
version_requirements: *2153369920
|
163
163
|
- !ruby/object:Gem::Dependency
|
164
164
|
name: guard
|
165
|
-
requirement: &
|
165
|
+
requirement: &2153369240 !ruby/object:Gem::Requirement
|
166
166
|
none: false
|
167
167
|
requirements:
|
168
168
|
- - ~>
|
@@ -170,10 +170,10 @@ dependencies:
|
|
170
170
|
version: 1.8.1
|
171
171
|
type: :development
|
172
172
|
prerelease: false
|
173
|
-
version_requirements: *
|
173
|
+
version_requirements: *2153369240
|
174
174
|
- !ruby/object:Gem::Dependency
|
175
175
|
name: guard-rspec
|
176
|
-
requirement: &
|
176
|
+
requirement: &2153368520 !ruby/object:Gem::Requirement
|
177
177
|
none: false
|
178
178
|
requirements:
|
179
179
|
- - ~>
|
@@ -181,10 +181,10 @@ dependencies:
|
|
181
181
|
version: 3.0.2
|
182
182
|
type: :development
|
183
183
|
prerelease: false
|
184
|
-
version_requirements: *
|
184
|
+
version_requirements: *2153368520
|
185
185
|
- !ruby/object:Gem::Dependency
|
186
186
|
name: guard-cucumber
|
187
|
-
requirement: &
|
187
|
+
requirement: &2153367720 !ruby/object:Gem::Requirement
|
188
188
|
none: false
|
189
189
|
requirements:
|
190
190
|
- - ~>
|
@@ -192,10 +192,10 @@ dependencies:
|
|
192
192
|
version: '1.4'
|
193
193
|
type: :development
|
194
194
|
prerelease: false
|
195
|
-
version_requirements: *
|
195
|
+
version_requirements: *2153367720
|
196
196
|
- !ruby/object:Gem::Dependency
|
197
197
|
name: rake
|
198
|
-
requirement: &
|
198
|
+
requirement: &2153367120 !ruby/object:Gem::Requirement
|
199
199
|
none: false
|
200
200
|
requirements:
|
201
201
|
- - ~>
|
@@ -203,10 +203,10 @@ dependencies:
|
|
203
203
|
version: '10.1'
|
204
204
|
type: :development
|
205
205
|
prerelease: false
|
206
|
-
version_requirements: *
|
206
|
+
version_requirements: *2153367120
|
207
207
|
- !ruby/object:Gem::Dependency
|
208
208
|
name: bundler
|
209
|
-
requirement: &
|
209
|
+
requirement: &2153366660 !ruby/object:Gem::Requirement
|
210
210
|
none: false
|
211
211
|
requirements:
|
212
212
|
- - ~>
|
@@ -214,7 +214,7 @@ dependencies:
|
|
214
214
|
version: '1.3'
|
215
215
|
type: :development
|
216
216
|
prerelease: false
|
217
|
-
version_requirements: *
|
217
|
+
version_requirements: *2153366660
|
218
218
|
description: ! ' Ruby wrapper that supports all of the GitHub API v3 methods(nearly
|
219
219
|
200). It''s build in a modular way, that is, you can either instantiate the whole
|
220
220
|
api wrapper Github.new or use parts of it e.i. Github::Repos.new if working solely
|
@@ -440,7 +440,6 @@ files:
|
|
440
440
|
- features/say.feature
|
441
441
|
- features/search/legacy.feature
|
442
442
|
- features/search.feature
|
443
|
-
- features/settings.yml
|
444
443
|
- features/settings.yml.sample
|
445
444
|
- features/step_definitions/common_steps.rb
|
446
445
|
- features/step_definitions/github_api_steps.rb
|
data/features/settings.yml
DELETED