pixab 2.6.5 → 2.6.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8f63b51e91e21453dd1892a925619c5fcb5eec0492800d3f1168b873bd10fc23
4
- data.tar.gz: a87f518f6532aca41402fc07af84d9bbc00e8eddd00256f26b14632c3460d714
3
+ metadata.gz: 131ac3db734f01f15093a4edec421bef603cb2a31d15846a9e4207f46b177764
4
+ data.tar.gz: 6b3237982152999b2d13f0437dac7a8bd249a4dd47a3d750028d345060a022fd
5
5
  SHA512:
6
- metadata.gz: 250fbd905a5b0545b54f6dc455fec2066629817a70f99ab338d2008bcfc89259a8b55f2629b2e41a34c76d7c3f9e9e689b40e825b5a787af7a47e8dfa6244282
7
- data.tar.gz: 4677eea1c7f6ba9e18af34e27471bfd1617c6c74a882d66cddcb8631c8a33f66985420de0fda2cec088df7cd63d4f538152154b32eec9ceeb5f89146563e6923
6
+ metadata.gz: c63587b1956656d1b94bd3dbd08a960df01f7cd950734dc2854c66a4c62c0085de02ed786dbf4f6dcecdec4a876827cabec82e9d5427900b20b325b58233d422
7
+ data.tar.gz: 5470e0c82cc65498631069f209d1cb51529458cc9456e5c24d773fc830dc4d9377d206d6c8ed3754cb3e26b6ba07fa7df2be26ca903193897a9616dca91097f6
@@ -28,12 +28,12 @@ module Pixab
28
28
  @platform = 'android'
29
29
  @tags = 'android'
30
30
  @collections = 'AirBrush'
31
- @languages = 'en,ru,tr,de,fr,zh-Hans,zh-Hant,pt-BR,es,ar'
31
+ @languages = 'en,ru,tr,de,fr,zh-Hans,pt-BR,es,ar'
32
32
  when '--ab-iOS'
33
33
  @platform = 'iOS'
34
34
  @tags = 'iOS'
35
35
  @collections = 'AirBrush'
36
- @languages = 'en,ru,tr,de,fr,zh-Hans,zh-Hant,pt-BR,es,ar'
36
+ @languages = 'en,ru,tr,de,fr,zh-Hans,pt-BR,es,ar'
37
37
  when '--abv-iOS'
38
38
  @projects = LocalizationSmartcatInfo::Project_AirBrushVideo
39
39
  @platform = 'iOS'
@@ -163,9 +163,6 @@ module Pixab
163
163
 
164
164
  def unzip_file_iOS(zip_file)
165
165
  zip_file.each do |f|
166
- if is_ignored_file_path(f.name)
167
- next
168
- end
169
166
  f_path = extract_localization_file_path(f.name)
170
167
  FileUtils.mkdir_p(File.dirname(f_path))
171
168
  content = f.get_input_stream.read
@@ -185,9 +182,6 @@ module Pixab
185
182
 
186
183
  def unzip_file_android(zip_file)
187
184
  zip_file.each do |f|
188
- if is_ignored_file_path(f.name)
189
- next
190
- end
191
185
  f_path = extract_localization_file_path(f.name)
192
186
  FileUtils.mkdir_p(File.dirname(f_path))
193
187
  content = f.get_input_stream.read
@@ -329,18 +323,6 @@ module Pixab
329
323
  return zip_file_path
330
324
  end
331
325
 
332
- def is_ignored_file_path(file_path)
333
- case projects
334
- when LocalizationSmartcatInfo::Project_AirBrush
335
- return false unless platform == 'android'
336
-
337
- path = File.dirname(file_path)
338
- return path == 'zh-rHant' ? true : false
339
- end
340
-
341
- return false
342
- end
343
-
344
326
  end
345
327
 
346
328
  end
data/lib/pixab/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Pixab
4
- VERSION = "2.6.5"
4
+ VERSION = "2.6.6"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pixab
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.5
4
+ version: 2.6.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - 廖再润
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-08-27 00:00:00.000000000 Z
11
+ date: 2025-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colored2