cdnjs-command 0.0.5 → 0.0.6
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.
- data/HISTORY.md +7 -5
- data/README.md +3 -1
- data/lib/cdnjs_command.rb +1 -1
- data/lib/cdnjs_command/package.rb +3 -3
- metadata +50 -30
data/HISTORY.md
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
v0.0.6 - Nov 07, 2011
|
|
2
|
+
---------------------
|
|
3
|
+
|
|
4
|
+
Fixed 1.8.7 compatibility.
|
|
5
|
+
|
|
1
6
|
v0.0.5 - Jul 24, 2011
|
|
2
7
|
---------------------
|
|
3
8
|
|
|
@@ -11,15 +16,12 @@ Calling `cdnjs` actually works now.
|
|
|
11
16
|
v0.0.3 - Apr 16, 2011
|
|
12
17
|
---------------------
|
|
13
18
|
|
|
14
|
-
|
|
15
|
-
* `gem install cdnjs-command` should now install the cdnjs executable
|
|
16
|
-
(@mehowte)
|
|
19
|
+
Using `gem install cdnjs-command` should now install the cdnjs executable. (@mehowte)
|
|
17
20
|
|
|
18
21
|
v0.0.2 - Mar 27, 2011
|
|
19
22
|
---------------------
|
|
20
23
|
|
|
21
|
-
|
|
22
|
-
* Fix `cdnjs url`
|
|
24
|
+
Fixed `cdnjs url`.
|
|
23
25
|
|
|
24
26
|
v0.0.1 - Mar 27, 2011
|
|
25
27
|
---------------------
|
data/README.md
CHANGED
data/lib/cdnjs_command.rb
CHANGED
|
@@ -31,9 +31,9 @@ class CdnjsCommand::Package
|
|
|
31
31
|
def self.all
|
|
32
32
|
packages = JSON.parse(fetch(INDEX_URL))['packages']
|
|
33
33
|
packages.delete(Hash.new)
|
|
34
|
-
packages
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
packages.
|
|
35
|
+
map { |hash| Package.new(hash) }.
|
|
36
|
+
sort_by { |pkg| pkg.name }
|
|
37
37
|
end
|
|
38
38
|
|
|
39
39
|
def self.fetch(url)
|
metadata
CHANGED
|
@@ -1,37 +1,47 @@
|
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cdnjs-command
|
|
3
|
-
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
hash: 19
|
|
5
5
|
prerelease:
|
|
6
|
+
segments:
|
|
7
|
+
- 0
|
|
8
|
+
- 0
|
|
9
|
+
- 6
|
|
10
|
+
version: 0.0.6
|
|
6
11
|
platform: ruby
|
|
7
|
-
authors:
|
|
12
|
+
authors:
|
|
8
13
|
- Rico Sta. Cruz
|
|
9
14
|
autorequire:
|
|
10
15
|
bindir: bin
|
|
11
16
|
cert_chain: []
|
|
12
|
-
|
|
17
|
+
|
|
18
|
+
date: 2011-11-07 00:00:00 +08:00
|
|
13
19
|
default_executable:
|
|
14
|
-
dependencies:
|
|
15
|
-
- !ruby/object:Gem::Dependency
|
|
20
|
+
dependencies:
|
|
21
|
+
- !ruby/object:Gem::Dependency
|
|
16
22
|
name: json
|
|
17
|
-
|
|
23
|
+
prerelease: false
|
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
|
18
25
|
none: false
|
|
19
|
-
requirements:
|
|
20
|
-
- -
|
|
21
|
-
- !ruby/object:Gem::Version
|
|
22
|
-
|
|
26
|
+
requirements:
|
|
27
|
+
- - ">="
|
|
28
|
+
- !ruby/object:Gem::Version
|
|
29
|
+
hash: 3
|
|
30
|
+
segments:
|
|
31
|
+
- 0
|
|
32
|
+
version: "0"
|
|
23
33
|
type: :runtime
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
command, thanks to www.cdnjs.com.
|
|
28
|
-
email:
|
|
34
|
+
version_requirements: *id001
|
|
35
|
+
description: This package lets you download the popular JavaScript packages with one command, thanks to www.cdnjs.com.
|
|
36
|
+
email:
|
|
29
37
|
- rico@sinefunc.com
|
|
30
|
-
executables:
|
|
38
|
+
executables:
|
|
31
39
|
- cdnjs
|
|
32
40
|
extensions: []
|
|
41
|
+
|
|
33
42
|
extra_rdoc_files: []
|
|
34
|
-
|
|
43
|
+
|
|
44
|
+
files:
|
|
35
45
|
- bin/cdnjs
|
|
36
46
|
- lib/cdnjs_command/fetcher.rb
|
|
37
47
|
- lib/cdnjs_command/helpers.rb
|
|
@@ -43,26 +53,36 @@ files:
|
|
|
43
53
|
has_rdoc: true
|
|
44
54
|
homepage: http://github.com/rstacruz/cdnjs-command
|
|
45
55
|
licenses: []
|
|
56
|
+
|
|
46
57
|
post_install_message:
|
|
47
58
|
rdoc_options: []
|
|
48
|
-
|
|
59
|
+
|
|
60
|
+
require_paths:
|
|
49
61
|
- lib
|
|
50
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
51
63
|
none: false
|
|
52
|
-
requirements:
|
|
53
|
-
- -
|
|
54
|
-
- !ruby/object:Gem::Version
|
|
55
|
-
|
|
56
|
-
|
|
64
|
+
requirements:
|
|
65
|
+
- - ">="
|
|
66
|
+
- !ruby/object:Gem::Version
|
|
67
|
+
hash: 3
|
|
68
|
+
segments:
|
|
69
|
+
- 0
|
|
70
|
+
version: "0"
|
|
71
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
57
72
|
none: false
|
|
58
|
-
requirements:
|
|
59
|
-
- -
|
|
60
|
-
- !ruby/object:Gem::Version
|
|
61
|
-
|
|
73
|
+
requirements:
|
|
74
|
+
- - ">="
|
|
75
|
+
- !ruby/object:Gem::Version
|
|
76
|
+
hash: 3
|
|
77
|
+
segments:
|
|
78
|
+
- 0
|
|
79
|
+
version: "0"
|
|
62
80
|
requirements: []
|
|
81
|
+
|
|
63
82
|
rubyforge_project:
|
|
64
83
|
rubygems_version: 1.6.2
|
|
65
84
|
signing_key:
|
|
66
85
|
specification_version: 3
|
|
67
86
|
summary: Command line helper for cdnjs.com.
|
|
68
87
|
test_files: []
|
|
88
|
+
|