protocol-http 0.1.0 → 0.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
  SHA256:
3
- metadata.gz: 13445d901a8d8f1b18193aaf50e6db7f44bbc4a211a731737d85de1aebb47f2f
4
- data.tar.gz: bddfef52d76c90c55443ce2de2e3f21586e430c48f0b0abe3c0a50ee3df10d42
3
+ metadata.gz: 6f51612225b6b4d55c2468ad41603450e620bb2a01d675a330c51ea412d91ecf
4
+ data.tar.gz: d3b907303a51a1a12961342dc9feb5f19f76c75092c26dd4b6224d494d0d9e91
5
5
  SHA512:
6
- metadata.gz: 9f1550f22ece5045d1dfb20414baea631ae14f4ca62fd8936e5d2fc4c440ec6dc880ec961ae75c7edf9497101d04856c3145274276af2e3e453fd0fdb7eccc64
7
- data.tar.gz: 1c004df3985a25c449736652b23ac11221fdded57515e8ac716f9630f409e43b345901873ecf3a19c7b1a48d33bc86afd2dd307f83a91252a5adf843d47033a2
6
+ metadata.gz: c0a8210b3174cdd5ff2a1da7ce76aea33754521fdc34ddc87b82f83feb7d57bf189b7cad76c201155c6f681722b97757596db737f7b399436b8a4fa565e6fed7
7
+ data.tar.gz: 3a3a098e8c021fb38bdca588cb62d9b4122d47eeffa022809b39dbef8013ffff4506a3b0985da0320501869313bc8e29ac9097c66998ab38d45a376da8b7019f
@@ -23,28 +23,5 @@ module Protocol
23
23
  module HTTP
24
24
  class Error < StandardError
25
25
  end
26
-
27
- # The request was invalid/malformed in some way.
28
- class BadRequest < Error
29
- end
30
-
31
- # Raised if connection header is missing or invalid indicating that
32
- # this is an invalid HTTP 2.0 request - no frames are emitted and the
33
- # connection must be aborted.
34
- class HandshakeError < Error
35
- end
36
-
37
- # Raised by stream or connection handlers, results in GOAWAY frame
38
- # which signals termination of the current connection. You *cannot*
39
- # recover from this exception, or any exceptions subclassed from it.
40
- class ProtocolError < Error
41
- def initialize(message, code = nil)
42
- super(message)
43
-
44
- @code = code
45
- end
46
-
47
- attr :code
48
- end
49
26
  end
50
27
  end
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Protocol
22
22
  module HTTP
23
- VERSION = "0.1.0"
23
+ VERSION = "0.2.0"
24
24
  end
25
25
  end
@@ -9,6 +9,7 @@ Gem::Specification.new do |spec|
9
9
 
10
10
  spec.summary = "Provides abstractions to handle HTTP protocols."
11
11
  spec.homepage = "https://github.com/socketry/protocol-http"
12
+ spec.license = "MIT"
12
13
 
13
14
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
14
15
  f.match(%r{^(test|spec|features)/})
@@ -19,7 +20,7 @@ Gem::Specification.new do |spec|
19
20
  spec.require_paths = ["lib"]
20
21
 
21
22
  spec.add_development_dependency "covered"
22
- spec.add_development_dependency "bundler", ">= 1.16"
23
+ spec.add_development_dependency "bundler"
23
24
  spec.add_development_dependency "rake", "~> 10.0"
24
25
  spec.add_development_dependency "rspec", "~> 3.0"
25
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: protocol-http
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '1.16'
33
+ version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '1.16'
40
+ version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -90,7 +90,8 @@ files:
90
90
  - lib/protocol/http/version.rb
91
91
  - protocol-http.gemspec
92
92
  homepage: https://github.com/socketry/protocol-http
93
- licenses: []
93
+ licenses:
94
+ - MIT
94
95
  metadata: {}
95
96
  post_install_message:
96
97
  rdoc_options: []