github_api 0.11.1 → 0.11.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -574,4 +574,4 @@ Questions or problems? Please post them on the [issue tracker](https://github.co
574
574
 
575
575
  ## Copyright
576
576
 
577
- Copyright (c) 2011-2013 Piotr Murach. See LICENSE.txt for further details.
577
+ Copyright (c) 2011-2014 Piotr Murach. See LICENSE.txt for further details.
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://<BASIC_AUTH>@api.github.com/authorizations?access_<TOKEN>=<TOKEN>
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
- H4sIAAAAAAAAA82WS2/aQBDHv0rkXloJh92ZffrWU9tbD5waRWifwSrBljGR
64
- 0ijfvWucBwFbwZcoCAlsZobx/zePvXrISp8VlIFEPst2zTorslXb1ttiPjd1
65
- eXlTtqudvXTV7dzs2lXVlP9MW1ab7bz3yWaZqeuseMg25jYk5x9l+3NnL77/
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?access_<TOKEN>=<TOKEN>&q=TTY%20in:file%20language:ruby%20repo:peter-murach/tty&sort=indexed
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?access_<TOKEN>=<TOKEN>&q=Gemfile%20in:path%20repo:peter-murach/github&sort=indexed
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?access_<TOKEN>=<TOKEN>&q=location:Sheffield%20repos:20
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
- end
37
-
38
- module AutoloadHelper
39
-
40
- def autoload_all(prefix, options)
41
- options.each do |const_name, path|
42
- autoload const_name, File.join(prefix, path)
43
- end
44
- end
45
-
46
- def register_constant(options)
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
- extend AutoloadHelper
59
-
60
- autoload_all 'github_api',
61
- :API => 'api',
62
- :Arguments => 'arguments',
63
- :Activity => 'activity',
64
- :ApiFactory => 'api_factory',
65
- :Client => 'client',
66
- :Repos => 'repos',
67
- :Request => 'request',
68
- :Response => 'response',
69
- :ResponseWrapper => 'response_wrapper',
70
- :Result => 'result',
71
- :Error => 'error',
72
- :Issues => 'issues',
73
- :Gists => 'gists',
74
- :GitData => 'git_data',
75
- :Gitignore => 'gitignore',
76
- :Orgs => 'orgs',
77
- :PullRequests => 'pull_requests',
78
- :Users => 'users',
79
- :Emojis => 'emojis',
80
- :Search => 'search',
81
- :Say => 'say',
82
- :Scopes => 'scopes',
83
- :Markdown => 'markdown',
84
- :Meta => 'meta',
85
- :CoreExt => 'core_ext',
86
- :MimeType => 'mime_type',
87
- :Authorization => 'authorization',
88
- :Authorizations => 'authorizations',
89
- :Pagination => 'pagination',
90
- :PageLinks => 'page_links',
91
- :PageIterator => 'page_iterator',
92
- :PagedRequest => 'paged_request',
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
@@ -2,13 +2,12 @@
2
2
 
3
3
  module Github
4
4
  class Activity < API
5
- extend AutoloadHelper
6
5
 
7
- autoload_all 'github_api/activity',
8
- :Events => 'events',
9
- :Notifications => 'notifications',
10
- :Starring => 'starring',
11
- :Watching => 'watching'
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
- :headers => {
29
- ACCEPT => "application/vnd.github.v3+json," \
30
- "application/vnd.github.beta+json;q=0.5," \
31
- "application/json;q=0.1",
32
- ACCEPT_CHARSET => "utf-8",
33
- USER_AGENT => 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
- :ssl => ssl,
36
- :url => options.fetch(:endpoint) { Github.endpoint }
37
- }.deep_merge(options)
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
- Proc.new do |builder|
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
- # Returns a Fraday::Connection object
89
+ # Creates http connection
87
90
  #
88
- def connection(options={})
89
- conn_options = default_options(options)
91
+ # Returns a Fraday::Connection object
92
+ def connection(options = {})
93
+ connection_options = default_options(options)
90
94
  clear_cache unless options.empty?
91
- puts "OPTIONS:#{conn_options.inspect}" if ENV['DEBUG']
92
-
93
- @connection ||= Faraday.new(conn_options.merge(:builder => stack(options)))
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
@@ -12,7 +12,7 @@ module Faraday
12
12
  end
13
13
  end
14
14
 
15
- def to_query
15
+ def to_query(encoder = nil)
16
16
  Utils.build_nested_query(self, nil, params_encoder)
17
17
  end
18
18
  end
@@ -2,10 +2,8 @@
2
2
 
3
3
  module Github
4
4
  class Gists < API
5
- extend AutoloadHelper
6
5
 
7
- autoload_all 'github_api/gists',
8
- :Comments => 'comments'
6
+ Github::require_all 'github_api/gists', 'comments'
9
7
 
10
8
  REQUIRED_GIST_INPUTS = %w[
11
9
  description
@@ -2,14 +2,13 @@
2
2
 
3
3
  module Github
4
4
  class GitData < API
5
- extend AutoloadHelper
6
-
7
- autoload_all 'github_api/git_data',
8
- :Blobs => 'blobs',
9
- :Commits => 'commits',
10
- :References => 'references',
11
- :Tags => 'tags',
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)
@@ -2,14 +2,13 @@
2
2
 
3
3
  module Github
4
4
  class Issues < API
5
- extend AutoloadHelper
6
-
7
- autoload_all 'github_api/issues',
8
- :Assignees => 'assignees',
9
- :Comments => 'comments',
10
- :Events => 'events',
11
- :Labels => 'labels',
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
@@ -2,11 +2,10 @@
2
2
 
3
3
  module Github
4
4
  class Orgs < API
5
- extend AutoloadHelper
6
5
 
7
- autoload_all 'github_api/orgs',
8
- :Members => 'members',
9
- :Teams => 'teams'
6
+ Github::require_all 'github_api/orgs',
7
+ 'members',
8
+ 'teams'
10
9
 
11
10
  VALID_ORG_PARAM_NAMES = %w[
12
11
  billing_email
@@ -2,10 +2,9 @@
2
2
 
3
3
  module Github
4
4
  class PullRequests < API
5
- extend AutoloadHelper
6
5
 
7
- autoload_all 'github_api/pull_requests',
8
- :Comments => 'comments'
6
+ Github::require_all 'github_api/pull_requests',
7
+ 'comments'
9
8
 
10
9
  VALID_REQUEST_PARAM_NAMES = %w[
11
10
  title
@@ -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
- autoload_all 'github_api/repos',
9
- :Collaborators => 'collaborators',
10
- :Comments => 'comments',
11
- :Commits => 'commits',
12
- :Contents => 'contents',
13
- :Downloads => 'downloads',
14
- :Forks => 'forks',
15
- :Hooks => 'hooks',
16
- :Keys => 'keys',
17
- :Merging => 'merging',
18
- :PubSubHubbub => 'pub_sub_hubbub',
19
- :Releases => 'releases',
20
- :Statistics => 'statistics',
21
- :Statuses => 'statuses'
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
- autoload_all 'github_api/repos/releases',
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
@@ -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
- conn_options = current_options.merge(params.options)
40
- conn = connection(conn_options)
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
- if !(conn_options[:query] || {}).empty?
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
@@ -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
- autoload_all 'github_api/search', Legacy: 'legacy'
13
+ Github::require_all 'github_api/search', 'legacy'
15
14
 
16
15
  # Access to Search::Legacy API
17
16
  def legacy(options = {}, &block)
@@ -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
- autoload_all 'github_api/users',
9
- :Emails => 'emails',
10
- :Followers => 'followers',
11
- :Keys => 'keys'
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
- autoload_all 'github_api/validations',
8
- :Presence => 'presence',
9
- :Token => 'token',
10
- :Format => 'format',
11
- :Required => 'required'
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
@@ -4,7 +4,7 @@ module Github
4
4
  module VERSION
5
5
  MAJOR = 0
6
6
  MINOR = 11
7
- PATCH = 1
7
+ PATCH = 2
8
8
  BUILD = nil
9
9
 
10
10
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.');
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.1
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: 2013-12-16 00:00:00.000000000Z
12
+ date: 2014-02-02 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: addressable
16
- requirement: &2153723980 !ruby/object:Gem::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: *2153723980
24
+ version_requirements: *2153384340
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: hashie
27
- requirement: &2153722400 !ruby/object:Gem::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: *2153722400
35
+ version_requirements: *2153383340
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: faraday
38
- requirement: &2153720400 !ruby/object:Gem::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: *2153720400
49
+ version_requirements: *2153382320
50
50
  - !ruby/object:Gem::Dependency
51
51
  name: multi_json
52
- requirement: &2153712280 !ruby/object:Gem::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: *2153712280
63
+ version_requirements: *2153380100
64
64
  - !ruby/object:Gem::Dependency
65
65
  name: oauth2
66
- requirement: &2153710640 !ruby/object:Gem::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: *2153710640
74
+ version_requirements: *2153377920
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: nokogiri
77
- requirement: &2153708340 !ruby/object:Gem::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: *2153708340
85
+ version_requirements: *2153376620
86
86
  - !ruby/object:Gem::Dependency
87
87
  name: descendants_tracker
88
- requirement: &2153706420 !ruby/object:Gem::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: *2153706420
96
+ version_requirements: *2153375420
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rspec
99
- requirement: &2153705520 !ruby/object:Gem::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: *2153705520
107
+ version_requirements: *2153374100
108
108
  - !ruby/object:Gem::Dependency
109
109
  name: cucumber
110
- requirement: &2153704760 !ruby/object:Gem::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: *2153704760
118
+ version_requirements: *2153373000
119
119
  - !ruby/object:Gem::Dependency
120
120
  name: webmock
121
- requirement: &2153703940 !ruby/object:Gem::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: *2153703940
129
+ version_requirements: *2153371900
130
130
  - !ruby/object:Gem::Dependency
131
131
  name: vcr
132
- requirement: &2153702840 !ruby/object:Gem::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: *2153702840
140
+ version_requirements: *2153371180
141
141
  - !ruby/object:Gem::Dependency
142
142
  name: simplecov
143
- requirement: &2153701280 !ruby/object:Gem::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: *2153701280
151
+ version_requirements: *2153370520
152
152
  - !ruby/object:Gem::Dependency
153
153
  name: coveralls
154
- requirement: &2153700180 !ruby/object:Gem::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: *2153700180
162
+ version_requirements: *2153369920
163
163
  - !ruby/object:Gem::Dependency
164
164
  name: guard
165
- requirement: &2153699280 !ruby/object:Gem::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: *2153699280
173
+ version_requirements: *2153369240
174
174
  - !ruby/object:Gem::Dependency
175
175
  name: guard-rspec
176
- requirement: &2153698340 !ruby/object:Gem::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: *2153698340
184
+ version_requirements: *2153368520
185
185
  - !ruby/object:Gem::Dependency
186
186
  name: guard-cucumber
187
- requirement: &2153697380 !ruby/object:Gem::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: *2153697380
195
+ version_requirements: *2153367720
196
196
  - !ruby/object:Gem::Dependency
197
197
  name: rake
198
- requirement: &2153690080 !ruby/object:Gem::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: *2153690080
206
+ version_requirements: *2153367120
207
207
  - !ruby/object:Gem::Dependency
208
208
  name: bundler
209
- requirement: &2153688720 !ruby/object:Gem::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: *2153688720
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
@@ -1,4 +0,0 @@
1
- ---
2
- oauth_token: token
3
- basic_auth: Murek:Testing123
4
- user: murek