camaleon_cms 2.4.1 → 2.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8cb2fb3a08dbd2819598ef45a4667d9c0393d1a5
4
- data.tar.gz: 238ae6a53554ed81d1051d2be04b53c749e6aab3
3
+ metadata.gz: dc0c0bfe97ca32699104dd35f9bfd703ec8ff7d4
4
+ data.tar.gz: 5c23a7dc2ffd16ab5ddb78e4ea00df6277f02111
5
5
  SHA512:
6
- metadata.gz: 1bc85b56ad8e7d379924d9e86a91934dd934c62bfc997f3e3f9a9d15ced8f6cf50ef9744a2c26ffc8f1c1e04ff2ac2ab639d5998f81f3533ceabf44760f27b85
7
- data.tar.gz: 6bd439b2121f04e8c5197b40d5882d28e3740d714d103b33eaac05e1f279f824aa8ae72a7959cf44f8b316238e2c1b3342b382abf210f51ec0d2f52e3fc90704
6
+ metadata.gz: a3b634f003d4e7b5c099cc5970ff0ea3b14c2707015442b307eb44971a0e66ce10519ea6542127d76d558a2f629d28176ecb83dde8e9cc0fa8fa17f4fae8c56f
7
+ data.tar.gz: 460cb36ffd415cfc8ccfc75516057398771ae93e2c9550d09c549a8d2cc91ec2de7c4c5438a1dfa3370301c985404fac7e01747978e943bf58c8e23065595165
data/README.md CHANGED
@@ -39,7 +39,7 @@
39
39
  * Add the gem in your Gemfile
40
40
 
41
41
  ```
42
- gem "camaleon_cms", '>= 2.4.1' # Stable versions 2.3.6, 2.2.1, 2.1.1, 2.1.0
42
+ gem "camaleon_cms", '>= 2.4.2' # Stable versions 2.3.6, 2.2.1, 2.1.1, 2.1.0
43
43
  # gem "camaleon_cms", github: 'owen2345/camaleon-cms' # current development version
44
44
  ```
45
45
  * Only Rails 5 support
@@ -323,14 +323,14 @@ window["cama_init_media"] = (media_panel) ->
323
323
  cropper_data['data']['width'] = parseFloat(dim[0].match(/\d+/)[0])
324
324
  field_width.val(cropper_data['data']['width'])
325
325
  if dim[0].search(/\?/) > -1
326
- field_width.attr('min', cropper_data['data']['width'])
326
+ field_width.attr('max', cropper_data['data']['width'])
327
327
  else
328
328
  field_width.prop('readonly', true)
329
329
  if dim[1]
330
330
  cropper_data['data']['height'] = parseFloat(dim[1].match(/\d+/)[0])
331
331
  field_height.val(cropper_data['data']['height'])
332
332
  if dim[1].search(/\?/) > -1
333
- field_height.attr('min', cropper_data['data']['height'])
333
+ field_height.attr('max', cropper_data['data']['height'])
334
334
  else
335
335
  field_height.prop('readonly', true)
336
336
  if dim[0] && dim[0].search(/\?/) == -1 && dim[1] && dim[1].search(/\?/) == -1
@@ -1,3 +1,3 @@
1
1
  module CamaleonCms
2
- VERSION = '2.4.1'
2
+ VERSION = '2.4.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: camaleon_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.1
4
+ version: 2.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Owen Peredo Diaz