Sha256: 205750a522c3a3450cee0b6d912a9c3921b78e714b3eeb06950aa02b735bdee5

Contents?: true

Size: 900 Bytes

Versions: 32

Compression:

Stored size: 900 Bytes

Contents

require 'rake'
require "bundler/gem_tasks"

require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'test/**/*_test.rb'
  test.verbose = true
end

begin
  require 'rcov/rcovtask'
  Rcov::RcovTask.new do |test|
    test.libs << 'test'
    test.pattern = 'test/**/*_test.rb'
    test.verbose = true
  end
rescue LoadError
  task :rcov do
    abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
  end
end

task :default => :test

require 'rdoc/task'
Rake::RDocTask.new do |rdoc|
  if File.exist?('VERSION.yml')
    config = YAML.load(File.read('VERSION.yml'))
    version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
  else
    version = ""
  end

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "shopify_api #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
shopify_api-7.0.1 Rakefile
shopify_api-7.0.0 Rakefile
shopify_api-6.0.0 Rakefile
shopify_api-5.2.4 Rakefile
shopify_api-5.2.3 Rakefile
shopify_api-5.2.2 Rakefile
shopify_api-5.2.1 Rakefile
shopify_api-5.2.0 Rakefile
shopify_api-5.1.0 Rakefile
shopify_api-5.0.0 Rakefile
shopify_api-4.13.0 Rakefile
shopify_api-4.12.0 Rakefile
shopify_api-4.11.0 Rakefile
shopify_api-4.10.0 Rakefile
shopify_api-4.9.1 Rakefile
shopify_api-4.9.0 Rakefile
shopify_api-4.8.0 Rakefile
shopify_api-4.7.1 Rakefile
shopify_api-4.7.0 Rakefile
shopify_api-4.6.0 Rakefile