Piggy 0.5.0.0 → 0.5.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. data/CHANGES.txt +31 -0
  2. data/README.txt +3 -5
  3. data/lib/icons/gallery.jpg +0 -0
  4. data/lib/piggy-core/album.rb +8 -0
  5. data/lib/piggy-core/exifr_adapter.rb +10 -2
  6. data/lib/piggy-core/file_info.rb +6 -1
  7. data/lib/piggy-core/options.rb +21 -3
  8. data/lib/piggy-core/rmagick_thumbnail_page_generator.rb +8 -7
  9. data/lib/piggy-core/thumbnail_generator.rb +1 -1
  10. data/lib/piggy-core/thumbnail_page_generator.rb +12 -4
  11. data/lib/piggy-core/version.rb +2 -2
  12. data/lib/piggy-gui/directory_diff_widget.rb +12 -8
  13. data/lib/piggy-gui/filtered_file_list.rb +6 -1
  14. data/lib/piggy-gui/ftp_browser_widget.rb +4 -3
  15. data/lib/piggy-gui/html_generation_dialog.rb +2 -0
  16. data/lib/piggy-gui/html_options_widget.rb +27 -4
  17. data/lib/piggy-gui/image_processor.rb +3 -2
  18. data/lib/piggy-gui/options_dialog.rb +52 -13
  19. data/lib/piggy-gui/piggy_image_browser.rb +134 -15
  20. data/lib/templates/PiggyFX.jar +0 -0
  21. data/lib/templates/PiggyFX.jnlp +2 -2
  22. data/lib/templates/PiggyFX_browser.jnlp +2 -2
  23. data/lib/templates/javafx.htm +2 -2
  24. data/lib/templates/slideshow.htm +12 -3
  25. data/lib/templates/slideshow.js +5 -0
  26. data/lib/templates/styles/candle/kerze-160x213.png +0 -0
  27. data/lib/templates/styles/candle/style.css +73 -0
  28. data/lib/templates/styles/cappuccinoheart/cappuccino-300x225.png +0 -0
  29. data/lib/templates/styles/cappuccinoheart/cappuccinoheart-80x81.png +0 -0
  30. data/lib/templates/styles/cappuccinoheart/style.css +81 -0
  31. data/lib/templates/styles/feuerzangenbowle/feuerzangenbowle.jpg +0 -0
  32. data/lib/templates/styles/feuerzangenbowle/sh.png +0 -0
  33. data/lib/templates/styles/feuerzangenbowle/style.css +79 -0
  34. data/lib/templates/styles/glitterballs/christbaum-detail.png +0 -0
  35. data/lib/templates/styles/glitterballs/christbaumkugel-120x155-multi.png +0 -0
  36. data/lib/templates/styles/glitterballs/christbaumkugel-120x155.png +0 -0
  37. data/lib/templates/styles/glitterballs/style.css +86 -0
  38. data/lib/templates/styles/qualle/qualle.jpg +0 -0
  39. data/lib/templates/styles/qualle/style.css +73 -0
  40. data/lib/templates/styles/snow/sitzgruppe-im-schnee-300x225.png +0 -0
  41. data/lib/templates/styles/snow/style.css +76 -0
  42. data/lib/templates/styles/snowman/snowman.png +0 -0
  43. data/lib/templates/styles/snowman/style.css +73 -0
  44. data/lib/templates/styles/snowwoman/snowwomen.png +0 -0
  45. data/lib/templates/styles/snowwoman/style.css +73 -0
  46. data/lib/templates/styles/sylvester/fireworks.png +0 -0
  47. data/lib/templates/styles/sylvester/gluecksklee-375x500.png +0 -0
  48. data/lib/templates/styles/sylvester/style.css +7 -9
  49. data/lib/templates/styles/sylvester/wunderkerze.gif +0 -0
  50. metadata +64 -33
  51. data/lib/templates/styles/sylvester/wunderkerze.jpg +0 -0
