fastlane-plugin-xcpretty_report 0.1.0 → 0.1.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: c420c3a70ee26b855b91ef141dbcd847dd117090
4
- data.tar.gz: eea1f30c06b5d624a94ef3239adef7b77cc4b3e3
3
+ metadata.gz: ac4a3ec9b4bb7be4af79e985567c8cc7299c93da
4
+ data.tar.gz: 6278e3ae3c4d87dcfcfcfef5f8cc17e3b6951927
5
5
  SHA512:
6
- metadata.gz: dada61c9c23739106372c9bec3637a5cc628ffe5d8aee2d19d75b479c99c9c9c53a0ee97ee9a521f0188ce6b4f12127ea43b70d031ebfcb03d2935dfa18e81e1
7
- data.tar.gz: ca8d546df8122d0f8c0cd328282061c87e7b92fd350bcb72e2d49c4d4edfa4162de2180adf9d410e9bb8e9dd6b1535084503ec4c28832799093725ca486e1604
6
+ metadata.gz: f83e8f421b318a11d3d1c6d8b5f21e440205b24045e3f223c7d666bdfb35aa7d3d60e26fba05231df7854256de366d95597d4ce7f7ce39b2ac1187305c2f8fa4
7
+ data.tar.gz: 78b71a097def228f111bfef29c767d4dc12dfe3594c4213c130f4f9caad158c83068822dec3e14ab9b60da36a6628bb6d4587b801e11422ca994afa7eda78410
data/README.md CHANGED
@@ -15,7 +15,7 @@ fastlane add_plugin xcpretty_report
15
15
 
16
16
  ## About xcpretty_report
17
17
 
18
- Generate xcodebuild reports using [xcpretty](supermarin/xcpretty).
18
+ Generate xcodebuild reports using [xcpretty](https://github.com/supermarin/xcpretty).
19
19
 
20
20
  ## Example
21
21
 
@@ -6,19 +6,19 @@ module Fastlane
6
6
 
7
7
  output_path = params[:output_path]
8
8
  unless File.exist?(output_path)
9
- Actions.sh("mkdir #{output_path}", log: $verbose)
9
+ Actions.sh("mkdir '#{output_path}'", log: $verbose)
10
10
  end
11
11
 
12
12
  reports = ''
13
13
  params[:types].each do |report|
14
14
  path = File.join(output_path, params[:name]) + "." + report
15
- reports << "--report #{report} --output #{path} "
15
+ reports << "--report '#{report}' --output '#{path}' "
16
16
  end
17
- Actions.sh("cat #{log_file} | bundle exec xcpretty #{reports}", log: $verbose)
17
+ Actions.sh("cat '#{log_file}' | bundle exec xcpretty #{reports}", log: $verbose)
18
18
 
19
19
  if params[:use_json_formatter]
20
20
  path = File.join(output_path, params[:name]) + ".json"
21
- Actions.sh("cat #{log_file} | XCPRETTY_JSON_FILE_OUTPUT=#{path} bundle exec xcpretty -f `xcpretty-json-formatter`", log: $verbose)
21
+ Actions.sh("cat '#{log_file}' | XCPRETTY_JSON_FILE_OUTPUT='#{path}' bundle exec xcpretty -f `xcpretty-json-formatter`", log: $verbose)
22
22
  end
23
23
  end
24
24
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module XcprettyReport
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-xcpretty_report
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fernando Saragoca
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-22 00:00:00.000000000 Z
11
+ date: 2016-12-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xcpretty