avo 3.11.5 → 3.11.6

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
  SHA256:
3
- metadata.gz: 9e26c9acd0ab39463c724c946db74e212ff6aa46b58bef84300afca3cb96c351
4
- data.tar.gz: 5014ac2e89d7fdf07fbc85ab8e9fd61fb5e810f89110ad07404e5535a819545e
3
+ metadata.gz: f242b6e7ad3b7d35d83505ed54a06d60ee4e1237b45c338093d2809644708b27
4
+ data.tar.gz: beb344cde721980220e4e5aaf53b7dc5a1cead8c2fbf8848222648b840abc2d1
5
5
  SHA512:
6
- metadata.gz: e8912e3a4499e8e83de60b010d0151662e75e7c40f590664bcaa093cec9422ff346e9e73177c3b87ee421b8b2e72935ce8a8be936a9f78894ca093966784643a
7
- data.tar.gz: db9284e99880a700cccd4b1b7b16d7a76408bca879c8f57b45db385b2a35829c67541c8cb80bee04f67f748bed819fd8edbf4805e25dd3a1a5904a2826282e3f
6
+ metadata.gz: 7951e3d1cea4bb7165069aa7cd0ec6302baab7c69819f21d46986d94dbe40b3173218c7cfe9374628f311d758eba8115aad0879108bc27145e1fbc8261c9c831
7
+ data.tar.gz: 75599a0886b959eb238d51c3df731b3e669c7facc85d9c682245766e356bbd49c6154b3f5c42a247cfb57301ab06f0b4d7ad846a146d0a61a1d337ac78f350c0
data/Gemfile.lock CHANGED
@@ -106,7 +106,7 @@ GIT
106
106
  PATH
107
107
  remote: .
108
108
  specs:
109
- avo (3.11.5)
109
+ avo (3.11.6)
110
110
  actionview (>= 6.1)
111
111
  active_link_to
112
112
  activerecord (>= 6.1)
data/lib/avo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Avo
2
- VERSION = "3.11.5" unless const_defined?(:VERSION)
2
+ VERSION = "3.11.6" unless const_defined?(:VERSION)
3
3
  end
@@ -79,13 +79,13 @@ task "avo:sym_link" do
79
79
  `touch #{packages_path}/.keep`
80
80
  end
81
81
 
82
- gem_paths = `bundle list --paths 2>/dev/null`
82
+ gem_paths = `bundle list --paths 2>/dev/null`.split("\n")
83
83
 
84
84
  ["avo-advanced", "avo-pro", "avo-dynamic_filters", "avo-dashboards", "avo-menu", "avo-kanban"].each do |gem|
85
- path = `echo "$gem_paths" | grep "/$gem" | head -n 1`
85
+ path = gem_paths.find { |gem_path| gem_path.include?("/#{gem}-") }
86
86
 
87
- # If path is emty we check if package is defined outside of root (on release process it is)
88
- if path.empty?
87
+ # If path is nil we check if package is defined outside of root (on release process it is)
88
+ if path.nil?
89
89
  next if !Dir.exist?("../#{gem}")
90
90
 
91
91
  path = File.expand_path("../#{gem}")
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: 3.11.5
4
+ version: 3.11.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Marin