rails_admin_jcrop 1.1.2 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 4bd7b4dec4babbafb2ea4f763c4a85b7bf095881
|
4
|
+
data.tar.gz: 6a5eb850d0d0c2504a0aba3def26c178b47a52e7
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 30bde63660bb507e3120493c4cf9c20b0dc7fedc868b62938ddc03e7bfcffcc59f825b0e24903b8385b5fc2c28e2205718671778b131fb56f10db6566e7c3930
|
7
|
+
data.tar.gz: 2f77bcda104f21b381283c88e5a47afee72b478fb6ef9fc4ff4908aaed47e317ca47551c6514e5bf2274b48b593d8eeb1f8fa0dddfbece58a43bcc75e42035d4
|
@@ -77,7 +77,7 @@
|
|
77
77
|
var select = widget.element.find('select').filter(":hidden");
|
78
78
|
|
79
79
|
thumb = widget.element.find('a.jcrop_handle').data('thumb');
|
80
|
-
widget.element.find('
|
80
|
+
widget.element.find('img.img-polaroid').removeAttr('src').attr('src', json.urls[thumb] + '?' + new Date().valueOf());
|
81
81
|
|
82
82
|
widget._trigger("success");
|
83
83
|
dialog.modal("hide");
|
@@ -1,2 +1,5 @@
|
|
1
|
-
|
2
|
-
require 'rails_admin_jcrop/asset_engine/
|
1
|
+
if defined?(::CarrierWave)
|
2
|
+
require 'rails_admin_jcrop/asset_engine/carrier_wave'
|
3
|
+
elsif defined?(::Paperclip)
|
4
|
+
require 'rails_admin_jcrop/asset_engine/paperclip'
|
5
|
+
end
|
metadata
CHANGED
@@ -1,62 +1,55 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_admin_jcrop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
5
|
-
prerelease:
|
4
|
+
version: 1.2.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Jan Xie
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-07-27 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rails
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3.
|
19
|
+
version: 3.0.0
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - '>='
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: 3.
|
26
|
+
version: 3.0.0
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: rails_admin
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - '>='
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: 0.3.0
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - '>='
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: 0.3.0
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: mini_magick
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - '>='
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: '0'
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - '>='
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: '0'
|
62
55
|
description: Jcrop plugin for rails admin. Image cropping made easy!
|
@@ -96,26 +89,25 @@ files:
|
|
96
89
|
- README.markdown
|
97
90
|
homepage: https://github.com/janx/rails_admin_jcrop
|
98
91
|
licenses: []
|
92
|
+
metadata: {}
|
99
93
|
post_install_message:
|
100
94
|
rdoc_options: []
|
101
95
|
require_paths:
|
102
96
|
- lib
|
103
97
|
required_ruby_version: !ruby/object:Gem::Requirement
|
104
|
-
none: false
|
105
98
|
requirements:
|
106
|
-
- -
|
99
|
+
- - '>='
|
107
100
|
- !ruby/object:Gem::Version
|
108
101
|
version: '0'
|
109
102
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
110
|
-
none: false
|
111
103
|
requirements:
|
112
|
-
- -
|
104
|
+
- - '>='
|
113
105
|
- !ruby/object:Gem::Version
|
114
106
|
version: '0'
|
115
107
|
requirements: []
|
116
108
|
rubyforge_project:
|
117
|
-
rubygems_version:
|
109
|
+
rubygems_version: 2.0.3
|
118
110
|
signing_key:
|
119
|
-
specification_version:
|
111
|
+
specification_version: 4
|
120
112
|
summary: Jcrop plugin for rails admin.
|
121
113
|
test_files: []
|