cdnget 0.3.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 76f77978f1ad34c63939c6b3de40f5f37dce102e7fd007e5839485639f6139f0
4
- data.tar.gz: 3af8ce6cbd1723c8e9b8b1e456e1e470355dfdcc2dafe0173dfe74f0c5177f24
2
+ SHA1:
3
+ metadata.gz: 33c37d02737ffd6d7f382b0d9646a627046caf41
4
+ data.tar.gz: 1bf0171c024ebd5cd726b63e14054ad827494311
5
5
  SHA512:
6
- metadata.gz: 26d7e63a270feaeb099c1b2f3a94993bc0b06946bf09827d38e6161d748105ac1f1e0efd50c2207e86b5ef67fda4faf86c7323ae25d5b4f5a9166f72438cb897
7
- data.tar.gz: bf2f70316d9176f6066f24533e1239d203c2bcf8063b3e3e3d3e7c2c37650ad1f244d10965b68369d8d77618eeafacc4a64bfb6fc6d3fe16ea119b74ecef3d42
6
+ metadata.gz: f284b04b033d2d17fcc51c03d367e45b35b45e0172c1d65f79c31f728f15ab990f39422609dca01148b4a9cb1da3538dfe1a3c0b6a4a2910785b28252f95d6cc
7
+ data.tar.gz: 8ff04a6ec36d7466aadcdd2b07b37683addf4dacb172e27a988396444a5ea59b5f4ffa928eadb0ffa83f1090e05ed9856678ed5d83a1d6bb39daec110d675a06
data/CHANGES.md CHANGED
@@ -2,6 +2,21 @@ Changes
2
2
  =======
3
3
 
4
4
 
5
+ Release 1.0.0 (2021-10-02)
6
+ ---------------------------
7
+
8
+ * Download performance improved.
9
+ * New CDN `unpkg` supported.
10
+ * Change `jsdelivr` CDN to use new jsdelivr API.
11
+ * Detect latest version of JS library automatically when `latest` keyword specified as version.
12
+ * Increase output information of JS library.
13
+ - license
14
+ - tags
15
+ - page url on CDN web site
16
+ - url of npm package (`*.tgz`)
17
+ * Add '--debug' option.
18
+
19
+
5
20
  Release 0.3.1 (2021-09-30)
6
21
  ---------------------------
7
22
 
data/README.md CHANGED
@@ -1,9 +1,9 @@
1
1
  CDNget
2
2
  ======
3
3
 
4
- ($Release: 0.3.1 $)
4
+ ($Release: 1.0.0 $)
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
- * [_] change to call api.cdnjs.com
44
+ * [x] change to call api.cdnjs.com
45
+ * [x] support <https://unpkg.com/>
44
46
 
45
47
 
46
48
  Copyright and License
data/Rakefile CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  ###
4
4
 
5
- RELEASE = '$Release: 0.3.1 $'.split()[1]
5
+ RELEASE = '$Release: 1.0.0 $'.split()[1]
6
6
  COPYRIGHT = 'copyright(c) 2016 kuwata-lab.com all rights reserved'
7
7
  LICENSE = 'MIT License'
8
8