Ruby mogilefs-client dev/users discussion/patches/bugs/help/...
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [ANN] Ruby mogilefs-client 3.12.0 released
@ 2019-01-02 22:54  5% Eric Wong
  0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2019-01-02 22:54 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.

Minor cleanups, mainly to fix indentation warnings in Ruby 2.6+

7 changes since v3.11.1 (2017-03-23):

      pool: simplify empty class definition
      new_file/stream: remove unused variable
      mog: add updateclass command
      socket/pure_ruby: favor String#clear if available
      fix indentation warnings with ruby trunk
      doc: https:// URLs instead of git://
      update URLs to point to wiki

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] pool: simplify empty class definition
@ 2017-06-26  2:33  7% Eric Wong
  0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2017-06-26  2:33 UTC (permalink / raw)
  To: mogilefs-client-public

This should compile to smaller bytecode with YARV
---
 lib/mogilefs/pool.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/mogilefs/pool.rb b/lib/mogilefs/pool.rb
index e7c4009..390e4a9 100644
--- a/lib/mogilefs/pool.rb
+++ b/lib/mogilefs/pool.rb
@@ -11,7 +11,7 @@ class MogileFS::Pool
   # Default: 2
   attr_accessor :purge_keep
 
-  class BadObjectError < RuntimeError; end
+  BadObjectError = Class.new(RuntimeError)
 
   def initialize(klass, *args)
     @args = args
-- 
EW


^ permalink raw reply related	[relevance 7%]

Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2017-06-26  2:33  7% [PATCH] pool: simplify empty class definition Eric Wong
2019-01-02 22:54  5% [ANN] Ruby mogilefs-client 3.12.0 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).