octokit 4.6.0 → 4.6.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3e102d4ef66b25de05af28e8b5567425ae621968
4
- data.tar.gz: 4d2c7a2aebf56bca3e81d51ffcbc8f0ee4b23790
3
+ metadata.gz: af1fcf18cf2867132d94a6e2cf91be8cf699081e
4
+ data.tar.gz: e7659efbd2bd6a304649d16fc16ab5dfdd9c684f
5
5
  SHA512:
6
- metadata.gz: cd6383e5f75b45f5f8d216a0e95cc19569306b10962016d186a4638509e3d3eea31dfff33e2b380c8fe88f683bfe67f21ea60d6f68481cc1933567de508cf0a3
7
- data.tar.gz: ed9dae41551580e6f60ee0fc0c03da83d5e85b8d3e81282c1155a859b2c2be19d8a14c33004a431f123a4a2c17a0992106b9a1052867b80a4dbda4485f375a00
6
+ metadata.gz: 284f55a23fa6dee4d72894b509d83c9b0530f4df12af4c06a41bdd266bc16cc3093c0b4da690d1394004204161367f8183890cc7be2f6cfedb8d67a3958dc98b
7
+ data.tar.gz: ea92116341121301afbd8a96f1555609aa78b6e952e43657c43535942461beb9f33716223a28430c567f34765f016be008722f9073402452bae4a959b5626aa1
@@ -0,0 +1,10 @@
1
+ require 'sawyer'
2
+
3
+ module Patch
4
+ def href(options=nil)
5
+ # Temporary workaround for: https://github.com/octokit/octokit.rb/issues/727
6
+ name.to_s == "ssh" ? @href : super
7
+ end
8
+ end
9
+
10
+ Sawyer::Relation.send(:prepend, Patch)
@@ -50,6 +50,7 @@ require 'octokit/client/stats'
50
50
  require 'octokit/client/statuses'
51
51
  require 'octokit/client/traffic'
52
52
  require 'octokit/client/users'
53
+ require 'ext/sawyer/relation'
53
54
 
54
55
  module Octokit
55
56
 
@@ -9,7 +9,7 @@ module Octokit
9
9
 
10
10
  # Current patch level.
11
11
  # @return [Integer]
12
- PATCH = 0
12
+ PATCH = 1
13
13
 
14
14
  # Full release version.
15
15
  # @return [String]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octokit
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.6.0
4
+ version: 4.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wynn Netherland
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-11-08 00:00:00.000000000 Z
13
+ date: 2016-11-18 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -60,6 +60,7 @@ files:
60
60
  - LICENSE.md
61
61
  - README.md
62
62
  - Rakefile
63
+ - lib/ext/sawyer/relation.rb
63
64
  - lib/octokit.rb
64
65
  - lib/octokit/arguments.rb
65
66
  - lib/octokit/authentication.rb