renalware-forms 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0c1b027bd4d284c58163596140b304afd5c666d11fb24a00879a1ea47753bb2a
4
- data.tar.gz: 7938555c6f12fd5575ad8442f27b4f0df7ffd102c671669636ad6e73801ab087
3
+ metadata.gz: a0c9a89a00d0dd0b49795e78acbb4696bff74b74bcc007794a23b51f69bad73a
4
+ data.tar.gz: 352225a47a8050172dd9b131b3bf1331bde71393dc51c6b34809831a91930fcd
5
5
  SHA512:
6
- metadata.gz: 5c1683b1e93f7939d4f4a18542ea8c985ccf685a61980fdd7617b24c136bc561f7ccfb4b78e18ef864e2b6793fb96b2f82c71bef09a5217765ed21720b88bb19
7
- data.tar.gz: c90bd8fba7930ff462a5cb246150996018ba010321fa325827b4fcddf450008395a8a8a04f1764c009c0e076a7cf6b8f4453b02a99c0f2f24c31c67261e86d89
6
+ metadata.gz: 4035ee32f8e2e0534bd447bf607b4d348fc425f499a7a9db078af1d1c732c6436193bd61d4b80cf64697ba1ccdd4bd727a56670be0dc5d5e766e60538fa01bd6
7
+ data.tar.gz: 9bb0f18619700aacdea41ba0639a4adbba20d77380b611125ef302cb8d08614dd7c588f139dcd5aa2fdb3b2634a0c45334c09a8ef4b2b7587937c88259ec6e19
@@ -6,7 +6,11 @@ module Renalware::Forms::Generic
6
6
  def build
7
7
  move_down 30
8
8
  font_size 10
9
- text "Known Allergies", style: :bold
9
+ if args.no_known_allergies
10
+ text "No Known Allergies", style: :bold
11
+ else
12
+ text "Known Allergies", style: :bold
13
+ end
10
14
  args.allergies.each do |allergy|
11
15
  text allergy
12
16
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Renalware
4
4
  module Forms
5
- VERSION = "0.1.2"
5
+ VERSION = "0.1.3"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: renalware-forms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Airslie Ltd
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-06 00:00:00.000000000 Z
11
+ date: 2020-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel