Sha256: 96aface929b98dd0bc3c2318ef35e2b2ac936efaf7130315e70a852c3e3eb4b5

Contents?: true

Size: 535 Bytes

Versions: 29

Compression:

Stored size: 535 Bytes

Contents

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'

desc "Run specs"
RSpec::Core::RakeTask.new(:spec)

desc "Run specs (default)"
task :default => :spec

desc "Remove protobuf definitions that have been compiled"
task :clean do
  FileUtils.rm(Dir.glob("spec/support/protobuf/**/*.proto"))
  puts "Cleaned"
end

desc "Compile spec/support protobuf definitions"
task :compile, [] => :clean do
  cmd = "rprotoc --ruby_out=spec/support/protobuf --proto_path=spec/support/definitions spec/support/definitions/*.proto"
  sh(cmd)
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
protobuf-activerecord-3.1.0.alpha2 Rakefile
protobuf-activerecord-3.1.0.alpha Rakefile
protobuf-activerecord-3.0.2 Rakefile
protobuf-activerecord-3.0.1 Rakefile
protobuf-activerecord-3.0.0 Rakefile
protobuf-activerecord-3.0.0.rc4 Rakefile
protobuf-activerecord-3.0.0.rc3 Rakefile
protobuf-activerecord-3.0.0.rc2 Rakefile
protobuf-activerecord-3.0.0.pre Rakefile
protobuf-activerecord-2.1.0 Rakefile
protobuf-activerecord-2.1.0.rc2 Rakefile
protobuf-activerecord-2.1.0.rc1 Rakefile
protobuf-activerecord-2.1.0.beta3 Rakefile
protobuf-activerecord-2.1.0.beta2 Rakefile
protobuf-activerecord-2.1.0.beta Rakefile
protobuf-activerecord-2.0.1 Rakefile
protobuf-activerecord-2.0.0 Rakefile
protobuf-activerecord-2.0.0.rc1 Rakefile
protobuf-activerecord-2.0.0.beta Rakefile
protobuf-activerecord-1.2.6 Rakefile