danger-swiftformat 0.8.0 → 0.8.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
  SHA256:
3
- metadata.gz: 988d028ab6f8530bdbd0aac2e2db2b0cc7f1ec0176bf6ed4e91551acf10550fd
4
- data.tar.gz: d1f276c732588da77f9028f723a4420b873e6ec1354afac91e6422ea55b757f6
3
+ metadata.gz: b79df1cd49dbf9b086b132f91292f0db8e0bae4cc7118feaa865a1353df10b80
4
+ data.tar.gz: 747b28dda4e5917274519b6205fabeaa0ff33f674bbf906387e8d188f6b55de9
5
5
  SHA512:
6
- metadata.gz: e49d217585203fb321a0b25501ed39e6f7a891101d7ed625abfbc833a9a093599880cde86a680530f6e2a1807962dadb2fa2fdbb18304faf3b6d1342f745ca33
7
- data.tar.gz: d3d444466a38ecef5b339e2e04e1a22ffce3015d3629ea5df375165f7c8aa34d39364246361303b348c766221f06659db8fc5087ea00a154e3838c9244b68b66
6
+ metadata.gz: 10a5bec311017e59fae92cf9144a5f2a199993c5e6ad0dc0f60f6634fbdb3868633a8ed2ee99d45a5d61ce414c1fd5e6f431c3b736cecd61d94043a63143497c
7
+ data.tar.gz: 16e57a203cf81103dc0aca649e61fc4d14d9e758f73fef76d8c3f48e07f0509809a345e2523d1d3556122ae92ee0fc8cd486924accac25cbad8c83e585b92976
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- danger-swiftformat (0.8.0)
4
+ danger-swiftformat (0.8.1)
5
5
  danger-plugin-api (~> 1.0)
6
6
 
7
7
  GEM
@@ -1,3 +1,3 @@
1
1
  module Swiftformat
2
- VERSION = "0.8.0".freeze
2
+ VERSION = "0.8.1".freeze
3
3
  end
@@ -14,7 +14,7 @@ module Danger
14
14
  cmd = [@path] + files
15
15
  cmd << additional_args.split unless additional_args.nil? || additional_args.empty?
16
16
 
17
- unless swiftversion.empty?
17
+ unless swiftversion.nil? || swiftversion.empty?
18
18
  cmd << "--swiftversion"
19
19
  cmd << swiftversion
20
20
  end
@@ -95,7 +95,7 @@ RSpec.describe Danger::SwiftFormat do
95
95
  }
96
96
  }
97
97
 
98
- expect(@sut.check_format(%w(.), nil)).to eq(output)
98
+ expect(@sut.check_format(%w(.), nil, nil)).to eq(output)
99
99
  end
100
100
 
101
101
  it "should support additional command line arguments" do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: danger-swiftformat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vincent Garrigues
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-23 00:00:00.000000000 Z
11
+ date: 2021-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: danger-plugin-api