Sha256: 772932e2d4b497e628abbc42380e59bda75b642bb97e81d9fdbf1eed83e5bf4b
Contents?: true
Size: 1.36 KB
Versions: 1
Compression:
Stored size: 1.36 KB
Contents
require 'rake' require 'rake/clean' require 'rake/gempackagetask' require 'rake/testtask' require_relative 'lib/json/stream' spec = Gem::Specification.new do |s| s.name = "json-stream" s.version = JSON::Stream::VERSION s.date = Time.now.strftime("%Y-%m-%d") s.summary = "A streaming JSON parser that generates SAX-like events." s.description = "A finite state machine based JSON parser that generates events for each state change. This allows us to stream both the JSON document into memory and the parsed object graph out of memory to some other process. This is much like an XML SAX parser that generates events during parsing. There is no requirement for the document nor the object graph to be fully buffered in memory. This is best suited for huge JSON documents that won't fit in memory. For example, streaming and processing large map/reduce views from Apache CouchDB." s.email = "david.malcom.graham@gmail.com" s.homepage = "http://github.com/dgraham/json-stream" s.authors = ["David Graham"] s.files = FileList['[A-Z]*', "{lib}/**/*"] s.require_path = "lib" s.test_files = FileList["{test}/**/*test.rb"] s.required_ruby_version = '>= 1.9.1' end Rake::GemPackageTask.new(spec) do |pkg| pkg.need_tar = true end Rake::TestTask.new(:test) do |test| test.pattern = 'test/**/*_test.rb' test.warning = true end task :default => [:clobber, :test, :gem]
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
json-stream-0.1.1 | Rakefile |