lib/semmy/version_string.rb in semmy-1.1.0 vs lib/semmy/version_string.rb in semmy-1.2.0
- old
+ new
@@ -60,9 +60,13 @@
end
components.join('.')
end
+ def stable_branch_name(version, stable_branch_name_pattern)
+ stable_branch_name_pattern % VersionString.components(version)
+ end
+
def previous_stable_branch_name(version, stable_branch_name_pattern)
stable_branch_name_pattern % previous_minor_version_components(version)
end
private