pupu 0.0.5.3 → 0.0.5.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/pupu/tasks/pupu.nake +52 -0
- data/lib/pupu/version.rb +1 -1
- metadata +15 -5
@@ -0,0 +1,52 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
autoload "Pupu", "pupu/cli"
|
4
|
+
|
5
|
+
# == Setup ==
|
6
|
+
# task "pupu:setup" => :environment
|
7
|
+
Task.new("pupu:setup") do |task|
|
8
|
+
task.hidden = true
|
9
|
+
task.define do
|
10
|
+
require "pupu/cli"
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
Task.new("pupu:install") do |task|
|
15
|
+
task.description = "Install given packages"
|
16
|
+
task.dependencies << "pupu:setup"
|
17
|
+
task.define do |*names|
|
18
|
+
Pupu::CLI.install(*names)
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
Task.new("pupu:uninstall") do |task|
|
23
|
+
task.description = "Uninstall given packages"
|
24
|
+
task.dependencies << "pupu:setup"
|
25
|
+
task.define do |*names|
|
26
|
+
Pupu::CLI.uninstall(*names)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
Task.new("pupu:update") do |task|
|
31
|
+
task.description = "Update given packages. If no name is given, update all of them."
|
32
|
+
task.dependencies << "pupu:setup"
|
33
|
+
task.define do |*names|
|
34
|
+
Pupu::CLI.update(*names)
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
Task.new("pupu:list") do |task|
|
39
|
+
task.description = "List all installed packages."
|
40
|
+
task.dependencies << "pupu:setup"
|
41
|
+
task.define do
|
42
|
+
Pupu::CLI.list
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
Task.new("pupu:search") do |task|
|
47
|
+
task.description = "Search pupu matching given pattern on GitHub"
|
48
|
+
task.dependencies << "pupu:setup"
|
49
|
+
task.define do |pattern|
|
50
|
+
Pupu::CLI.search(pattern)
|
51
|
+
end
|
52
|
+
end
|
data/lib/pupu/version.rb
CHANGED
metadata
CHANGED
@@ -1,29 +1,32 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pupu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 83
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 0
|
8
9
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.0.5.
|
10
|
+
- 4
|
11
|
+
version: 0.0.5.4
|
11
12
|
platform: ruby
|
12
13
|
authors:
|
13
14
|
- "Jakub \xC5\xA0\xC5\xA5astn\xC3\xBD aka Botanicus"
|
14
15
|
autorequire:
|
15
16
|
bindir: bin
|
16
17
|
cert_chain:
|
17
|
-
date: 2010-
|
18
|
+
date: 2010-11-01 00:00:00 +00:00
|
18
19
|
default_executable: pupu
|
19
20
|
dependencies:
|
20
21
|
- !ruby/object:Gem::Dependency
|
21
22
|
name: media-path
|
22
23
|
prerelease: false
|
23
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
24
26
|
requirements:
|
25
27
|
- - ">="
|
26
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 3
|
27
30
|
segments:
|
28
31
|
- 0
|
29
32
|
version: "0"
|
@@ -33,9 +36,11 @@ dependencies:
|
|
33
36
|
name: simple-templater
|
34
37
|
prerelease: false
|
35
38
|
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
36
40
|
requirements:
|
37
41
|
- - ">="
|
38
42
|
- !ruby/object:Gem::Version
|
43
|
+
hash: 3
|
39
44
|
segments:
|
40
45
|
- 0
|
41
46
|
version: "0"
|
@@ -344,6 +349,7 @@ files:
|
|
344
349
|
- lib/pupu/metadata.rb
|
345
350
|
- lib/pupu/parser.rb
|
346
351
|
- lib/pupu/pupu.rb
|
352
|
+
- lib/pupu/tasks/pupu.nake
|
347
353
|
- lib/pupu/tasks/pupu.rake
|
348
354
|
- lib/pupu/tasks/pupu.thor
|
349
355
|
- lib/pupu/version.rb
|
@@ -404,31 +410,35 @@ has_rdoc: true
|
|
404
410
|
homepage: http://github.com/botanicus/pupu
|
405
411
|
licenses: []
|
406
412
|
|
407
|
-
post_install_message:
|
413
|
+
post_install_message:
|
408
414
|
rdoc_options: []
|
409
415
|
|
410
416
|
require_paths:
|
411
417
|
- lib
|
412
418
|
required_ruby_version: !ruby/object:Gem::Requirement
|
419
|
+
none: false
|
413
420
|
requirements:
|
414
421
|
- - ~>
|
415
422
|
- !ruby/object:Gem::Version
|
423
|
+
hash: 49
|
416
424
|
segments:
|
417
425
|
- 1
|
418
426
|
- 9
|
419
427
|
- 1
|
420
428
|
version: 1.9.1
|
421
429
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
430
|
+
none: false
|
422
431
|
requirements:
|
423
432
|
- - ">="
|
424
433
|
- !ruby/object:Gem::Version
|
434
|
+
hash: 3
|
425
435
|
segments:
|
426
436
|
- 0
|
427
437
|
version: "0"
|
428
438
|
requirements: []
|
429
439
|
|
430
440
|
rubyforge_project: pupu
|
431
|
-
rubygems_version: 1.3.
|
441
|
+
rubygems_version: 1.3.7
|
432
442
|
signing_key:
|
433
443
|
specification_version: 3
|
434
444
|
summary: Framework-agnostic package system for media files
|