buildar 0.0.2.3 → 0.0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/rakefile.rb +8 -2
  3. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2.3
1
+ 0.0.3.1
@@ -1,4 +1,10 @@
1
1
  require 'rubygems/package_task'
2
+ require 'rake/testtask'
3
+
4
+ Rake::TestTask.new :test do |t|
5
+ # FIX for your layout
6
+ t.pattern = 'test/*.rb'
7
+ end
2
8
 
3
9
  PROJECT_ROOT = File.dirname(__FILE__)
4
10
  PROJECT_NAME = File.split(PROJECT_ROOT).last
@@ -13,7 +19,7 @@ task :version do
13
19
  puts "#{PROJECT_NAME} #{version}"
14
20
  end
15
21
 
16
- task :tag do
22
+ task :tag => [:test] do
17
23
  tagname = "v#{version}"
18
24
  sh "git tag -a #{tagname} -m 'auto-tagged #{tagname} by Rake'"
19
25
  sh "git push origin --tags"
@@ -27,7 +33,7 @@ task :manifest do
27
33
  puts manifest.join("\n")
28
34
  end
29
35
 
30
- task :build => [:bump_build] do
36
+ task :build => [:test, :bump_build] do
31
37
  spec = Gem::Specification.new do |s|
32
38
  # Static assignments
33
39
  s.name = PROJECT_NAME
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: buildar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2.3
4
+ version: 0.0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-04 00:00:00.000000000 Z
12
+ date: 2013-07-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: minitest