htty 1.5.3 → 1.5.4
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 +4 -4
- data/History.markdown +5 -0
- data/README.markdown +1 -0
- data/lib/htty/cli/commands/reuse.rb +7 -2
- data/lib/htty/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72482928586c8a1e943e97fdea7c9fed28069268
|
4
|
+
data.tar.gz: e3a3ada8025df116dfc0ee95be9f98881369e6d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b512a16609f816c097b96f5802f07c33099f291c951f10c219859aa0e21e01bc06db155f4b43968594e821fe8d6665f03208656a0191bfff6c9c5040900b716
|
7
|
+
data.tar.gz: e20fad8c963b253c8a2961b9993424106870344410e055a9141e8316c11c4103e1a689e63950d69e24da76925f9f38714d7bd001fe0152fd95800385a60ce1b1
|
data/History.markdown
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Version history for the _htty_ project
|
2
2
|
======================================
|
3
3
|
|
4
|
+
<a name="v1.5.4"></a>v1.5.4, Mon 10/05/2015
|
5
|
+
-------------------------------------------
|
6
|
+
|
7
|
+
* Improved the error message displayed when the `reuse` command receives no arguments
|
8
|
+
|
4
9
|
<a name="v1.5.3"></a>v1.5.3, Thu 9/17/2015
|
5
10
|
-------------------------------------------
|
6
11
|
|
data/README.markdown
CHANGED
@@ -205,6 +205,7 @@ The author, [Nils Jonsson](mailto:htty@nilsjonsson.com), owes a debt of inspirat
|
|
205
205
|
|
206
206
|
Thanks to [contributors](http://github.com/htty/htty/contributors "htty contributors at GitHub") (in alphabetical order):
|
207
207
|
|
208
|
+
* Dillon Benson ([dibenso](http://github.com/dibenso "dibenso at GitHub"))
|
208
209
|
* Pascal Borreli ([pborreli](http://github.com/pborreli "pborreli at GitHub"))
|
209
210
|
* Rob Dawson (ephox-rob/[rojotek](http://github.com/rojotek "rojotek at GitHub"))
|
210
211
|
* Bo Frederiksen ([bofrede](http://github.com/bofrede "bofrede at GitHub"))
|
@@ -60,8 +60,13 @@ class HTTY::CLI::Commands::Reuse < HTTY::CLI::Command
|
|
60
60
|
|
61
61
|
index = arguments.first.to_i
|
62
62
|
unless (1..requests_with_responses.length).include?(index)
|
63
|
-
|
64
|
-
|
63
|
+
if requests_with_responses.length == 1
|
64
|
+
raise ArgumentError,
|
65
|
+
"index must be 1"
|
66
|
+
else
|
67
|
+
raise ArgumentError,
|
68
|
+
"index must be between 1 and #{requests_with_responses.length}"
|
69
|
+
end
|
65
70
|
end
|
66
71
|
|
67
72
|
add_request_if_new do
|
data/lib/htty/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: htty
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nils Jonsson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-10-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mime-types
|