htty 1.4.0 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -15,7 +15,7 @@ group :doc do
15
15
  end
16
16
 
17
17
  group :tooling do
18
- gem 'guard-rspec', '~> 0'
18
+ gem 'guard-rspec', '~> 1'
19
19
  if RUBY_PLATFORM =~ /darwin/i
20
20
  gem 'rb-fsevent', '~> 0', :require => false
21
21
  end
@@ -1,7 +1,12 @@
1
1
  Version history for the _htty_ project
2
2
  ======================================
3
3
 
4
- <a name="v1.4.0"></a>v1.4.0, Sat 3/10/2011
4
+ <a name="v1.4.1"></a>v1.4.1, Wed 9/26/2012
5
+ -------------------------------------------
6
+
7
+ * Fixed a bug in line wrapping of long command prompts
8
+
9
+ <a name="v1.4.0"></a>v1.4.0, Sat 3/10/2012
5
10
  -------------------------------------------
6
11
 
7
12
  * Added `http-patch` and `patch` commands to support HTTP PATCH
@@ -51,7 +56,7 @@ Version history for the _htty_ project
51
56
  <a name="v1.1.6"></a>v1.1.6, Mon 11/22/2010
52
57
  -------------------------------------------
53
58
 
54
- * Added the `query-add` and `query-remove` commands [[nextmat](http://github.com/nextmat "nextmat at GitHub")]:
59
+ * Added the `query-add` and `query-remove` commands [[nextmat](http://github.com/nextmat "nextmat at GitHub")]
55
60
  * Added context-sensitive help in connection with server certificate verification
56
61
  * Upgraded various dependencies
57
62
 
@@ -44,7 +44,7 @@ You’ll need Ruby and RubyGems. It’s known to work well under OS X against Ru
44
44
  ===============================
45
45
 
46
46
  * Intuitive, Tab-completed commands and command aliases
47
- * Support for familiar HTTP methods _GET_, _POST_, _PUT_, and _DELETE_, as well as _HEAD_, _OPTIONS_ and _TRACE_
47
+ * Support for familiar HTTP methods _GET_, _POST_, _PUT_, and _DELETE_, as well as _PATCH_, _HEAD_, _OPTIONS_ and _TRACE_
48
48
  * Support for HTTP Secure connections and HTTP Basic Authentication
49
49
  * Automatic URL-encoding of userinfo, paths, query-string parameters, and page fragments
50
50
  * Transcripts, both verbose and summary
@@ -81,7 +81,8 @@ private
81
81
  command_line = ''
82
82
  while command_line.empty? do
83
83
  prompt = prompt(session.requests.last)
84
- if (command_line = Readline.readline(prompt, true)).nil?
84
+ print prompt
85
+ if (command_line = Readline.readline('', true)).nil?
85
86
  raise Interrupt
86
87
  end
87
88
  if whitespace?(command_line) || repeat?(command_line)
@@ -1,6 +1,6 @@
1
1
  module HTTY
2
2
 
3
3
  # The version of this release of _htty_.
4
- VERSION = '1.4.0' unless const_defined?(:VERSION)
4
+ VERSION = '1.4.1' unless const_defined?(:VERSION)
5
5
 
6
6
  end
metadata CHANGED
@@ -1,77 +1,76 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: htty
3
- version: !ruby/object:Gem::Version
4
- hash: 7
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.4.1
5
5
  prerelease:
6
- segments:
7
- - 1
8
- - 4
9
- - 0
10
- version: 1.4.0
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Nils Jonsson
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-03-10 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2012-09-26 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: mime-types
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
18
+ requirements:
26
19
  - - ~>
27
- - !ruby/object:Gem::Version
28
- hash: 1
29
- segments:
30
- - 1
31
- version: "1"
20
+ - !ruby/object:Gem::Version
21
+ version: '1'
32
22
  type: :runtime
33
- version_requirements: *id001
34
- - !ruby/object:Gem::Dependency
35
- name: rake
36
23
  prerelease: false
37
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '1'
30
+ - !ruby/object:Gem::Dependency
31
+ name: rake
32
+ requirement: !ruby/object:Gem::Requirement
38
33
  none: false
39
- requirements:
34
+ requirements:
40
35
  - - ~>
41
- - !ruby/object:Gem::Version
42
- hash: 3
43
- segments:
44
- - 0
45
- version: "0"
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
46
38
  type: :development
47
- version_requirements: *id002
48
- - !ruby/object:Gem::Dependency
49
- name: rspec
50
39
  prerelease: false
51
- requirement: &id003 !ruby/object:Gem::Requirement
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: rspec
48
+ requirement: !ruby/object:Gem::Requirement
52
49
  none: false
53
- requirements:
50
+ requirements:
54
51
  - - ~>
55
- - !ruby/object:Gem::Version
56
- hash: 7
57
- segments:
58
- - 2
59
- version: "2"
52
+ - !ruby/object:Gem::Version
53
+ version: '2'
60
54
  type: :development
61
- version_requirements: *id003
62
- description: |-
63
- htty is a console application for interacting with web servers.
64
- It's a fun way to explore web APIs and to learn the ins and
65
- outs of HTTP.
66
- email:
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '2'
62
+ description: ! 'htty is a console application for interacting with web servers.
63
+
64
+ It''s a fun way to explore web APIs and to learn the ins and
65
+
66
+ outs of HTTP.'
67
+ email:
67
68
  - htty@nilsjonsson.com
68
- executables:
69
+ executables:
69
70
  - htty
70
71
  extensions: []
71
-
72
72
  extra_rdoc_files: []
73
-
74
- files:
73
+ files:
75
74
  - .gemtest
76
75
  - .gitignore
77
76
  - .travis.yml
@@ -259,41 +258,34 @@ files:
259
258
  - spec/unit/htty/session_spec.rb
260
259
  - spec/unit/htty/version_spec.rb
261
260
  homepage: http://htty.github.com
262
- licenses:
261
+ licenses:
263
262
  - MIT
264
263
  post_install_message:
265
264
  rdoc_options: []
266
-
267
- require_paths:
265
+ require_paths:
268
266
  - lib
269
- required_ruby_version: !ruby/object:Gem::Requirement
267
+ required_ruby_version: !ruby/object:Gem::Requirement
270
268
  none: false
271
- requirements:
272
- - - ">="
273
- - !ruby/object:Gem::Version
274
- hash: 57
275
- segments:
276
- - 1
277
- - 8
278
- - 7
269
+ requirements:
270
+ - - ! '>='
271
+ - !ruby/object:Gem::Version
279
272
  version: 1.8.7
280
- required_rubygems_version: !ruby/object:Gem::Requirement
273
+ required_rubygems_version: !ruby/object:Gem::Requirement
281
274
  none: false
282
- requirements:
283
- - - ">="
284
- - !ruby/object:Gem::Version
285
- hash: 3
286
- segments:
275
+ requirements:
276
+ - - ! '>='
277
+ - !ruby/object:Gem::Version
278
+ version: '0'
279
+ segments:
287
280
  - 0
288
- version: "0"
281
+ hash: 3927749428844555458
289
282
  requirements: []
290
-
291
283
  rubyforge_project: htty
292
- rubygems_version: 1.8.11
284
+ rubygems_version: 1.8.24
293
285
  signing_key:
294
286
  specification_version: 3
295
287
  summary: The HTTP TTY
296
- test_files:
288
+ test_files:
297
289
  - spec/integration/htty/cli/commands/query_add_spec.rb
298
290
  - spec/integration/htty/cli/commands/query_remove_spec.rb
299
291
  - spec/integration/htty/cli/commands/query_set_spec.rb