fastlane-plugin-code_static_analyzer 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6530cd946311c49865759085970367cc7b80d49a
4
- data.tar.gz: 1f25302307508f4869fd63ddb72ddac10a7c258a
3
+ metadata.gz: 0b73eee9d360a439b4a2555847a2a2f1bfa5f984
4
+ data.tar.gz: 3f13fb0a9515475b99d32e71430c36dabc894bf6
5
5
  SHA512:
6
- metadata.gz: b4574eea5e4578a9ff8d74fa66efe10602073c8a22af0bcf33089c0ec6736ab3b16ff867fd269c720389dada66909106d182d0d498045e40408fee43daf0650f
7
- data.tar.gz: 11d10144c2966570d7c946bcc8de252fe92a11ac54a3560a5d3596af1f46fdf80b4ceebbb02088ee7e688400da086ddb1f894b13edfc7b949c7178c45d316080
6
+ metadata.gz: 871f48c12638794d04e54d73730b0e336946febc32517a8f3d2d5691ddb71a3fd988852d5e91e4389633df84fc6e3edb1f8ee655cc62d633d7cb43bf279e7ab3
7
+ data.tar.gz: bab7642ad058326dfec2401c716ac8f3c4ca62554dab39a726e00b05915c78f7af656e4032731f0417f3903adf9d0a1a5a2971679aec53ef6e64ba73aa74dcb3
data/README.md CHANGED
@@ -134,7 +134,7 @@ If you need to run clang_analyzer separately (for example as build step) you may
134
134
  # minimum configuration
135
135
  clang_analyzer
136
136
 
137
- # minimum configuration
137
+ # full configuration
138
138
  clang_analyzer(
139
139
  autocorrect: true,
140
140
  clang_dir_to_inspect: %w(Classes/UI),
@@ -24,7 +24,7 @@ module Formatter
24
24
  end
25
25
 
26
26
  def self.clang_format(file, count)
27
- puts ">>>Made #{count} replacements in #{file}"
27
+ puts ">>> Made #{count} replacements in #{file}"
28
28
  end
29
29
 
30
30
 
@@ -1,4 +1,4 @@
1
- #!/bin/bash -o pipefail
1
+ #!/bin/bash
2
2
  #!/bin/sh -e
3
3
  # run_script.sh
4
4
  # @desc Run shell script.
@@ -6,7 +6,7 @@
6
6
  # Parameters
7
7
  # $1 - shell script you want to run
8
8
  # $2 - filename with extension to store command results
9
-
9
+ set -o pipefail
10
10
  {
11
11
  eval $1 | tee "$2"
12
12
  } &> /dev/null
@@ -166,10 +166,10 @@ module Fastlane
166
166
  def self.is_installed(command_name, for_analyzer)
167
167
  @checked_pmd = false
168
168
  begin
169
- Actions.sh("type #{command_name}") #pmd
170
- rescue
171
- UI.user_error! "#{command_name} not installed. Please, install #{command_name} for using #{for_analyzer}."
172
- end
169
+ Actions.sh("which #{command_name}") #pmd
170
+ rescue
171
+ UI.user_error! "#{command_name} not installed. Please, install #{command_name} for using #{for_analyzer}."
172
+ end
173
173
  @checked_pmd = true
174
174
  end
175
175
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module CodeStaticAnalyzer
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-code_static_analyzer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Olga Kniazska