cocoapods-mangle 1.1.5 → 1.1.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: 616eebbdd8a2609b8cbbf779e88ccb938d53f2bb3318a3708afb29a2305e5e45
4
- data.tar.gz: dbe8aa5c2e762ca2fb24789cbe12a138e127392bdd5962b6325a62275bbd43a6
3
+ metadata.gz: 0dce1fccee413b65c1513bc716a1bbdb154aa8180cb38052f0bc18c9efdbb0b1
4
+ data.tar.gz: b66cca93a59abb4f05d75400af20fe68e6ec08cc352e526872cc77c3b8269bda
5
5
  SHA512:
6
- metadata.gz: 03e388f057fecc10ce8166f33019187f7e5b92d21ed4113645df42710c33e313c038ff143ba127074e0d1fe34ed4bb2b90ea0664d8094910df3e3459b5de5615
7
- data.tar.gz: a179499225df40019a402f3d1729dc4207d0bd10a73d98db0eb67235e4016c9e12da1679d1e47366bf0e4dadbdfc96687a8967036558b3b3e2e51a1172915133
6
+ metadata.gz: 40caf72c9c13099d506ee83a373c44f5e8c54aa63a215dbcad79be2c00b875fae75ac93d2a7dd0a9356e911dd186889d731b6e1cb8c2b96bfce37267bb59ef1a
7
+ data.tar.gz: 26a35559c15780a1e1e8b926d44fb98a3ee1e66d4f2eae7986c5f96ab410ef142077efa2d8e3f38cf6997eff6730f886f5758fd53feeb148bed6f487c1c3fe6d
@@ -69,7 +69,10 @@ module CocoapodsMangle
69
69
  class_name = selector[/[-|+]\[(.*?)\(/m, 1]
70
70
  classes.include? class_name
71
71
  end
72
- selectors = selectors.map { |selector| selector[/[^ ]*\]\z/][0...-1] }
72
+ selectors = selectors.map do |selector|
73
+ cleaned = selector.split(']').first + ']'
74
+ cleaned[/[^ ]*\]\z/][0...-1]
75
+ end
73
76
  selectors = selectors.map { |selector| selector.split(':').first }
74
77
  selectors.uniq
75
78
  end
@@ -1,4 +1,4 @@
1
1
  module CocoapodsMangle
2
2
  NAME = 'cocoapods-mangle'
3
- VERSION = '1.1.5'
3
+ VERSION = '1.1.6'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-mangle
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.5
4
+ version: 1.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Treanor, Brian Boyle
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-16 00:00:00.000000000 Z
11
+ date: 2025-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cocoapods
@@ -57,7 +57,7 @@ homepage: https://github.com/intercom/cocoapods-mangle
57
57
  licenses:
58
58
  - Apache-2.0
59
59
  metadata: {}
60
- post_install_message:
60
+ post_install_message:
61
61
  rdoc_options: []
62
62
  require_paths:
63
63
  - lib
@@ -72,16 +72,16 @@ required_rubygems_version: !ruby/object:Gem::Requirement
72
72
  - !ruby/object:Gem::Version
73
73
  version: '0'
74
74
  requirements: []
75
- rubygems_version: 3.1.6
76
- signing_key:
75
+ rubygems_version: 3.5.11
76
+ signing_key:
77
77
  specification_version: 4
78
78
  summary: A CocoaPods plugin which mangles the symbols of your dependencies
79
79
  test_files:
80
+ - spec/integration/integration_spec.rb
80
81
  - spec/spec_helper.rb
81
82
  - spec/unit/builder_spec.rb
82
83
  - spec/unit/config_spec.rb
83
84
  - spec/unit/context_spec.rb
84
- - spec/unit/hooks_spec.rb
85
85
  - spec/unit/defines_spec.rb
86
+ - spec/unit/hooks_spec.rb
86
87
  - spec/unit/post_install_spec.rb
87
- - spec/integration/integration_spec.rb