insightly 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,7 @@
1
1
  module Insightly
2
2
  module AddressHelper
3
3
  def addresses
4
+ return [] if !@data["ADDRESSES"]
4
5
  @data["ADDRESSES"].collect {|a| Insightly::Address.build(a)}
5
6
  end
6
7
  def addresses=(list)
@@ -1,6 +1,7 @@
1
1
  module Insightly
2
2
  module ContactInfoHelper
3
3
  def contact_infos
4
+ return [] if !@data["CONTACTINFOS"]
4
5
  @data["CONTACTINFOS"].collect {|a| Insightly::ContactInfo.build(a)}
5
6
  end
6
7
  def contact_infos=(list)
@@ -1,6 +1,7 @@
1
1
  module Insightly
2
2
  module LinkHelper
3
3
  def links
4
+ return [] if !@data["LINKS"]
4
5
  @data["LINKS"].collect {|a| Insightly::Link.build(a)}
5
6
  end
6
7
  def links=(list)
@@ -1,6 +1,7 @@
1
1
  module Insightly
2
2
  module TagHelper
3
3
  def tags
4
+ return [] if !@data["TAGS"]
4
5
  @data["TAGS"].collect {|a| Insightly::Tag.build(a)}
5
6
  end
6
7
  def tags=(list)
@@ -1,6 +1,7 @@
1
1
  module Insightly
2
2
  module TaskLinkHelper
3
3
  def task_links
4
+ return [] if !@data["TASKLINKS"]
4
5
  @data["TASKLINKS"].collect {|a| Insightly::TaskLink.build(a)}
5
6
  end
6
7
  def task_links=(list)
@@ -4,7 +4,7 @@ module Insightly
4
4
  module Version
5
5
  Major = 0
6
6
  Minor = 2
7
- Tiny = 5
7
+ Tiny = 6
8
8
  String = "#{Major}.#{Minor}.#{Tiny}"
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: insightly
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 5
10
- version: 0.2.5
9
+ - 6
10
+ version: 0.2.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Dirk Elmendorf