galgen 0.1 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.textile +1 -1
- data/bin/galgen +2 -2
- metadata +4 -3
data/README.textile
CHANGED
@@ -2,4 +2,4 @@ p=. !http://dump.bitcheese.net/files/galgen.png!
|
|
2
2
|
|
3
3
|
GalGen is for Gallery Generator. It's written in Ruby and generates static HTML galleries from images and their descriptions.
|
4
4
|
|
5
|
-
More info here: http://bitcheese.net/wiki/code/galgen
|
5
|
+
More info here: "http://bitcheese.net/wiki/code/galgen":http://bitcheese.net/wiki/code/galgen
|
data/bin/galgen
CHANGED
@@ -161,7 +161,7 @@ class GalGen
|
|
161
161
|
full_uri = ([config[:http_base]] + ["images", "full"] + c_img[:gallery_path] + [c_img[:image_name]]).join("/")
|
162
162
|
entry.id(uri)
|
163
163
|
entry.link("href" => uri)
|
164
|
-
entry.content({"type" => "html"}, "<a href='#{
|
164
|
+
entry.content({"type" => "html"}, "<a href='#{full_uri}'><img src='#{img_uri}' /></a> #{c_img[:description]}")
|
165
165
|
end
|
166
166
|
end
|
167
167
|
end
|
@@ -301,7 +301,7 @@ class GalGen
|
|
301
301
|
full_uri = ([config[:http_base]] + ["images", "full"] + gallery_path + [c_img[:image_name]]).join("/")
|
302
302
|
entry.id(uri)
|
303
303
|
entry.link("href" => uri)
|
304
|
-
entry.content({"type" => "html"}, "<a href='#{
|
304
|
+
entry.content({"type" => "html"}, "<a href='#{full_uri}'><img src='#{img_uri}' /></a> #{c_img[:description]}")
|
305
305
|
end
|
306
306
|
end
|
307
307
|
end
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: galgen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Voker57
|
@@ -14,7 +15,7 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date: 2011-02-
|
18
|
+
date: 2011-02-28 00:00:00 +03:00
|
18
19
|
default_executable: galgen
|
19
20
|
dependencies:
|
20
21
|
- !ruby/object:Gem::Dependency
|