beginning_open_source 0.1.1 → 0.1.2
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.
- checksums.yaml +4 -4
- data/.gitignore +2 -1
- data/beginning_open_source-0.1.1.gem +0 -0
- data/lib/beginning_open_source.rb +9 -0
- data/lib/beginning_open_source/version.rb +1 -1
- data/lib/cli.rb +0 -14
- metadata +2 -2
- data/lib/secrets.rb +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef1ba9213f2d881962f8a6b0a69bff34ade0368c
|
4
|
+
data.tar.gz: 176f76da63bc4b6ccae960384ddd92e358bbd6bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac15ccab391158c09434cde03c01a2993c7cffea927647cd4b27c15a62da346c51cc325b243c744f87cc9f89649c76462b2aba531a6445be3d0d3505224ce1ee
|
7
|
+
data.tar.gz: a492f11c05691104cf758d3d0b69fa549b0c407fa0253548cd503d87471b3c574bc59b1fa58e96e6a572c2b962fac6ea8509215af0fdd3bc34c48d611007f993
|
data/.gitignore
CHANGED
Binary file
|
@@ -2,6 +2,15 @@ require_relative "beginning_open_source/version"
|
|
2
2
|
require_relative "beginning_open_source/github_api.rb"
|
3
3
|
require_relative "beginning_open_source/issues.rb"
|
4
4
|
|
5
|
+
File.open("../lib/secrets.rb", 'w'){|f| f.write("class BeginningOpenSource::GithubApi
|
6
|
+
def self.token
|
7
|
+
'PASTE_TOKEN_HERE_AS_STRING'
|
8
|
+
end
|
9
|
+
|
10
|
+
def self.agent
|
11
|
+
'PASTE_GITHUB_USERNAME_HERE_AS_STRING'
|
12
|
+
end
|
13
|
+
end")}
|
5
14
|
|
6
15
|
require_relative "secrets.rb"
|
7
16
|
require_relative "cli"
|
data/lib/cli.rb
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
class BeginningOpenSource::CLI
|
2
2
|
|
3
3
|
def call
|
4
|
-
# generate_secret_file
|
5
4
|
welcome
|
6
5
|
list_beginner_issues
|
7
6
|
search_issues
|
@@ -15,19 +14,6 @@ class BeginningOpenSource::CLI
|
|
15
14
|
puts "With this tool, you can find issues on github by label".blue
|
16
15
|
end
|
17
16
|
|
18
|
-
# def generate_secret_file #i don't know what will happen when this is packaged as gem. make sure the filename is secrets.rb when committing
|
19
|
-
# File.open("../lib/secrets.rb", 'w'){|f| f.write("class BeginningOpenSource::GithubApi
|
20
|
-
# def self.token
|
21
|
-
# 'PASTE_TOKEN_HERE_AS_STRING'
|
22
|
-
# end
|
23
|
-
|
24
|
-
# def self.agent
|
25
|
-
# 'PASTE_GITHUB_USERNAME_HERE_AS_STRING'
|
26
|
-
# end
|
27
|
-
# end")}
|
28
|
-
# end
|
29
|
-
#this doesn't work when packaged as a gem
|
30
|
-
|
31
17
|
def list_beginner_issues #by default, it will return issues in github repos with 1 star or more
|
32
18
|
get_and_print('beginner')
|
33
19
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beginning_open_source
|
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
|
- Corey Morris
|
@@ -96,6 +96,7 @@ files:
|
|
96
96
|
- LICENSE.txt
|
97
97
|
- README.md
|
98
98
|
- Rakefile
|
99
|
+
- beginning_open_source-0.1.1.gem
|
99
100
|
- beginning_open_source.gemspec
|
100
101
|
- bin/beginning-open-source
|
101
102
|
- bin/console
|
@@ -105,7 +106,6 @@ files:
|
|
105
106
|
- lib/beginning_open_source/issues.rb
|
106
107
|
- lib/beginning_open_source/version.rb
|
107
108
|
- lib/cli.rb
|
108
|
-
- lib/secrets.rb
|
109
109
|
homepage: https://github.com/c1505/beginning-open-source
|
110
110
|
licenses:
|
111
111
|
- MIT
|