The NetBSD Project

CVS log for pkgsrc/www/ruby-patron/PLIST

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / www / ruby-patron

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Nov 8 14:10:04 2026 UTC (7 days, 21 hours ago) by taca
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +6 -37 lines
www/ruby-patron: update to 1.1.0

0.14.0 (2026-10-27)

* Expose libcurl's transfer timings (name lookup, connect, TLS, first byte,
  total) as Response#timings

* Add ssl_cert, ssl_cert_type, ssl_key and ssl_key_password for presenting a
  client certificate (mutual TLS). Thanks @lenage for the original
  contribution in #165

* Raise Patron::ClientCertificateError when the client certificate or its
  key can't be used

* Accept a Pathname for cacert

* Fix a request whose options fail to apply (for example an option of the
  wrong type) leaking its headers and open files into the next request on
  the same Session

* Fix the request body being read from freed memory when upload_data is not
  a String (its #to_s result was not kept alive during the transfer)

* Fix multipart field names and values pointing at temporary Strings, and
  binary multipart values being cut at the first NUL byte

* Fix an exception raised inside progress_callback (including
  Timeout.timeout and Thread#raise) unwinding through libcurl; it is now
  re-raised after the transfer is aborted

* Raise Patron::Error when a second thread uses a Session that is already
  performing a request, instead of corrupting both requests

* Fix the progress callback being declared with size_t arguments where
  libcurl passes curl_off_t

* Accept download_byte_limit above 2 GiB, and Floats for dns_cache_timeout,
  low_speed_time and low_speed_limit

* Fix Session#unescape cutting the result at a %00, and raise instead of
  crashing when libcurl fails to escape or unescape

* Reject file paths containing NUL bytes for cookie files, debug output and
  uploads

* Raise NoMemoryError instead of crashing later when libcurl cannot allocate
  a Session's handles

* Register the exception classes the extension looks up at load time with
  the GC, so heap compaction (GC.compact, GC.auto_compact) cannot move them
  out from under rb_raise

1.0.0 (2026-10-29)
1.1.0 (2026-11-04)

Changes are too many to write here, please refer
<https://github.com/toland/patron/blob/999f0acf77c8e9a19533a9caa89071758a78dfce/CHANGELOG.md>
in detail.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Mar 2 14:54:34 2025 UTC (20 months, 2 weeks ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, pkgsrc-2026Q2-base, pkgsrc-2026Q2, pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2, pkgsrc-2025Q1-base, pkgsrc-2025Q1
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -1 lines
www/ruby-patron: update to 0.13.4

0.13.4 (2025-02-27)

* Format README a bit better using code fences
* Depend explicitly on base64 for running tests
* Remove C code used for Ruby support below < 2.4 (GVL unlock etc.) and drop
  support for these versions
* In tests, close Tempfiles before allowing libcurl to use them (cookie jar)
* Fix incorrect ptr type in uses of curl_easy_escape / _unescape
* Define methods on Session as private instance methods from C instead of
  privatising them from Ruby
* Speed up the /slow endpoint test
* Remove use of curl_easy_reset. This should fix the bug with sessions
  resetting each other's state during session_free

Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Mar 20 17:58:37 2020 UTC (6 years, 7 months ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3 lines
www/ruby-patron: update to 0.13.3

Update ruby-patron to 0.13.3.


### 0.13.3

* Fix a number of specs that were failing due to use of threads

### 0.13.2

* Eagerly initialize libCURL handle when creating the Session instance instead of initializing it lazily
* Remove special treatment of `Session#reset` and make it the same as `Session#interrupt`

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Mar 17 14:43:29 2018 UTC (8 years, 8 months ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +10 -2 lines
www/ruby-patron: update to 0.12.1

### 0.12.1

* Ensure HTTP2 response headers/status lines are correctly handled

### 0.12.0

* Replace StringScanner in HeaderParser with StringIO, fix Webmock regression when the headers string would
  not have an empty CRLF-terminated line at the end - which would cause the parser to return a nil.
* Added `Session#dns_cache_timeout` as a config option for CURLOPT_DNS_CACHE_TIMEOUT

### 0.11.1

* Make sure StringScanner is available to HeaderParser.

### 0.11.0

* Added `Session#progress_callback` which accepts a callable object, which can be used to report session progress during request
  execution.
* Fixed parsing of response headers when multiple responses are involved (redirect chains and HTTP proxies)

### 0.10.0

* Added `Session#low_speed_time` and `Session#low_speed_limit`. When used, they will force libCURL to raise
  a timeout if a certain speed limit is not met performing the request. These can be used for better timeout
  handling. These are available in all libCURL versions. See https://curl.haxx.se/libcurl/c/CURLOPT_LOW_SPEED_TIME.html
  and https://curl.haxx.se/libcurl/c/CURLOPT_LOW_SPEED_LIMIT.html

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Oct 18 16:02:47 2016 UTC (10 years, 1 month ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +5 -1 lines
Update ruby-patron to 0.8.0.

### 0.8.0

* Add `Response#inspectable_body`, `Response#decoded_body`. `decoded_body` will atempt to decode
  the HTTP response into your internal encoding, using the charset header that the server has
  provided. Note that this operation may fail - if the server said that the body is in a certain
  encoding, but this is then overridden with, say, `meta` elements in the HTML Patron is _not_
  going to parse the HTML to figure out how to decode.

### 0.7.0

* Allow Ruby File objects to be passed as `data` to `Session#put`, `Sesion#post` etc.

### 0.6.5

* Prevent libCURL from doing requests to non-HTTP/HTTPS URLs, and from following redirects to such URLs

### 0.6.4

* Set the default User-Agent string, since some sites require it (like the Github API).
* Add Response#ok? and Response#error? for cleaner branching on the returned Response objects
* Explain a segfault with SSL in forked processes on OSX, document the way to avoid the issue
* Fix segfault when attempting multiple post requests with multipart (#119)

### 0.6.3

* Fix timeout when uploading a body using all verbs except POST
* Add PATCH HTTP verb support
* Populate the curl state object from the reader methods of `Request`

### 0.6.1

* Fix compilation on older versions of libCURL
* Fix cookie jar files not being saved after request
* Reformat the gem documentation to YARD, document a few behaviors

### 0.6.0

* Add `Patron::Session#automatic_content_encoding` for automatic deflate handling via `Accept`/`Content-Encoding`

### 0.5.1

* Allow customizing the class used for the response (now uses `Session#response_class` to determine the class at runtime)
* Do not fail body decoding if the charset name set in the header is invalid

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Mar 13 17:14:02 2015 UTC (11 years, 8 months ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +6 -3 lines
Update ruby-patronto 0.4.20.

* fix base url concatenation

* Adds instantiation settings via block or hash.
  Fixes .downcase being called on symbols.

  Cleaned up

  Cleans up hash setter. Adds block support

  Adds tests for hash and block instantiation

  Undoes string fix for patron/request.rb to keep with scope.

* Handle two failing specs

  One is failing due to no OS support for SSLv2. This is reasonable,
  so I just removed SSLv2 from the list of SSL versions to test. This
  doesn't change the meaning of the test at all.

  I could not find the root cause of the other spec failure, though
  I suspect it is a setup problem. I have disabled the spec for now
  and will revisit it later on.

* Add doc comment
* Add a way to get the Request object

* Revert request action to be a symbol, but still allow upcase and
  downcase strings.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Mar 8 15:17:21 2015 UTC (11 years, 8 months ago) by taca
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -1 lines
Add ${GEM_EXTSDIR}/gem.build_complete for new rubygems and updated ruby.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Mar 17 14:41:15 2014 UTC (12 years, 8 months ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -1 lines
Add GEM_EXTSDIR support.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Mar 18 05:11:32 2012 UTC (14 years, 8 months ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +6 -1 lines
Update ruby-patron to 0.4.18.

Exact changes are unknown.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Nov 8 15:37:34 2011 UTC (15 years ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2011Q4-base, pkgsrc-2011Q4
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +1 -2 lines
* Remove .require_paths from PLIST
* Bump PKGREVISION.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Aug 25 15:49:12 2011 UTC (15 years, 2 months ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2011Q3-base, pkgsrc-2011Q3
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +1 -2 lines
Update www/ruby-patron package to 0.4.15.

Compact changes are not available but some ruby19 related improvement.
Please refer detail: https://github.com/toland/patron/commits/master

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Aug 13 00:30:55 2011 UTC (15 years, 3 months ago) by taca
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -1 lines
Update www/ruby-patron package to 0.4.14.

Changes are unknown.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Mar 23 16:41:03 2011 UTC (15 years, 7 months ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +12 -3 lines
Update ruby-patron pacakge to 0.4.11.

* Added URL encoding when an action is a POST.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Mar 23 15:30:25 2011 UTC (15 years, 7 months ago) by taca
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -1 lines
Update ruby-patron package to 0.4.10.

0.4.10.

* buffer size option.
* Added mutipart post.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Sep 10 13:15:44 2010 UTC (16 years, 2 months ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -3 lines
Update www/ruby-patron to 0.4.8.

* Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk.
* Remove default value of GEM_BUILD.
* Ajust new ruby package's framework.

Changes are unknown.

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Wed Dec 2 12:13:28 2009 UTC (16 years, 11 months ago) by fhajny
Branches: TNF
CVS tags: pkgsrc-base, pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
Import ruby18-patron-0.4.4 as www/ruby-patron.

Patron is a Ruby HTTP client library based on libcurl. It does not try
to expose the full "power" (read complexity) of libcurl but instead
tries to provide a sane API while taking advantage of libcurl under
the hood.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Dec 2 12:13:28 2009 UTC (16 years, 11 months ago) by fhajny
Branches: MAIN
Initial revision

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>