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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 515020b2b995ed9340abcfa24de7d350fbdfd1acbd1409c9903030576407986a
4
- data.tar.gz: a701252ef123e03e9db1ddd1c7dc9c3820808caff7e20ebc57c4c464403172c3
3
+ metadata.gz: 9b804cc7ea11e917f21e49070d5677aac22f642445906825735cccc7f651d167
4
+ data.tar.gz: 6e78a8ac87a098836436bff04fadf77da9e979cb2a665da30fe8e708a7f3acf0
5
5
  SHA512:
6
- metadata.gz: 328ff4485ee3547e20e3104049488064b1c025ccc4abe53da0b3299a2e80ab3725f74387b02855ecbc3a54507ba39aaf50f9363aa6df6b5cf26ba8f7dcf95a2d
7
- data.tar.gz: 43eec4a6488919704184ea6fe3e8694bf1eb452b2eeb554b8ed0d67905ad97239edc78b169c80a768c88f1753a8cd242dd0504bad06465b12853b02f86fabc05
6
+ metadata.gz: 7f7d5c2d82c023bce6ea8309fcdcf3cfb3e29878585cec31fecbc35db3c264cccf474c12cf58847297874684304537e35c469ea401b7eb4dd623e1baedff8db5
7
+ data.tar.gz: 0ceca200f147a4cf93231a4e8bf846c32ee909e199008c512671f1c12d3653e621e70d4417b12de648758ffcecd3a67dd58d8854292c3b7c50069f649a376e7b
@@ -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)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ad_localize (4.0.4)
4
+ ad_localize (4.0.5)
5
5
  activesupport (>= 5.2, < 7.0)
6
6
  colorize (~> 0.8)
7
7
  google-api-client (~> 0.34)
@@ -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?
@@ -1,3 +1,3 @@
1
1
  module AdLocalize
2
- VERSION = "4.0.4"
2
+ VERSION = "4.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ad_localize
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.4
4
+ version: 4.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Edouard Siegel