Sha256: 1909f09cca58b75e17b54729b42badbb2de2276b1172b8892ca4e6f65d6b566b

Contents?: true

Size: 368 Bytes

Versions: 26

Compression:

Stored size: 368 Bytes

Contents

module Yajl
  module Gzip
    # Wraper around the Zlib::GzipWriter class
    class StreamWriter < ::Zlib::GzipWriter
      # A helper method for one-off encoding to a gzip-compressed stream
      #
      # Look up Yajl::Encoder#encode for parameter documentation
      def self.encode(obj, io)
        Yajl::Encoder.new.encode(obj, new(io))
      end
    end
  end
end

Version data entries

26 entries across 26 versions & 9 rubygems

Version Path
fluent-plugin-nuopenlineage-light-0.1.0 vendor/bundle/ruby/3.3.0/gems/yajl-ruby-1.4.3/lib/yajl/gzip/stream_writer.rb
fluent-plugin-openlineage-light-0.1.4 vendor/bundle/ruby/3.3.0/gems/yajl-ruby-1.4.3/lib/yajl/gzip/stream_writer.rb
fluent-plugin-openlineage-light-0.1.3 vendor/bundle/ruby/3.3.0/gems/yajl-ruby-1.4.3/lib/yajl/gzip/stream_writer.rb
fluent-plugin-openlineage-0.1.0 vendor/bundle/ruby/3.3.0/gems/yajl-ruby-1.4.3/lib/yajl/gzip/stream_writer.rb
fluent-plugin-google-cloud-logging-on-prem-0.1.0 vendor/ruby/3.1.0/gems/yajl-ruby-1.4.3/lib/yajl/gzip/stream_writer.rb
yajl-ruby-1.4.3 lib/yajl/gzip/stream_writer.rb
yajl-ruby-1.4.2 lib/yajl/gzip/stream_writer.rb
yajl-ruby-1.4.1 lib/yajl/gzip/stream_writer.rb
yajl-ruby-1.4.0 lib/yajl/gzip/stream_writer.rb
yajl-ruby-1.2.3 lib/yajl/gzip/stream_writer.rb
yajl-ruby-1.3.1 lib/yajl/gzip/stream_writer.rb
fluent-plugin-detect-memb-exceptions-0.0.2 vendor/bundle/ruby/2.0.0/gems/yajl-ruby-1.3.0/lib/yajl/gzip/stream_writer.rb
fluent-plugin-detect-memb-exceptions-0.0.1 vendor/bundle/ruby/2.0.0/gems/yajl-ruby-1.3.0/lib/yajl/gzip/stream_writer.rb
yajl-ruby-1.2.2 lib/yajl/gzip/stream_writer.rb
yajl-ruby-1.3.0 lib/yajl/gzip/stream_writer.rb
tdiary-4.2.1 vendor/bundle/ruby/2.2.0/gems/yajl-ruby-1.2.1/lib/yajl/gzip/stream_writer.rb
yajl-ruby-1.2.1 lib/yajl/gzip/stream_writer.rb
yajl-ruby-1.2.0 lib/yajl/gzip/stream_writer.rb
yajl-ruby-zenjoy-1.1.0 lib/yajl/gzip/stream_writer.rb
yajl-ruby-maglev--1.1.0 lib/yajl/gzip/stream_writer.rb