buildar 0.3.0.2 → 0.3.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/rakefile.rb +13 -6
  3. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0.2
1
+ 0.3.0.3
data/rakefile.rb CHANGED
@@ -1,11 +1,6 @@
1
1
  require 'rubygems/package_task'
2
2
  require 'rake/testtask'
3
3
 
4
- Rake::TestTask.new :test do |t|
5
- # FIX for your layout
6
- t.pattern = 'test/*.rb'
7
- end
8
-
9
4
  module Buildar
10
5
  ##############################################
11
6
  # Project-specific settings. Edit as needed.
@@ -62,7 +57,7 @@ module Buildar
62
57
  end
63
58
 
64
59
  # e.g. bump(:minor, '1.2.3') #=> '1.3.0'
65
- # only works for integers delimited by periods (dots)
60
+ # only works for versions consisting of integers delimited by periods (dots)
66
61
  #
67
62
  def self.bump(position, version)
68
63
  pos = [:major, :minor, :patch, :build].index(position) || position
@@ -80,6 +75,18 @@ module Buildar
80
75
  end
81
76
  end
82
77
 
78
+
79
+ #######
80
+ # Tasks
81
+ #
82
+ #
83
+
84
+ # task :test runs your test files
85
+ #
86
+ Rake::TestTask.new :test do |t|
87
+ t.pattern = 'test/*.rb' # FIX for your layout
88
+ end
89
+
83
90
  task :version do
84
91
  puts "#{Buildar::PROJECT_NAME} #{Buildar.version}"
85
92
  end
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.3.0.2
4
+ version: 0.3.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: