lolcommits 0.16.4 → 0.16.5

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
  SHA256:
3
- metadata.gz: 127f7270f2ceb68501f4f2f158092290638eb45fc7fa9cb354a73bd5f7141016
4
- data.tar.gz: 1a059a885d1acbaa0d988365495802ee9bab2bc78e8c95751cee495ee40bdfc2
3
+ metadata.gz: 94d96e51b8407de4bc9d43d934f2e8ab3083f90f06f86e3fdda8eadb955d6904
4
+ data.tar.gz: 1d066b8c0b882fbc5dbbe809bd6cb0dceaa2fdef48f0cc5707d5de4fca9f4be2
5
5
  SHA512:
6
- metadata.gz: 0be060d8b449e66f875997ec02e5ad745ad75d320087a5d19f27f506829dcac7796c997cf7e14bb021950222a57e416fdf8ad1724c45dbd3bb92f4d788dec045
7
- data.tar.gz: fbb14bf9cc8f82662efb190707f254880509484ab9f4e4a2f4f5c09cf47ad6c552358c864347c30a55ea04f77f1a54c2259f49302e70196a4d1d4d587168e32b
6
+ metadata.gz: e67d72b88b87f707d495b128a1c96965af19cfb7c0d64a3c7a63473a1368a16cea58a3c47a1cfa01ff2fffd041376f83969b120631706a34ea43b5dcb62135cc
7
+ data.tar.gz: 2b1c3889494d36dcba4925890d7d55964ffe1ff7edb19845a64fa68004223ac60a76cab64f702ea0e9b8094a0a58afb611f9fe6ace50796600af3a147027a3fa
data/CHANGELOG.md CHANGED
@@ -7,6 +7,10 @@ This project adheres to [Semantic Versioning][Semver].
7
7
 
8
8
  * Your contribution here!
9
9
 
10
+ ## [0.16.5][] (29 May 2024)
11
+ * Use Git 1.19.1 [#430][]
12
+ * Fix undefined method `rm_f` for File:Class (@khramtsoff [#432][])
13
+
10
14
  ## [0.16.4][] (05 Sep 2023)
11
15
  * Fixing for Git 1.18+, it no longer sets a `$GIT_DIR` in post-commit hooks [#417][]
12
16
 
@@ -388,7 +392,8 @@ This project adheres to [Semantic Versioning][Semver].
388
392
  reliable to not glitch.)
389
393
 
390
394
  [Semver]: http://semver.org
391
- [Unreleased]: https://github.com/lolcommits/lolcommits/compare/v0.16.4...HEAD
395
+ [Unreleased]: https://github.com/lolcommits/lolcommits/compare/v0.16.5...HEAD
396
+ [0.16.5]: https://github.com/lolcommits/lolcommits/compare/v0.16.4...v0.16.5
392
397
  [0.16.4]: https://github.com/lolcommits/lolcommits/compare/v0.16.3...v0.16.4
393
398
  [0.16.3]: https://github.com/lolcommits/lolcommits/compare/v0.16.2...v0.16.3
394
399
  [0.16.2]: https://github.com/lolcommits/lolcommits/compare/v0.16.1...v0.16.2
@@ -604,3 +609,5 @@ This project adheres to [Semantic Versioning][Semver].
604
609
  [#405]: https://github.com/lolcommits/lolcommits/pull/405
605
610
  [#411]: https://github.com/lolcommits/lolcommits/pull/411
606
611
  [#417]: https://github.com/lolcommits/lolcommits/pull/417
612
+ [#430]: https://github.com/lolcommits/lolcommits/pull/430
613
+ [#432]: https://github.com/lolcommits/lolcommits/pull/432
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Lolcommits
4
4
  class GitInfo
5
- GIT_URL_REGEX = %r{.*:([/\w-]*).git}
5
+ GIT_URL_REGEX = %r{.*:([/\w-]*).git}.freeze
6
6
 
7
7
  def self.repo_root?(path = '.')
8
8
  File.directory?(File.join(path, '.git'))
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'fileutils'
4
+
3
5
  module Lolcommits
4
6
  module CLI
5
7
  # Helper class for forking lolcommits process to the background (or not).
@@ -37,7 +39,7 @@ module Lolcommits
37
39
  end
38
40
 
39
41
  def delete_pid
40
- File.rm_f(pid_file)
42
+ FileUtils.rm_f(pid_file)
41
43
  end
42
44
 
43
45
  def pid_file
@@ -78,13 +78,13 @@ module Lolcommits
78
78
  def puts(*args)
79
79
  return if runner&.capture_stealth
80
80
 
81
- super(*args)
81
+ super
82
82
  end
83
83
 
84
84
  def print(*args)
85
85
  return if runner&.capture_stealth
86
86
 
87
- super(*args)
87
+ super
88
88
  end
89
89
 
90
90
  # helper to log errors with a message via debug
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Lolcommits
4
4
  class PluginManager
5
- GEM_NAME_PREFIX = /^#{Lolcommits::GEM_NAME}-/
5
+ GEM_NAME_PREFIX = /^#{Lolcommits::GEM_NAME}-/.freeze
6
6
 
7
7
  def self.init
8
8
  pm = new
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Lolcommits
4
- VERSION = "0.16.4"
4
+ VERSION = "0.16.5"
5
5
  GEM_NAME = "lolcommits"
6
6
  end
data/lolcommits.gemspec CHANGED
@@ -43,7 +43,7 @@ Gem::Specification.new do |s|
43
43
  s.add_runtime_dependency('mini_magick', '~> 4.12.0')
44
44
  s.add_runtime_dependency('launchy', '~> 2.5.0')
45
45
  s.add_runtime_dependency('open4', '~> 1.3.4')
46
- s.add_runtime_dependency('git', '~> 1.18.0')
46
+ s.add_runtime_dependency('git', '~> 1.19.1')
47
47
 
48
48
  # included plugins
49
49
  s.add_runtime_dependency('lolcommits-loltext', '~> 0.4.0')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lolcommits
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.4
4
+ version: 0.16.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Rothenberg
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-09-05 00:00:00.000000000 Z
12
+ date: 2024-05-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: methadone
@@ -87,14 +87,14 @@ dependencies:
87
87
  requirements:
88
88
  - - "~>"
89
89
  - !ruby/object:Gem::Version
90
- version: 1.18.0
90
+ version: 1.19.1
91
91
  type: :runtime
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
95
  - - "~>"
96
96
  - !ruby/object:Gem::Version
97
- version: 1.18.0
97
+ version: 1.19.1
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: lolcommits-loltext
100
100
  requirement: !ruby/object:Gem::Requirement
@@ -329,7 +329,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
329
329
  requirements:
330
330
  - imagemagick
331
331
  - a webcam
332
- rubygems_version: 3.4.17
332
+ rubygems_version: 3.5.11
333
333
  signing_key:
334
334
  specification_version: 4
335
335
  summary: Capture webcam image on git commit for lulz.