Package not found. Please check the package name and try again.
ghcurl 0.1.0 → 0.2.0
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/LICENSE +22 -0
- data/README.md +18 -22
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fe02eff016042725d2f43dc155b0139b786d09d82c7fdd57ad043733e99aa1b0
|
|
4
|
+
data.tar.gz: ca8e0788682b7e984bfa64f611d805edd8621213bd72163663a1b154dd53e664
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: be6714803118ebeec929f7e5e4c769f6e8fba56b6e1ccc959fa59af1058be68a9f11a8c2263541194f03b46715e0a9432e41b9496478e529926498a7212bf5a6
|
|
7
|
+
data.tar.gz: 5af8bc919be4cc686df9c6270d7797d84ad09d5e9d803870b341e20b0f29dc52f8be618b0393a8edc76dca9259dcb1d9e7aa0ed1bc09d64e0970f48ef636ecea
|
data/LICENSE
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2022 ccmywish
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
6
|
+
a copy of this software and associated documentation files (the
|
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
11
|
+
the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be
|
|
14
|
+
included in all copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
CHANGED
|
@@ -1,35 +1,31 @@
|
|
|
1
|
-
#
|
|
1
|
+
# ghcurl
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
|
3
|
+
Download files (and install) from Github releases.
|
|
6
4
|
|
|
7
5
|
## Installation
|
|
8
6
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
```ruby
|
|
12
|
-
gem 'ghcurl'
|
|
7
|
+
```bash
|
|
8
|
+
gem install ghcurl
|
|
13
9
|
```
|
|
14
10
|
|
|
15
|
-
And then execute:
|
|
16
|
-
|
|
17
|
-
$ bundle install
|
|
18
|
-
|
|
19
|
-
Or install it yourself as:
|
|
20
|
-
|
|
21
|
-
$ gem install ghcurl
|
|
22
|
-
|
|
23
11
|
## Usage
|
|
24
12
|
|
|
25
|
-
|
|
13
|
+
```bash
|
|
14
|
+
# Download latest timeleft to ~/.cache/ghcurl
|
|
15
|
+
ghcurl BetaPictoris/timeleft timeleft
|
|
26
16
|
|
|
27
|
-
|
|
17
|
+
# Download timeleft version 1.1.0
|
|
18
|
+
ghcurl BetaPictoris/timeleft timeleft -v1.1.0
|
|
28
19
|
|
|
29
|
-
|
|
20
|
+
# Download and install it
|
|
21
|
+
ghcurl BetaPictoris/timeleft timeleft -i
|
|
30
22
|
|
|
31
|
-
|
|
23
|
+
# Download and install it to a path you like
|
|
24
|
+
ghcurl BetaPictoris/timeleft timeleft -i ~/tmp/bin
|
|
32
25
|
|
|
33
|
-
|
|
26
|
+
# Install and rename it to what you like
|
|
27
|
+
ghcurl BetaPictoris/timeleft timeleft -i tl
|
|
34
28
|
|
|
35
|
-
|
|
29
|
+
# Or, like this
|
|
30
|
+
ghcurl BetaPictoris/timeleft timeleft -i ~/tmp/bin/tl
|
|
31
|
+
```
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ghcurl
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ccmywish
|
|
@@ -18,6 +18,7 @@ extensions: []
|
|
|
18
18
|
extra_rdoc_files: []
|
|
19
19
|
files:
|
|
20
20
|
- Gemfile
|
|
21
|
+
- LICENSE
|
|
21
22
|
- README.md
|
|
22
23
|
- Rakefile
|
|
23
24
|
homepage: https://github.com/ccmywish/ghcurl
|