rails_admin_dropzone 1.0.3 → 1.0.4

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: ff21ff54ba31dc4a0d8d438423ba835479ba370a
4
- data.tar.gz: 71f82edde1b836a19cd2d8192628206d3d206a5b
3
+ metadata.gz: ebc34a13c3c8529052327b82812c517342b022a6
4
+ data.tar.gz: 69cd9a95f7e178325daa8c5b1c6d1510485608be
5
5
  SHA512:
6
- metadata.gz: e05db07b45352d7dbf51cacee290017a023ad5dd5c23fac3a41ba27955a6dffe459b52ca3494c3909ba911b938c8a732ea694cd410c87bfeadf2d83a74eb81fe
7
- data.tar.gz: c4882f17421e6f5086e40f7886a3bd59bfcead337020c9a6f3151f672613939dda2416425598cb8ab80db3370c1b37fa7c001fe40ff20267f162f5b2860b8757
6
+ metadata.gz: 64cfab921b9427c2e8ea0f419ac1a28942962dd92108fb82b8117da019f9b2e709554740f9ca3a808ad166556b32170db80fada3a04856409110d2761a83c05c
7
+ data.tar.gz: 101804decea81aa3708a295548bd24ca47004d041e3c76b9c8e113eb123bf0d8cbebc7e94db24968887cb6eb5d17fdc7464e23c4dc74d2fd250e8ca4e4128dc4
data/.gitignore CHANGED
@@ -7,3 +7,4 @@ test/dummy/tmp/
7
7
  test/dummy/.sass-cache
8
8
  test_app/
9
9
  .idea/*
10
+ *.gem
data/.travis.yml ADDED
@@ -0,0 +1 @@
1
+ language: ruby
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rails_admin_dropzone (1.0.2)
5
- dropzonejs-rails (~> 0.4.16)
4
+ rails_admin_dropzone (1.0.3)
5
+ dropzonejs-rails (~> 0.7.3)
6
6
  jquery-rails (>= 3.0, < 5)
7
7
  simple_form (~> 3.2)
8
8
 
@@ -48,7 +48,7 @@ GEM
48
48
  builder (3.2.2)
49
49
  concurrent-ruby (1.0.1)
50
50
  diff-lcs (1.2.5)
51
- dropzonejs-rails (0.4.16)
51
+ dropzonejs-rails (0.7.3)
52
52
  rails (> 3.1)
53
53
  erubis (2.7.0)
54
54
  globalid (0.3.6)
@@ -8,7 +8,7 @@ $(document).on('rails_admin.dom_ready', function() {
8
8
  var dropzone = new Dropzone (".dropzone", {
9
9
  maxFilesize: 256, // Set the maximum file size to 256 MB
10
10
  paramName: "album[second_attr][]", // Rails expects the file upload to be something like model[field_name]
11
- addRemoveLinks: true, // Don't show remove links on dropzone itself.
11
+ addRemoveLinks: false, // Don't show remove links on dropzone itself.
12
12
 
13
13
  // Translations
14
14
  dictDefaultMessage: "<%= I18n.t('admin.actions.dropzone.dictDefaultMessage') %>",
@@ -5,7 +5,14 @@
5
5
  border: 2px dashed #bbb;;
6
6
  }
7
7
 
8
+ .dz-filename { display: none !important }
9
+ .dz-preview {
10
+ border: 1px solid #ddd;
11
+ padding: 10px;
12
+ width: auto !important;
13
+ }
14
+
8
15
  .dz-message {
9
16
  padding: 40px;
10
17
  text-align: center;
11
- }
18
+ }
@@ -1,3 +1,3 @@
1
1
  module RailsAdminDropzone
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  end
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
22
22
 
23
23
  s.add_dependency "simple_form", "~> 3.2"
24
24
  s.add_dependency "jquery-rails", [">= 3.0", "< 5"]
25
- s.add_dependency "dropzonejs-rails", "~> 0.4.16"
25
+ s.add_dependency "dropzonejs-rails", "~> 0.7.3"
26
26
 
27
27
  s.add_development_dependency "rails", [">= 4.0", "< 5"]
28
28
  s.add_development_dependency "bundler", "~> 1.11"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_admin_dropzone
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luiz Picolo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-05-04 00:00:00.000000000 Z
11
+ date: 2016-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: simple_form
@@ -50,14 +50,14 @@ dependencies:
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: 0.4.16
53
+ version: 0.7.3
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: 0.4.16
60
+ version: 0.7.3
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: rails
63
63
  requirement: !ruby/object:Gem::Requirement
@@ -129,6 +129,7 @@ extensions: []
129
129
  extra_rdoc_files: []
130
130
  files:
131
131
  - ".gitignore"
132
+ - ".travis.yml"
132
133
  - CODE_OF_CONDUCT.md
133
134
  - Gemfile
134
135
  - Gemfile.lock