phraseapp-ruby 1.2.2 → 1.2.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
  SHA1:
3
- metadata.gz: 5e2cc2aca07158e647604229632b99d347e5d905
4
- data.tar.gz: 6f359db3c0878bc278417993707dd7d53e52bbd2
3
+ metadata.gz: 0e926755df0329c0d07c05742d15d836fd6d128d
4
+ data.tar.gz: ccc1a225517a8fcf61d3be85ab36673b68f2ffe2
5
5
  SHA512:
6
- metadata.gz: 38641675a9ceb97ced0700c9ccb62b436b943f2d05160850d99148e96fcb9dccae39c337d9aa87a682834324ea791709a02451537d49c8b9674eac36659f9c85
7
- data.tar.gz: a039ecc1f03d1b24f0db5bd0b82a872b695dfef57c18dd0e0b6eb2e733acbbb7c715cd767516329f789f8baa9cec01e722d92e1595c3b05ea6e969d5ea7a0b4a
6
+ metadata.gz: f0c0f3c17fbd1645d212e7e017fd890ba39954d2e9d511c0f1076800466d648f9561602b5faffa66bb8707a17efd8aa8f4a607dad20b7f62d6477f3b31a00aa1
7
+ data.tar.gz: 5f66c9c8410dc8a40bca5c2eab2626143efa223b4ddd154a79212d6c9a38d90e4cf266ff9fc3367c644435971c625100bd4f8c55ebd3bb67254c5d3b8397e229
@@ -1,3 +1,3 @@
1
1
  module PhraseApp
2
- VERSION = '1.2.2'
2
+ VERSION = '1.2.3'
3
3
  end
@@ -951,6 +951,8 @@ module RequestParams
951
951
  # Indicates whether the file contains Emoji symbols that should be converted. <a href="guides/working-with-phraseapp/emoji-support/">Working with Emojis</a>.
952
952
  # file::
953
953
  # File to be imported
954
+ # file_encoding::
955
+ # Enforced a specific encoding on the file contents. Valid options are "UTF-8", "UTF-16" and "ISO-8859-1".
954
956
  # file_format::
955
957
  # File format. Auto-detected when possible and not specified.
956
958
  # locale_id::
@@ -978,6 +980,10 @@ module RequestParams
978
980
  self.file = val
979
981
  end
980
982
 
983
+ def file_encoding=(val)
984
+ self.file_encoding = val
985
+ end
986
+
981
987
  def file_format=(val)
982
988
  self.file_format = val
983
989
  end
@@ -1315,7 +1321,7 @@ module RequestParams
1315
1321
  # encoding::
1316
1322
  # Specify an encoding for the locale file. See the <a href="guides/formats">format guide</a> for a list of supported encodings for each format.
1317
1323
  # fallback_locale_id::
1318
- # If a key has no translation in the locale being downloaded the translation in the fallback locale will be used. Provide the public ID of the locale that should be used as the fallback.
1324
+ # If a key has no translation in the locale being downloaded the translation in the fallback locale will be used. Provide the public ID of the locale that should be used as the fallback. Requires include_empty_translations to be set to <code>true</code>.
1319
1325
  # file_format::
1320
1326
  # File format name. See the format guide for all supported file formats.
1321
1327
  # format_options::
@@ -3859,6 +3865,10 @@ end
3859
3865
  post_body << "\r\n"
3860
3866
  end
3861
3867
 
3868
+ if params.file_encoding != nil
3869
+ data_hash["file_encoding"] = params.file_encoding
3870
+ end
3871
+
3862
3872
  if params.file_format != nil
3863
3873
  data_hash["file_format"] = params.file_format
3864
3874
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phraseapp-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - PhraseApp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-04 00:00:00.000000000 Z
11
+ date: 2015-12-17 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: PhraseApp API client libary
14
14
  email: