git_hub_bub 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +1 -0
- data/changelog.md +4 -0
- data/lib/git_hub_bub/request.rb +1 -1
- data/lib/git_hub_bub/version.rb +1 -1
- data/test/git_hub_bub/valid_token_test.rb +8 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: b99f20d88fb45334555be481192824a663b56834c77bdd8f66bb79172b129455
|
4
|
+
data.tar.gz: aa099a50aa5e657d2377c8d151d811e99720d41e4678097b9973b0d4a847d8c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef2dbcabddf20e7cf6a9edef66d388203611afe876ff4fdc304e35de2af5a9e19189d773da365d4e9405a375353408accfd57038599c6df96421af48310f59fe
|
7
|
+
data.tar.gz: '0428e888f112051cab2d5d952305f39a747d662e43b2b4fe4ed43a7d5635f46aaad4b72a5b84f9f39c24969bacbc38c75f919f5936b10608b68f46f7ca7d0498'
|
data/README.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# GitHubBub
|
2
2
|
|
3
3
|
[![Build Status](https://travis-ci.org/schneems/git_hub_bub.svg?branch=master)](https://travis-ci.org/schneems/git_hub_bub)
|
4
|
+
[![Help Contribute to Open Source](https://www.codetriage.com/schneems/git_hub_bub/badges/users.svg)](https://www.codetriage.com/schneems/git_hub_bub)
|
4
5
|
|
5
6
|
A low level GitHub client that makes the disgusting issue of header based url pagination simple.
|
6
7
|
|
data/changelog.md
CHANGED
data/lib/git_hub_bub/request.rb
CHANGED
data/lib/git_hub_bub/version.rb
CHANGED
@@ -14,8 +14,15 @@ class ValidTokenTest < Test::Unit::TestCase
|
|
14
14
|
|
15
15
|
GitHubBub::Request.any_instance.expects(:token).never
|
16
16
|
|
17
|
+
GitHubBub::Request.set_before_callback do |request|
|
18
|
+
if request.token?
|
19
|
+
# Should be true for this call
|
20
|
+
else
|
21
|
+
raise "nope"
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
17
25
|
GitHubBub.valid_token?(token)
|
18
26
|
assert_requested stub_get
|
19
27
|
end
|
20
|
-
|
21
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git_hub_bub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Schneeman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-10-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rrrretry
|
@@ -185,8 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
185
185
|
- !ruby/object:Gem::Version
|
186
186
|
version: '0'
|
187
187
|
requirements: []
|
188
|
-
|
189
|
-
rubygems_version: 2.6.13
|
188
|
+
rubygems_version: 3.0.3
|
190
189
|
signing_key:
|
191
190
|
specification_version: 4
|
192
191
|
summary: git_hub_bub makes github requests
|