rails_admin_ui_layout_taris 1.2.20 → 1.2.21

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: 4d854a7f32c33acd18d49103c3c53076c8e3a0ac
4
- data.tar.gz: 0766e1a7f881049240960d819746a43ad2b2b3b9
3
+ metadata.gz: 172106c8e211882917f97e5223ba337092b12642
4
+ data.tar.gz: 554e11fe7c9fdea810fa2fe33baf7d29a70f3610
5
5
  SHA512:
6
- metadata.gz: 2f8a69bdaf8f8ddee2a77d4c41424662b592315e572ea0239d4e73b1837be86beb32772f473cc6aff6a0f31ee99cf9de3fc346eaced006e3a93eeeea6560c3d6
7
- data.tar.gz: d9e3e31b11d5f19b55762a01d9b8d2dde2fba41c75671208632a460a86c23c313236c41d93d2cda7ac4ef40f5131e03aaa29abbc9a90c3dd3e52ccd994821605
6
+ metadata.gz: aab5d054af677add75ba2866c460766e8ddd7c67c567b492ee4e86ca0cd1d8e2c39b68782c298be2f0cc2bc4b85801621f97783b5fbad745ed7f488b4634b95f
7
+ data.tar.gz: e7074ddcb71a2856fe087a70c2db5dabab8010d668e9a66e95f9567a1227ea54ed3533f8f325bd308aa503a6b422e1474e8ceb083610d2ce0cf36a1d6f6accbf
@@ -1,7 +1,8 @@
1
1
  :ruby
2
+ url = (ENV['RAILS_URL'].blank? || ENV['RAILS_RELATIVE_URL_ROOT'].blank?) ? "http://localhost:3000" : "#{ENV['RAILS_URL']}#{ENV['RAILS_RELATIVE_URL_ROOT']}"
2
3
  js_data = {
3
- jspath: field.location ? field.location : field.base_location + "ckeditor.js",
4
- base_location: (ENV['RAILS_URL'].blank? || ENV['RAILS_RELATIVE_URL_ROOT'].blank?) ? "http://localhost:3000" : "#{ENV['RAILS_URL']}#{ENV['RAILS_RELATIVE_URL_ROOT']}", #field.base_location,
4
+ jspath: field.location ? field.location : url + field.base_location + "ckeditor.js",
5
+ base_location: url,
5
6
  options: {
6
7
  customConfig: field.config_js ? field.config_js : field.base_location + "config.js"
7
8
  }
@@ -1,3 +1,3 @@
1
1
  module RailsAdminUiLayoutTaris
2
- VERSION = '1.2.20'.freeze
2
+ VERSION = '1.2.21'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_admin_ui_layout_taris
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.20
4
+ version: 1.2.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni