quandl_utility 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/UPGRADE.md +12 -0
- data/VERSION +1 -1
- data/tasks/utility.rake +1 -2
- metadata +1 -1
data/UPGRADE.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.5
|
data/tasks/utility.rake
CHANGED
@@ -64,13 +64,12 @@ namespace :quandl do
|
|
64
64
|
# collect commits that match JIRA syntax
|
65
65
|
since = "v#{gemc.version}"
|
66
66
|
commits = gemc.changelog_matching.collect do |matching|
|
67
|
-
%x{ git --no-pager log
|
67
|
+
%x{ git --no-pager log #{since}..HEAD --pretty=oneline --grep='#{matching}'}
|
68
68
|
end.join
|
69
69
|
# split newlines and exclude reference, select uniq
|
70
70
|
commits = commits.split("\n").collect{|c| "* #{c[41..-1]}" }.uniq
|
71
71
|
# compose prepend string
|
72
72
|
new_version = File.read('VERSION')
|
73
|
-
puts "bumping from #{since} to v#{new_version}"
|
74
73
|
commits = "## #{new_version} \n\n" + commits.join("\n") + "\n\n\n\n"
|
75
74
|
# prepend to UPGRADE.md
|
76
75
|
changelog = gemc.changelog_path
|