mmine 0.8.3 → 0.9.2
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/mmine/notification_extension_integrator.rb +8 -7
- data/lib/mmine/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f0b021eac4e4b0627bd53be1c929bacb0ec383ec368c5c07c73385b4768d6bb5
|
4
|
+
data.tar.gz: 70a452830c60e7b5eb07941af189dbdff78664ea17126cfd4c7daa84ea92f7fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22b070c8ca0ced0eb84bf6882f5af71c123ceee0214f9991249c0be06dea748592f43fa936744052953d485c84cd5eab9e3c2d984b70b75eee061b5ec2559230
|
7
|
+
data.tar.gz: c4c4d370523aafff7b451d663c33d4b65e0226b67c3770422cb3b406619562e7e31c7bdd755ca1be16b527b680abf69b7fff254ed833003e52e49b1dea680afa
|
@@ -46,6 +46,7 @@ class NotificationExtensionIntegrator
|
|
46
46
|
def setup_notification_extension
|
47
47
|
puts "🏎 Integration starting... ver. #{Mmine::VERSION}"
|
48
48
|
@logger.debug("\n@main_target_build_configurations_debug #{@main_build_configurations_debug}\n@main_target_build_configurations_release #{@main_build_configurations_release}")
|
49
|
+
@logger.debug("\n@main_target_build_configurations_debug #{JSON.pretty_generate(@main_build_settings_debug)}\n@main_target_build_configurations_release #{JSON.pretty_generate(@main_build_settings_release)}")
|
49
50
|
create_notification_extension_target
|
50
51
|
create_notification_extension_dir
|
51
52
|
add_notification_extension_source_code
|
@@ -65,6 +66,7 @@ class NotificationExtensionIntegrator
|
|
65
66
|
setup_swift_version
|
66
67
|
setup_product_name
|
67
68
|
setup_extension_build_number
|
69
|
+
setup_run_path_search_paths
|
68
70
|
|
69
71
|
if @cordova
|
70
72
|
setup_entitlements(resolve_absolute_paths(["$(PROJECT_DIR)/$(PROJECT_NAME)/Entitlements-Debug.plist"]),
|
@@ -72,10 +74,11 @@ class NotificationExtensionIntegrator
|
|
72
74
|
nil,
|
73
75
|
@main_build_settings_debug,
|
74
76
|
@main_build_settings_release)
|
75
|
-
setup_framework_search_paths
|
76
|
-
setup_run_path_search_paths
|
77
77
|
setup_extension_lib_cordova_link
|
78
|
-
|
78
|
+
setup_framework_search_paths
|
79
|
+
# not needed for xcframeworks per Carthage docs
|
80
|
+
# setup_copy_framework_script
|
81
|
+
remove_embed_framework_phase
|
79
82
|
else
|
80
83
|
setup_entitlements(@main_build_configurations_debug.map { |config| config.resolve_build_setting('CODE_SIGN_ENTITLEMENTS') },
|
81
84
|
@main_build_configurations_release.map { |config| config.resolve_build_setting('CODE_SIGN_ENTITLEMENTS') },
|
@@ -190,7 +193,7 @@ class NotificationExtensionIntegrator
|
|
190
193
|
(@main_build_configurations_release + @main_build_configurations_debug).each do |config|
|
191
194
|
bundleId = config.resolve_build_setting(key)
|
192
195
|
if bundleId == nil
|
193
|
-
plist_path = resolve_absolute_paths(config.resolve_build_setting("INFOPLIST_FILE")).first
|
196
|
+
plist_path = resolve_absolute_paths([config.resolve_build_setting("INFOPLIST_FILE")]).first
|
194
197
|
bundleId = get_xml_string_value(key, plist_path)
|
195
198
|
@logger.info("Composing #{key} from main target info plist: #{bundleId}.")
|
196
199
|
else
|
@@ -354,8 +357,6 @@ class NotificationExtensionIntegrator
|
|
354
357
|
new_phase.input_paths << input_path
|
355
358
|
new_phase.output_paths << output_path
|
356
359
|
end
|
357
|
-
|
358
|
-
remove_embed_framework_phase
|
359
360
|
end
|
360
361
|
|
361
362
|
def setup_target_capabilities(target_uuid)
|
@@ -420,7 +421,7 @@ class NotificationExtensionIntegrator
|
|
420
421
|
return group_reference
|
421
422
|
end
|
422
423
|
|
423
|
-
def resolve_absolute_paths(paths)
|
424
|
+
def resolve_absolute_paths(paths)
|
424
425
|
paths.map do |path|
|
425
426
|
ret = path
|
426
427
|
["$(PROJECT_DIR)", "$PROJECT_DIR"].each do |proj_dir|
|
data/lib/mmine/version.rb
CHANGED
metadata
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mmine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrey Kadochnikov
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2018-10-16 00:00:00.000000000 Z
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.10.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
26
|
+
version: 1.10.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: nokogiri
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
- MIT
|
59
59
|
metadata:
|
60
60
|
source_code_url: https://github.com/infobip/mobile-messaging-mmine
|
61
|
-
post_install_message:
|
61
|
+
post_install_message:
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|
64
64
|
- lib
|
@@ -73,8 +73,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
|
-
rubygems_version: 3.0.
|
77
|
-
signing_key:
|
76
|
+
rubygems_version: 3.0.9
|
77
|
+
signing_key:
|
78
78
|
specification_version: 4
|
79
79
|
summary: Mobile Messaging iOS Notification Extension Integration Tool made at Infobip
|
80
80
|
(https://www.infobip.com)!!!
|