@@ -0,0 +1,73 @@
1
+ body {
2
+ text-align: center;
3
+ color: white;
4
+ background: #000A2F url(qualle.jpg) no-repeat top left;
5
+ }
6
+
7
+ a {
8
+ color: yellow
9
+ }
10
+
11
+ #toslides span {
12
+ margin-left: 1.2em;
13
+ padding: 0.1em;
14
+ }
15
+
16
+ .image_page a {
17
+ margin: 10px;
18
+ }
19
+
20
+ .thumbs dl.table {
21
+ padding-left: 84px;
22
+ }
23
+
24
+ div {
25
+ margin:0;
26
+ padding:0;
27
+ }
28
+
29
+ dl, table.table {
30
+ margin-left: auto;
31
+ margin-right: auto;
32
+ max-width: 800px;
33
+ }
34
+
35
+ /* no max-width in IE < 7 */
36
+ * html dl {
37
+ width: 800px;
38
+ }
39
+
40
+ dd {
41
+ margin: 0px;
42
+ padding: 0;
43
+ width: 128px;
44
+ height: 128px;
45
+ float: left;
46
+ vertical-align: middle;
47
+ text-align: center;
48
+ }
49
+
50
+ .thumb p {
51
+ margin:0;
52
+ padding:0;
53
+ }
54
+
55
+ .thumb p a {
56
+ display: block;
57
+ padding: 0px;
58
+ padding-right: 28px;
59
+ padding-bottom: 28px;
60
+ }
61
+
62
+ .thumb p a img {
63
+ border:none;
64
+ }
65
+
66
+ .image_page img {
67
+ max-width: 100%;
68
+ }
69
+
70
+ /* IE 6 image height */
71
+ * html .thumb p a {
72
+ padding-bottom: 24px;
73
+ }
@@ -0,0 +1,76 @@
1
+ body {
2
+ text-align: center;
3
+ color: black;
4
+ background: #aebfd3 url(sitzgruppe-im-schnee-300x225.png) no-repeat -10px -40px;
5
+ font: georgia, Nimbus Roman No9 L, Century Schoolbook L, sans-serif;
6
+ }
7
+
8
+ body.thumbs {
9
+ text-align:left;
10
+ }
11
+
12
+ .thumbs h3, .thumbs .navigation {
13
+ padding-left: 300px;
14
+ }
15
+
16
+ a {
17
+ color:brown;
18
+ }
19
+
20
+ #toslides span {
21
+ margin-left: 1.2em;
22
+ padding: 0.1em;
23
+ }
24
+
25
+ .image_page a {
26
+ margin: 10px;
27
+ }
28
+
29
+ .thumbs .navigation {
30
+ padding-bottom: 80px;
31
+ }
32
+
33
+ div {
34
+ margin:0;
35
+ padding:0;
36
+ }
37
+
38
+ dl, table.table {
39
+ margin-left: auto;
40
+ margin-right: auto;
41
+ }
42
+
43
+ dd {
44
+ margin: 0px;
45
+ padding: 0px;
46
+ height: 116px;
47
+ height: 116px;
48
+ float: left;
49
+ vertical-align: middle;
50
+ text-align: center;
51
+ }
52
+
53
+ .thumb p {
54
+ margin:0;
55
+ padding:0;
56
+ }
57
+
58
+ .thumb p a {
59
+ display: block;
60
+ padding: 0px;
61
+ padding-right: 6px;
62
+ padding-bottom: 6px;
63
+ }
64
+
65
+ img {
66
+ border: solid brown 2px;
67
+ }
68
+
69
+ .image_page img {
70
+ max-width: 100%;
71
+ }
72
+
73
+ /* IE 6 image height */
74
+ * html .thumb p a {
75
+ padding-bottom: 2px;
76
+ }
@@ -0,0 +1,73 @@
1
+ body {
2
+ text-align: center;
3
+ color: white;
4
+ background: black;
5
+ }
6
+
7
+ body.thumbs {
8
+ background: black url(snowman.png) no-repeat -120px -60px;
9
+ }
10
+
11
+ a {
12
+ color:yellow;
13
+ }
14
+
15
+ #toslides span {
16
+ margin-left: 1.2em;
17
+ padding: 0.1em;
18
+ }
19
+
20
+ .image_page a {
21
+ margin: 10px;
22
+ }
23
+
24
+ .thumbs dl.table {
25
+ padding-left: 230px;
26
+ }
27
+
28
+ div {
29
+ margin:0;
30
+ padding:0;
31
+ }
32
+
33
+ dl, table.table {
34
+ margin-left: auto;
35
+ margin-right: auto;
36
+ }
37
+
38
+ dd {
39
+ margin: 0px;
40
+ padding: 0;
41
+ width: 116px;
42
+ height: 116px;
43
+ float: left;
44
+ vertical-align: middle;
45
+ text-align: center;
46
+ }
47
+
48
+ .thumb p {
49
+ margin:0;
50
+ padding:0;
51
+ }
52
+
53
+ .thumb p a {
54
+ display: block;
55
+ padding: 0px;
56
+ padding-right: 6px;
57
+ padding-bottom: 6px;
58
+ }
59
+
60
+ img {
61
+ border: solid white 3px;
62
+ border-right: solid gray 3px;
63
+ border-bottom: solid gray 3px;
64
+ }
65
+
66
+ .image_page img {
67
+ max-width: 100%;
68
+ }
69
+
70
+ /* IE 6 image height */
71
+ * html .thumb p a {
72
+ padding-bottom: 2px;
73
+ }
@@ -0,0 +1,73 @@
1
+ body {
2
+ text-align: center;
3
+ color: white;
4
+ background: black;
5
+ }
6
+
7
+ body.thumbs {
8
+ background: black url(snowwomen.png) no-repeat;
9
+ }
10
+
11
+ a {
12
+ color:yellow;
13
+ }
14
+
15
+ #toslides span {
16
+ margin-left: 1.2em;
17
+ padding: 0.1em;
18
+ }
19
+
20
+ .image_page a {
21
+ margin: 10px;
22
+ }
23
+
24
+ .thumbs dl.table {
25
+ padding-left: 230px;
26
+ }
27
+
28
+ div {
29
+ margin:0;
30
+ padding:0;
31
+ }
32
+
33
+ dl, table.table {
34
+ margin-left: auto;
35
+ margin-right: auto;
36
+ }
37
+
38
+ dd {
39
+ margin: 0px;
40
+ padding: 0;
41
+ width: 116px;
42
+ height: 116px;
43
+ float: left;
44
+ vertical-align: middle;
45
+ text-align: center;
46
+ }
47
+
48
+ .thumb p {
49
+ margin:0;
50
+ padding:0;
51
+ }
52
+
53
+ .thumb p a {
54
+ display: block;
55
+ padding: 0px;
56
+ padding-right: 6px;
57
+ padding-bottom: 6px;
58
+ }
59
+
60
+ img {
61
+ border: solid white 3px;
62
+ border-right: solid gray 3px;
63
+ border-bottom: solid gray 3px;
64
+ }
65
+
66
+ .image_page img {
67
+ max-width: 100%;
68
+ }
69
+
70
+ /* IE 6 image height */
71
+ * html .thumb p a {
72
+ padding-bottom: 2px;
73
+ }
@@ -1,11 +1,11 @@
1
1
  body {
2
2
  text-align: center;
3
3
  color: white;
4
- background: black;
4
+ background: black url(fireworks.png) top left no-repeat;
5
5
  }
6
6
 
7
7
  body.thumbs {
8
- background: black url(wunderkerze.jpg) no-repeat bottom right;
8
+ background: black url(gluecksklee-375x500.png) no-repeat;
9
9
  min-height:600px; /* improves Opera 9 image positioning */
10
10
  }
11
11
 
@@ -22,19 +22,17 @@ a {
22
22
  margin: 10px;
23
23
  }
24
24
 
25
- .thumbs dl.table {
26
- padding-left: 84px;
27
- }
28
-
29
25
  div {
30
26
  margin:0;
31
27
  padding:0;
32
28
  }
33
29
 
34
30
  dl, table.table {
35
- margin-left: auto;
36
- margin-right: auto;
37
- max-width: 600px;
31
+ margin-left: 250px;
32
+ padding-right: 250px;
33
+ padding-bottom: 200px;
34
+ float: left;
35
+ background: transparent url(wunderkerze.gif) bottom right no-repeat;
38
36
  }
39
37
 
40
38
  /* no max-width in IE < 7 */
metadata CHANGED
@@ -1,39 +1,54 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Piggy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0.0
4
+ hash: 103
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 5
9
+ - 1
10
+ - 2
11
+ version: 0.5.1.2
5
12
  platform: ruby
6
13
  authors:
7
- - "Sascha D\xF6rdelmann"
14
+ - Sascha Doerdelmann
8
15
  autorequire:
9
16
  bindir: bin
10
17
  cert_chain: []
11
18
 
12
- date: 2009-06-20 00:00:00 +02:00
19
+ date: 2011-01-16 00:00:00 +01:00
13
20
  default_executable:
14
21
  dependencies:
15
22
  - !ruby/object:Gem::Dependency
16
23
  name: rubyzip
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
24
+ prerelease: false
25
+ requirement: &id001 !ruby/object:Gem::Requirement
26
+ none: false
20
27
  requirements:
21
28
  - - ">="
22
29
  - !ruby/object:Gem::Version
30
+ hash: 3
31
+ segments:
32
+ - 0
23
33
  version: "0"
24
- version:
34
+ type: :runtime
35
+ version_requirements: *id001
25
36
  - !ruby/object:Gem::Dependency
26
37
  name: exifr
27
- type: :runtime
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
38
+ prerelease: false
39
+ requirement: &id002 !ruby/object:Gem::Requirement
40
+ none: false
30
41
  requirements:
31
42
  - - ">="
32
43
  - !ruby/object:Gem::Version
44
+ hash: 3
45
+ segments:
46
+ - 0
33
47
  version: "0"
34
- version:
48
+ type: :runtime
49
+ version_requirements: *id002
35
50
  description:
36
- email: wsdngatrubyforge at hinterkattentuffel.de
51
+ email: wsdngatrubyforge@hinterkattentuffel.de
37
52
  executables:
38
53
  - directory_diff
39
54
  - ftp_browser
@@ -43,16 +58,13 @@ extensions: []
43
58
  extra_rdoc_files: []
44
59
 
45
60
  files:
46
- - bin
47
61
  - bin/directory_diff
48
62
  - bin/ftp_browser
49
63
  - bin/piggy
50
64
  - CHANGES.txt
51
65
  - INSTALL.txt
52
- - lib
53
66
  - lib/directory_diff.rb
54
67
  - lib/ftp_browser.rb
55
- - lib/icons
56
68
  - lib/icons/auto-select-for-del.ico
57
69
  - lib/icons/auto-select-right.ico
58
70
  - lib/icons/auto-upload-right.ico
@@ -68,6 +80,7 @@ files:
68
80
  - lib/icons/filesave.ico
69
81
  - lib/icons/fullscreen.ico
70
82
  - lib/icons/gallery.ico
83
+ - lib/icons/gallery.jpg
71
84
  - lib/icons/generate.ico
72
85
  - lib/icons/hide_details.ico
73
86
  - lib/icons/minus.png
@@ -89,7 +102,7 @@ files:
89
102
  - lib/icons/unchecked.ico
90
103
  - lib/icons/upload-selected.ico
91
104
  - lib/icons/upload.ico
92
- - lib/piggy-core
105
+ - lib/piggy-core/album.rb
93
106
  - lib/piggy-core/alive_check.rb
94
107
  - lib/piggy-core/debug.rb
95
108
  - lib/piggy-core/encoding.rb
@@ -108,7 +121,6 @@ files:
108
121
  - lib/piggy-core/upload_info.rb
109
122
  - lib/piggy-core/version.rb
110
123
  - lib/piggy-core/winshell.rb
111
- - lib/piggy-gui
112
124
  - lib/piggy-gui/directory_diff_widget.rb
113
125
  - lib/piggy-gui/dir_chooser.rb
114
126
  - lib/piggy-gui/filtered_file_list.rb
@@ -126,7 +138,6 @@ files:
126
138
  - lib/piggy-gui/progress_with_dialog.rb
127
139
  - lib/piggy-gui/require-fox.rb
128
140
  - lib/piggy.rb
129
- - lib/templates
130
141
  - lib/templates/fuss.htm
131
142
  - lib/templates/javafx.htm
132
143
  - lib/templates/kopf.htm
@@ -136,75 +147,95 @@ files:
136
147
  - lib/templates/PiggyFX_browser.jnlp
137
148
  - lib/templates/slideshow.htm
138
149
  - lib/templates/slideshow.js
139
- - lib/templates/styles
140
- - lib/templates/styles/basic
141
150
  - lib/templates/styles/basic/style.css
142
- - lib/templates/styles/black
143
151
  - lib/templates/styles/black/style.css
144
- - lib/templates/styles/roundedbox
152
+ - lib/templates/styles/candle/kerze-160x213.png
153
+ - lib/templates/styles/candle/style.css
154
+ - lib/templates/styles/cappuccinoheart/cappuccino-300x225.png
155
+ - lib/templates/styles/cappuccinoheart/cappuccinoheart-80x81.png
156
+ - lib/templates/styles/cappuccinoheart/style.css
157
+ - lib/templates/styles/feuerzangenbowle/feuerzangenbowle.jpg
158
+ - lib/templates/styles/feuerzangenbowle/sh.png
159
+ - lib/templates/styles/feuerzangenbowle/style.css
160
+ - lib/templates/styles/glitterballs/christbaum-detail.png
161
+ - lib/templates/styles/glitterballs/christbaumkugel-120x155-multi.png
162
+ - lib/templates/styles/glitterballs/christbaumkugel-120x155.png
163
+ - lib/templates/styles/glitterballs/style.css
164
+ - lib/templates/styles/qualle/qualle.jpg
165
+ - lib/templates/styles/qualle/style.css
145
166
  - lib/templates/styles/roundedbox/roundedbox_lo.gif
146
167
  - lib/templates/styles/roundedbox/roundedbox_lu.gif
147
168
  - lib/templates/styles/roundedbox/roundedbox_ro.gif
148
169
  - lib/templates/styles/roundedbox/roundedbox_ru.gif
149
170
  - lib/templates/styles/roundedbox/style.css
150
- - lib/templates/styles/shadow
151
171
  - lib/templates/styles/shadow/lo.gif
152
172
  - lib/templates/styles/shadow/lu.gif
153
173
  - lib/templates/styles/shadow/ro.gif
154
174
  - lib/templates/styles/shadow/ru.gif
155
175
  - lib/templates/styles/shadow/style.css
156
- - lib/templates/styles/shadow_black
157
176
  - lib/templates/styles/shadow_black/lo.jpg
158
177
  - lib/templates/styles/shadow_black/lu.jpg
159
178
  - lib/templates/styles/shadow_black/ro.jpg
160
179
  - lib/templates/styles/shadow_black/ru.jpg
161
180
  - lib/templates/styles/shadow_black/style.css
162
- - lib/templates/styles/shadow_bowers
163
181
  - lib/templates/styles/shadow_bowers/shadow-lb.jpg
164
182
  - lib/templates/styles/shadow_bowers/shadow-rt.jpg
165
183
  - lib/templates/styles/shadow_bowers/shadow.jpg
166
184
  - lib/templates/styles/shadow_bowers/style.css
167
- - lib/templates/styles/shadow_D9F5F3
168
185
  - lib/templates/styles/shadow_D9F5F3/lo.jpg
169
186
  - lib/templates/styles/shadow_D9F5F3/lu.jpg
170
187
  - lib/templates/styles/shadow_D9F5F3/ro.jpg
171
188
  - lib/templates/styles/shadow_D9F5F3/ru.jpg
172
189
  - lib/templates/styles/shadow_D9F5F3/style.css
173
- - lib/templates/styles/sylvester
190
+ - lib/templates/styles/snow/sitzgruppe-im-schnee-300x225.png
191
+ - lib/templates/styles/snow/style.css
192
+ - lib/templates/styles/snowman/snowman.png
193
+ - lib/templates/styles/snowman/style.css
194
+ - lib/templates/styles/snowwoman/snowwomen.png
195
+ - lib/templates/styles/snowwoman/style.css
196
+ - lib/templates/styles/sylvester/fireworks.png
197
+ - lib/templates/styles/sylvester/gluecksklee-375x500.png
174
198
  - lib/templates/styles/sylvester/sh.png
175
199
  - lib/templates/styles/sylvester/style.css
176
- - lib/templates/styles/sylvester/wunderkerze.jpg
200
+ - lib/templates/styles/sylvester/wunderkerze.gif
177
201
  - LICENCE.txt
178
202
  - README.txt
179
- - test
180
203
  - test/file_info_test.rb
181
204
  - test.rb
182
205
  - UNINSTALL.txt
183
206
  has_rdoc: true
184
207
  homepage: http://piggy.rubyforge.org
208
+ licenses: []
209
+
185
210
  post_install_message:
186
211
  rdoc_options: []
187
212
 
188
213
  require_paths:
189
214
  - lib
190
215
  required_ruby_version: !ruby/object:Gem::Requirement
216
+ none: false
191
217
  requirements:
192
218
  - - ">="
193
219
  - !ruby/object:Gem::Version
220
+ hash: 3
221
+ segments:
222
+ - 0
194
223
  version: "0"
195
- version:
196
224
  required_rubygems_version: !ruby/object:Gem::Requirement
225
+ none: false
197
226
  requirements:
198
227
  - - ">="
199
228
  - !ruby/object:Gem::Version
229
+ hash: 3
230
+ segments:
231
+ - 0
200
232
  version: "0"
201
- version:
202
233
  requirements: []
203
234
 
204
235
  rubyforge_project:
205
- rubygems_version: 1.3.1
236
+ rubygems_version: 1.4.2
206
237
  signing_key:
207
- specification_version: 2
238
+ specification_version: 3
208
239
  summary: (P)ick (i)mages and (g)enerate (g)alleries
209
240
  test_files:
210
241
  - test.rb