pail 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,11 @@
1
+ //= require twitter/bootstrap
2
+ .progress{
3
+ margin-bottom:10px;
4
+ }
5
+ .progress-bar{
6
+ text-align:left;
7
+ }
8
+ .file-info{
9
+ display:inline-block;
10
+ padding-left:10px;
11
+ }
@@ -0,0 +1,366 @@
1
+ html {
2
+ font-family: sans-serif;
3
+ -ms-text-size-adjust: 100%;
4
+ -webkit-text-size-adjust: 100%;
5
+ }
6
+ body {
7
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
8
+ font-size: 14px;
9
+ line-height: 1.42857143;
10
+ color: #333333;
11
+ background-color: #ffffff;
12
+ }
13
+ .sr-only {
14
+ position: absolute;
15
+ width: 1px;
16
+ height: 1px;
17
+ margin: -1px;
18
+ padding: 0;
19
+ overflow: hidden;
20
+ clip: rect(0, 0, 0, 0);
21
+ border: 0;
22
+ }
23
+ @-webkit-keyframes progress-bar-stripes {
24
+ from {
25
+ background-position: 40px 0;
26
+ }
27
+ to {
28
+ background-position: 0 0;
29
+ }
30
+ }
31
+ @-o-keyframes progress-bar-stripes {
32
+ from {
33
+ background-position: 40px 0;
34
+ }
35
+ to {
36
+ background-position: 0 0;
37
+ }
38
+ }
39
+ @keyframes progress-bar-stripes {
40
+ from {
41
+ background-position: 40px 0;
42
+ }
43
+ to {
44
+ background-position: 0 0;
45
+ }
46
+ }
47
+ .progress {
48
+ overflow: hidden;
49
+ height: 20px;
50
+ margin-bottom: 20px;
51
+ background-color: #f5f5f5;
52
+ border-radius: 4px;
53
+ -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
54
+ box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
55
+ }
56
+ .progress-bar {
57
+ float: left;
58
+ width: 0%;
59
+ height: 100%;
60
+ font-size: 12px;
61
+ line-height: 20px;
62
+ color: #ffffff;
63
+ text-align: center;
64
+ background-color: #337ab7;
65
+ -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
66
+ box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
67
+ /*-webkit-transition: width 0.6s ease;*/
68
+ /*-o-transition: width 0.6s ease;*/
69
+ /*transition: width 0.6s ease;*/
70
+ }
71
+ .progress-striped .progress-bar,
72
+ .progress-bar-striped {
73
+ background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
74
+ background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
75
+ background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
76
+ -webkit-background-size: 40px 40px;
77
+ background-size: 40px 40px;
78
+ }
79
+ .progress.active .progress-bar,
80
+ .progress-bar.active {
81
+ -webkit-animation: progress-bar-stripes 2s linear infinite;
82
+ -o-animation: progress-bar-stripes 2s linear infinite;
83
+ animation: progress-bar-stripes 2s linear infinite;
84
+ }
85
+ .progress-bar-success {
86
+ background-color: #5cb85c;
87
+ }
88
+ .progress-striped .progress-bar-success {
89
+ background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
90
+ background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
91
+ background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
92
+ }
93
+ .progress-bar-info {
94
+ background-color: #5bc0de;
95
+ }
96
+ .progress-striped .progress-bar-info {
97
+ background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
98
+ background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
99
+ background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
100
+ }
101
+ .progress-bar-warning {
102
+ background-color: #f0ad4e;
103
+ }
104
+ .progress-striped .progress-bar-warning {
105
+ background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
106
+ background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
107
+ background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
108
+ }
109
+ .progress-bar-danger {
110
+ background-color: #d9534f;
111
+ }
112
+ .progress-striped .progress-bar-danger {
113
+ background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
114
+ background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
115
+ background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
116
+ }
117
+ /*.clearfix:before,
118
+ .clearfix:after {
119
+ content: " ";
120
+ display: table;
121
+ }
122
+ .clearfix:after {
123
+ clear: both;
124
+ }
125
+ .center-block {
126
+ display: block;
127
+ margin-left: auto;
128
+ margin-right: auto;
129
+ }
130
+ .pull-right {
131
+ float: right !important;
132
+ }
133
+ .pull-left {
134
+ float: left !important;
135
+ }
136
+ .hide {
137
+ display: none !important;
138
+ }
139
+ .show {
140
+ display: block !important;
141
+ }
142
+ .invisible {
143
+ visibility: hidden;
144
+ }
145
+ .text-hide {
146
+ font: 0/0 a;
147
+ color: transparent;
148
+ text-shadow: none;
149
+ background-color: transparent;
150
+ border: 0;
151
+ }
152
+ .hidden {
153
+ display: none !important;
154
+ }
155
+ .affix {
156
+ position: fixed;
157
+ }
158
+ */
159
+
160
+ .btn {
161
+ display: inline-block;
162
+ margin-bottom: 0;
163
+ font-weight: normal;
164
+ text-align: center;
165
+ vertical-align: middle;
166
+ -ms-touch-action: manipulation;
167
+ touch-action: manipulation;
168
+ cursor: pointer;
169
+ background-image: none;
170
+ border: 1px solid transparent;
171
+ white-space: nowrap;
172
+ padding: 6px 12px;
173
+ font-size: 14px;
174
+ line-height: 1.42857143;
175
+ border-radius: 4px;
176
+ -webkit-user-select: none;
177
+ -moz-user-select: none;
178
+ -ms-user-select: none;
179
+ user-select: none;
180
+ }
181
+ .btn:focus,
182
+ .btn:active:focus,
183
+ .btn.active:focus,
184
+ .btn.focus,
185
+ .btn:active.focus,
186
+ .btn.active.focus {
187
+ outline: thin dotted;
188
+ outline: 5px auto -webkit-focus-ring-color;
189
+ outline-offset: -2px;
190
+ }
191
+ .btn:hover,
192
+ .btn:focus,
193
+ .btn.focus {
194
+ color: #333333;
195
+ text-decoration: none;
196
+ }
197
+ .btn:active,
198
+ .btn.active {
199
+ outline: 0;
200
+ background-image: none;
201
+ -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
202
+ box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
203
+ }
204
+ .btn.disabled,
205
+ .btn[disabled],
206
+ fieldset[disabled] .btn {
207
+ cursor: not-allowed;
208
+ pointer-events: none;
209
+ opacity: 0.65;
210
+ filter: alpha(opacity=65);
211
+ -webkit-box-shadow: none;
212
+ box-shadow: none;
213
+ }
214
+ .btn-lg {
215
+ padding: 10px 16px;
216
+ font-size: 18px;
217
+ line-height: 1.3333333;
218
+ border-radius: 6px;
219
+ }
220
+ .btn-sm {
221
+ padding: 5px 10px;
222
+ font-size: 12px;
223
+ line-height: 1.5;
224
+ border-radius: 3px;
225
+ }
226
+ .btn-xs {
227
+ padding: 1px 5px;
228
+ font-size: 12px;
229
+ line-height: 1.5;
230
+ border-radius: 3px;
231
+ }
232
+ .btn-default {
233
+ color: #333333;
234
+ background-color: #ffffff;
235
+ border-color: #cccccc;
236
+ }
237
+ .btn-default:hover,
238
+ .btn-default:focus,
239
+ .btn-default.focus,
240
+ .btn-default:active,
241
+ .btn-default.active,
242
+ .open > .dropdown-toggle.btn-default {
243
+ color: #333333;
244
+ background-color: #e6e6e6;
245
+ border-color: #adadad;
246
+ }
247
+ .btn-default:active,
248
+ .btn-default.active,
249
+ .open > .dropdown-toggle.btn-default {
250
+ background-image: none;
251
+ }
252
+ .btn-default.disabled,
253
+ .btn-default[disabled],
254
+ fieldset[disabled] .btn-default,
255
+ .btn-default.disabled:hover,
256
+ .btn-default[disabled]:hover,
257
+ fieldset[disabled] .btn-default:hover,
258
+ .btn-default.disabled:focus,
259
+ .btn-default[disabled]:focus,
260
+ fieldset[disabled] .btn-default:focus,
261
+ .btn-default.disabled.focus,
262
+ .btn-default[disabled].focus,
263
+ fieldset[disabled] .btn-default.focus,
264
+ .btn-default.disabled:active,
265
+ .btn-default[disabled]:active,
266
+ fieldset[disabled] .btn-default:active,
267
+ .btn-default.disabled.active,
268
+ .btn-default[disabled].active,
269
+ fieldset[disabled] .btn-default.active {
270
+ background-color: #ffffff;
271
+ border-color: #cccccc;
272
+ }
273
+ .btn-default .badge {
274
+ color: #ffffff;
275
+ background-color: #333333;
276
+ }
277
+ .btn-primary {
278
+ color: #ffffff;
279
+ background-color: #337ab7;
280
+ border-color: #2e6da4;
281
+ }
282
+ .btn-primary:hover,
283
+ .btn-primary:focus,
284
+ .btn-primary.focus,
285
+ .btn-primary:active,
286
+ .btn-primary.active,
287
+ .open > .dropdown-toggle.btn-primary {
288
+ color: #ffffff;
289
+ background-color: #286090;
290
+ border-color: #204d74;
291
+ }
292
+ .btn-primary:active,
293
+ .btn-primary.active,
294
+ .open > .dropdown-toggle.btn-primary {
295
+ background-image: none;
296
+ }
297
+ .btn-primary.disabled,
298
+ .btn-primary[disabled],
299
+ fieldset[disabled] .btn-primary,
300
+ .btn-primary.disabled:hover,
301
+ .btn-primary[disabled]:hover,
302
+ fieldset[disabled] .btn-primary:hover,
303
+ .btn-primary.disabled:focus,
304
+ .btn-primary[disabled]:focus,
305
+ fieldset[disabled] .btn-primary:focus,
306
+ .btn-primary.disabled.focus,
307
+ .btn-primary[disabled].focus,
308
+ fieldset[disabled] .btn-primary.focus,
309
+ .btn-primary.disabled:active,
310
+ .btn-primary[disabled]:active,
311
+ fieldset[disabled] .btn-primary:active,
312
+ .btn-primary.disabled.active,
313
+ .btn-primary[disabled].active,
314
+ fieldset[disabled] .btn-primary.active {
315
+ background-color: #337ab7;
316
+ border-color: #2e6da4;
317
+ }
318
+ .btn-primary .badge {
319
+ color: #337ab7;
320
+ background-color: #ffffff;
321
+ }
322
+ .btn-danger {
323
+ color: #ffffff;
324
+ background-color: #d9534f;
325
+ border-color: #d43f3a;
326
+ }
327
+ .btn-danger:hover,
328
+ .btn-danger:focus,
329
+ .btn-danger.focus,
330
+ .btn-danger:active,
331
+ .btn-danger.active,
332
+ .open > .dropdown-toggle.btn-danger {
333
+ color: #ffffff;
334
+ background-color: #c9302c;
335
+ border-color: #ac2925;
336
+ }
337
+ .btn-danger:active,
338
+ .btn-danger.active,
339
+ .open > .dropdown-toggle.btn-danger {
340
+ background-image: none;
341
+ }
342
+ .btn-danger.disabled,
343
+ .btn-danger[disabled],
344
+ fieldset[disabled] .btn-danger,
345
+ .btn-danger.disabled:hover,
346
+ .btn-danger[disabled]:hover,
347
+ fieldset[disabled] .btn-danger:hover,
348
+ .btn-danger.disabled:focus,
349
+ .btn-danger[disabled]:focus,
350
+ fieldset[disabled] .btn-danger:focus,
351
+ .btn-danger.disabled.focus,
352
+ .btn-danger[disabled].focus,
353
+ fieldset[disabled] .btn-danger.focus,
354
+ .btn-danger.disabled:active,
355
+ .btn-danger[disabled]:active,
356
+ fieldset[disabled] .btn-danger:active,
357
+ .btn-danger.disabled.active,
358
+ .btn-danger[disabled].active,
359
+ fieldset[disabled] .btn-danger.active {
360
+ background-color: #d9534f;
361
+ border-color: #d43f3a;
362
+ }
363
+ .btn-danger .badge {
364
+ color: #d9534f;
365
+ background-color: #ffffff;
366
+ }
metadata ADDED
@@ -0,0 +1,181 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: pail
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Eddie Johnston
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2015-07-14 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.8'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.8'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rails
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec-rails
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: guard
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: guard-rspec
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: coveralls
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ description: When using a read-only file-system, it makes sense to upload assests
126
+ directly to cloud storage. This gem makes it easy to upload directly to an S3 bucket
127
+ using the Plupload JS Library. Callback functions can be triggered to run once files
128
+ have finished uploading so that they can be processed by your application.
129
+ email:
130
+ - eddie@beanstalk.ie
131
+ executables: []
132
+ extensions: []
133
+ extra_rdoc_files: []
134
+ files:
135
+ - ".coveralls.yml"
136
+ - ".gitignore"
137
+ - ".rspec"
138
+ - ".travis.yml"
139
+ - CODE_OF_CONDUCT.md
140
+ - Gemfile
141
+ - Guardfile
142
+ - LICENSE.txt
143
+ - README.md
144
+ - Rakefile
145
+ - bin/console
146
+ - bin/setup
147
+ - lib/pail.rb
148
+ - lib/pail/engine.rb
149
+ - lib/pail/version.rb
150
+ - pail.gemspec
151
+ - vendor/assets/javascripts/pail.js
152
+ - vendor/assets/javascripts/plupload/Moxie.swf
153
+ - vendor/assets/javascripts/plupload/Moxie.xap
154
+ - vendor/assets/javascripts/plupload/plupload.full.min.js
155
+ - vendor/assets/stylesheets/pail.css
156
+ - vendor/assets/stylesheets/twitter/bootstrap.css
157
+ homepage: https://github.com/eddiej/pail
158
+ licenses:
159
+ - MIT
160
+ metadata: {}
161
+ post_install_message:
162
+ rdoc_options: []
163
+ require_paths:
164
+ - lib
165
+ required_ruby_version: !ruby/object:Gem::Requirement
166
+ requirements:
167
+ - - ">="
168
+ - !ruby/object:Gem::Version
169
+ version: '0'
170
+ required_rubygems_version: !ruby/object:Gem::Requirement
171
+ requirements:
172
+ - - ">="
173
+ - !ruby/object:Gem::Version
174
+ version: '0'
175
+ requirements: []
176
+ rubyforge_project:
177
+ rubygems_version: 2.4.5
178
+ signing_key:
179
+ specification_version: 4
180
+ summary: Upload assets firectly to S3 using the Plupload JS Library
181
+ test_files: []