Sha256: b4100e6ce7bb0dcf98623ea92b97687c4ba405c6358c01b964261c264f940328

Contents?: true

Size: 724 Bytes

Versions: 42

Compression:

Stored size: 724 Bytes

Contents

require 'bundler'
Bundler::GemHelper.install_tasks

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:base_spec) do |task|
  task.pattern = 'spec/multi_json_spec.rb'
end

namespace :adapters do
  Dir['spec/*_adapter_spec.rb'].each do |adapter_spec|
    adapter_name = adapter_spec[/(\w+)_adapter_spec/, 1]
    desc "Run #{adapter_name} adapter specs"
    RSpec::Core::RakeTask.new(adapter_name) do |task|
      task.pattern = adapter_spec
    end
  end
end

task :spec => %w[base_spec adapters:oj adapters:yajl adapters:json_gem adapters:json_pure adapters:ok_json adapters:gson adapters:jr_jackson adapters:nsjsonserialization]

task :default => :spec
task :test => :spec

require 'yard'
YARD::Rake::YardocTask.new

Version data entries

42 entries across 42 versions & 3 rubygems

Version Path
multi_json-1.8.4 Rakefile
multi_json-1.8.3 Rakefile
plyom_user-0.1.8 vendor/bundle/ruby/2.0.0/gems/multi_json-1.8.2/Rakefile
plyom_user-0.1.7 vendor/bundle/ruby/2.0.0/gems/multi_json-1.8.2/Rakefile
plyom_user-0.1.6 vendor/bundle/ruby/2.0.0/gems/multi_json-1.8.2/Rakefile
plyom_user-0.1.5 vendor/bundle/ruby/2.0.0/gems/multi_json-1.8.2/Rakefile
plyom_user-0.1.4 vendor/bundle/ruby/2.0.0/gems/multi_json-1.8.2/Rakefile
plyom_user-0.1.3 vendor/bundle/ruby/2.0.0/gems/multi_json-1.8.2/Rakefile
plyom_user-0.1.2 vendor/bundle/ruby/2.0.0/gems/multi_json-1.8.2/Rakefile
plyom_user-0.1.1 vendor/bundle/ruby/2.0.0/gems/multi_json-1.8.2/Rakefile
plyom_user-0.1.0 vendor/bundle/ruby/2.0.0/gems/multi_json-1.8.2/Rakefile
plyom_user-0.0.9 vendor/bundle/ruby/2.0.0/gems/multi_json-1.8.2/Rakefile
plyom_user-0.0.8 vendor/bundle/ruby/2.0.0/gems/multi_json-1.8.2/Rakefile
plyom_user-0.0.7 vendor/bundle/ruby/2.0.0/gems/multi_json-1.8.2/Rakefile
plyom_user-0.0.6 vendor/bundle/ruby/2.0.0/gems/multi_json-1.8.2/Rakefile
plyom_user-0.0.5 vendor/bundle/ruby/2.0.0/gems/multi_json-1.8.2/Rakefile
plyom_user-0.0.4 vendor/bundle/ruby/2.0.0/gems/multi_json-1.8.2/Rakefile
plyom_user-0.0.3 vendor/bundle/ruby/2.0.0/gems/multi_json-1.8.2/Rakefile
plyom_user-0.0.2 vendor/bundle/ruby/2.0.0/gems/multi_json-1.8.2/Rakefile
multi_json-1.8.2 Rakefile