* [ANN] Ruby mogilefs-client 3.12.1 released
@ 2019-11-11 22:14 5% Eric Wong
0 siblings, 0 replies; 3+ results
From: Eric Wong @ 2019-11-11 22:14 UTC (permalink / raw)
To: mogile, mogilefs-client-public; +Cc: ruby-talk
A MogileFS client library for Ruby. MogileFS is an open source
distributed filesystem, see:
https://github.com/mogilefs/MogileFS-Server/wiki for more
details. This library allows any Ruby application to read,
write and delete files in a MogileFS instance.
Changes:
Minor cleanups, mainly to fix annoying warnings in Ruby 2.7.0dev.
4 changes since v3.12.0 (2019-01-02):
pkg.mk: use dark216 olddoc theme for Earth Day 2019
mogilefs: actually use kwarg for Net::HTTP::Persistent.new
fix more indentation warnings
test_client: quiet warnings about redefining accessors
rdoc :: https://bogomips.org/mogilefs-client/
feed :: https://bogomips.org/mogilefs-client/NEWS.atom.xml
list :: mogilefs-client-public@bogomips.org
list-cc :: mogile@googlegroups.com
list-archive :: https://bogomips.org/mogilefs-client-public/
git clone https://bogomips.org/mogilefs-client.git
nntp://news.public-inbox.org/inbox.comp.file-systems.mogilefs.ruby
^ permalink raw reply [relevance 5%]
* [PATCH 3/3] test_client: quiet warnings about redefining accessors
2019-10-30 9:23 6% [PATCH 0/3] updates for newer Rubies Eric Wong
@ 2019-10-30 9:23 7% ` Eric Wong
0 siblings, 0 replies; 3+ results
From: Eric Wong @ 2019-10-30 9:23 UTC (permalink / raw)
To: mogilefs-client-public
lasterr and lasterrstr are already readers, so we only need
to expose them as writers, not as both.
---
test/test_client.rb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/test/test_client.rb b/test/test_client.rb
index a6e6c1f..cbf298a 100644
--- a/test/test_client.rb
+++ b/test/test_client.rb
@@ -3,7 +3,8 @@
require 'mogilefs'
class MogileFS::Backend
- attr_accessor :timeout, :lasterr, :lasterrstr, :hosts
+ attr_accessor :timeout, :hosts
+ attr_writer :lasterr, :lasterrstr
end
class MogileFS::Client
^ permalink raw reply related [relevance 7%]
* [PATCH 0/3] updates for newer Rubies
@ 2019-10-30 9:23 6% Eric Wong
2019-10-30 9:23 7% ` [PATCH 3/3] test_client: quiet warnings about redefining accessors Eric Wong
0 siblings, 1 reply; 3+ results
From: Eric Wong @ 2019-10-30 9:23 UTC (permalink / raw)
To: mogilefs-client-public
Newer Rubies warn about more things, which is annoying
to users who don't code *sigh*
Eric Wong (3):
mogilefs: actually use kwarg for Net::HTTP::Persistent.new
fix more indentation warnings
test_client: quiet warnings about redefining accessors
lib/mogilefs/mogilefs.rb | 7 +++++--
lib/mogilefs/new_file/stream.rb | 4 ++--
test/test_client.rb | 3 ++-
test/test_fresh.rb | 4 ++--
test/test_http_reader.rb | 4 ++--
test/test_mogilefs.rb | 16 ++++++++--------
test/test_mogilefs_integration.rb | 4 ++--
7 files changed, 23 insertions(+), 19 deletions(-)
^ permalink raw reply [relevance 6%]
Results 1-3 of 3 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2019-10-30 9:23 6% [PATCH 0/3] updates for newer Rubies Eric Wong
2019-10-30 9:23 7% ` [PATCH 3/3] test_client: quiet warnings about redefining accessors Eric Wong
2019-11-11 22:14 5% [ANN] Ruby mogilefs-client 3.12.1 released Eric Wong
Code repositories for project(s) associated with this public inbox
https://yhbt.net/mogilefs-client.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).