avo 0.4.3 → 0.4.4

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
  SHA256:
3
- metadata.gz: 8f63c347f186cf1a2c4810cd4dc7d7107f655eb76f77f5704115c8429bddccb2
4
- data.tar.gz: eeb2633dafc77f62071967b77bf8cf125f228ad2732ab6a57373b7dfd7ee9dc5
3
+ metadata.gz: be2cf52d21a00b0daaa30cbf6547ee007afa3a5b72e260ab960ddf7c3bbfea52
4
+ data.tar.gz: c52f5c54105adda8a4f4efbbe98fe1b566dd27558d4e9117e076e20e8150de82
5
5
  SHA512:
6
- metadata.gz: 153ffa5ed8fab64f0f13e9cfdbb00face252c65fbacd5347765b451f3cdb2ae985116a801fb45d7cd68c605d0ce1495ca279690d4a79db5a2b6398d09e7402fb
7
- data.tar.gz: 8ad346a74840f6cf7a0cc04368138a8da2090993b6da7e2c6babfc944d0bf173f494895b746b08eedcf8b1ccbe6aaece999b32d9dfcf8963c6ac5944c1c6452e
6
+ metadata.gz: 9be08eef4e6edad3c6c7789ce545047a43f62ee078ad71f1a87f91469f25b11798243c5d87293b2d0bedecf86e4a871407a4acd7c9e615430425bf83c508685a
7
+ data.tar.gz: 53fa38417217d0a51ccbcd0768e882e9dd311a21c30d4b091019ec9724c0482fafe1182b4911505a5172ad2fbb9e8d14bfce5d56b6f3696b80f9730bbe4742a8
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- avo (0.4.3)
4
+ avo (0.4.4)
5
5
  countries
6
6
  httparty
7
7
  i18n-js
@@ -1,8 +1,8 @@
1
- <script>
1
+ <%= javascript_tag nonce: true do %>
2
2
  var rootPath = '<%= Avo.configuration.root_path %>';
3
3
  var timezone = '<%= Avo.configuration.timezone %>';
4
4
  var locale = '<%= Avo.configuration.locale %>';
5
5
  var defaultViewType = '<%= Avo.configuration.default_view_type %>';
6
6
  var license = <%= Avo::App.license.properties.to_json.html_safe %>;
7
7
  var avoResources = <%= Avo::App.get_available_resources(current_user).as_json.html_safe %>;
8
- </script>
8
+ <% end %>
@@ -1,5 +1,5 @@
1
- <script>
1
+ <%= javascript_tag nonce: true do %>
2
2
  I18n.defaultLocale = 'en';
3
3
  I18n.locale = "<%= Avo.configuration.language_code %>";
4
- </script>
4
+ <% end %>
5
5
  <%= javascript_include_tag 'translations', skip_pipeline: true %>
@@ -1,3 +1,3 @@
1
1
  module Avo
2
- VERSION = '0.4.3'
2
+ VERSION = '0.4.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Marin
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-12-15 00:00:00.000000000 Z
12
+ date: 2020-12-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails