hospital 0.7.6 → 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: 8b4927c717e9c21b556b969a7c054b8dc2fb7c1768f596ea165a1fdc11b01b0e
4
- data.tar.gz: 56288eeb2c42af27a748df19c04ec5d10e128dea783e8b1ebd7e485227cd1deb
3
+ metadata.gz: e3f8acce17c38cb4aed800bdcd8e338cea1e42e9926d44d4e7f5e7d2732eb6d6
4
+ data.tar.gz: e9ee7a56fd6a840ec145393190d85fdea3e909b90a55cb3274ea0c5af5efa94d
5
5
  SHA512:
6
- metadata.gz: 003bca350b48af6b35dd72cca0ea20199c9053a9358a167947dcd4fd85bf0d481e94fb3622a4b0e00ee712d78eb1141cc34bd3b1b814389f0b32eb1ea2d354b7
7
- data.tar.gz: 074d28beabbe6a07844af549e96b39ec223e612793bc87e99dd2a32bc637012eb9cc127a04822197febf66e778272eb6afdca5e830651949246cbc4447d78983
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.6"
4
+ VERSION = "0.7.7"
5
5
  end
data/lib/hospital.rb CHANGED
@@ -7,7 +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/hash"
10
+ require_relative "hospital/formatter/raw"
11
11
 
12
12
  using StringFormatter
13
13
 
@@ -64,9 +64,9 @@ module Hospital
64
64
  def initialize verbose: false, formatter: :shell
65
65
  @verbose = verbose
66
66
  @formatter = case formatter
67
- when :pre then Formatter::Pre
68
- when :hash then Formatter::Hash
69
- else Formatter::Shell
67
+ when :pre then Formatter::Pre
68
+ when :raw then Formatter::Raw
69
+ else Formatter::Shell
70
70
  end
71
71
 
72
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.6
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