maprename 0.1.4 → 0.1.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: d5a351cfdc5908f5edf5e15c279f6161e28e30d5779656d1bd0578b1960e32b3
4
- data.tar.gz: 66c2cd03592c6e92ff4d1ee80d2b9ed88a7b8e6d31112fc24318f8b6f8d87f64
3
+ metadata.gz: f9e155e14542678ace10484308f75caaaa8cb7955aec7c90698888980cd888b2
4
+ data.tar.gz: b3a2fbf19e0c25f5f2bd6e39487f5d2ca5458a8dce83e9eb902e31b415134d03
5
5
  SHA512:
6
- metadata.gz: 0ce67d4001af9ba86f3c5a83f56f9245330b280471a609ad9d7b7c7ae88bf115fb6bc6919d4d9b4fb59be8f0496515a714186d1819c48553ee371165577040ec
7
- data.tar.gz: 2984eda56ce0f512fd92610f8244f91b9b060a4b3bf7dff3ef9f3b1635e8b1a7fa52ba1c82d12c8cf287cc5f145187142bab0824d7c7294932dedbb9b0f6f72b
6
+ metadata.gz: 9cd08a6c392789f2f313d63dca777a3aa6bae2b2112bc083ca7193a042abadbcb4ae79c6edfd1201c085d0a547ef4a1f99348129ca7a5c5ccba33bac44a93a09
7
+ data.tar.gz: 27d0fa8eb9a1e29706febe5c1277d56244ea96a06f0899bb96f8f1905cf0488c7a41143ed4c6445493ee0509dbb69cb3d37a347e18bd46bb6ae1a2d7822fdf31
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- maprename (0.1.4)
4
+ maprename (0.1.5)
5
5
  activesupport
6
6
 
7
7
  GEM
@@ -29,7 +29,7 @@ module Maprename
29
29
 
30
30
  def read_file_content(file)
31
31
  encoding = config[:encoding] || 'UTF-8'
32
- content = IO.read(file, encoding: encoding).encode('UTF-8')
32
+ content = IO.read(file, encoding: '%s:UTF-8' % encoding)
33
33
  if config[:pre_processor]
34
34
  IO.popen(config[:pre_processor]) do |pipe|
35
35
  pipe.write(content)
@@ -1,3 +1,3 @@
1
1
  module Maprename
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maprename
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Liu Xiang
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-04-18 00:00:00.000000000 Z
11
+ date: 2020-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport