infopark_reactor 1.16.0 → 1.17.0

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: 9d51a7c5afd4000ea8e81db0087cc71d2b7dddaf
4
- data.tar.gz: ee5eb6afd1de7fb108017e7a82d3bb27f9990acc
3
+ metadata.gz: 6025606f331c7963d085f437fa008032cb18d4eb
4
+ data.tar.gz: 2401e8cb75fd75b0a3122019d3fe5df79db92dbf
5
5
  SHA512:
6
- metadata.gz: d221067cab1005f0735f2cdc346c26b72268281c45a08340158a03716938aead93f94b5da7d58a71263e2b40c20cb3ba5476e9279aa7756b3ae834484e0cce6e
7
- data.tar.gz: 880558efbed693fed5b80eab63ce1c479c5b4df8f2d147f5106fd86574e6ad86c81e802b60e2c47f16b1465a234f221d58345bcaff2cdda109e96efdb7b777dd
6
+ metadata.gz: 19c8be6283e1e8a1d8d5a3edcee942433b297f3c304098d96302c8f38cbbf448e19180f6d9289f035f1e885f3f138f11f6359de11d474324d08a12ceab8b58f8
7
+ data.tar.gz: 516130c53a207377ee2d1ea45c9d73c4b19a350a15d69ba2e5a4eb830ef5657b048c8d35b76634a2c0d1906edecf2f9937927ce2c3574950a7515658987703fa
@@ -14,7 +14,7 @@ module RailsConnector
14
14
  has_many :custom_attributes_raw, :through => :custom_attributes_jt, :source => :custom_attributes_raw
15
15
  else
16
16
  has_and_belongs_to_many :custom_attributes_raw, :class_name => '::RailsConnector::Attribute',
17
- :join_table => "reactor.#{table_name_prefix}obj_class_attrs"
17
+ :join_table => "#{table_name_prefix}obj_class_attrs"
18
18
  end
19
19
 
20
20
  alias_attribute :name, :obj_class_name
@@ -105,6 +105,11 @@ module RailsConnector
105
105
  end
106
106
  end
107
107
 
108
+ def committed?
109
+ load_meta_details
110
+ !@object_with_meta_data.committed_cont_id.nil?
111
+ end
112
+
108
113
  private
109
114
 
110
115
  # Load the objects details from the `objects' tables.
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module Reactor
3
- VERSION = "1.16.0"
3
+ VERSION = "1.17.0"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: infopark_reactor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.16.0
4
+ version: 1.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomasz Przedmojski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-29 00:00:00.000000000 Z
11
+ date: 2015-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails