groundskeeper-bitcore 0.2.3 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f7d41b5f4caf431f85dc6ca4bc0d67ada5e9e38a
4
- data.tar.gz: 071b420d31a3a84cc1f38b14dd6dbeb2ea710408
3
+ metadata.gz: 10d4bac030194484eea1a5f7c4516a5167cff12e
4
+ data.tar.gz: 9c8687a179b8b35e705c17ddf294782ce47f7aa6
5
5
  SHA512:
6
- metadata.gz: 4a6e60d3e93bd16a6f6aea19e664af3d417bd10b8ad21ea217849ab1de3cca0b1942b295b5211b68cbbdf5bf3e884d9b1d57277fdab8fc2d346cec2f79a9ad10
7
- data.tar.gz: 13e306b130c1f436bc893ef6c318021b2b6331660dc3d31167edb8008595c1d03eceb138462803b962f98c8b3bcf8671d656c5e50f2b6f4345b69d04fb9e5d27
6
+ metadata.gz: 8b7a958d437862e35d9acbc8ba026343406eff8be69598d28ac9c11c652267f8f461586ba06581690e7a4e498a8ac8636d13c6946b4185cd42b7a07e9749ad02
7
+ data.tar.gz: e2ed6f15b10c71942734a895b3312c023486553d065a48d14a981def91cfe5a6711a15712c57591ea3fd5d76940666c8ab2b1af620cf0a07c48453cbe0a85e33
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.4 - 2018-01-30
4
+
5
+ * update document append encoding to uft-8
6
+
3
7
  ## 0.2.3 - 2018-01-16
4
8
 
5
9
  * run whenever task only if configured for the project (#56)
@@ -30,8 +30,8 @@ module Groundskeeper
30
30
 
31
31
  # Inserts the provided value after the expression in place in the file.
32
32
  def append_to_file(expression, value)
33
- content = read
34
- match = content.match(expression)[0]
33
+ content = read.force_encoding("utf-8")
34
+ match = content.match(expression)[0].force_encoding("utf-8")
35
35
  content.gsub! expression, match + value
36
36
  write_file content
37
37
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Groundskeeper
4
- VERSION = "0.2.3"
4
+ VERSION = "0.2.4"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: groundskeeper-bitcore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - BIT Core
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain:
11
11
  - certs/ericcf.pem
12
- date: 2018-01-16 00:00:00.000000000 Z
12
+ date: 2018-01-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jira-ruby