structured_changelog 0.8.1 → 0.8.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ac7ccb6be19c589aa19a3be4b9fff1a6638b0d43
4
- data.tar.gz: aea678c0d73cc03e5062eeef2a3cada42a976596
3
+ metadata.gz: 8eefb22f02379b1f42842cd98cf1704c25cc0aa8
4
+ data.tar.gz: 9e064f42176c4216a3188a84646c16a6a7e60633
5
5
  SHA512:
6
- metadata.gz: 09ad392a6b20c6f3394ee69cbbd073f98618b63ee3cb64efad0207520191cfd22f96c12fbfd0920c6d870427f70af00c68684cf92ebaed84c668d191417b0623
7
- data.tar.gz: 6f8423680af8a11ec95674b8e001e5a765b17f80938e01ebf2ab29f4f303368b081288e0815e7e79cdacf21943d79f3da6698a9cb4ab8cdc624b038daabd95f0
6
+ metadata.gz: 7f0ffee80071e30dc4a32679750906d64998efd0ea62b59e77b58886b819346c69b893d258bd8922168db397e3bf0f07e5bebd9e7d164832fc78f2d3d90b8482
7
+ data.tar.gz: a1fd3bc320574ba7e03e9425a27bca937d990f4dc0fadb2a88911c7867f5f0f6738126c4f41b4dac191fee2a71ac2dd19872fb658f732ecd43d4b2e920b5118f
data/CHANGELOG.md CHANGED
@@ -11,6 +11,10 @@
11
11
  * require release block lines to be ordered in descending severity
12
12
  * disable strict semver version validation before 1.0.0
13
13
 
14
+ ## RELEASE 0.8.2
15
+
16
+ * FIX: `rake changelog:commit` now doesn't care if more things change in your Gemfile.lock during release
17
+
14
18
  ## RELEASE 0.8.1
15
19
 
16
20
  * FIX: `rake changelog:commit` wasn't allowing Gemfile.lock to change version.
@@ -27,17 +27,10 @@ task 'changelog:commit', [:repo_path, :changelog_path, :version_path] do |_task,
27
27
  abort "Please commit all files that aren't #{acceptable_changes.join(' or ')} before bumping the version."
28
28
  end
29
29
 
30
- if diff.key?('Gemfile.lock')
31
- lockfile_only_changed_version = diff['Gemfile.lock'][:deletions] == 1 && diff['Gemfile.lock'][:insertions] == 1
32
-
33
- unless lockfile_only_changed_version
34
- abort "Please commit all Gemfile.lock changes not related to this version bump."
35
- end
36
-
37
- git.add(['Gemfile.lock'])
30
+ acceptable_changes.each do |path|
31
+ git.add([path]) if diff.key?(path)
38
32
  end
39
33
 
40
- git.add([changelog_path, version_path])
41
34
  git.commit("Version bump to #{changelog.version}")
42
35
 
43
36
  puts "Commited 'Version bumped to #{changelog.version}'"
@@ -1,3 +1,3 @@
1
1
  class StructuredChangelog
2
- VERSION = "0.8.1"
2
+ VERSION = "0.8.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: structured_changelog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Hoffman