Sha256: 73fc99f9a404873a9a86c1834961538d009ac79f04d0940bdf59cadd2000ed8f

Contents?: true

Size: 309 Bytes

Versions: 9

Compression:

Stored size: 309 Bytes

Contents

require 'mina'
require 'rake'

class RakeScope
  include Rake::DSL  if Rake.const_defined?(:DSL)
  include Mina::Helpers
end

def rake(&blk)
  if block_given?
    @scope ||= RakeScope.new
    @scope.instance_eval &blk
  end

  @scope
end

def root(*a)
  File.join File.expand_path('../../', __FILE__), *a
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
mina-0.2.1 spec/spec_helper.rb
mina-0.2.0 spec/spec_helper.rb
mina-0.2.0.pre2 spec/spec_helper.rb
mina-0.1.3.pre1 spec/spec_helper.rb
mina-0.1.2 spec/spec_helper.rb
mina-0.1.2.pre2 spec/spec_helper.rb
mina-0.1.2.pre1 spec/spec_helper.rb
mina-0.1.1 spec/spec_helper.rb
mina-0.1.0 spec/spec_helper.rb