klastera 1.5 → 1.5.1.0

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: 8c2357a5d407117bdfc6e495f9708c4c0c48eac080959dcd60c47e2e56a21873
4
- data.tar.gz: cb0d205dbe40fa7397fefbab63b74d6b7b2d6adbb0e864293434e91213adbac1
3
+ metadata.gz: 61a79a2721fa98f78eadba5923e1a70855deb644b762041d17ae0b1d2cef84bc
4
+ data.tar.gz: c5f06481ea66b9d2bf97b4468427fd993245858299e2fe5bb2aaaed9260a10bf
5
5
  SHA512:
6
- metadata.gz: 74c41b45bdcb33141c81be648b55707a103767b40fdfd531c885bb85b1886f12f2d3501f3231a916bfdbee96107b4c67b18507016ab031a16b7ea87352839180
7
- data.tar.gz: 19dab50f4a230df0ca7e7992d885d938d1cb633939cbee2781dd78b4dfae2ab3d161379b853999b3fd925ccf143fe10e9b8594f2d3f98382b6ac013decc6eec9
6
+ metadata.gz: 8e0a26f3694409caaf317a3fe0ae2744bb1f9af1208550a61824d9111ba3698c7e7f006a88d3de349a95dea09d24a08eb69274ac812a3a769dfb6c6c4f9799ee
7
+ data.tar.gz: 72187adb26c6b554e13d097b14c55c75fe9ac1eece07aa5355c516affcacf11e401fa539d3e123b7aaec5eb3c557131aa68c8d077135740df228556eedb2471e
@@ -4,7 +4,7 @@ module Klastera::Concerns::ClusterEntity
4
4
  included do
5
5
  self.table_name = 'cluster_entities'
6
6
  belongs_to :entity, polymorphic: true
7
- belongs_to :cluster, class_name: ::Cluster
7
+ belongs_to :cluster, class_name: "::Cluster"
8
8
  end
9
9
 
10
10
  module ClassMethods
@@ -6,7 +6,7 @@ module Klastera::Concerns::Clusterizable
6
6
 
7
7
  belongs_to :cluster
8
8
 
9
- has_many :cluster_entities, as: :entity, class_name: Klastera::ClusterEntity
9
+ has_many :cluster_entities, as: :entity, class_name: "Klastera::ClusterEntity"
10
10
  accepts_nested_attributes_for :cluster_entities, reject_if: :all_blank, allow_destroy: true
11
11
 
12
12
  validates :cluster_id, presence: true, if: -> { cluster_id.present? && organization.present? && organization.required_suborganization_mode? }
@@ -1,3 +1,3 @@
1
1
  module Klastera
2
- VERSION = "1.5"
2
+ VERSION = "1.5.1.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: klastera
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.5'
4
+ version: 1.5.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gino Barahona
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-25 00:00:00.000000000 Z
11
+ date: 2021-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -110,7 +110,7 @@ homepage: https://github.com/ginosx/klastera
110
110
  licenses:
111
111
  - MIT
112
112
  metadata: {}
113
- post_install_message:
113
+ post_install_message:
114
114
  rdoc_options: []
115
115
  require_paths:
116
116
  - lib
@@ -125,16 +125,16 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  - !ruby/object:Gem::Version
126
126
  version: '0'
127
127
  requirements: []
128
- rubygems_version: 3.1.2
129
- signing_key:
128
+ rubygems_version: 3.2.7
129
+ signing_key:
130
130
  specification_version: 4
131
131
  summary: Clusterization Engine
132
132
  test_files:
133
- - test/integration/navigation_test.rb
133
+ - test/controllers/klastera/clusters_controller_test.rb
134
+ - test/test_helper.rb
135
+ - test/klastera_test.rb
134
136
  - test/models/klastera/cluster_user_test.rb
135
137
  - test/models/klastera/cluster_test.rb
136
- - test/klastera_test.rb
137
- - test/fixtures/klastera/clusters.yml
138
138
  - test/fixtures/klastera/cluster_users.yml
139
- - test/test_helper.rb
140
- - test/controllers/klastera/clusters_controller_test.rb
139
+ - test/fixtures/klastera/clusters.yml
140
+ - test/integration/navigation_test.rb