ack_rails_admin_jcrop 0.0.6 → 0.0.7
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b468ec7ed7fd6e9589564fea0830ba7690b4f110
|
4
|
+
data.tar.gz: 82be20b293c12beff630ef9b024668ecf3cdeb9f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 510e89b66cc86f2203b828e7011ca8bf308b14aca239d7c0de6c31d06840c274b4ce333d987f069f155263537a30d0f2de390103ec461398bf5e845247e16804
|
7
|
+
data.tar.gz: 02fa9c23b526a081128d8c39fd5724b5e0b1b34d2722bea1e9125685209400c37f10af0c0732b6eb49ea025cde7c30e631d66645c90b3b6a1f5e4980e9f58862
|
@@ -23,7 +23,8 @@
|
|
23
23
|
= value
|
24
24
|
= form.file_field(field.name, field.html_attributes.reverse_merge({data: {fileupload: true, rails_admin_jcrop_options: rails_admin_jcrop_options } }))
|
25
25
|
|
26
|
-
-
|
26
|
+
- model_name = form.object.class.to_param.gsub("::", "~").underscore
|
27
|
+
- url = jcrop_path(model_name: model_name, modal: true, id: form.object.id, field: field.name, fit_image: field.fit_image)
|
27
28
|
- link_data = {link: url, thumb: field.thumb_method || "original"}
|
28
29
|
= link_to 'Edit Image', '#', data: link_data, style: 'display:none', class: "jcrop_handle"
|
29
30
|
|
@@ -36,4 +37,4 @@
|
|
36
37
|
|
37
38
|
= form.check_box field.delete_method, style: 'display:none;'
|
38
39
|
- if field.cache_method
|
39
|
-
= form.hidden_field field.cache_method
|
40
|
+
= form.hidden_field field.cache_method
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ack_rails_admin_jcrop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Alexander Kiseliev
|
8
8
|
- Jan Xie
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2016-02-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -56,7 +56,7 @@ dependencies:
|
|
56
56
|
description: Jcrop plugin for rails admin. Forked from https://github.com/janx/rails_admin_jcrop
|
57
57
|
Image cropping made easy!
|
58
58
|
email:
|
59
|
-
-
|
59
|
+
- dev@enjoycreate.ru
|
60
60
|
- jan.h.xie@gmail.com
|
61
61
|
executables: []
|
62
62
|
extensions: []
|
@@ -93,7 +93,7 @@ files:
|
|
93
93
|
- vendor/assets/stylesheets/rails_admin/Jcrop.gif
|
94
94
|
- vendor/assets/stylesheets/rails_admin/jquery.Jcrop.css
|
95
95
|
- vendor/assets/stylesheets/rails_admin/jquery.Jcrop.min.css
|
96
|
-
homepage: https://github.com/
|
96
|
+
homepage: https://github.com/enjoycreative/rails_admin_jcrop
|
97
97
|
licenses: []
|
98
98
|
metadata: {}
|
99
99
|
post_install_message:
|
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
112
112
|
version: '0'
|
113
113
|
requirements: []
|
114
114
|
rubyforge_project:
|
115
|
-
rubygems_version: 2.4.
|
115
|
+
rubygems_version: 2.4.7
|
116
116
|
signing_key:
|
117
117
|
specification_version: 4
|
118
118
|
summary: Jcrop plugin for rails admin. Forked from https://github.com/janx/rails_admin_jcrop
|