hospital 0.7.5 → 0.7.7

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: 119a4bfc2acfd175c027a6734fd053db355e754872e0b1ea92a1f3e4fb687519
4
- data.tar.gz: 597eff9eea46aec5f52a4f0ed9c85a21003645040184ce6649a2e7da120dd9b2
3
+ metadata.gz: e3f8acce17c38cb4aed800bdcd8e338cea1e42e9926d44d4e7f5e7d2732eb6d6
4
+ data.tar.gz: e9ee7a56fd6a840ec145393190d85fdea3e909b90a55cb3274ea0c5af5efa94d
5
5
  SHA512:
6
- metadata.gz: cb3001125845587feeec41413f9bdd95693f17568ed1ec4be31ab51b3db99f2038a7eb2bd82bc39f75424c34a4a1a17be52c501706ddd8c3e4a248d9b1b750dd
7
- data.tar.gz: 73cf2b0cb3f08c18c8da77ee0f640c09a1439dd45d7505d67ab4ab00f22a7a0196c37dfc125f54464eb5d8ede77a63a79055597b18f3440753dfa234edc837ad
6
+ metadata.gz: f40980aba0b41107e15762d5066ce5089af8de4e34708e7970ed89c719857a9eee821639273f6b2f05fe91235ed53937a65921367b45b3a7a14534f1519ebab6
7
+ data.tar.gz: 5cd74514436c81eac9028c772f262b2fdc0b4e5679fde95eafa0d6aebb8a4f023b25b9b95f9cb0a698d37db5a9d8a75163eb973f107179ac6e4c7d882b2f7710
@@ -4,7 +4,7 @@ using StringFormatter
4
4
 
5
5
  module Hospital
6
6
  module Formatter
7
- class Hash < Base
7
+ class Raw < Base
8
8
 
9
9
  def initialize
10
10
  @data = {}
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Hospital
4
- VERSION = "0.7.5"
4
+ VERSION = "0.7.7"
5
5
  end
data/lib/hospital.rb CHANGED
@@ -7,6 +7,7 @@ require_relative "hospital/diagnosis"
7
7
  require_relative "hospital/string_formatter"
8
8
  require_relative "hospital/formatter/shell"
9
9
  require_relative "hospital/formatter/pre"
10
+ require_relative "hospital/formatter/raw"
10
11
 
11
12
  using StringFormatter
12
13
 
@@ -63,9 +64,9 @@ module Hospital
63
64
  def initialize verbose: false, formatter: :shell
64
65
  @verbose = verbose
65
66
  @formatter = case formatter
66
- when :pre then Formatter::Pre
67
- when :hash then Formatter::Hash
68
- else Formatter::Shell
67
+ when :pre then Formatter::Pre
68
+ when :raw then Formatter::Raw
69
+ else Formatter::Shell
69
70
  end
70
71
 
71
72
  @out = @formatter.new
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hospital
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.5
4
+ version: 0.7.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander
@@ -39,8 +39,8 @@ files:
39
39
  - lib/hospital/checkup_group.rb
40
40
  - lib/hospital/diagnosis.rb
41
41
  - lib/hospital/formatter/base.rb
42
- - lib/hospital/formatter/hash.rb
43
42
  - lib/hospital/formatter/pre.rb
43
+ - lib/hospital/formatter/raw.rb
44
44
  - lib/hospital/formatter/shell.rb
45
45
  - lib/hospital/string_formatter.rb
46
46
  - lib/hospital/tasks/checkup.rake