phraseapp_updater 2.1.0 → 2.1.1

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: d37e141557fd9cc010451768633fad76cdcf752e73fa36264128cfc7131a90e4
4
- data.tar.gz: 0b153e2ef2467716126121bb3a489123797769ac10e64bf39490c6ba1d7957d5
3
+ metadata.gz: c7c95df3029f6b77ecd8ea760f7d0cac9003879acfc04b9ac5674e47ea41d2cb
4
+ data.tar.gz: 86f123de84997ba31604aa207ac51aa55e1ba9fc05758e2d89b4720d2be9d4e6
5
5
  SHA512:
6
- metadata.gz: 616889fb72e2e7a0a02f1bb40c44f86d686d9832541bd1711c2d44631d3fd4dcc9fbd97967ec1995227f8213f6e67da3443320ffeb54ba5bad1d157a25ae303c
7
- data.tar.gz: 450c888b0c7e88b6bfb6356ac1d8bf0daf73abd9444f20705a1516307b44e3a603bfc0632035fcc96cb476e1fc42f30664fc6f48b1a4521e287e6277717f07fa
6
+ metadata.gz: 2c3e5ccb85014ec287d027b41146c142bc7e291c07c7a00184375381983c00ba62988539314f37e194aeddf2e3ab7588f985c18ed019023c2324483121f35812
7
+ data.tar.gz: 80bdb49e97c0e41d931b04689e6b95dac234975cff532937cc25c0237c55700703810f9146bed7a7cc26583f24a1de38a910f8339fc4a2f12bf4e8ee3bcf57fb
@@ -22,7 +22,10 @@ class PhraseAppUpdater
22
22
 
23
23
  def dump(hash)
24
24
  # Add indentation for better diffs
25
- Oj.dump(hash, indent: 2, mode: :strict)
25
+ json = Oj.dump(hash, indent: ' ', space: ' ', object_nl: "\n", array_nl: "\n", mode: :strict)
26
+ # Oj omits end of file newline unless using the integer form of :indent
27
+ json << "\n"
28
+ json
26
29
  end
27
30
 
28
31
  def extension
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class PhraseAppUpdater
4
- VERSION = '2.1.0'
4
+ VERSION = '2.1.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phraseapp_updater
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Griffin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-10 00:00:00.000000000 Z
11
+ date: 2020-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor