Sha256: 5f0a56385f9776454f64818cdd1ac551fabcf8056662cd941fac02f78b144a5d

Contents?: true

Size: 603 Bytes

Versions: 4

Compression:

Stored size: 603 Bytes

Contents

require 'bundler/gem_tasks'
require 'rake/testtask'

lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'wire_client/version'

GEM = 'wire_client'
VERSION = WireClient::VERSION

Rake::TestTask.new(:test) do |t|
  t.libs << 'test'
  t.libs << 'lib'
  t.test_files = FileList['test/**/*_test.rb']
end

desc 'Build the gem'
task :build do
  sh %{#{FileUtils::RUBY} -S gem build #{GEM}.gemspec}
end

desc 'Release the gem to rubygems.org'
task release: :build do
  sh %{#{FileUtils::RUBY} -S gem push ./#{GEM}-#{VERSION}.gem}
end

task default: :test

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
wire_client-0.4.1 Rakefile
wire_client-0.4.0 Rakefile
wire_client-0.2.0 Rakefile
wire_client-0.1.4 Rakefile