fastlane-plugin-applivery 1.1.1 → 1.1.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: af46909c58923ac9415b702fe370b5f6f67a39ee
4
- data.tar.gz: d3ed38a95fce32ed91cc191affc65645570171e1
3
+ metadata.gz: fa0857b146524c713bbcaf464913b871e1ede809
4
+ data.tar.gz: a7f350b0f2732440543ab6b4895b0a041ceb317e
5
5
  SHA512:
6
- metadata.gz: 10629bd369dc709f8eee6e35a893b12f5b79b3163795a6870cd903e75c1351557b93b5b1d1d2a0c85306f8820f72d560771330bfc52ceeafaa5c2b16d268d3af
7
- data.tar.gz: e13f818c41dedf14e8d8796f8ae53830a167657580aa348adf5d33f3bb72ee70c4b938e43fe345574868d56c4ed960ec50b5777afe2b9b69184942336ebd43cb
6
+ metadata.gz: c396fc5f5a9af536017c87c46f85f2e16534c458f74a1686c2ae9e7688a82aa95ebd42a9fd19f9ebfc50de5d71216dacb9d21839dc84b5488d4dea37a108773a
7
+ data.tar.gz: 43153a22dfdd9bc47823de29a6329b3d71bf4c289a0435c2335cff7d09e8a84fe4b43d5de333e065afd6e54514cdc1efa2193235f4edd9dbd99fdc5f49d48b51
@@ -6,7 +6,7 @@ module Fastlane
6
6
  app_id = params[:app_id]
7
7
  api_key = params[:api_key]
8
8
  name = params[:name]
9
- notes = params[:notes]
9
+ notes = Helper::AppliveryHelper.escape(params[:notes])
10
10
  tags = params[:tags]
11
11
  build_path = params[:build_path]
12
12
  notify = params[:notify]
@@ -8,6 +8,10 @@ module Fastlane
8
8
  UI.message("Hello from the applivery plugin helper!")
9
9
  end
10
10
 
11
+ def self.escape(string)
12
+ return URI.encode(string.sub(/@/, '\@'))
13
+ end
14
+
11
15
  def self.platform
12
16
  platform = Actions.lane_context[Actions::SharedValues::PLATFORM_NAME]
13
17
  if platform == :ios or platform.nil?
@@ -54,7 +58,7 @@ module Fastlane
54
58
 
55
59
  command += " -F gitBranch=\"#{gitBranch}\""
56
60
  command += " -F gitCommit=\"#{gitCommit}\""
57
- command += " -F gitMessage=\"#{gitMessage}\""
61
+ command += " -F gitMessage=\"#{self.escape(gitMessage)}\""
58
62
  command += self.add_git_remote
59
63
  command += self.add_git_tag
60
64
  end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Applivery
3
- VERSION = "1.1.1"
3
+ VERSION = "1.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-applivery
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alejandro Jimenez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-04 00:00:00.000000000 Z
11
+ date: 2017-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry