plupload-rails4 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +17 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +93 -0
  6. data/Rakefile +1 -0
  7. data/app/assets/images/jquery_plupload/backgrounds.gif +0 -0
  8. data/app/assets/images/jquery_plupload/buttons-disabled.png +0 -0
  9. data/app/assets/images/jquery_plupload/buttons.png +0 -0
  10. data/app/assets/images/jquery_plupload/delete.gif +0 -0
  11. data/app/assets/images/jquery_plupload/done.gif +0 -0
  12. data/app/assets/images/jquery_plupload/error.gif +0 -0
  13. data/app/assets/images/jquery_plupload/plupload-bw.png +0 -0
  14. data/app/assets/images/jquery_plupload/plupload.png +0 -0
  15. data/app/assets/images/jquery_plupload/throbber.gif +0 -0
  16. data/app/assets/images/jquery_plupload/transp50.png +0 -0
  17. data/app/assets/javascripts/jquery_plupload/i18n/cs.js +14 -0
  18. data/app/assets/javascripts/jquery_plupload/i18n/da.js +12 -0
  19. data/app/assets/javascripts/jquery_plupload/i18n/de.js +24 -0
  20. data/app/assets/javascripts/jquery_plupload/i18n/el.js +14 -0
  21. data/app/assets/javascripts/jquery_plupload/i18n/es.js +25 -0
  22. data/app/assets/javascripts/jquery_plupload/i18n/et.js +33 -0
  23. data/app/assets/javascripts/jquery_plupload/i18n/fa.js +37 -0
  24. data/app/assets/javascripts/jquery_plupload/i18n/fi.js +33 -0
  25. data/app/assets/javascripts/jquery_plupload/i18n/fr-ca.js +35 -0
  26. data/app/assets/javascripts/jquery_plupload/i18n/fr.js +25 -0
  27. data/app/assets/javascripts/jquery_plupload/i18n/hr.js +25 -0
  28. data/app/assets/javascripts/jquery_plupload/i18n/hu.js +33 -0
  29. data/app/assets/javascripts/jquery_plupload/i18n/it.js +24 -0
  30. data/app/assets/javascripts/jquery_plupload/i18n/ja.js +37 -0
  31. data/app/assets/javascripts/jquery_plupload/i18n/ko.js +36 -0
  32. data/app/assets/javascripts/jquery_plupload/i18n/lv.js +33 -0
  33. data/app/assets/javascripts/jquery_plupload/i18n/nl.js +21 -0
  34. data/app/assets/javascripts/jquery_plupload/i18n/pl.js +24 -0
  35. data/app/assets/javascripts/jquery_plupload/i18n/pt-br.js +35 -0
  36. data/app/assets/javascripts/jquery_plupload/i18n/ro.js +24 -0
  37. data/app/assets/javascripts/jquery_plupload/i18n/ru.js +21 -0
  38. data/app/assets/javascripts/jquery_plupload/i18n/sk.js +25 -0
  39. data/app/assets/javascripts/jquery_plupload/i18n/sr.js +14 -0
  40. data/app/assets/javascripts/jquery_plupload/i18n/sv.js +12 -0
  41. data/app/assets/javascripts/jquery_plupload/jquery.plupload.queue.js +1 -0
  42. data/app/assets/javascripts/jquery_plupload/plupload.browserplus.js +1 -0
  43. data/app/assets/javascripts/jquery_plupload/plupload.flash.js +1 -0
  44. data/app/assets/javascripts/jquery_plupload/plupload.flash.swf +0 -0
  45. data/app/assets/javascripts/jquery_plupload/plupload.full.js +2 -0
  46. data/app/assets/javascripts/jquery_plupload/plupload.gears.js +1 -0
  47. data/app/assets/javascripts/jquery_plupload/plupload.html4.js +1 -0
  48. data/app/assets/javascripts/jquery_plupload/plupload.html5.js +1 -0
  49. data/app/assets/javascripts/jquery_plupload/plupload.js +2 -0
  50. data/app/assets/javascripts/jquery_plupload/plupload.silverlight.js +1 -0
  51. data/app/assets/javascripts/jquery_plupload/plupload.silverlight.xap +0 -0
  52. data/app/assets/stylesheets/jquery_plupload/jquery.plupload.queue.css.scss +177 -0
  53. data/app/assets/stylesheets/jquery_plupload/jquery.ui.plupload.css.scss +147 -0
  54. data/lib/plupload/rails4.rb +8 -0
  55. data/lib/plupload/rails4/engine.rb +6 -0
  56. data/lib/plupload/rails4/version.rb +6 -0
  57. data/plupload-rails4.gemspec +25 -0
  58. metadata +142 -0
@@ -0,0 +1,147 @@
1
+ /*
2
+ Plupload
3
+ ------------------------------------------------------------------- */
4
+
5
+ .plupload_button {cursor: pointer;}
6
+
7
+ .plupload_wrapper {
8
+ font: normal 11px Verdana,sans-serif;
9
+ width: 100%;
10
+ }
11
+
12
+ .plupload .plupload_container input {width: 98%;}
13
+ .plupload .plupload_filelist_footer {border-width: 1px 0 0 0}
14
+ .plupload .plupload_filelist_header {border-width: 0 0 1px 0}
15
+ div.plupload .plupload_file {border-width: 0 0 1px 0}
16
+ div.plupload div.plupload_header {border-width: 0 0 1px 0; position: relative;}
17
+
18
+ .plupload_file .ui-icon {
19
+ cursor:pointer;
20
+ }
21
+
22
+ .plupload_header_content {
23
+ background-image: image-url('jquery_plupload/plupload.png');
24
+ background-repeat: no-repeat;
25
+ background-position: 8px center;
26
+ min-height: 56px;
27
+ padding-left: 60px;
28
+ position:relative;
29
+ }
30
+ .plupload_header_content_bw {background-image: image-url('jquery_plupload/plupload-bw.png');}
31
+ .plupload_header_title {
32
+ font: normal 18px sans-serif;
33
+ padding: 6px 0 3px;
34
+ }
35
+ .plupload_header_text {font: normal 12px sans-serif;}
36
+
37
+ .plupload_filelist,
38
+ .plupload_filelist_content {
39
+ border-collapse: collapse;
40
+ margin: 0;
41
+ padding: 0;
42
+ width: 100%;
43
+ -moz-user-select:none;
44
+ -webkit-user-select:none;
45
+ user-select:none;
46
+ }
47
+
48
+ .plupload_cell {padding: 8px 6px;}
49
+
50
+ .plupload_file {
51
+ border-left: none;
52
+ border-right: none;
53
+ }
54
+
55
+ .plupload .ui-sortable-helper,
56
+ .plupload .ui-sortable .plupload_file {
57
+ cursor:move;
58
+ }
59
+
60
+ .plupload_scroll {
61
+ max-height: 180px;
62
+ min-height: 168px;
63
+ _height: 168px;
64
+ overflow-y: auto;
65
+ }
66
+
67
+ .plupload_file_size, .plupload_file_status {text-align: right;}
68
+ .plupload_file_size, .plupload_file_status {width: 52px;}
69
+ .plupload_file_action {width: 16px;}
70
+ .plupload_file_name {
71
+ overflow: hidden;
72
+ padding-left: 10px;
73
+ }
74
+
75
+ .plupload_file_rename {
76
+ width:95%;
77
+ }
78
+
79
+ .plupload_progress {width: 60px;}
80
+ .plupload_progress_container {padding: 1px;}
81
+
82
+
83
+ /* Floats */
84
+
85
+ .plupload_right {float: right;}
86
+ .plupload_left {float: left;}
87
+ .plupload_clear,.plupload_clearer {clear: both;}
88
+ .plupload_clearer, .plupload_progress_bar {
89
+ display: block;
90
+ font-size: 0;
91
+ line-height: 0;
92
+ }
93
+ .plupload_clearer {height: 0;}
94
+
95
+ /* Misc */
96
+ .plupload_hidden {display: none;}
97
+ .plupload_droptext {
98
+ background: transparent;
99
+ text-align: center;
100
+ vertical-align: middle;
101
+ border: 0;
102
+ line-height: 165px;
103
+ }
104
+
105
+ .plupload_buttons, .plupload_upload_status {float: left}
106
+
107
+ .plupload_message {
108
+ position: absolute;
109
+ top: 0px;
110
+ left: 0px;
111
+ height: 100%;
112
+ width: 100%;
113
+ }
114
+
115
+ .plupload_message p {
116
+ padding:0.7em;
117
+ margin:0;
118
+ }
119
+
120
+ .plupload_message strong {
121
+ font-weight: bold;
122
+ }
123
+
124
+ plupload_message i {
125
+ font-style: italic;
126
+ }
127
+
128
+ .plupload_message p span.ui-icon {
129
+ float: left;
130
+ margin-right: 0.3em;
131
+ }
132
+
133
+ .plupload_header_content .ui-state-error,
134
+ .plupload_header_content .ui-state-highlight {
135
+ border:none;
136
+ }
137
+
138
+ .plupload_message_close {
139
+ position:absolute;
140
+ top:5px;
141
+ right:5px;
142
+ cursor:pointer;
143
+ }
144
+
145
+ .plupload .ui-sortable-placeholder {
146
+ height:35px;
147
+ }
@@ -0,0 +1,8 @@
1
+ require "plupload/rails4/engine"
2
+ require "plupload/rails4/version"
3
+
4
+ module Plupload
5
+ module Rails4
6
+ # Your code goes here...
7
+ end
8
+ end
@@ -0,0 +1,6 @@
1
+ module Plupload
2
+ module Rails4
3
+ class Engine < ::Rails::Engine
4
+ end
5
+ end
6
+ end
@@ -0,0 +1,6 @@
1
+ module Plupload
2
+ VERSION = "1.5.7"
3
+ module Rails4
4
+ VERSION = "0.0.1"
5
+ end
6
+ end
@@ -0,0 +1,25 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'plupload/rails4/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "plupload-rails4"
8
+ spec.version = Plupload::Rails4::VERSION
9
+ spec.authors = ["Jordan"]
10
+ spec.email = ["jordan@51shepherd.com"]
11
+ spec.homepage = "https://github.com/pracstrat/plupload-rails4"
12
+ spec.summary = %Q{Integration of Plupload #{Plupload::VERSION} with the Rails 4.0 asset pipeline}
13
+ spec.description = %Q{This gem integrates Plupload #{Plupload::VERSION} with the Rails 4.0 asset pipeline.}
14
+ spec.rubyforge_project = "plupload-rails4"
15
+ spec.license = "MIT"
16
+
17
+ spec.files = `git ls-files`.split($/)
18
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
19
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
20
+ spec.require_paths = ["lib"]
21
+
22
+ spec.add_dependency "railties", "~> 4.0.0"
23
+ spec.add_development_dependency "bundler", "~> 1.3"
24
+ spec.add_development_dependency "rake"
25
+ end
metadata ADDED
@@ -0,0 +1,142 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: plupload-rails4
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Jordan
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-07-17 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: railties
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: 4.0.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: 4.0.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '1.3'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '1.3'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
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
+ description: This gem integrates Plupload 1.5.7 with the Rails 4.0 asset pipeline.
56
+ email:
57
+ - jordan@51shepherd.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - .gitignore
63
+ - Gemfile
64
+ - LICENSE.txt
65
+ - README.md
66
+ - Rakefile
67
+ - app/assets/images/jquery_plupload/backgrounds.gif
68
+ - app/assets/images/jquery_plupload/buttons-disabled.png
69
+ - app/assets/images/jquery_plupload/buttons.png
70
+ - app/assets/images/jquery_plupload/delete.gif
71
+ - app/assets/images/jquery_plupload/done.gif
72
+ - app/assets/images/jquery_plupload/error.gif
73
+ - app/assets/images/jquery_plupload/plupload-bw.png
74
+ - app/assets/images/jquery_plupload/plupload.png
75
+ - app/assets/images/jquery_plupload/throbber.gif
76
+ - app/assets/images/jquery_plupload/transp50.png
77
+ - app/assets/javascripts/jquery_plupload/i18n/cs.js
78
+ - app/assets/javascripts/jquery_plupload/i18n/da.js
79
+ - app/assets/javascripts/jquery_plupload/i18n/de.js
80
+ - app/assets/javascripts/jquery_plupload/i18n/el.js
81
+ - app/assets/javascripts/jquery_plupload/i18n/es.js
82
+ - app/assets/javascripts/jquery_plupload/i18n/et.js
83
+ - app/assets/javascripts/jquery_plupload/i18n/fa.js
84
+ - app/assets/javascripts/jquery_plupload/i18n/fi.js
85
+ - app/assets/javascripts/jquery_plupload/i18n/fr-ca.js
86
+ - app/assets/javascripts/jquery_plupload/i18n/fr.js
87
+ - app/assets/javascripts/jquery_plupload/i18n/hr.js
88
+ - app/assets/javascripts/jquery_plupload/i18n/hu.js
89
+ - app/assets/javascripts/jquery_plupload/i18n/it.js
90
+ - app/assets/javascripts/jquery_plupload/i18n/ja.js
91
+ - app/assets/javascripts/jquery_plupload/i18n/ko.js
92
+ - app/assets/javascripts/jquery_plupload/i18n/lv.js
93
+ - app/assets/javascripts/jquery_plupload/i18n/nl.js
94
+ - app/assets/javascripts/jquery_plupload/i18n/pl.js
95
+ - app/assets/javascripts/jquery_plupload/i18n/pt-br.js
96
+ - app/assets/javascripts/jquery_plupload/i18n/ro.js
97
+ - app/assets/javascripts/jquery_plupload/i18n/ru.js
98
+ - app/assets/javascripts/jquery_plupload/i18n/sk.js
99
+ - app/assets/javascripts/jquery_plupload/i18n/sr.js
100
+ - app/assets/javascripts/jquery_plupload/i18n/sv.js
101
+ - app/assets/javascripts/jquery_plupload/jquery.plupload.queue.js
102
+ - app/assets/javascripts/jquery_plupload/plupload.browserplus.js
103
+ - app/assets/javascripts/jquery_plupload/plupload.flash.js
104
+ - app/assets/javascripts/jquery_plupload/plupload.flash.swf
105
+ - app/assets/javascripts/jquery_plupload/plupload.full.js
106
+ - app/assets/javascripts/jquery_plupload/plupload.gears.js
107
+ - app/assets/javascripts/jquery_plupload/plupload.html4.js
108
+ - app/assets/javascripts/jquery_plupload/plupload.html5.js
109
+ - app/assets/javascripts/jquery_plupload/plupload.js
110
+ - app/assets/javascripts/jquery_plupload/plupload.silverlight.js
111
+ - app/assets/javascripts/jquery_plupload/plupload.silverlight.xap
112
+ - app/assets/stylesheets/jquery_plupload/jquery.plupload.queue.css.scss
113
+ - app/assets/stylesheets/jquery_plupload/jquery.ui.plupload.css.scss
114
+ - lib/plupload/rails4.rb
115
+ - lib/plupload/rails4/engine.rb
116
+ - lib/plupload/rails4/version.rb
117
+ - plupload-rails4.gemspec
118
+ homepage: https://github.com/pracstrat/plupload-rails4
119
+ licenses:
120
+ - MIT
121
+ metadata: {}
122
+ post_install_message:
123
+ rdoc_options: []
124
+ require_paths:
125
+ - lib
126
+ required_ruby_version: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - '>='
129
+ - !ruby/object:Gem::Version
130
+ version: '0'
131
+ required_rubygems_version: !ruby/object:Gem::Requirement
132
+ requirements:
133
+ - - '>='
134
+ - !ruby/object:Gem::Version
135
+ version: '0'
136
+ requirements: []
137
+ rubyforge_project: plupload-rails4
138
+ rubygems_version: 2.0.3
139
+ signing_key:
140
+ specification_version: 4
141
+ summary: Integration of Plupload 1.5.7 with the Rails 4.0 asset pipeline
142
+ test_files: []