rake_roll 2.0.1 → 2.0.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0cb8c149b57b098435b8aac3e7b4ff4c7e248a5b
4
- data.tar.gz: 5d5a461e3bfbf4bd1870a9a4895b6acd0b5d7d9a
3
+ metadata.gz: 639d9a1f69aa3c5ecd2dd8768e9a179773556675
4
+ data.tar.gz: 40a2deada2af048a397496cbe21244629f46079a
5
5
  SHA512:
6
- metadata.gz: 9270aec9cd6c5e47f491899895a1ac0496119cbe5de1cfa0c16af45cc68f3756864a95a67c939f6d579e84fd01eec0cf51b84fc84f25836ae70f1ac8ea43af4a
7
- data.tar.gz: dad7fd9a97142476e923c8a72a219e6749b69a26db3f21f1603c5e937ee221451b5096bf13d7d718da603ba8afc1340a01ed8c944ffe2ef5f0b79e4bfd5e6eb3
6
+ metadata.gz: 625b2e6e9a876c6c597b6873172ddb9b1c16eac5389f90adc9077b225302fed0ccaa9863bacbc06f6a60fb9ad0a89d6e2a162c23d161d3aae85d92862df597ab
7
+ data.tar.gz: 072132b022c344d3ac62e4fc3a1c7fad9be1fee6b235c8a5fd0dde2e0facb2f906311f0c727438753af68b19ea88fffdc156c13a53f326dde819e60dd1a2b185
data/README.md CHANGED
@@ -22,9 +22,10 @@ Or install it yourself as:
22
22
 
23
23
  rake roll # shows version and all options
24
24
  rake roll:pre # Bump to 0.1.0a
25
- rake roll:bump # Bump to 0.1.1
25
+ rake roll:revision # Bump to 0.1.1
26
26
  rake roll:major # Bump to 1.0.0
27
27
  rake roll:minor # Bump to 0.2.0
28
+ rake roll:bump # pass VERSION=*.*.* to create manual version number
28
29
  rake roll:next # run and update changelog without creating a tag
29
30
 
30
31
  The above will do a dry run, and show the changelog updates in the
@@ -39,12 +40,18 @@ Or install it yourself as:
39
40
 
40
41
  CHANGELOG
41
42
 
42
- Only commits starting with *, 'Tech' or match /^@[0-9a-zA-Z\-_]{3,27} #[0-9]{4,6} .{5,}/ will be added to the changelog, example:
43
+ Only commits starting with *, 'Tech' or matching regex /^@[0-9a-zA-Z\-_]{3,27} #[0-9]{4,6} .{5,}/ will be added to the changelog, example:
43
44
 
44
45
  * BugFix: #1234 IE6 Positioning fix
45
46
  * Feature: #1111 Adding rake_roll to the Gemfile
46
47
  * HotFix: Don't Delete current users
47
48
 
49
+ or
50
+
51
+ @assembla-space :: #1234 :: Assembla style ticket heading
52
+ @assembla-space :: #2345 :: Put what you want here
53
+ @assembla-space :: #4567 :: Some title
54
+
48
55
  FILES
49
56
 
50
57
  rake roll will create a VERSION and CHANGELOG file on the root of
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.0.1
1
+ 2.0.2
@@ -41,7 +41,7 @@ module RakeRoll
41
41
  log_to_s
42
42
  puts "To run for real:"
43
43
  if type == "bump"
44
- puts "$> BUMP=#{new_version} PUSH=true rake roll:#{type}"
44
+ puts "$> VERSION=#{new_version} PUSH=true rake roll:#{type}"
45
45
  else
46
46
  puts "$> PUSH=true rake roll:#{type}"
47
47
  end
@@ -10,7 +10,7 @@ task :roll => :environment do
10
10
  puts "rake roll:minor #{roller.current_version} => #{version.minor}"
11
11
  puts "rake roll:major #{roller.current_version} => #{version.major}"
12
12
  puts "rake roll:next Writes latest commits to changelog without tagging or updating version"
13
- puts "rake roll:bump Pass bumped version in eg: BUMP=#{version.bump_example}"
13
+ puts "rake roll:bump Pass bumped version in eg: VERSION=#{version.bump_example}"
14
14
  puts "----------------------"
15
15
  puts "Above will do a dry run, Run with PUSH=true to run for real"
16
16
  puts "----------------------"
@@ -81,11 +81,11 @@ namespace :roll do
81
81
  end
82
82
  end
83
83
 
84
- desc "#{RakeRoll::Roller.new.current_version} => Pass bumped version in eg: BUMP=1.2.3"
84
+ desc "#{RakeRoll::Roller.new.current_version} => Pass bumped version in eg: VERSION=1.2.3"
85
85
  task :bump => :environment do
86
86
  roller = RakeRoll::Roller.new
87
87
  version = RakeRoll::Versioning.new(roller.current_version)
88
- if new_version = ENV["BUMP"]
88
+ if new_version = ENV["VERSION"]
89
89
  if version.current_version
90
90
  roller.new_version = new_version
91
91
  do_your_thing(roller, version, "bump")
@@ -93,7 +93,7 @@ namespace :roll do
93
93
  puts "ERROR: Invalid Version Number #{roller.current_version}"
94
94
  end
95
95
  else
96
- puts "You must supply a version number i.e. BUMP=#{version.revision} rake roll:bump"
96
+ puts "You must supply a version number i.e. VERSION=#{version.revision} rake roll:bump"
97
97
  end
98
98
  end
99
99
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake_roll
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stuart Hanscombe
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-02-05 00:00:00.000000000 Z
12
+ date: 2018-02-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler