danger-swiftlint 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changelog.md +4 -0
- data/Gemfile.lock +1 -1
- data/README.md +1 -0
- data/ext/swiftlint/Rakefile +1 -1
- data/lib/version.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed68d0e1ec0a4a39d786ae12d422503c7f875bcd
|
4
|
+
data.tar.gz: 6b2b17fa94ec942717d81b531088604ced20d889
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d08daff295c07b77d94cae9d3c5f8b91706daf29b44693e49ec6c741c57d003ed6ec874d231fa20aeb10837684f7a0d3038d25d80f4b7707de97a79c74a2fdca
|
7
|
+
data.tar.gz: 6ad1e948574373e337e481a6cc3bc3ddeef34708f2707572107c3dadedd20abe045eb7593277b0035dee9c35ebd6340ee14cee4fab036875ef928b54202536f9
|
data/Changelog.md
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -36,6 +36,7 @@ If you want the lint result shows in diff instead of comment, you can use `inlin
|
|
36
36
|
swiftlint.lint_files inline_mode: true
|
37
37
|
```
|
38
38
|
|
39
|
+
You can use the `SWIFTLINT_VERSION` environment variable to override the default version installed via the `rake install` task.
|
39
40
|
|
40
41
|
## Attribution
|
41
42
|
|
data/ext/swiftlint/Rakefile
CHANGED
@@ -5,7 +5,7 @@ namespace :swiftlint do
|
|
5
5
|
desc "Download and install swiftlint tool"
|
6
6
|
task :install do
|
7
7
|
REPO = "https://github.com/realm/SwiftLint"
|
8
|
-
VERSION = DangerSwiftlint::SWIFTLINT_VERSION
|
8
|
+
VERSION = ENV["SWIFTLINT_VERSION"] || DangerSwiftlint::SWIFTLINT_VERSION
|
9
9
|
ASSET = "portable_swiftlint.zip"
|
10
10
|
URL = "#{REPO}/releases/download/#{VERSION}/#{ASSET}"
|
11
11
|
DESTINATION = File.expand_path(File.join(File.dirname(__FILE__), 'bin'))
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: danger-swiftlint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ash Furrow
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2017-07-
|
15
|
+
date: 2017-07-12 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: danger
|
@@ -196,7 +196,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
196
196
|
version: '0'
|
197
197
|
requirements: []
|
198
198
|
rubyforge_project:
|
199
|
-
rubygems_version: 2.6.
|
199
|
+
rubygems_version: 2.6.12
|
200
200
|
signing_key:
|
201
201
|
specification_version: 4
|
202
202
|
summary: A Danger plugin for linting Swift with SwiftLint.
|