rubhub 0.2.0 → 0.2.1

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/github/github.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 322c3d30835c23661e5cb27c673bcf535d97bbf4
4
- data.tar.gz: e5e7dfe9284c5077bd69cfa7baad4bda073999cb
3
+ metadata.gz: 1ee00d7c497ffed0455b4c184da38938374ccfbd
4
+ data.tar.gz: 5356a9673cf5306f4840f4aa4cea744b5232d2dd
5
5
  SHA512:
6
- metadata.gz: 849f61e16cef0ae4fe77c181bff1529e7018c9776f7b04469a950230d8d01c16b18944bf386d27e1fb4d04557394e515634a41475a3d5daffbfaa61e10edb37a
7
- data.tar.gz: 127b13d148f94663117a5f0f24fafd34b83d006e176ad1bb64db1330649ce84249802932b8a720f29441c9071ee6a4fd15d8c0705e9fb94e862096a5c1273b88
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubhub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Kennedy