rubhub 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/github/github.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ee00d7c497ffed0455b4c184da38938374ccfbd
|
4
|
+
data.tar.gz: 5356a9673cf5306f4840f4aa4cea744b5232d2dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c40b79105129af7ea3b77189c433cc90855b970f843475214347398dcbd4c2aae344d72a386ea3f06affc50773b69eca0db58c68c5ac73e5c7caaca3bef19175
|
7
|
+
data.tar.gz: 541f9c985134ff4249a1bc53b9bab207c1b7aac9a6c43131cfde0da370989274e4181b481cd62996e9b518deee3b96ad39044f591262aa0e26bdc706022fed8e
|
data/lib/github/github.rb
CHANGED
@@ -3,7 +3,7 @@ class Github
|
|
3
3
|
attr_accessor :events, :gists, :gitdata, :issues, :orgs, :pullreqs, :repos, :users
|
4
4
|
|
5
5
|
def initialize(username, password)
|
6
|
-
@apiurl = 'https://api.github.com'
|
6
|
+
@apiurl = 'https://api.github.com/api/v3'
|
7
7
|
@username = username
|
8
8
|
@password = password
|
9
9
|
@events = Events.new(self)
|
@@ -92,4 +92,4 @@ class Github
|
|
92
92
|
def removeEmptyParams(params)
|
93
93
|
params.delete_if { |k, v| v.nil? }
|
94
94
|
end
|
95
|
-
end
|
95
|
+
end
|