cdnget 0.2.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +34 -0
- data/README.md +6 -4
- data/Rakefile +1 -1
- data/bin/cdnget +390 -120
- data/cdnget.gemspec +5 -5
- data/lib/cdnget.rb +390 -120
- data/test/cdnget_test.rb +665 -113
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f08c962b34e126b4223544721dccd62fdfc242fc
|
4
|
+
data.tar.gz: f461d62a21806c43c138c17a0fc69fb3df5a2f6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9862859cc9a25407431036702dbbb7fddc4419b2306c9c5f87a6027f4fa650409c549bb14939c8844d85d55ef5e6e4b939788c5550faada3074a899d2108029
|
7
|
+
data.tar.gz: 9aea1f38fcbb4e332d97c5993905d7d18761f57769fb489fb2aaa056bfa6cc4f71294ef9be50d7df7ef5088c7432a7465397ef2f2bbdd3de656f8602984712b2
|
data/CHANGES.md
CHANGED
@@ -2,6 +2,40 @@ Changes
|
|
2
2
|
=======
|
3
3
|
|
4
4
|
|
5
|
+
Release 1.0.1 (2021-10-02)
|
6
|
+
---------------------------
|
7
|
+
|
8
|
+
* Skip downloading '.DS_Store' files from unpkg.com (due to 403 Forbidden)
|
9
|
+
|
10
|
+
|
11
|
+
Release 1.0.0 (2021-10-02)
|
12
|
+
---------------------------
|
13
|
+
|
14
|
+
* Download performance improved.
|
15
|
+
* New CDN `unpkg` supported.
|
16
|
+
* Change `jsdelivr` CDN to use new jsdelivr API.
|
17
|
+
* Detect latest version of JS library automatically when `latest` keyword specified as version.
|
18
|
+
* Increase output information of JS library.
|
19
|
+
- license
|
20
|
+
- tags
|
21
|
+
- page url on CDN web site
|
22
|
+
- url of npm package (`*.tgz`)
|
23
|
+
* Add '--debug' option.
|
24
|
+
|
25
|
+
|
26
|
+
Release 0.3.1 (2021-09-30)
|
27
|
+
---------------------------
|
28
|
+
|
29
|
+
* Fix to work on Ruby 3.
|
30
|
+
* Fix to follow API specification changes of CDNJS.com.
|
31
|
+
|
32
|
+
|
33
|
+
Release 0.3.0 (2016-09-07)
|
34
|
+
---------------------------
|
35
|
+
|
36
|
+
* Change to read data from https://api.cdnjs.com/ .
|
37
|
+
|
38
|
+
|
5
39
|
Release 0.2.0 (2016-07-11)
|
6
40
|
--------------------------
|
7
41
|
|
data/README.md
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
CDNget
|
2
2
|
======
|
3
3
|
|
4
|
-
($Release: 0.
|
4
|
+
($Release: 1.0.1 $)
|
5
5
|
|
6
|
-
CDNget is a utility script to download files from CDNJS, jsDelivr or Google.
|
6
|
+
CDNget is a utility script to download files from CDNJS, jsDelivr, UNPKG or Google.
|
7
7
|
|
8
8
|
|
9
9
|
Install
|
@@ -23,10 +23,11 @@ CDNget is implemented in Ruby and requires Ruby >= 2.0.
|
|
23
23
|
Usage
|
24
24
|
-----
|
25
25
|
|
26
|
-
$ cdnget # list CDN (cdnjs/jsdelivr/google)
|
26
|
+
$ cdnget # list CDN (cdnjs/jsdelivr/unpkg/google)
|
27
27
|
$ cdnget [-q] cdnjs # list libraries
|
28
28
|
$ cdnget [-q] cdnjs '*jquery*' # search libraries
|
29
29
|
$ cdnget [-q] cdnjs jquery # list library versions
|
30
|
+
$ cdnget [-q] cdnjs jquery latest # show latest version
|
30
31
|
$ cdnget [-q] cdnjs jquery 2.2.0 # list library files
|
31
32
|
$ cdnget [-q] cdnjs jquery 2.2.0 /tmp # download files
|
32
33
|
/tmp/jquery/2.2.0/jquery.js ... Done (258,388 byte)
|
@@ -40,7 +41,8 @@ Usage
|
|
40
41
|
Todo
|
41
42
|
----
|
42
43
|
|
43
|
-
* [
|
44
|
+
* [x] change to call api.cdnjs.com
|
45
|
+
* [x] support <https://unpkg.com/>
|
44
46
|
|
45
47
|
|
46
48
|
Copyright and License
|