http.rb 0.25.0 → 0.26.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e13135b5b435a5698be8796e1b9875519747ec50ef9b67c28b81e2f635f43934
4
- data.tar.gz: 05adbd72d459b796093914c3e47b1be023fd543a41305b4fa42b8d90e3fc3a6a
3
+ metadata.gz: eb37f747fc1a26c9785c5091e588c184c5b4718f2a407bb3c1390a93fc29213a
4
+ data.tar.gz: 422e9c8af9ec867e72fcbbbb4d824187cede13302341f74ab33e1854fc573c3d
5
5
  SHA512:
6
- metadata.gz: db5b30d4185591e0a52fb740514f135b4bd21e06482f160d1ecf7c6c69068e57d8b27e2af9735d8beabd8e41a33ad4f25e400d9ed9999225b576b3ef79e4d545
7
- data.tar.gz: a751c3f915491a27cbea213524c5c83271b3b61b1c7b04c9c279e8f26956b718d45467a970a0eb22eb5d5d7bc710cbb6074105dbb55cdd61c7f257424a621dd2
6
+ metadata.gz: df47a27bc34caf88683b305710d2073a99086222ed77eb3ad5d3f4c2858fc59e82b8dcbb56459e883d19f1b06f33d48ee5e3a324f200a123c90756ecd679dad7
7
+ data.tar.gz: 80374cb8c16fa8edf649d541523f06d9bdce79f509342c31d49cdec7a6313c291ff863f878c15d9b7ea32aaa8594104588f5544b4120c1027e95a618a5fa2312
data/CHANGELOG CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
  ## 20260522
4
4
 
5
+ 0.26.0: Documentation and housekeeping polish before 1.0.
6
+
7
+ 1. ~ README.md: Opening blurb now lists all supported verbs (get, head, options, trace, post, put, patch, delete) rather than claiming only GET/POST support.
8
+ 2. - TODO: All entries were marked (Done as of …); CHANGELOG carries the same history more legibly.
9
+ 3. ~ http.rb.gemspec: /http:\/\/github.com\/thoran\/HTTP/https:\/\/github.com\/thoran\/http/. Lowercase matches the actual repo; https since GitHub no longer serves plain http.
10
+ 4. ~ HTTP::VERSION: /0.25.0/0.26.0/
11
+ 5. ~ CHANGELOG: + 0.26.0 entry
12
+
13
+ ## 20260522
14
+
5
15
  0.25.0: Remove unused internal machinery; require Ruby >= 3.2.
6
16
 
7
17
  1. ~ HTTP/verbs.rb: /"Net::HTTP::#{verb.to_s.capitalize}".to_const/Net::HTTP.const_get(verb.to_s.capitalize)/. The recursive String#to_const was overkill for a single-level lookup inside Net::HTTP; const_get does it directly.
data/README.md CHANGED
@@ -4,7 +4,7 @@ For many years this was a personal library, from around the middle of 2009 from
4
4
 
5
5
  Like many others before and after me with their respective libraries, I created it to simplify the heinous interface that is Net::HTTP. At the time of it's original creation I was doing a lot of a webscraping and didn't want a half-dozen line setup to make simple requests. It has stood the test of time, for me personally insofar as the interface remaining simpler than most other similar libraries, though it is also less full featured, but nevertheless for it's tiny size it packs in quite a bit.
6
6
 
7
- Perhaps some will appreciate its relative simplicity, since it is much smaller and the usage simpler than any of the other 'wrapper' libraries, such that it can be read and comprehended in full in as little as a couple of minutes. It does just enough to do most simple HTTP GET and POST requests as simply as should be.
7
+ Perhaps some will appreciate its relative simplicity, since it is much smaller and the usage simpler than any of the other 'wrapper' libraries, such that it can be read and comprehended in full in as little as a couple of minutes. All the standard verbs `get`, `head`, `options`, `trace`, `post`, `put`, `patch`, `delete` are supported through a single uniform interface.
8
8
 
9
9
 
10
10
  ## Installation
data/http.rb.gemspec CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
17
17
 
18
18
  spec.author = 'thoran'
19
19
  spec.email = 'code@thoran.com'
20
- spec.homepage = "http://github.com/thoran/HTTP"
20
+ spec.homepage = "https://github.com/thoran/http"
21
21
  spec.license = 'MIT'
22
22
 
23
23
  spec.required_ruby_version = '>= 3.2'
data/lib/HTTP/VERSION.rb CHANGED
@@ -2,5 +2,5 @@
2
2
  # HTTP::VERSION
3
3
 
4
4
  module HTTP
5
- VERSION = '0.25.0'
5
+ VERSION = '0.26.0'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: http.rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.25.0
4
+ version: 0.26.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - thoran
@@ -115,7 +115,7 @@ files:
115
115
  - test/HTTP/trace_test.rb
116
116
  - test/Net/HTTPResponse/StatusPredicates_test.rb
117
117
  - test/helper.rb
118
- homepage: http://github.com/thoran/HTTP
118
+ homepage: https://github.com/thoran/http
119
119
  licenses:
120
120
  - MIT
121
121
  metadata: {}