mmine 0.6.3 → 0.6.4

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: e1b856d2a845ba0862bebfc7c3a66adb89cf9c63e40b7e26e6b758655734c8b0
4
- data.tar.gz: f0586910c5bf97cb853a5f1f6bb5453952ea1506efed833d533d3df96319823c
3
+ metadata.gz: b243c3e0cee68a12c2440897a9119d3cd9d6da705f7591c97664b5c6cb98bae9
4
+ data.tar.gz: d2ec8494395c65c350ab57e11765318f30c8b0a8afed2c32366e166549a31a7f
5
5
  SHA512:
6
- metadata.gz: b59d0058ba1c43d5886dd1a2fe8364d4c64c634c79fd978d7a30026e1dc74ce1672a3b4b2d42ba5aeef9495de3cd58270e4090d2849365fd22d3fa5151edf755
7
- data.tar.gz: c17af23163424baa5e6aa3edb1da284ca10a568639d7013dee5466f23a16cdf321d2f4f9f57413d60675c640c9d65c2944a403017d826ffbbcb9b94047c0b832
6
+ metadata.gz: ab9fe72a5fcab7d6fcfeeecb134eccc9eec2e98c049fe614184a500273f73ddf7abb310d130d6a57a6af8a1098327a93c9c38a3bd15a7fd52eb521bde7e906c7
7
+ data.tar.gz: 4e7adad223de4a48c73aded729e82a1ffb5cdc38e192805777c417659afde70eded6daf4a65dfd29a232a3ffca3d5c7d2843994ebe8d459856ec1672f4c8d136
@@ -237,15 +237,21 @@ class NotificationExtensionIntegrator
237
237
  def setupCopyFrameworkScript
238
238
  phase_name = "Copy Frameworks"
239
239
  shell_script = "/usr/local/bin/carthage copy-frameworks"
240
+ input_path = "$SRCROOT/$PROJECT/Plugins/com-infobip-plugins-mobilemessaging/MobileMessaging.framework"
241
+ output_path = "$(BUILT_PRODUCTS_DIR)/$(FRAMEWORKS_FOLDER_PATH)/MobileMessaging.framework"
242
+ existing_phase = @main_target.shell_script_build_phases.select { |phase| phase.shell_script.include? shell_script }.first
240
243
 
241
- unless @main_target.shell_script_build_phases.select { |phase| phase.name == phase_name }.first
244
+ unless existing_phase
242
245
  @logger.info("Setting up #{phase_name} shell script for main target")
243
- phase = @main_target.new_shell_script_build_phase(phase_name)
244
- phase.shell_path = "/bin/sh"
245
- phase.shell_script = shell_script
246
- phase.input_paths << "$SRCROOT/$PROJECT/Plugins/com-infobip-plugins-mobilemessaging/MobileMessaging.framework"
247
- phase.output_paths << "$(BUILT_PRODUCTS_DIR)/$(FRAMEWORKS_FOLDER_PATH)/MobileMessaging.framework"
246
+ new_phase = @main_target.new_shell_script_build_phase(phase_name)
247
+ new_phase.shell_path = "/bin/sh"
248
+ new_phase.shell_script = shell_script
249
+ new_phase.input_paths << input_path
250
+ new_phase.output_paths << output_path
248
251
  else
252
+ existing_phase.input_paths |= [input_path]
253
+ existing_phase.output_paths |= [output_path]
254
+
249
255
  @logger.info("Main target already has #{phase_name} shell script set up")
250
256
  end
251
257
  end
data/lib/mmine/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Mmine
2
- VERSION = "0.6.3"
2
+ VERSION = "0.6.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mmine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey Kadochnikov