gig2 0.1.0 → 0.1.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.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +5 -3
- data/gig.gemspec +2 -2
- data/lib/gig/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97c17aad029b051ba1c9bb9e7c61e40c04e4a7cec1a6ddb510384e3dd9007eab
|
4
|
+
data.tar.gz: 9e465ffdcae708e3fb617eede286f15df05c47df1f4e101f8a54f28e2a04e8ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48d0b6e0b9ba1d08c5e74b5d45fd14fc2c073cd1872aab7694adbfdf9e8142c03f55135a533bca273103b56c3cc1471d7d757364f9645a0e751bfd023d2c1bad
|
7
|
+
data.tar.gz: e324f148330b7816e6bd63bf2bf77de5781f2d57f24c92f885ba717053048fb40d7d3a849308f6bbcfe9f5f8e805b78c57be96668522ccf5f750781fc5817585
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -4,12 +4,14 @@ Welcome to your new gem! In this directory, you'll find the files you need to be
|
|
4
4
|
|
5
5
|
This gem focuses on github's search api for repositories and downloading repositories's owner images. More information can be found [here](https://docs.github.com/en/free-pro-team@latest/rest/reference/search#search-repositories).
|
6
6
|
|
7
|
+
You can find the gem's page on rubygems.org [here](https://rubygems.org/gems/gig2).
|
8
|
+
|
7
9
|
## Installation
|
8
10
|
|
9
11
|
Add this line to your application's Gemfile:
|
10
12
|
|
11
13
|
```ruby
|
12
|
-
gem '
|
14
|
+
gem 'gig2'
|
13
15
|
```
|
14
16
|
|
15
17
|
And then execute:
|
@@ -18,7 +20,7 @@ And then execute:
|
|
18
20
|
|
19
21
|
Or install it yourself as:
|
20
22
|
|
21
|
-
$ gem install
|
23
|
+
$ gem install gig2
|
22
24
|
|
23
25
|
## Usage
|
24
26
|
|
@@ -27,7 +29,7 @@ Once you've installed gig, you should be able to run the gem by executing the fo
|
|
27
29
|
Example of a command to run is `bin/gig topic:ruby topic:rails`.
|
28
30
|
|
29
31
|
If your response is a good one (status 200) then the program will retrieve each owner of the relative repositories returned and downloach each one's image. These images will be downloaded to
|
30
|
-
a directory at the root of
|
32
|
+
a directory at the root of your project. The directory's name represents the query you made e.g. from the example above the directory would be called `topic:ruby-topic:rails`.
|
31
33
|
|
32
34
|
The github API has a rate limit of no more than 10 requests per second. If this rate limit is hit then you should see a message that explains what has happened and how long till you can make a request. Please find out more [here](https://docs.github.com/en/free-pro-team@latest/rest/reference/search#rate-limit)
|
33
35
|
|
data/gig.gemspec
CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
23
23
|
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
24
24
|
end
|
25
|
-
spec.bindir = "
|
26
|
-
spec.executables =
|
25
|
+
spec.bindir = "bin"
|
26
|
+
spec.executables = ["gig"]
|
27
27
|
spec.require_paths = ["lib"]
|
28
28
|
end
|
data/lib/gig/version.rb
CHANGED
metadata
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gig2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ife Runsewe
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
9
|
+
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2020-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
@@ -14,7 +14,8 @@ description: This repo allows you to download repository owner's images given a
|
|
14
14
|
term
|
15
15
|
email:
|
16
16
|
- iferunsewe@gmail.com
|
17
|
-
executables:
|
17
|
+
executables:
|
18
|
+
- gig
|
18
19
|
extensions: []
|
19
20
|
extra_rdoc_files: []
|
20
21
|
files:
|