haveapi 0.13.1 → 0.13.2

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
  SHA256:
3
- metadata.gz: ec4a7c126e25b77ada4e03d56e1fdcb8aed47c36ecc157080c808b98e142b90c
4
- data.tar.gz: ffcdde27ee96bccba25e395356a90d4b519b1a6cbf59a2c542e65ff3e83cdb0c
3
+ metadata.gz: 7ab6019859abaf57411f45debe7f8214b8bbc67ea32e0bba366117890b2f6a92
4
+ data.tar.gz: acccccc196affb7dd74e5d1ed4475322258cf2a44851e51f45cfa1ed14e841b1
5
5
  SHA512:
6
- metadata.gz: b51e7c3ea6127a40f01be32ad2e71e64582f64a958440bc522364fa8c9354c312f271b0feca3d06fbe4b079f75d6872c5ef60dd2afaaed9633563e5fc93fc933
7
- data.tar.gz: d0794b605fec0cfa137994fdb2535ec31442c7c372ef8ea032121a92a6d6dee2e84636bb45a703c0f28b5dbdf61d07591f064c28671061d7a797e855c2aa9180
6
+ metadata.gz: bd3fd5a48d715463382a73195398e6908a9d59058af94d234a35582e991e96d85f7f105aa3c990962941664f6e273fab67191d59b711f18c423c017db23d52e1
7
+ data.tar.gz: ea5ea0d36cba310bf7822895a56d02cf0d405f2e3d6160a2554274a59e3ec8bdbde109abdc6f9db88be415a6b705b467a8d869a475bb1f29986d8e637a16e774
@@ -23,6 +23,6 @@ Gem::Specification.new do |s|
23
23
  s.add_runtime_dependency 'rake'
24
24
  s.add_runtime_dependency 'github-markdown'
25
25
  s.add_runtime_dependency 'nesty', '~> 1.0'
26
- s.add_runtime_dependency 'haveapi-client', '~> 0.13.1'
26
+ s.add_runtime_dependency 'haveapi-client', '~> 0.13.2'
27
27
  s.add_runtime_dependency 'mail'
28
28
  end
@@ -110,7 +110,10 @@ module HaveAPI::Parameters
110
110
  end
111
111
 
112
112
  def format_output(v)
113
- if @type == ::Datetime && v.is_a?(Time)
113
+ if v.nil?
114
+ nil
115
+
116
+ elsif @type == ::Datetime && v.is_a?(Time)
114
117
  v.iso8601
115
118
 
116
119
  elsif @type == Boolean
@@ -1,4 +1,4 @@
1
1
  module HaveAPI
2
2
  PROTOCOL_VERSION = '2.0'
3
- VERSION = '0.13.1'
3
+ VERSION = '0.13.2'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: haveapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.1
4
+ version: 0.13.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jakub Skokan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-20 00:00:00.000000000 Z
11
+ date: 2019-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: require_all
@@ -142,14 +142,14 @@ dependencies:
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: 0.13.1
145
+ version: 0.13.2
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: 0.13.1
152
+ version: 0.13.2
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: mail
155
155
  requirement: !ruby/object:Gem::Requirement