rails-uploader 0.4.1 → 0.4.2

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: 5b4b00fbcd6be9841837569fcbd89b22d291b035
4
- data.tar.gz: 528c4ad6195d462a333439e477456562a1fd4c65
3
+ metadata.gz: 0392ed4dce2b989b8928e2f40f3fccb4a452e0ce
4
+ data.tar.gz: 2071076fd8fcdace1c9a98951cf2e8f008c0a267
5
5
  SHA512:
6
- metadata.gz: 88594863634e997ce0d3b0997b8345ff75a0c7495a0dc6ac1bd08995267122207bda33ba3099b7b7201c92ce486f18a7010e02dc54607eaaf78c63efe3789f1b
7
- data.tar.gz: 1f6d1b8e0304f6dac05886493ae5c2aad2d1a8baec701664d3aa18ad8afac2ddff01dd3aa7b24230f35f015418b7421aa2791a263a75c92257dfaad52b4baf54
6
+ metadata.gz: 3ece07523fb04d73d7508bdca8821b917fdf070265bc209b7ed461898105391591962a4928a6e2cf87d19d63ae17253ee3d83689466c5e62f31661b711e73e02
7
+ data.tar.gz: b85b6780e491987c025ad397983a3d15e4b94e0c97f201ac4bbfd3e7c1be717d79f920c69736cc94969139440cfaa6de1c81d83847894f2241759a667ca84219
@@ -1,6 +1,6 @@
1
1
  ru:
2
2
  uploader:
3
- button: "Выберите файл на компьютере"
3
+ button: "Выберите файл"
4
4
  drop: "Перетащите файл сюда"
5
5
  or: "или"
6
6
  confirm_delete: "Are you sure?"
@@ -1,6 +1,6 @@
1
1
  uk:
2
2
  uploader:
3
- button: "Виберіть файл на комп'ютері"
3
+ button: "Оберіть файл"
4
4
  drop: "Перетягніть файл сюди"
5
5
  or: "або"
6
6
  confirm_delete: "Are you sure?"
@@ -5,7 +5,7 @@ module Uploader
5
5
  protected
6
6
 
7
7
  def with_chunked_upload(file_or_part)
8
- uploader = UploadRequest.new(env, file_or_part)
8
+ uploader = UploadRequest.new(request.env, file_or_part)
9
9
  return unless uploader.completed?
10
10
 
11
11
  yield uploader.file
@@ -1,3 +1,3 @@
1
1
  module Uploader
2
- VERSION = '0.4.1'.freeze
2
+ VERSION = '0.4.2'.freeze
3
3
  end
@@ -125,10 +125,9 @@ input[disabled].uploader-button.gray {
125
125
  }
126
126
 
127
127
  .uploader-dnd-area .attach_item {
128
- width: 242px;
129
- height: 50px;
128
+ width: 250px;
130
129
  border: 1px solid #cccccd;
131
- padding: 19px;
130
+ padding: 10px;
132
131
  position: relative;
133
132
  float: left;
134
133
  margin: 0 20px 20px 0;
@@ -172,12 +171,12 @@ input[disabled].uploader-button.gray {
172
171
  }
173
172
  .uploader-dnd-area .attach_item .infoHolder {
174
173
  float: right;
175
- width: 180px;
174
+ width: 170px;
176
175
  overflow: hidden;
177
176
  }
178
177
  .uploader-dnd-area .attach_item .fileName {
179
178
  color: #000;
180
- font-size: 14px;
179
+ font-size: 12px;
181
180
  height: 18px;
182
181
  overflow: hidden;
183
182
  }
@@ -185,7 +184,7 @@ input[disabled].uploader-button.gray {
185
184
  color: #B1B1B1;
186
185
  }
187
186
  .uploader-dnd-area .attach_item .fileWeight {
188
- font-size: 12px;
187
+ font-size: 11px;
189
188
  }
190
189
  .uploader-dnd-area .attach_item .progressBar {
191
190
  display: none;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-uploader
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Galeta
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-12-14 00:00:00.000000000 Z
12
+ date: 2017-03-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jquery-ui-rails
@@ -206,7 +206,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
206
206
  version: '0'
207
207
  requirements: []
208
208
  rubyforge_project: rails-uploader
209
- rubygems_version: 2.4.8
209
+ rubygems_version: 2.5.1
210
210
  signing_key:
211
211
  specification_version: 4
212
212
  summary: Rails file upload implementation with jQuery-File-Upload