pipe_drive_ruby_wrapper 0.2.6 → 0.2.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/pipe_drive/field_base.rb +1 -0
  3. metadata +6 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7cac0aa82c3cd0e8ea855ef7d5bc8e7f00075edd85975dcca1228cbfacab6a54
4
- data.tar.gz: c8cf821f5809d90b4f3ef799d1c22813a48c8f54692e4193c0d68b0099e177de
3
+ metadata.gz: 2647fab70c379ff20436d080ddd527925ec09675e1d1877feae8ec3906bf6a3c
4
+ data.tar.gz: 15193cb7e1e84fc3b35f29540f45f07b61216e18d5cac6d386b8de944440823a
5
5
  SHA512:
6
- metadata.gz: 56f5177be521f95b9279ffeb496825ffe1efdce522d9e03f2cc55be7d5280bda42e729ee5e6851f0752ba6a1202144edf8a72d0de10b36eda77136d67fd2de17
7
- data.tar.gz: e5f46b2e738ffcbd8f3a62a86ff378aabb8d395ce8ab4f11995d1864d50a20b3a0922814f5e76bc7e4458a41d1e02a755abd4d97041a4041a8ad1d59fe796095
6
+ metadata.gz: 7a8849be98b7fa2c1a62902ae9b09ffb06507d6f183f1942f5181d4f02450b0768ab71e763bdb1e547afbddf8c284c9ed3138767cafdeb72d2e4f554a9a30eba
7
+ data.tar.gz: 61c2c6c60c020b017a21bc699367e7b94d5fed2e6c015aa40dbafa03e81560adeaeba1ad8c078ae38fca68eb63a2386d0fab75052b8a140feafa1aae7e6338c5
@@ -42,6 +42,7 @@ module PipeDrive
42
42
  field_names_map = Hash.new{|hash, key| hash[key] = {}}
43
43
  resource = correspond_resource.to_sym
44
44
  list.each do |field|
45
+ next if field.id.nil?
45
46
  field_name = parameterize(field.name, '_')
46
47
  field_keys_map[resource][field_name.to_sym] = {id: field.id, key: field.key}
47
48
  field_names_map[resource][field.key] = {id: field.id, name: field_name}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pipe_drive_ruby_wrapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - JiaRou Lee
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-28 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: rspec
@@ -58,7 +58,7 @@ homepage: https://github.com/laura34963/pipe_drive_ruby_wrapper
58
58
  licenses:
59
59
  - MIT
60
60
  metadata: {}
61
- post_install_message:
61
+ post_install_message:
62
62
  rdoc_options:
63
63
  - "--charset=UTF-8"
64
64
  require_paths:
@@ -74,9 +74,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  requirements: []
77
- rubyforge_project:
78
- rubygems_version: 2.7.7
79
- signing_key:
77
+ rubygems_version: 3.0.1
78
+ signing_key:
80
79
  specification_version: 4
81
80
  summary: Some PipeDrive API Ruby Wrapper
82
81
  test_files: