plupload-rails3 0.0.5 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. data/README.md +2 -1
  2. data/lib/app/controllers/plupload_rails_controller.rb +23 -23
  3. data/lib/app/helpers/plupload_helper.rb +6 -4
  4. data/lib/app/middleware/plupload_params_renamer.rb +9 -4
  5. data/lib/app/views/plupload/_uploader_scripts.html.erb +3 -4
  6. data/lib/plupload-rails3/asset_mover.rb +3 -3
  7. data/lib/plupload-rails3/version.rb +1 -1
  8. data/lib/public/images/plupload-rails3/plupload/throbber.gif +0 -0
  9. data/lib/public/javascripts/plupload-rails3/plupload/js/i18n/cs.js +14 -0
  10. data/lib/public/javascripts/plupload-rails3/plupload/js/i18n/da.js +12 -0
  11. data/lib/public/javascripts/plupload-rails3/plupload/js/i18n/de.js +25 -0
  12. data/lib/public/javascripts/plupload-rails3/plupload/js/i18n/es.js +25 -0
  13. data/lib/public/javascripts/plupload-rails3/plupload/js/i18n/fi.js +33 -0
  14. data/lib/public/javascripts/plupload-rails3/plupload/js/i18n/fr.js +25 -0
  15. data/lib/public/javascripts/plupload-rails3/plupload/js/i18n/it.js +21 -0
  16. data/lib/public/javascripts/plupload-rails3/plupload/js/i18n/ja.js +37 -0
  17. data/lib/public/javascripts/plupload-rails3/plupload/js/i18n/lv.js +33 -0
  18. data/lib/public/javascripts/plupload-rails3/plupload/js/i18n/nl.js +21 -0
  19. data/lib/public/javascripts/plupload-rails3/plupload/js/i18n/pt-br.js +35 -0
  20. data/lib/public/javascripts/plupload-rails3/plupload/js/i18n/ru.js +21 -0
  21. data/lib/public/javascripts/plupload-rails3/plupload/js/i18n/sv.js +12 -0
  22. data/lib/public/javascripts/plupload-rails3/plupload/js/jquery.plupload.queue/jquery.plupload.queue.js +1 -1
  23. data/lib/public/javascripts/plupload-rails3/plupload/js/jquery.ui.plupload/css/jquery.ui.plupload.css +8 -0
  24. data/lib/public/javascripts/plupload-rails3/plupload/js/jquery.ui.plupload/jquery.ui.plupload.js +1 -1
  25. data/lib/public/javascripts/plupload-rails3/plupload/js/plupload.browserplus.js +1 -1
  26. data/lib/public/javascripts/plupload-rails3/plupload/js/plupload.flash.js +1 -1
  27. data/lib/public/javascripts/plupload-rails3/plupload/js/plupload.flash.swf +0 -0
  28. data/lib/public/javascripts/plupload-rails3/plupload/js/plupload.full.js +2 -2
  29. data/lib/public/javascripts/plupload-rails3/plupload/js/plupload.gears.js +1 -1
  30. data/lib/public/javascripts/plupload-rails3/plupload/js/plupload.html4.js +1 -1
  31. data/lib/public/javascripts/plupload-rails3/plupload/js/plupload.html5.js +1 -1
  32. data/lib/public/javascripts/plupload-rails3/plupload/js/plupload.js +2 -2
  33. data/lib/public/javascripts/plupload-rails3/plupload/js/plupload.silverlight.js +1 -1
  34. data/lib/public/javascripts/plupload-rails3/plupload/js/plupload.silverlight.xap +0 -0
  35. data/lib/public/stylesheets/plupload-rails3/plupload.queue.3.1.css +177 -171
  36. data/lib/public/stylesheets/plupload-rails3/plupload.queue.css +177 -171
  37. metadata +16 -4
@@ -1,171 +1,177 @@
1
- /*
2
- Plupload
3
- ------------------------------------------------------------------- */
4
-
5
- .plupload_button {
6
- display: -moz-inline-box; /* FF < 3*/
7
- display: inline-block;
8
- font: normal 12px sans-serif;
9
- text-decoration: none;
10
- color: #42454a;
11
- border: 1px solid #bababa;
12
- padding: 2px 8px 3px 20px;
13
- margin-right: 4px;
14
- background: #f3f3f3 url('/images/plupload-rails3/plupload/buttons.png') no-repeat 0 center;
15
- outline: 0;
16
-
17
- /* Optional rounded corners for browsers that support it */
18
- -moz-border-radius: 3px;
19
- -khtml-border-radius: 3px;
20
- -webkit-border-radius: 3px;
21
- border-radius: 3px;
22
- }
23
-
24
- .plupload_button:hover {
25
- color: #000;
26
- text-decoration: none;
27
- }
28
-
29
- .plupload_disabled, a.plupload_disabled:hover {
30
- color: #737373;
31
- border-color: #c5c5c5;
32
- background: #ededed url('/images/plupload-rails3/plupload/buttons-disabled.png') no-repeat 0 center;
33
- cursor: default;
34
- }
35
-
36
- .plupload_add {
37
- background-position: -181px center;
38
- }
39
-
40
- .plupload_wrapper {
41
- font: normal 11px Verdana,sans-serif;
42
- width: 100%;
43
- }
44
-
45
- .plupload_container {
46
- padding: 8px;
47
- background: url('/images/plupload-rails3/plupload/transp50.png');
48
- /*-moz-border-radius: 5px;*/
49
- }
50
-
51
- .plupload_header {background: #2A2C2E url('/images/plupload-rails3/plupload/backgrounds.gif') repeat-x;}
52
- .plupload_header_content {
53
- background: url('/images/plupload-rails3/plupload/backgrounds.gif') no-repeat 0 -317px;
54
- min-height: 56px;
55
- padding-left: 60px;
56
- color: #FFF;
57
- }
58
- .plupload_header_title {
59
- font: normal 18px sans-serif;
60
- padding: 6px 0 3px;
61
- }
62
- .plupload_header_text {
63
- font: normal 12px sans-serif;
64
- }
65
-
66
- .plupload_filelist {
67
- margin: 0;
68
- padding: 0;
69
- list-style: none;
70
- }
71
-
72
- .plupload_scroll .plupload_filelist {
73
- height: 185px;
74
- background: #F5F5F5;
75
- overflow-y: scroll;
76
- }
77
-
78
- .plupload_filelist li {
79
- padding: 10px 8px;
80
- background: #F5F5F5 url('/images/plupload-rails3/plupload/backgrounds.gif') repeat-x 0 -156px;
81
- border-bottom: 1px solid #DDD;
82
- }
83
-
84
- .plupload_filelist_header, .plupload_filelist_footer {
85
- background: #DFDFDF;
86
- padding: 8px 8px;
87
- color: #42454A;
88
- }
89
- .plupload_filelist_header {
90
- border-top: 1px solid #EEE;
91
- border-bottom: 1px solid #CDCDCD;
92
- }
93
-
94
- .plupload_filelist_footer {border-top: 1px solid #FFF; height: 22px; line-height: 20px; vertical-align: middle;}
95
- .plupload_file_name {float: left; overflow: hidden}
96
- .plupload_file_status {color: #777;}
97
- .plupload_file_status span {color: #42454A;}
98
- .plupload_file_size, .plupload_file_status, .plupload_progress {
99
- float: right;
100
- width: 80px;
101
- }
102
- .plupload_file_size, .plupload_file_status, .plupload_file_action {text-align: right;}
103
-
104
- .plupload_filelist .plupload_file_name {width: 205px}
105
-
106
- .plupload_file_action {
107
- float: right;
108
- width: 16px;
109
- height: 16px;
110
- margin-left: 15px;
111
- }
112
-
113
- .plupload_file_action * {
114
- display: none;
115
- width: 16px;
116
- height: 16px;
117
- }
118
-
119
- li.plupload_uploading {background: #ECF3DC url('/images/plupload-rails3/plupload/backgrounds.gif') repeat-x 0 -238px;}
120
- li.plupload_done {color:#AAA}
121
-
122
- li.plupload_delete a {
123
- background: url('/images/plupload-rails3/plupload/delete.gif');
124
- }
125
-
126
- li.plupload_failed a {
127
- background: url('/images/plupload-rails3/plupload/error.gif');
128
- cursor: default;
129
- }
130
-
131
- li.plupload_done a {
132
- background: url('/images/plupload-rails3/plupload/done.gif');
133
- cursor: default;
134
- }
135
-
136
- .plupload_progress, .plupload_upload_status {
137
- display: none;
138
- }
139
-
140
- .plupload_progress_container {
141
- margin-top: 3px;
142
- border: 1px solid #CCC;
143
- background: #FFF;
144
- padding: 1px;
145
- }
146
- .plupload_progress_bar {
147
- width: 0px;
148
- height: 7px;
149
- background: #CDEB8B;
150
- }
151
-
152
- .plupload_scroll .plupload_filelist_header .plupload_file_action, .plupload_scroll .plupload_filelist_footer .plupload_file_action {
153
- margin-right: 17px;
154
- }
155
-
156
- /* Floats */
157
-
158
- .plupload_clear,.plupload_clearer {clear: both;}
159
- .plupload_clearer, .plupload_progress_bar {
160
- display: block;
161
- font-size: 0;
162
- line-height: 0;
163
- }
164
-
165
- li.plupload_droptext {
166
- background: transparent;
167
- text-align: center;
168
- vertical-align: middle;
169
- border: 0;
170
- line-height: 165px;
171
- }
1
+ /*
2
+ Plupload
3
+ ------------------------------------------------------------------- */
4
+
5
+ .plupload_button {
6
+ display: -moz-inline-box; /* FF < 3*/
7
+ display: inline-block;
8
+ font: normal 12px sans-serif;
9
+ text-decoration: none;
10
+ color: #42454a;
11
+ border: 1px solid #bababa;
12
+ padding: 2px 8px 3px 20px;
13
+ margin-right: 4px;
14
+ background: #f3f3f3 url('/images/plupload-rails3/plupload/buttons.png') no-repeat 0 center;
15
+ outline: 0;
16
+
17
+ /* Optional rounded corners for browsers that support it */
18
+ -moz-border-radius: 3px;
19
+ -khtml-border-radius: 3px;
20
+ -webkit-border-radius: 3px;
21
+ border-radius: 3px;
22
+ }
23
+
24
+ .plupload_button:hover {
25
+ color: #000;
26
+ text-decoration: none;
27
+ }
28
+
29
+ .plupload_disabled, a.plupload_disabled:hover {
30
+ color: #737373;
31
+ border-color: #c5c5c5;
32
+ background: #ededed url('/images/plupload-rails3/plupload/buttons-disabled.png') no-repeat 0 center;
33
+ cursor: default;
34
+ }
35
+
36
+ .plupload_add {
37
+ background-position: -181px center;
38
+ }
39
+
40
+ .plupload_wrapper {
41
+ font: normal 11px Verdana,sans-serif;
42
+ width: 100%;
43
+ }
44
+
45
+ .plupload_container {
46
+ padding: 8px;
47
+ background: url('/images/plupload-rails3/plupload/transp50.png');
48
+ /*-moz-border-radius: 5px;*/
49
+ }
50
+
51
+ .plupload_container input {
52
+ border: 1px solid #DDD;
53
+ font: normal 11px Verdana,sans-serif;
54
+ width: 98%;
55
+ }
56
+
57
+ .plupload_header {background: #2A2C2E url('/images/plupload-rails3/plupload/backgrounds.gif') repeat-x;}
58
+ .plupload_header_content {
59
+ background: url('/images/plupload-rails3/plupload/backgrounds.gif') no-repeat 0 -317px;
60
+ min-height: 56px;
61
+ padding-left: 60px;
62
+ color: #FFF;
63
+ }
64
+ .plupload_header_title {
65
+ font: normal 18px sans-serif;
66
+ padding: 6px 0 3px;
67
+ }
68
+ .plupload_header_text {
69
+ font: normal 12px sans-serif;
70
+ }
71
+
72
+ .plupload_filelist {
73
+ margin: 0;
74
+ padding: 0;
75
+ list-style: none;
76
+ }
77
+
78
+ .plupload_scroll .plupload_filelist {
79
+ height: 185px;
80
+ background: #F5F5F5;
81
+ overflow-y: scroll;
82
+ }
83
+
84
+ .plupload_filelist li {
85
+ padding: 10px 8px;
86
+ background: #F5F5F5 url('/images/plupload-rails3/plupload/backgrounds.gif') repeat-x 0 -156px;
87
+ border-bottom: 1px solid #DDD;
88
+ }
89
+
90
+ .plupload_filelist_header, .plupload_filelist_footer {
91
+ background: #DFDFDF;
92
+ padding: 8px 8px;
93
+ color: #42454A;
94
+ }
95
+ .plupload_filelist_header {
96
+ border-top: 1px solid #EEE;
97
+ border-bottom: 1px solid #CDCDCD;
98
+ }
99
+
100
+ .plupload_filelist_footer {border-top: 1px solid #FFF; height: 22px; line-height: 20px; vertical-align: middle;}
101
+ .plupload_file_name {float: left; overflow: hidden}
102
+ .plupload_file_status {color: #777;}
103
+ .plupload_file_status span {color: #42454A;}
104
+ .plupload_file_size, .plupload_file_status, .plupload_progress {
105
+ float: right;
106
+ width: 80px;
107
+ }
108
+ .plupload_file_size, .plupload_file_status, .plupload_file_action {text-align: right;}
109
+
110
+ .plupload_filelist .plupload_file_name {width: 205px}
111
+
112
+ .plupload_file_action {
113
+ float: right;
114
+ width: 16px;
115
+ height: 16px;
116
+ margin-left: 15px;
117
+ }
118
+
119
+ .plupload_file_action * {
120
+ display: none;
121
+ width: 16px;
122
+ height: 16px;
123
+ }
124
+
125
+ li.plupload_uploading {background: #ECF3DC url('/images/plupload-rails3/plupload/backgrounds.gif') repeat-x 0 -238px;}
126
+ li.plupload_done {color:#AAA}
127
+
128
+ li.plupload_delete a {
129
+ background: url('/images/plupload-rails3/plupload/delete.gif');
130
+ }
131
+
132
+ li.plupload_failed a {
133
+ background: url('/images/plupload-rails3/plupload/error.gif');
134
+ cursor: default;
135
+ }
136
+
137
+ li.plupload_done a {
138
+ background: url('/images/plupload-rails3/plupload/done.gif');
139
+ cursor: default;
140
+ }
141
+
142
+ .plupload_progress, .plupload_upload_status {
143
+ display: none;
144
+ }
145
+
146
+ .plupload_progress_container {
147
+ margin-top: 3px;
148
+ border: 1px solid #CCC;
149
+ background: #FFF;
150
+ padding: 1px;
151
+ }
152
+ .plupload_progress_bar {
153
+ width: 0px;
154
+ height: 7px;
155
+ background: #CDEB8B;
156
+ }
157
+
158
+ .plupload_scroll .plupload_filelist_header .plupload_file_action, .plupload_scroll .plupload_filelist_footer .plupload_file_action {
159
+ margin-right: 17px;
160
+ }
161
+
162
+ /* Floats */
163
+
164
+ .plupload_clear,.plupload_clearer {clear: both;}
165
+ .plupload_clearer, .plupload_progress_bar {
166
+ display: block;
167
+ font-size: 0;
168
+ line-height: 0;
169
+ }
170
+
171
+ li.plupload_droptext {
172
+ background: transparent;
173
+ text-align: center;
174
+ vertical-align: middle;
175
+ border: 0;
176
+ line-height: 165px;
177
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plupload-rails3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-10-25 00:00:00.000000000Z
12
+ date: 2012-01-23 00:00:00.000000000Z
13
13
  dependencies: []
14
14
  description: ''
15
15
  email:
@@ -45,6 +45,7 @@ files:
45
45
  - lib/public/images/plupload-rails3/plupload/delete.gif
46
46
  - lib/public/images/plupload-rails3/plupload/done.gif
47
47
  - lib/public/images/plupload-rails3/plupload/error.gif
48
+ - lib/public/images/plupload-rails3/plupload/throbber.gif
48
49
  - lib/public/images/plupload-rails3/plupload/transp50.png
49
50
  - lib/public/javascripts/.DS_Store
50
51
  - lib/public/javascripts/plupload-rails3/.DS_Store
@@ -62,7 +63,19 @@ files:
62
63
  - lib/public/javascripts/plupload-rails3/plupload/examples/jquery/s3.php
63
64
  - lib/public/javascripts/plupload-rails3/plupload/examples/upload.php
64
65
  - lib/public/javascripts/plupload-rails3/plupload/js/.DS_Store
65
- - lib/public/javascripts/plupload-rails3/plupload/js/jquery.plupload.queue/.DS_Store
66
+ - lib/public/javascripts/plupload-rails3/plupload/js/i18n/cs.js
67
+ - lib/public/javascripts/plupload-rails3/plupload/js/i18n/da.js
68
+ - lib/public/javascripts/plupload-rails3/plupload/js/i18n/de.js
69
+ - lib/public/javascripts/plupload-rails3/plupload/js/i18n/es.js
70
+ - lib/public/javascripts/plupload-rails3/plupload/js/i18n/fi.js
71
+ - lib/public/javascripts/plupload-rails3/plupload/js/i18n/fr.js
72
+ - lib/public/javascripts/plupload-rails3/plupload/js/i18n/it.js
73
+ - lib/public/javascripts/plupload-rails3/plupload/js/i18n/ja.js
74
+ - lib/public/javascripts/plupload-rails3/plupload/js/i18n/lv.js
75
+ - lib/public/javascripts/plupload-rails3/plupload/js/i18n/nl.js
76
+ - lib/public/javascripts/plupload-rails3/plupload/js/i18n/pt-br.js
77
+ - lib/public/javascripts/plupload-rails3/plupload/js/i18n/ru.js
78
+ - lib/public/javascripts/plupload-rails3/plupload/js/i18n/sv.js
66
79
  - lib/public/javascripts/plupload-rails3/plupload/js/jquery.plupload.queue/css/jquery.plupload.queue.css
67
80
  - lib/public/javascripts/plupload-rails3/plupload/js/jquery.plupload.queue/img/backgrounds.gif
68
81
  - lib/public/javascripts/plupload-rails3/plupload/js/jquery.plupload.queue/img/buttons-disabled.png
@@ -73,7 +86,6 @@ files:
73
86
  - lib/public/javascripts/plupload-rails3/plupload/js/jquery.plupload.queue/img/throbber.gif
74
87
  - lib/public/javascripts/plupload-rails3/plupload/js/jquery.plupload.queue/img/transp50.png
75
88
  - lib/public/javascripts/plupload-rails3/plupload/js/jquery.plupload.queue/jquery.plupload.queue.js
76
- - lib/public/javascripts/plupload-rails3/plupload/js/jquery.ui.plupload/.DS_Store
77
89
  - lib/public/javascripts/plupload-rails3/plupload/js/jquery.ui.plupload/css/jquery.ui.plupload.css
78
90
  - lib/public/javascripts/plupload-rails3/plupload/js/jquery.ui.plupload/img/plupload-bw.png
79
91
  - lib/public/javascripts/plupload-rails3/plupload/js/jquery.ui.plupload/img/plupload.png