marked-conductor 1.0.31 → 1.0.32

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: d0e1ef1b159b7512a91fd58ee494b7536624fea11f575cfe5878351b20509a50
4
- data.tar.gz: 6c2133011cc6f684e96ce94595cbb997815ead07dd8893a30f6828d3a8aaa079
3
+ metadata.gz: 7db6a6044dabe2b2487ae53119d385822269ef5a188727e37976310e5b47e54e
4
+ data.tar.gz: 6d054087984dcd36038705e7ae7fd4b9fc94cc2194899a9e3eb01903ee44f93f
5
5
  SHA512:
6
- metadata.gz: '0088bada15dde89533decf97c43979e36c899de5736782847fc43ddf6edcaf2fe81ac9e0e94c485d9104b41e3040288cd2302609b7d503fa18ebe95bb3945ae4'
7
- data.tar.gz: 2ade2bebfdc5db48e06bf3a43eddb102f188a3da21c1bbfe73641d7688133a16214056d30de92b79c4310af9758696d1b3251e40f5f37555a5366c7c696786e0
6
+ metadata.gz: acd13153ea7b8401fd2e602f3935178eceee61359d8a32e1f228f1adbb4459b76330a4d98440511dca85cd92ae7ff731725102a39e56cd68327f9c756904cc62
7
+ data.tar.gz: 60c139677c180c043c5aaeddf9cfe6df338e9f62e6eb8ef0384c15accc1f666763259b3f94abd5374b86a60fa486f67b821ddd484edc1112e78fa3f9c05a553e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ### 1.0.32
2
+
3
+ 2024-07-31 11:12
4
+
5
+ #### FIXED
6
+
7
+ - Force UTF-8 encoding on Env and STDIN in command.rb and script.rb
8
+
1
9
  ### 1.0.31
2
10
 
3
11
  2024-07-29 15:40
@@ -67,7 +67,7 @@ module Conductor
67
67
  end
68
68
 
69
69
  if use_stdin
70
- `echo #{Shellwords.escape(stdin)} | #{Env} #{path} #{args}`
70
+ `echo #{Shellwords.escape(stdin.force_encoding("utf-8"))} | #{Env} #{path} #{args}`
71
71
  else
72
72
  `#{Env} #{path} #{args}`
73
73
  end
data/lib/conductor/env.rb CHANGED
@@ -61,7 +61,7 @@ module Conductor
61
61
  "MARKED_PHASE" => @env[:phase],
62
62
  "OUTLINE" => @env[:outline],
63
63
  "PATH" => @env[:path]
64
- }.map { |k, v| %(#{k}="#{v}") }.join(" ")
64
+ }.map { |k, v| %(#{k}="#{v}") }.join(" ").force_encoding("utf-8")
65
65
  end
66
66
  end
67
67
  end
@@ -72,7 +72,7 @@ module Conductor
72
72
  end
73
73
 
74
74
  if use_stdin
75
- `echo #{Shellwords.escape(stdin)} | #{Env} #{@path} #{@args}`
75
+ `echo #{Shellwords.escape(stdin.force_encoding("utf-8"))} | #{Env} #{@path} #{@args}`
76
76
  else
77
77
  `#{Env} #{@path} #{@args}`
78
78
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Conductor
4
- VERSION = '1.0.31'
4
+ VERSION = '1.0.32'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: marked-conductor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.31
4
+ version: 1.0.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Terpstra
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-29 00:00:00.000000000 Z
11
+ date: 2024-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: awesome_print