thicket 0.1.2 → 0.1.3

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: e1eb22740e372653621cb4cfc8725d08a6d32c25c2c038ea814c313a2e402fe2
4
- data.tar.gz: f54050ce5287fe08e34eecda262a306432d0cc5fbe349e93a010fee7e59dd64c
3
+ metadata.gz: a742bf5e45b011a1a3d4441df3f4697e2f0b7b1fa8682a9ae9a75aaba49a83f7
4
+ data.tar.gz: d4b5d04c35d18b686fc85b48410f02531a61720d02516d5df780e9cd09c1f17c
5
5
  SHA512:
6
- metadata.gz: 92289582964876fa96921d9da58ddbc1a952cb4bdbcd00fe0305f70c1047209b68e51bb5624fa409b454e742f23133e4c253c26f393833ccbed02a5a89137904
7
- data.tar.gz: faea2aaa37e7b6bb45c7ab50df1c9fee6df2e672c6baeecded45703665116aa2b5b42603ba1c3ecee2164b9c0cae38adc88c39c056bb6750abfe494bf48686ba
6
+ metadata.gz: e60e346a1be1cbb45e1357b4c0a9f878e17c860f9011bb2e60f1026fe0ca6cec80194bcf5560dc72955e1dd34b29212c7ef1acfaadc80d040c2b32235004a9db
7
+ data.tar.gz: 99b51417d4452422a9dcd529f54bebd6a5d191f54c424d4105736bcc8b288da43d33a7a5338c67f16243862c13dd66d28c870d204254212f46894429978d1e73
data/lib/thicket/log.rb CHANGED
@@ -17,7 +17,9 @@ module Thicket
17
17
  # the user.
18
18
  def print
19
19
  FileUtils.cd(git_working_directory)
20
- `#{git_log_command}`.split("\n").each do |l|
20
+ `#{git_log_command}`.encode("UTF-8", invalid: :replace, undef: :replace)
21
+ .split("\n")
22
+ .each do |l|
21
23
  puts process_git_log_line(l)
22
24
 
23
25
  next unless @options[:limit] && @count_parsed >= @options[:limit]
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Thicket
4
4
  #:nodoc:
5
- VERSION ||= "0.1.2"
5
+ VERSION ||= "0.1.3"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thicket
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Taylor Thurlow