highline 1.7.8 → 1.7.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changelog.md +6 -0
- data/Gemfile +2 -0
- data/lib/highline/simulate.rb +1 -1
- data/lib/highline/version.rb +1 -1
- data/test/tc_simulator.rb +10 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6de473a3d81859ef33fbaae779ea5d201215bfcb
|
4
|
+
data.tar.gz: 18d772cb47ed0d65627f782044a1f01e9c6baa9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10d9975025b395161bb73cae4f35e2047d4b935d1906ac91f306907100b6f13fdda740f6fc822de076e1fc08143cd64cd2f08fdcbe7ebece11d0b218945dba0a
|
7
|
+
data.tar.gz: 17600d300c546a50083e664ba0f76fda1b0e872b3e5409c3a53929dfdd13231a9eaa923270b83a3e98c8b2ce250c8d6cb1cca6c85b56169640f324debf62d755
|
data/Changelog.md
CHANGED
@@ -2,6 +2,12 @@
|
|
2
2
|
|
3
3
|
Below is a complete listing of changes for each revision of HighLine.
|
4
4
|
|
5
|
+
### 1.7.10 / 2017-11-23
|
6
|
+
* Add gemspec to Gemfile. Address #223. (@abinoam)
|
7
|
+
|
8
|
+
### 1.7.9 / 2017-05-08
|
9
|
+
* Fix frozen string issue on HighLine::Simulate. (Ivan Giuliani (@ivgiuliani), PR #210)
|
10
|
+
|
5
11
|
### 1.7.8 / 2015-10-09
|
6
12
|
* Fix some issues when paginating. (Nick Carboni (@carbonin) and Abinoam P. Marques Jr. (@abinoam), #168, PRs #169 #170)
|
7
13
|
|
data/Gemfile
CHANGED
data/lib/highline/simulate.rb
CHANGED
data/lib/highline/version.rb
CHANGED
data/test/tc_simulator.rb
CHANGED
@@ -20,4 +20,14 @@ class SimulatorTest < Test::Unit::TestCase
|
|
20
20
|
assert_equal '18', age
|
21
21
|
end
|
22
22
|
end
|
23
|
+
|
24
|
+
def test_simulate_with_echo_and_frozen_strings
|
25
|
+
HighLine::Simulate.with('the password'.freeze) do
|
26
|
+
password = ask('What is your password?') do |q|
|
27
|
+
q.echo = '*'
|
28
|
+
end
|
29
|
+
|
30
|
+
assert_equal 'the password', password
|
31
|
+
end
|
32
|
+
end
|
23
33
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: highline
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Edward Gray II
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: code_statistics
|
@@ -114,7 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
114
114
|
version: '0'
|
115
115
|
requirements: []
|
116
116
|
rubyforge_project: highline
|
117
|
-
rubygems_version: 2.
|
117
|
+
rubygems_version: 2.6.14
|
118
118
|
signing_key:
|
119
119
|
specification_version: 4
|
120
120
|
summary: HighLine is a high-level command-line IO library.
|