pupu 0.0.5 → 0.0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/pupu/dsl.rb +8 -4
- data/lib/pupu/version.rb +1 -1
- metadata +27 -13
data/lib/pupu/dsl.rb
CHANGED
@@ -54,8 +54,10 @@ module Pupu
|
|
54
54
|
if params[:if]
|
55
55
|
tag = "<!--[if #{params[:if]}]>" + tag + "<![endif]-->"
|
56
56
|
end
|
57
|
-
@files.
|
58
|
-
|
57
|
+
unless @files.include?(path)
|
58
|
+
@files.push(path)
|
59
|
+
@output.push(tag)
|
60
|
+
end
|
59
61
|
end
|
60
62
|
|
61
63
|
def stylesheet(basename, params = Hash.new)
|
@@ -67,8 +69,10 @@ module Pupu
|
|
67
69
|
if condition
|
68
70
|
tag = "<!--[if #{condition}]>" + tag + "<![endif]-->"
|
69
71
|
end
|
70
|
-
@files.
|
71
|
-
|
72
|
+
unless @files.include?(path)
|
73
|
+
@files.push(path)
|
74
|
+
@output.push(tag)
|
75
|
+
end
|
72
76
|
end
|
73
77
|
|
74
78
|
def javascripts(*names)
|
data/lib/pupu/version.rb
CHANGED
metadata
CHANGED
@@ -1,36 +1,46 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pupu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 0
|
8
|
+
- 5
|
9
|
+
- 1
|
10
|
+
version: 0.0.5.1
|
5
11
|
platform: ruby
|
6
12
|
authors:
|
7
13
|
- "Jakub \xC5\xA0\xC5\xA5astn\xC3\xBD aka Botanicus"
|
8
14
|
autorequire:
|
9
15
|
bindir: bin
|
10
16
|
cert_chain:
|
11
|
-
date: 2010-
|
17
|
+
date: 2010-03-31 00:00:00 +01:00
|
12
18
|
default_executable: pupu
|
13
19
|
dependencies:
|
14
20
|
- !ruby/object:Gem::Dependency
|
15
21
|
name: media-path
|
16
|
-
|
17
|
-
|
18
|
-
version_requirements: !ruby/object:Gem::Requirement
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
19
24
|
requirements:
|
20
25
|
- - ">="
|
21
26
|
- !ruby/object:Gem::Version
|
27
|
+
segments:
|
28
|
+
- 0
|
22
29
|
version: "0"
|
23
|
-
|
30
|
+
type: :runtime
|
31
|
+
version_requirements: *id001
|
24
32
|
- !ruby/object:Gem::Dependency
|
25
33
|
name: simple-templater
|
26
|
-
|
27
|
-
|
28
|
-
version_requirements: !ruby/object:Gem::Requirement
|
34
|
+
prerelease: false
|
35
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
29
36
|
requirements:
|
30
37
|
- - ">="
|
31
38
|
- !ruby/object:Gem::Version
|
39
|
+
segments:
|
40
|
+
- 0
|
32
41
|
version: "0"
|
33
|
-
|
42
|
+
type: :development
|
43
|
+
version_requirements: *id002
|
34
44
|
description: Pupu is a plugin system for media like mootools plugins, icon sets etc. It knows dependencies and it has CLI interface, so it's really easy to bundle such pupus into your app.
|
35
45
|
email: stastny@101ideas.cz
|
36
46
|
executables:
|
@@ -403,18 +413,22 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
403
413
|
requirements:
|
404
414
|
- - ~>
|
405
415
|
- !ruby/object:Gem::Version
|
416
|
+
segments:
|
417
|
+
- 1
|
418
|
+
- 9
|
419
|
+
- 1
|
406
420
|
version: 1.9.1
|
407
|
-
version:
|
408
421
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
409
422
|
requirements:
|
410
423
|
- - ">="
|
411
424
|
- !ruby/object:Gem::Version
|
425
|
+
segments:
|
426
|
+
- 0
|
412
427
|
version: "0"
|
413
|
-
version:
|
414
428
|
requirements: []
|
415
429
|
|
416
430
|
rubyforge_project: pupu
|
417
|
-
rubygems_version: 1.3.
|
431
|
+
rubygems_version: 1.3.6
|
418
432
|
signing_key:
|
419
433
|
specification_version: 3
|
420
434
|
summary: Framework-agnostic package system for media files
|