cdnget 0.2.0 → 1.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1a718ec89571144e9875b5a5c56bd3d44fdd81f5
4
- data.tar.gz: ea19fd364267826d4228a01caef8a4ebbb394cf1
3
+ metadata.gz: f08c962b34e126b4223544721dccd62fdfc242fc
4
+ data.tar.gz: f461d62a21806c43c138c17a0fc69fb3df5a2f6c
5
5
  SHA512:
6
- metadata.gz: e4e17f3ec24c1d84314890c7f54414e36365a75ee2a5478235be2410a80d97e319617a0e880d851a4acb9ef80282cdb1656ab3cae227304d34d67382a19083d7
7
- data.tar.gz: 2e84dda3e1866b128e526e8949555f1ca90ee3a28c5465323140fdb55b40df4542b6189eafce04665ff677b8a995d1707001c80908c86238dceeb4ea3e9e2c2b
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.2.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
- * [_] 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.2.0 $'.split()[1]
5
+ RELEASE = '$Release: 1.0.1 $'.split()[1]
6
6
  COPYRIGHT = 'copyright(c) 2016 kuwata-lab.com all rights reserved'
7
7
  LICENSE = 'MIT License'
8
8