godmin-uploads 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/app/assets/javascripts/godmin-uploads/index.js +3 -3
- data/godmin-uploads.gemspec +1 -1
- data/lib/godmin/uploads/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea99e0e7a854447ea40826cc723b9ae4b55c449e
|
4
|
+
data.tar.gz: 94a39c25dbc567193d6ab3562ee0cae2bc4c2c3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e769539b7679abaff62036cb569419dec57154756d19753d409c2068f30b26a9f1e669346775dc4d7284e42a0d9857e82070660f9d70743bd56c715de59b654
|
7
|
+
data.tar.gz: 9a0afd6a55561aca3e4129881a07d13c07a8452064c843bc3e76a3ac59bd71281e1a0e5578a7ac1041be7cf160ab4b14cbc7c39ff421907c320a7a660fe32449
|
data/CHANGELOG.md
CHANGED
@@ -73,7 +73,7 @@
|
|
73
73
|
var $urlParts = getFileUrlParts($el);
|
74
74
|
|
75
75
|
$el.find(".godmin-upload-preview").attr(
|
76
|
-
"src", $urlParts[0] + "/fill/150/150/" + $urlParts[1] + "/foobar"
|
76
|
+
"src", $urlParts[0] + "/fill/150/150/" + $urlParts[1].id + "/foobar"
|
77
77
|
);
|
78
78
|
};
|
79
79
|
|
@@ -81,7 +81,7 @@
|
|
81
81
|
var $urlParts = getFileUrlParts($el);
|
82
82
|
|
83
83
|
$el.find(".godmin-upload-download-link").attr(
|
84
|
-
"href", $urlParts[0] + "/" + $urlParts[1] + "/foobar"
|
84
|
+
"href", $urlParts[0] + "/" + $urlParts[1].id + "/foobar"
|
85
85
|
);
|
86
86
|
};
|
87
87
|
|
@@ -89,7 +89,7 @@
|
|
89
89
|
var $file = $el.find(".godmin-upload-file-field");
|
90
90
|
|
91
91
|
return [
|
92
|
-
$file.data("url"), $file.prev().val()
|
92
|
+
$file.data("url"), JSON.parse($file.prev().val())
|
93
93
|
];
|
94
94
|
};
|
95
95
|
|
data/godmin-uploads.gemspec
CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |gem|
|
|
20
20
|
gem.require_paths = ["lib"]
|
21
21
|
|
22
22
|
gem.add_dependency "godmin", "~> 0.9.7"
|
23
|
-
gem.add_dependency "refile", "~> 0.
|
23
|
+
gem.add_dependency "refile", "~> 0.5.3"
|
24
24
|
gem.add_dependency "mini_magick", "~> 4.0.1"
|
25
25
|
|
26
26
|
gem.add_development_dependency "bundler", "~> 1.7"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: godmin-uploads
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jens Ljungblad
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-02-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: godmin
|
@@ -31,14 +31,14 @@ dependencies:
|
|
31
31
|
requirements:
|
32
32
|
- - ~>
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 0.
|
34
|
+
version: 0.5.3
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - ~>
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: 0.
|
41
|
+
version: 0.5.3
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: mini_magick
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -162,7 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
162
162
|
version: '0'
|
163
163
|
requirements: []
|
164
164
|
rubyforge_project:
|
165
|
-
rubygems_version: 2.4.
|
165
|
+
rubygems_version: 2.4.1
|
166
166
|
signing_key:
|
167
167
|
specification_version: 4
|
168
168
|
summary: File uploads for the Godmin admin engine for Rails 4+
|