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 +4 -4
- data/lib/cocoapods_mangle/defines.rb +4 -1
- data/lib/cocoapods_mangle/gem_version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0dce1fccee413b65c1513bc716a1bbdb154aa8180cb38052f0bc18c9efdbb0b1
|
4
|
+
data.tar.gz: b66cca93a59abb4f05d75400af20fe68e6ec08cc352e526872cc77c3b8269bda
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
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.
|
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:
|
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.
|
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
|