termit 2.12.0 → 2.12.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/termit.rb +0 -1
- data/lib/termit/data_fetcher.rb +1 -3
- data/lib/termit/version.rb +1 -1
- metadata +2 -3
- data/lib/termit/suppress_warnings.rb +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67c4b698f95a481e2bae4c38ef178f391fa69038
|
4
|
+
data.tar.gz: 6e92708f054f9b881f27179b1f47c1b8194dcd6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b7ad8090e88c90eeab3d4b93c1869d6aff4dd504380a77b2737559d00fc2b5d8029463ad296fc5ff3661a70f3a9e80482edf3e8166c51370912546ab9ba5e64
|
7
|
+
data.tar.gz: 49db82ba69f466d477863bbb9456f16ceb0f53ae2a6494eed456b79ea629eacc0821fd384c36c5c45df38e2e0a6443ee8b9a0e7685a306908f5556848a09fd38
|
data/lib/termit.rb
CHANGED
data/lib/termit/data_fetcher.rb
CHANGED
@@ -7,9 +7,6 @@ module Termit
|
|
7
7
|
class DataFetcher
|
8
8
|
include CanOutput
|
9
9
|
delegate :display_no_internet_msg, to: :output_manager
|
10
|
-
silence_warnings do
|
11
|
-
::OpenSSL::SSL::VERIFY_PEER = ::OpenSSL::SSL::VERIFY_NONE
|
12
|
-
end
|
13
10
|
|
14
11
|
def initialize url, text
|
15
12
|
@url = url
|
@@ -29,6 +26,7 @@ module Termit
|
|
29
26
|
url = "#{uri.request_uri}&#{query}"
|
30
27
|
request = Net::HTTP::Get.new(url)
|
31
28
|
http.use_ssl = true
|
29
|
+
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
|
32
30
|
http.request(request)
|
33
31
|
rescue SocketError
|
34
32
|
display_no_internet_msg
|
data/lib/termit/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: termit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.12.
|
4
|
+
version: 2.12.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- pawurb
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: delegate_it
|
@@ -132,7 +132,6 @@ files:
|
|
132
132
|
- lib/termit/output_manager.rb
|
133
133
|
- lib/termit/sound_response_handler.rb
|
134
134
|
- lib/termit/speech_synthesizer.rb
|
135
|
-
- lib/termit/suppress_warnings.rb
|
136
135
|
- lib/termit/text_response_handler.rb
|
137
136
|
- lib/termit/text_translator.rb
|
138
137
|
- lib/termit/url_constructor.rb
|