fastlane-plugin-branch 0.5.0 → 0.5.1

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
  SHA1:
3
- metadata.gz: 10aeb792fa06ed6423c6fb08d3b528a35566d9c5
4
- data.tar.gz: 02c1c3694210264a584c54d5a81501182c83acab
3
+ metadata.gz: 8b8ec1c51127c42122492348180638e764a5eb23
4
+ data.tar.gz: 71666241f285b8ea6f61b54d38114c587cd2c337
5
5
  SHA512:
6
- metadata.gz: 72217297c1bd63dd1169dcd03df217866c8bea47e0c08045d137181e1c7f40169fbeaa1a256d42965e619f24dcf7f6396dcd9e4cdf8e1b9a5200147518838ea7
7
- data.tar.gz: c394c9b440b4585b4b50ab0ca41a78f6f0b2cbc4b160a852f05310e482312cee5b3ec8ff697ce4563dad81684b76bda6d32026be6fc3b66f4e6eeb9130423d30
6
+ metadata.gz: 2f820766bad703ba3be658e0ae44b1ab9b5893055a2b5e2dcd792bd517b00ad795e798ca444b1ff874d07fc8d8def52960ef2355b1031e9506f4b3588d6df294
7
+ data.tar.gz: f4737663fb6fa0cb4473b1901f3d0a54db5e467c01bdd3a00c16c754d19f4eea072ff63ceaf91b3d10aa819b36fe52bb0964f3df2ba9a6217c94c21b56ccffe2
@@ -371,7 +371,7 @@ module Fastlane
371
371
 
372
372
  Actions::PatchAction.run(
373
373
  files: app_delegate_swift_path,
374
- regexp: /didFinishLaunchingWithOptions.*\{[^\n]*\n/m,
374
+ regexp: /didFinishLaunchingWithOptions.*?\{[^\n]*\n/m,
375
375
  text: init_session_text,
376
376
  mode: :append,
377
377
  offset: 0
@@ -432,7 +432,7 @@ module Fastlane
432
432
 
433
433
  Actions::PatchAction.run(
434
434
  files: app_delegate_objc_path,
435
- regexp: /didFinishLaunchingWithOptions.*\{[^\n]*\n/m,
435
+ regexp: /didFinishLaunchingWithOptions.*?\{[^\n]*\n/m,
436
436
  text: init_session_text,
437
437
  mode: :append,
438
438
  offset: 0
@@ -473,8 +473,8 @@ module Fastlane
473
473
  # TODO: Improve this patch. Should work in the majority of cases for now.
474
474
  Actions::PatchAction.run(
475
475
  files: podfile_path,
476
- regexp: /^\s*pod\s*/,
477
- text: "\npod \"Branch\"",
476
+ regexp: /^(\s*)pod\s*/,
477
+ text: "\n\\1pod \"Branch\"\n",
478
478
  mode: :prepend,
479
479
  offset: 0
480
480
  )
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Branch
3
- VERSION = "0.5.0"
3
+ VERSION = "0.5.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-branch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Branch
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-09-20 00:00:00.000000000 Z
12
+ date: 2017-10-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fastlane-plugin-patch