allscripts_unity_client 1.2.1 → 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -507,9 +507,9 @@ module AllscriptsUnityClient
507
507
  # Generate XML structure for rxxml
508
508
  builder = Nokogiri::XML::Builder.new do |xml|
509
509
  xml.taskchanges {
510
- xml.refills("value" => taskchanges[:refills]) unless taskchanges[:refills].nil?
511
- xml.days("value" => taskchanges[:days]) unless taskchanges[:days].nil?
512
- xml.qty("value" => taskchanges[:qty]) unless taskchanges[:qty].nil?
510
+ xml.refills("value" => taskchanges[:refills]) unless taskchanges.nil? || taskchanges[:refills].nil?
511
+ xml.days("value" => taskchanges[:days]) unless taskchanges.nil? || taskchanges[:days].nil?
512
+ xml.qty("value" => taskchanges[:qty]) unless taskchanges.nil? || taskchanges[:qty].nil?
513
513
  }
514
514
  end
515
515
 
@@ -1,3 +1,3 @@
1
1
  module AllscriptsUnityClient
2
- VERSION = "1.2.1"
2
+ VERSION = "1.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: allscripts_unity_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: