cru_lib 0.0.2 → 0.0.2.1

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: d936cc7dc3e60b9974dc18f658c65105ace08cd6
4
- data.tar.gz: 908ce243da74e7f5ca825079e5c13574f9a485d4
3
+ metadata.gz: 5ce0788799d9028dec55f5ce2abf5aa3c1fe1c97
4
+ data.tar.gz: 97a151e23bad529bae95263e9a7dccdbfd79106f
5
5
  SHA512:
6
- metadata.gz: 905a67249419b9ff92a0badc0b27f868fce3de6d65c40f625092dd650adf1d42e06d4ee37db163293868a89aad208a90689678129db5f6b6aee8ab655fb576c0
7
- data.tar.gz: f9b90db5152e55630b8d7cdac145a33236043b8622c0e54b08818e1b8b7979914297febfce977744cf20f818ca23d5545f2cd797761283ce384689b6f0bd65a7
6
+ metadata.gz: 234fe53fcc42371fc0f3e64340f77b4a03ca51d9526f7ad6af02c4bf6fd67ee46214482bd651b9177bd716960fceb8a8e15f2bc12bd0b5457dddb4c1e30515d7
7
+ data.tar.gz: d21e87d37ed979b1f520454ed8a7c719869570a7be1f08c6f1b3a6329611d431e37e1796b33caf6dea39f4730c7ae1ef16b1597d41a288aa3435206111798268
@@ -43,7 +43,7 @@ module CruLib
43
43
  @attributes_to_push = {}
44
44
  attributes_to_push['client_integration_id'] = id unless self.class.skip_fields_for_gr.include?('client_integration_id')
45
45
  attributes_to_push['client_updated_at'] = updated_at if respond_to?(:updated_at)
46
- attributes.collect {|k, v| @attributes_to_push[k.underscore] = self.class.gr_value(k.underscore, v)}
46
+ attributes.each {|k, v| @attributes_to_push[k.underscore] = self.class.gr_value(k.underscore, v)}
47
47
  @attributes_to_push.select! {|k, v| v.present? && !self.class.skip_fields_for_gr.include?(k)}
48
48
  end
49
49
  @attributes_to_push
@@ -102,7 +102,7 @@ module CruLib
102
102
 
103
103
  columns_to_push.each do |column|
104
104
  unless existing_fields.include?(column[:name])
105
- GlobalRegistry::EntityType.post(entity_type: {name: column[:name], parent_id: entity_type['id'], field_type: column[:type]})
105
+ GlobalRegistry::EntityType.post(entity_type: {name: column[:name], parent_id: entity_type['id'], field_type: column[:field_type]})
106
106
  end
107
107
  end
108
108
  end
@@ -1,3 +1,3 @@
1
1
  module CruLib
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cru_lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Starcher
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-09 00:00:00.000000000 Z
11
+ date: 2016-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: global_registry
@@ -91,9 +91,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  version: '0'
92
92
  requirements: []
93
93
  rubyforge_project:
94
- rubygems_version: 2.4.5
94
+ rubygems_version: 2.4.5.1
95
95
  signing_key:
96
96
  specification_version: 4
97
97
  summary: Misc libraries for Cru
98
98
  test_files:
99
99
  - spec/shared_examples_for_global_registry_models.rb
100
+ has_rdoc: