Sha256: 6d0c7aaf1d2dec41f2b7d437fea4d5e7db8db02fabcf97d38c7d183611252f2e

Contents?: true

Size: 982 Bytes

Versions: 3

Compression:

Stored size: 982 Bytes

Contents

require 'rake/testtask'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name = "jsonpath"
    s.description = s.summary = "Ruby implementation of http://goessner.net/articles/JsonPath/"
    s.email = "joshbuddy@gmail.com"
    s.homepage = "http://github.com/joshbuddy/jsonpath"
    s.authors = ['Joshua Hull']
    s.files = FileList["[A-Z]*", "{lib,spec}/**/*"]
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end

require 'rake/rdoctask'
desc "Generate documentation"
Rake::RDocTask.new do |rd|
  rd.main = "README.rdoc"
  rd.rdoc_files.include("README.rdoc", "lib/**/*.rb")
  rd.rdoc_dir = 'rdoc'
end

require 'rubygems'
require 'spec'
require 'spec/rake/spectask'

Spec::Rake::SpecTask.new do |t|
  t.spec_opts ||= []
  t.spec_opts << "--options" << "spec/spec.opts"
  t.spec_files = FileList['spec/*.rb']
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jsonpath-0.0.3 Rakefile
jsonpath-0.0.2 Rakefile
jsonpath-0.0.1 Rakefile