ad_localize 4.0.4 → 4.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/ad_localize/requests/export_request.rb +2 -2
- data/lib/ad_localize/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b804cc7ea11e917f21e49070d5677aac22f642445906825735cccc7f651d167
|
4
|
+
data.tar.gz: 6e78a8ac87a098836436bff04fadf77da9e979cb2a665da30fe8e708a7f3acf0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f7d5c2d82c023bce6ea8309fcdcf3cfb3e29878585cec31fecbc35db3c264cccf474c12cf58847297874684304537e35c469ea401b7eb4dd623e1baedff8db5
|
7
|
+
data.tar.gz: 0ceca200f147a4cf93231a4e8bf846c32ee909e199008c512671f1c12d3653e621e70d4417b12de648758ffcecd3a67dd58d8854292c3b7c50069f649a376e7b
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
6
6
|
|
7
|
+
## [4.0.5] - 2020-11-12
|
8
|
+
### Fixed
|
9
|
+
- Fix csv file type check (also add compatibility with macOS Big Sur)
|
10
|
+
|
7
11
|
## [4.0.4] - 2020-11-09
|
8
12
|
### Fixed
|
9
13
|
- Fix android special character escaping [#56](https://github.com/applidium/ad_localize/issues/56)
|
data/Gemfile.lock
CHANGED
@@ -3,7 +3,7 @@ module AdLocalize
|
|
3
3
|
class ExportRequest
|
4
4
|
SUPPORTED_PLATFORMS = %w(ios android yml json properties).freeze
|
5
5
|
DEFAULT_EXPORT_FOLDER = 'exports'.freeze
|
6
|
-
CSV_CONTENT_TYPES = %w(text/csv text/plain).freeze
|
6
|
+
CSV_CONTENT_TYPES = %w(text/csv text/plain application/csv).freeze
|
7
7
|
|
8
8
|
def initialize(**args)
|
9
9
|
@locales = Array(args[:locales].presence)
|
@@ -61,7 +61,7 @@ module AdLocalize
|
|
61
61
|
end
|
62
62
|
|
63
63
|
def is_csv?(path:)
|
64
|
-
CSV_CONTENT_TYPES.include?(`file --brief --mime-type #{path}`.strip)
|
64
|
+
CSV_CONTENT_TYPES.include?(`file --brief --mime-type "#{path}"`.strip)
|
65
65
|
end
|
66
66
|
|
67
67
|
def valid_g_spreadsheet_options?
|
data/lib/ad_localize/version.rb
CHANGED