ghstars 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.bumpversion.cfg +1 -1
- data/Gemfile.lock +12 -11
- data/ghstars.gemspec +2 -2
- data/lib/ghstars.rb +2 -1
- data/lib/ghstars/version.rb +1 -1
- metadata +12 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8da89ee3adb7a14a48c1c0d65131a8a31868808adc28dae4122a671bde370f53
|
4
|
+
data.tar.gz: 4ebd0a8ac8c3fae48b651f5f2c91fad09783dd4c9cf681c789de8e076c740c65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 17fcb7601d61620b3a0a36703a0d38ebda4b2fd3e4122fcc859c0f61be5f2bad4ddf1a047d35786496832ee09d62a8bb7f5dc9d5b78af8c3fdc9fe66c24821db
|
7
|
+
data.tar.gz: ba9d89ad767a073bb95920c3d09991d1f6a629e4ba355b76fbf85e240dbda7d281cd4de267a2a2403f65a34303c311e6522f70c6cab64a13817365148827b020
|
data/.bumpversion.cfg
CHANGED
data/Gemfile.lock
CHANGED
@@ -2,7 +2,7 @@ PATH
|
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
4
|
ghstars (0.1.1)
|
5
|
-
octokit (~> 4.
|
5
|
+
octokit (~> 4.18)
|
6
6
|
terminal-table (~> 1.8)
|
7
7
|
thor (~> 0.20.3)
|
8
8
|
|
@@ -12,25 +12,26 @@ GEM
|
|
12
12
|
addressable (2.7.0)
|
13
13
|
public_suffix (>= 2.0.2, < 5.0)
|
14
14
|
ansi (1.5.0)
|
15
|
-
builder (3.2.
|
15
|
+
builder (3.2.4)
|
16
16
|
coderay (1.1.2)
|
17
|
-
faraday (0.
|
17
|
+
faraday (1.0.1)
|
18
18
|
multipart-post (>= 1.2, < 3)
|
19
19
|
method_source (0.9.2)
|
20
|
-
minitest (5.
|
21
|
-
minitest-reporters (1.4.
|
20
|
+
minitest (5.14.0)
|
21
|
+
minitest-reporters (1.4.2)
|
22
22
|
ansi
|
23
23
|
builder
|
24
24
|
minitest (>= 5.0)
|
25
25
|
ruby-progressbar
|
26
26
|
multipart-post (2.1.1)
|
27
|
-
octokit (4.
|
27
|
+
octokit (4.18.0)
|
28
|
+
faraday (>= 0.9)
|
28
29
|
sawyer (~> 0.8.0, >= 0.5.3)
|
29
30
|
pry (0.12.2)
|
30
31
|
coderay (~> 1.1.0)
|
31
32
|
method_source (~> 0.9.0)
|
32
|
-
public_suffix (4.0.
|
33
|
-
rake (
|
33
|
+
public_suffix (4.0.3)
|
34
|
+
rake (13.0.1)
|
34
35
|
ruby-progressbar (1.10.1)
|
35
36
|
sawyer (0.8.2)
|
36
37
|
addressable (>= 2.3.5)
|
@@ -38,7 +39,7 @@ GEM
|
|
38
39
|
terminal-table (1.8.0)
|
39
40
|
unicode-display_width (~> 1.1, >= 1.1.1)
|
40
41
|
thor (0.20.3)
|
41
|
-
unicode-display_width (1.
|
42
|
+
unicode-display_width (1.7.0)
|
42
43
|
|
43
44
|
PLATFORMS
|
44
45
|
ruby
|
@@ -49,7 +50,7 @@ DEPENDENCIES
|
|
49
50
|
minitest (~> 5.0)
|
50
51
|
minitest-reporters (~> 1.4, >= 1.4.1)
|
51
52
|
pry (~> 0.12.2)
|
52
|
-
rake (~>
|
53
|
+
rake (~> 13.0, >= 13.0.1)
|
53
54
|
|
54
55
|
BUNDLED WITH
|
55
|
-
2.
|
56
|
+
2.1.4
|
data/ghstars.gemspec
CHANGED
@@ -27,12 +27,12 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.require_paths = ["lib"]
|
28
28
|
|
29
29
|
spec.add_development_dependency "bundler", "~> 2.0"
|
30
|
-
spec.add_development_dependency "rake", "~>
|
30
|
+
spec.add_development_dependency "rake", "~> 13.0", ">= 13.0.1"
|
31
31
|
spec.add_development_dependency "minitest", "~> 5.0"
|
32
32
|
spec.add_development_dependency "minitest-reporters", "~> 1.4", ">= 1.4.1"
|
33
33
|
spec.add_development_dependency "pry", "~> 0.12.2"
|
34
34
|
|
35
35
|
spec.add_runtime_dependency "terminal-table", "~> 1.8"
|
36
36
|
spec.add_runtime_dependency "thor", "~> 0.20.3"
|
37
|
-
spec.add_runtime_dependency "octokit", "~> 4.
|
37
|
+
spec.add_runtime_dependency "octokit", "~> 4.18"
|
38
38
|
end
|
data/lib/ghstars.rb
CHANGED
@@ -15,8 +15,9 @@ module Ghstars
|
|
15
15
|
|
16
16
|
def self.check_github_credentials
|
17
17
|
begin
|
18
|
-
|
18
|
+
@@client.user
|
19
19
|
rescue Octokit::Unauthorized => error_message
|
20
|
+
puts error_message
|
20
21
|
raise ::Ghstars::GitHubBadCredentialsError, "Bad GitHub credentials."
|
21
22
|
end
|
22
23
|
end
|
data/lib/ghstars/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ghstars
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Uğur Özyılmazel
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -30,14 +30,20 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '13.0'
|
34
|
+
- - ">="
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: 13.0.1
|
34
37
|
type: :development
|
35
38
|
prerelease: false
|
36
39
|
version_requirements: !ruby/object:Gem::Requirement
|
37
40
|
requirements:
|
38
41
|
- - "~>"
|
39
42
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
43
|
+
version: '13.0'
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 13.0.1
|
41
47
|
- !ruby/object:Gem::Dependency
|
42
48
|
name: minitest
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -120,14 +126,14 @@ dependencies:
|
|
120
126
|
requirements:
|
121
127
|
- - "~>"
|
122
128
|
- !ruby/object:Gem::Version
|
123
|
-
version: '4.
|
129
|
+
version: '4.18'
|
124
130
|
type: :runtime
|
125
131
|
prerelease: false
|
126
132
|
version_requirements: !ruby/object:Gem::Requirement
|
127
133
|
requirements:
|
128
134
|
- - "~>"
|
129
135
|
- !ruby/object:Gem::Version
|
130
|
-
version: '4.
|
136
|
+
version: '4.18'
|
131
137
|
description: Shows your public repositories total star count
|
132
138
|
email:
|
133
139
|
- ugurozyilmazel@gmail.com
|