ghuls-lib 2.3.1 → 2.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ghuls/lib.rb +4 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25fe69545a80b592c5a8e44ca7bfb0daa13add31
|
4
|
+
data.tar.gz: 4d5011fddd274dedc9d3b62ea6a501fecac831b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3bb066e85ee7dee9e17df9b417965b6b2da7d12bbbb83f17919a9947f4e03739fbec498191c42bd6b6589fb0cd5954e32cef78fe97ab4edf4ae54300704de265
|
7
|
+
data.tar.gz: 166b10a99f213a31a262edd41e2a4df7e5a5aa6fad9bb9fb2464cd0e2a2a699fda381eeb88709a923878ee44f1fd7a459428ab89a2e9a0f8a39c49f8f9b9337c
|
data/lib/ghuls/lib.rb
CHANGED
@@ -242,7 +242,9 @@ module GHULS
|
|
242
242
|
'&type=Users&ref=searchresults').read
|
243
243
|
continue = false
|
244
244
|
until continue
|
245
|
-
|
245
|
+
# Really, GitHub? ’ and not '?
|
246
|
+
max = source[/We['’]ve found (.*?) users/] || source[/Showing (.*?) available users/]
|
247
|
+
userid = rand(max.to_i_separated)
|
246
248
|
user = get_user_and_check(userid, github)
|
247
249
|
continue = true if user != false && !get_user_langs(user, github).empty?
|
248
250
|
end
|
@@ -283,4 +285,4 @@ module GHULS
|
|
283
285
|
}
|
284
286
|
end
|
285
287
|
end
|
286
|
-
end
|
288
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ghuls-lib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eli Foster
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: octokit
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 4.
|
19
|
+
version: 4.3.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 4.
|
26
|
+
version: 4.3.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: string-utility
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.
|
33
|
+
version: 2.7.1
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 2.
|
40
|
+
version: 2.7.1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: net-http-persistent
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|