fastlane-plugin-goodify_info_plist 0.2.1 → 0.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3b58d76ed93f5f0fe07674027962751b878ad568
4
- data.tar.gz: 501ecba4051edd8faf92ac25e47df76ee247586f
3
+ metadata.gz: b8b4a60d8cba0a8ba80dfc2a7b241c2e869f0dc0
4
+ data.tar.gz: d7a67a2fc839fcbd7b77139dbf9315259d70a5f7
5
5
  SHA512:
6
- metadata.gz: c4d1b44f58f310af3d41d168ae2bf58c7b1e8e428d08b6ed94bc28d46860359168d1fcf138558f0df3f622fea8a752b0bff12af4694e510d99b8b3f97bfb5150
7
- data.tar.gz: 67b29da64459336c88d28d579328c395da0d21518dd30cf16762946e5c8dcbcb15a04a1281e816115aa979af175f84539ef1b781f273e5eb9e78d776d7732ecf
6
+ metadata.gz: c90c304d38c18d1e6240139aa909a9438b493a4415f7cb651c35b86e3a583b61a69da57df656ab226649cb67f52dfff79abeb70f954b12549feb1eb6fc8a002e
7
+ data.tar.gz: 66ae08ab468b50f1e587b1a7b7b2b37a473495c7a946e64ff3ca10860632620df6dc14a4e0bdc4f69c25a52b3b93dd981e37bc1f70a7d8fbc4b28fd934749f4b
@@ -25,9 +25,18 @@ module Fastlane
25
25
  "#{app_id}.sc2.1.0.0.0",
26
26
  "com.good.gd.discovery"
27
27
  ]
28
- good_sdk_version = Helper::GoodifyInfoPlistVersionHelper.new(other_action.check_good_version)
29
- if good_sdk_version.major_version < 3
30
- url_schemes.push("#{app_id}.sc")
28
+ # Currently there is a problem if this plugin action is called in
29
+ # another action. We are already in the fastlane folder, but other_action
30
+ # is configured to try and go _back_ into the fastlane folder so
31
+ # we will get an exception thrown from within other_action -> runner's execute_action
32
+ fastlane_relpath = '.'
33
+ fastlane_relpath = '..' if !Dir.exist?('./fastlane') && File.basename(Dir.pwd) == 'fastlane'
34
+
35
+ Dir.chdir(fastlane_relpath) do
36
+ good_sdk_version = Helper::GoodifyInfoPlistVersionHelper.new(other_action.check_good_version)
37
+ if good_sdk_version.major_version < 3
38
+ url_schemes.push("#{app_id}.sc")
39
+ end
31
40
  end
32
41
  if params.values.fetch(:export_method, "app-store").casecmp("enterprise").zero?
33
42
  url_schemes.push("com.good.gd.discovery.enterprise")
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module GoodifyInfoPlist
3
- VERSION = "0.2.1"
3
+ VERSION = "0.2.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-goodify_info_plist
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lyndsey Ferguson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-19 00:00:00.000000000 Z
11
+ date: 2016-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fastlane-plugin-check_good_version
@@ -134,7 +134,7 @@ files:
134
134
  - lib/fastlane/plugin/goodify_info_plist/actions/goodify_info_plist_action.rb
135
135
  - lib/fastlane/plugin/goodify_info_plist/helper/version_helper.rb
136
136
  - lib/fastlane/plugin/goodify_info_plist/version.rb
137
- homepage: https://github.com/lyndsey-ferguson/fastlane_plugins
137
+ homepage: https://github.com/lyndsey-ferguson/fastlane_plugins/tree/master/fastlane-plugin-goodify_info_plist
138
138
  licenses:
139
139
  - MIT
140
140
  metadata: {}