termit 3.1.2 → 3.2.0

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
  SHA1:
3
- metadata.gz: bf1976beb53277bdbd3de822f79b137ee7417515
4
- data.tar.gz: 479d6266d88458173e276570d4d005d2e86b6d0e
3
+ metadata.gz: 2895a1d9671e3193682efb5f651ff2c2aa1deb88
4
+ data.tar.gz: 81092caab71d4d3b34be10e4e7d991f82915e68d
5
5
  SHA512:
6
- metadata.gz: 610b0c9ca91831cf24b57af28389d6d8f6016c260b834041b6cd9aa23e03c59284669e70c68d88cc49787a4f789302331a2143333427f7faae7f84198dec6caa
7
- data.tar.gz: e1cdcfaf1828b49981c1ac389b9965d9188f1151e78eb52c6a88e52d33e8a1a57994a7b2d220cdfbd97f15682a62e52f5e286d6dcee8e83fdb66e8670a224d6b
6
+ metadata.gz: 444802589298768d5f69b69aa60baeef7b66f4a69f5f3db34b10d1d87a1d5d0b60bdaa1abdee4b3f7800c3c1634970f24850a86bf6f2a468df87a482a104bb34
7
+ data.tar.gz: 587c7fab7448bd2b9df80621477cfac98f854a83daa50e7f5e18e61eeb28d6244860715b889d256b7f47abd1f6325ae9c162164fd7b4be22bb1a73c26c55ce20
@@ -4,8 +4,10 @@ module Termit
4
4
  klass.send(:extend, ::DelegateIt)
5
5
  end
6
6
 
7
+ private
8
+
7
9
  def output_manager
8
- @output ||= Termit::OutputManager.new
10
+ @_output ||= Termit::OutputManager.new
9
11
  end
10
12
  end
11
13
  end
@@ -4,7 +4,7 @@ require 'rest-client'
4
4
  module Termit
5
5
  class DataFetcherBase
6
6
  include CanOutput
7
- delegate :display_no_internet_msg, :display_invalid_data_msg, to: :output_manager
7
+ delegate :display_invalid_data_msg, :display_error_msg, to: :output_manager
8
8
 
9
9
  def initialize url, text
10
10
  @url = url
@@ -1,3 +1,3 @@
1
1
  module Termit
2
- VERSION = "3.1.2"
2
+ VERSION = "3.2.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: termit
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.2
4
+ version: 3.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - pawurb