pipedrive-ruby 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/pipedrive/base.rb +1 -1
- data/lib/pipedrive/organization.rb +2 -2
- data/lib/pipedrive/person.rb +9 -0
- data/pipedrive-ruby.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.2
|
data/lib/pipedrive/base.rb
CHANGED
@@ -47,7 +47,7 @@ module Pipedrive
|
|
47
47
|
# @param [Hash] attributes
|
48
48
|
# @return [CloudApp::Base]
|
49
49
|
def initialize(attrs = {})
|
50
|
-
super( attrs['data'].is_a?(Hash) ? attrs['data'] : attrs['data'].first )
|
50
|
+
super( attrs['data'].is_a?(Hash) ? attrs['data'] : (attrs['data'].first unless attrs['data'].nil?) )
|
51
51
|
end
|
52
52
|
|
53
53
|
end
|
data/lib/pipedrive/person.rb
CHANGED
data/pipedrive-ruby.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "pipedrive-ruby"
|
8
|
-
s.version = "0.2.
|
8
|
+
s.version = "0.2.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Waldemar Kusnezow", "Jan Schwenzien", "Patrick Kozma"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pipedrive-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -145,7 +145,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
145
145
|
version: '0'
|
146
146
|
segments:
|
147
147
|
- 0
|
148
|
-
hash:
|
148
|
+
hash: -3661717696348220238
|
149
149
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
150
150
|
none: false
|
151
151
|
requirements:
|