glebtv-rails-uploader 0.5.1 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 347b12b24f551a98c0efd809bedd800091d3e77b
4
- data.tar.gz: 3016316441f2906581e5f640abd42b2d32c6d35a
3
+ metadata.gz: bc01b1665f8104d387e9a876868b7b050e46631b
4
+ data.tar.gz: 2a7244d5d4a2f106620987d6198f3b2e0b5ccea7
5
5
  SHA512:
6
- metadata.gz: 3a511dcb02bdb62228686c4f4d7a3ea19a0f0acf45c27e00ebeda7cd5b7527cd2a7aa0e45f4ef4a5c2d27666a7a33aaba4d2752fa60ee4150db1f9c4b70f1cd3
7
- data.tar.gz: a05c72aa6578b92dcbb744c456fe40f64548b3fe14db907dfddbf87164d3f7dc3cc8ab61e625492d65efb03691016745d5b93d8b482cd19be7665ea47b65cb87
6
+ metadata.gz: 50fe8cfaed4b7f1b6bf0e94f31a96364492e4e923154fd7236053ff18e14fa2f9daf4330e460f2b95d26b82daf1138352df6883009d53c1a7d5cbd4589581409
7
+ data.tar.gz: 8dc102effe957f45af0aa4111bcabbb7d483cfca3821ed4e17825cc372f855e32a4daa9f4b644c0ffdf4e3267e29d00e9750f3d726f525c7f06101b11928295b
data/README.md CHANGED
@@ -11,7 +11,7 @@ Preview:
11
11
  In Gemfile:
12
12
 
13
13
  ```
14
- gem "rails-uploader"
14
+ gem "glebtv-rails-uploader"
15
15
  ```
16
16
 
17
17
  In routes:
@@ -1,3 +1,3 @@
1
1
  module Uploader
2
- VERSION = "0.5.1".freeze
2
+ VERSION = "0.6.0".freeze
3
3
  end
@@ -569,7 +569,6 @@
569
569
  },
570
570
 
571
571
  _renderDownload: function (files) {
572
- console.log(files);
573
572
  return this._renderTemplate(
574
573
  this.options.downloadTemplate,
575
574
  files
@@ -17,18 +17,18 @@
17
17
  clear: both;
18
18
  }
19
19
  .uploader-dnd-hints .uploader-button {
20
- margin: 0 20px 0 200px;
20
+ margin: 0 20px 0 20px;
21
21
  width: 222px;
22
22
  float: left;
23
23
  }
24
24
  .uploader-dnd-hints .uploader-dnd-hint {
25
25
  float: left;
26
- line-height: 30px;
26
+ line-height: 22px;
27
27
  font-size: 12px;
28
28
  }
29
29
  .uploader-dnd-hints .uploader-dnd-hint span {
30
30
  padding: 10px 30px;
31
- background: url(/assets/uploader/ico_attach.png) no-repeat 9px center;
31
+ background: image-url('uploader/ico_attach.png') no-repeat 9px center;
32
32
  }
33
33
  .uploader-dnd-hints input.uploader {
34
34
  height: 31px;
@@ -53,7 +53,7 @@
53
53
  font-weight: bold;
54
54
  text-shadow: 0 1px 0 #000;
55
55
  cursor: pointer;
56
- height: 31px;
56
+ height: 22px;
57
57
  }
58
58
  .uploader-button:hover {
59
59
  background: #972da0;
@@ -153,7 +153,7 @@ input[disabled].uploader-button.gray {
153
153
  position: absolute;
154
154
  top: -10px;
155
155
  right: -10px;
156
- background: url(/assets/uploader/but_del_tag2.png) no-repeat top left;
156
+ background: image-url('uploader/but_del_tag2.png') no-repeat top left;
157
157
  }
158
158
  .uploader-dnd-area .attach_item .del_btn:hover {
159
159
  background-position: bottom left;
@@ -198,7 +198,7 @@ input[disabled].uploader-button.gray {
198
198
  }
199
199
  .uploader-dnd-area .attach_item .progressBar .fill {
200
200
  height: 8px;
201
- background: url(/assets/uploader/progressBarFillBg.png) repeat-x;
201
+ background: image-url('uploader/progressBarFillBg.png') repeat-x;
202
202
  }
203
203
 
204
204
  .uploader-dnd-area .attach_item.loading .progressBar {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glebtv-rails-uploader
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Galeta
@@ -10,62 +10,48 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-02-14 00:00:00.000000000 Z
13
+ date: 2014-06-06 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: jquery-ui-rails
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - '>='
19
+ - - ">="
20
20
  - !ruby/object:Gem::Version
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
- - - '>='
27
- - !ruby/object:Gem::Version
28
- version: '0'
29
- - !ruby/object:Gem::Dependency
30
- name: sqlite3
31
- requirement: !ruby/object:Gem::Requirement
32
- requirements:
33
- - - '>='
34
- - !ruby/object:Gem::Version
35
- version: '0'
36
- type: :development
37
- prerelease: false
38
- version_requirements: !ruby/object:Gem::Requirement
39
- requirements:
40
- - - '>='
26
+ - - ">="
41
27
  - !ruby/object:Gem::Version
42
28
  version: '0'
43
29
  - !ruby/object:Gem::Dependency
44
30
  name: carrierwave
45
31
  requirement: !ruby/object:Gem::Requirement
46
32
  requirements:
47
- - - '>='
33
+ - - ">="
48
34
  - !ruby/object:Gem::Version
49
35
  version: '0'
50
36
  type: :development
51
37
  prerelease: false
52
38
  version_requirements: !ruby/object:Gem::Requirement
53
39
  requirements:
54
- - - '>='
40
+ - - ">="
55
41
  - !ruby/object:Gem::Version
56
42
  version: '0'
57
43
  - !ruby/object:Gem::Dependency
58
44
  name: mongoid
59
45
  requirement: !ruby/object:Gem::Requirement
60
46
  requirements:
61
- - - '>='
47
+ - - ">="
62
48
  - !ruby/object:Gem::Version
63
49
  version: '0'
64
50
  type: :development
65
51
  prerelease: false
66
52
  version_requirements: !ruby/object:Gem::Requirement
67
53
  requirements:
68
- - - '>='
54
+ - - ">="
69
55
  - !ruby/object:Gem::Version
70
56
  version: '0'
71
57
  description: Rails HTML5 FileUpload helpers
@@ -78,6 +64,10 @@ files:
78
64
  - MIT-LICENSE
79
65
  - README.md
80
66
  - Rakefile
67
+ - app/assets/images/uploader/but_del_tag2.png
68
+ - app/assets/images/uploader/ico_attach.png
69
+ - app/assets/images/uploader/preloader.gif
70
+ - app/assets/images/uploader/progressBarFillBg.png
81
71
  - app/assets/javascripts/uploader/application.js
82
72
  - app/assets/javascripts/uploader/rails_admin.js
83
73
  - app/assets/stylesheets/uploader/application.css.sass
@@ -147,10 +137,6 @@ files:
147
137
  - spec/requests/attachments_controller_spec.rb
148
138
  - spec/spec_helper.rb
149
139
  - spec/uploader_spec.rb
150
- - vendor/assets/images/uploader/but_del_tag2.png
151
- - vendor/assets/images/uploader/ico_attach.png
152
- - vendor/assets/images/uploader/preloader.gif
153
- - vendor/assets/images/uploader/progressBarFillBg.png
154
140
  - vendor/assets/javascripts/uploader/jquery.fileupload-fp.js
155
141
  - vendor/assets/javascripts/uploader/jquery.fileupload-ui.js
156
142
  - vendor/assets/javascripts/uploader/jquery.fileupload.js
@@ -172,17 +158,17 @@ require_paths:
172
158
  - lib
173
159
  required_ruby_version: !ruby/object:Gem::Requirement
174
160
  requirements:
175
- - - '>='
161
+ - - ">="
176
162
  - !ruby/object:Gem::Version
177
163
  version: '0'
178
164
  required_rubygems_version: !ruby/object:Gem::Requirement
179
165
  requirements:
180
- - - '>='
166
+ - - ">="
181
167
  - !ruby/object:Gem::Version
182
168
  version: '0'
183
169
  requirements: []
184
170
  rubyforge_project:
185
- rubygems_version: 2.2.1
171
+ rubygems_version: 2.2.2
186
172
  signing_key:
187
173
  specification_version: 4
188
174
  summary: Rails file upload implementation with jQuery-File-Upload
@@ -230,4 +216,3 @@ test_files:
230
216
  - spec/factories/files/rails.png
231
217
  - spec/factories/articles.rb
232
218
  - spec/mongoid_spec.rb
233
- has_rdoc: