dr 1.0.2 → 1.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.
@@ -169,6 +169,7 @@ module Dr
169
169
  version = PkgVersion.new version_string
170
170
  log :info, "Source version: #{version.source.style "version"}"
171
171
 
172
+ version.add_build_tag
172
173
  while build_exists? version
173
174
  version.increment!
174
175
  end
@@ -108,9 +108,13 @@ module Dr
108
108
  v
109
109
  end
110
110
 
111
+ def add_build_tag
112
+ @date = today
113
+ end
114
+
111
115
  private
112
116
  def today
113
- Time.now.strftime "%Y%m%d"
117
+ Time.now.strftime("%Y%m%d").to_i
114
118
  end
115
119
 
116
120
  def compare(o)
@@ -2,5 +2,5 @@
2
2
  # License: http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2
3
3
 
4
4
  module Dr
5
- VERSION = "1.0.2"
5
+ VERSION = "1.0.3"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: