ack_rails_admin_jcrop 0.2.0 → 0.2.0.1

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: 480d79fca9fce84dfe089209e3c3db69641e8fb9
4
- data.tar.gz: 75aa8bc7d96a71a7003dc3dac908c77fc8248e01
3
+ metadata.gz: 698b8b357ba91365e2858740badf4691f29cdeb3
4
+ data.tar.gz: 90d7f15e6ee4ef487c687b8dfcca7b194c03cd82
5
5
  SHA512:
6
- metadata.gz: 34478a1aed642baa8398205be298c45269287cbbfbff5575e805a395ad0d0ae9572cb0b4b4a982ee186f209cb7b29c0c3193d4da884f2a88ad589af1421262b2
7
- data.tar.gz: 72685f588f1d23fee353e57a1f544a06aa1d540852ec19efe01972867cd131921a3d1def3a9c6a53d65abb1a57e7c5700e306d1bd7931273290e8aab89d8acf7
6
+ metadata.gz: 157a1b1ffc77d37b259a96d35d538b0c439593db9e904d9b5af135d8ef19ad17dc53bf58e13d3e41606e93b08100e45a1e7209d1c2ff18e8bda1daac30951cd1
7
+ data.tar.gz: fb3e7f822bd6f05bf5ed58952d596c31ce5f2b9054608653970bd9ec9900b26a1c651583740e7790bf6433a5e7c2de6546b78a582868b09fefea9692e3b669b4
@@ -7,14 +7,18 @@ module RailsAdminJcrop
7
7
 
8
8
  def crop!(obj, field)
9
9
  _field = obj.send(field)
10
- _field.reprocess!(*(_field.styles.keys - [:original]))
10
+ _field.reprocess!
11
+
12
+ # _field.reprocess!(*(_field.styles.keys - [:original]))
11
13
  # _field.reprocess_without_saving_instance(*(_field.styles.keys - [:original]))
12
14
  end
13
15
 
14
16
  def crop(obj, field)
15
17
  _field = obj.send(field)
18
+ _field.reprocess_without_saving_instance
19
+
16
20
  # _field.reprocess!(*(_field.styles.keys - [:original]))
17
- _field.reprocess_without_saving_instance(*(_field.styles.keys - [:original]))
21
+ # _field.reprocess_without_saving_instance(*(_field.styles.keys - [:original]))
18
22
  end
19
23
  end
20
24
  end
@@ -1,3 +1,3 @@
1
1
  module RailsAdminJcrop
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ack_rails_admin_jcrop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Kiseliev