danger-xcode_warnings 0.2.0 → 0.2.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 +4 -4
- data/.github/workflows/gempush.yml +35 -0
- data/.github/workflows/rake_spec.yml +20 -0
- data/Gemfile.lock +1 -1
- data/README.md +3 -2
- data/lib/xcode_warnings/gem_version.rb +1 -1
- data/lib/xcode_warnings/plugin.rb +1 -1
- metadata +5 -5
- data/.travis.yml +0 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2cd7100b9b7de305b08a14a72c1712a5ffccb1eecf15910a624a6749d7b954f
|
4
|
+
data.tar.gz: 62889bd3f107c2eebdb3703726daf09391902d8c2d552ada0147b2ffb6e6af5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2d88771b3be1e7640fa1f302f69b2d3e5efc34cec4eed4e5a648f5915838586bdb54ecd9a15e693acc2964d7df57732763a7b0103e7ab27381b4b2b4e71055b
|
7
|
+
data.tar.gz: 7cc2a01e6f04e8efba531380c1588b6280dd91c79e7b88d95d13c34ca81401484abdc6364f366703d60f08fbd95a02fdf7ba98e6bb261d354aa31b0f2aa0b1b5
|
@@ -0,0 +1,35 @@
|
|
1
|
+
name: Ruby Gem
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches:
|
6
|
+
- master
|
7
|
+
|
8
|
+
jobs:
|
9
|
+
build:
|
10
|
+
name: Build + Publish
|
11
|
+
runs-on: ubuntu-latest
|
12
|
+
|
13
|
+
steps:
|
14
|
+
- uses: actions/checkout@v2
|
15
|
+
- name: Set up Ruby 2.6
|
16
|
+
uses: actions/setup-ruby@v1
|
17
|
+
with:
|
18
|
+
version: 2.6.x
|
19
|
+
|
20
|
+
- name: Build and test with Rake
|
21
|
+
run: |
|
22
|
+
gem install bundler
|
23
|
+
bundle install --jobs 4 --retry 3
|
24
|
+
bundle exec rake
|
25
|
+
|
26
|
+
- name: Publish to RubyGems
|
27
|
+
run: |
|
28
|
+
mkdir -p $HOME/.gem
|
29
|
+
touch $HOME/.gem/credentials
|
30
|
+
chmod 0600 $HOME/.gem/credentials
|
31
|
+
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
32
|
+
gem build *.gemspec
|
33
|
+
gem push *.gem
|
34
|
+
env:
|
35
|
+
GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_AUTH_TOKEN}}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
name: Ruby
|
2
|
+
|
3
|
+
on: pull_request
|
4
|
+
|
5
|
+
jobs:
|
6
|
+
build:
|
7
|
+
runs-on: ubuntu-latest
|
8
|
+
|
9
|
+
steps:
|
10
|
+
- uses: actions/checkout@v2
|
11
|
+
- name: Set up Ruby 2.6
|
12
|
+
uses: actions/setup-ruby@v1
|
13
|
+
with:
|
14
|
+
ruby-version: 2.6.x
|
15
|
+
- name: Build and test with Rake
|
16
|
+
run: |
|
17
|
+
gem install bundler
|
18
|
+
bundle install --jobs 4 --retry 3
|
19
|
+
bundle exec rake spec
|
20
|
+
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
# danger-xcode_warnings
|
2
2
|
|
3
|
-
[](https://badge.fury.io/rb/danger-xcode_warnings)
|
4
4
|
[](https://travis-ci.org/Scior/danger-xcode_warnings)
|
5
|
+
[](https://developer.apple.com/xcode/)
|
5
6
|
[](https://opensource.org/licenses/MIT)
|
6
7
|
|
7
|
-
A Danger plugin to format and show warnings from xcodebuild
|
8
|
+
A Danger plugin to format and show warnings from `xcodebuild`.
|
8
9
|
|
9
10
|

|
10
11
|
|
@@ -53,7 +53,7 @@ module Danger
|
|
53
53
|
# @param [Boolean] sticky Whether use sticky flag or not.
|
54
54
|
# @return [void]
|
55
55
|
#
|
56
|
-
def analyze(log_text, inline:
|
56
|
+
def analyze(log_text, inline: true, sticky: true)
|
57
57
|
if use_xcpretty
|
58
58
|
parser = LogParserXCPretty.new
|
59
59
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: danger-xcode_warnings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scior
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: danger-plugin-api
|
@@ -157,9 +157,10 @@ executables: []
|
|
157
157
|
extensions: []
|
158
158
|
extra_rdoc_files: []
|
159
159
|
files:
|
160
|
+
- ".github/workflows/gempush.yml"
|
161
|
+
- ".github/workflows/rake_spec.yml"
|
160
162
|
- ".gitignore"
|
161
163
|
- ".rubocop.yml"
|
162
|
-
- ".travis.yml"
|
163
164
|
- ".vscode/settings.json"
|
164
165
|
- Gemfile
|
165
166
|
- Gemfile.lock
|
@@ -201,8 +202,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
201
202
|
- !ruby/object:Gem::Version
|
202
203
|
version: '0'
|
203
204
|
requirements: []
|
204
|
-
|
205
|
-
rubygems_version: 2.7.6
|
205
|
+
rubygems_version: 3.0.3
|
206
206
|
signing_key:
|
207
207
|
specification_version: 4
|
208
208
|
summary: Show Xcode warnings with Danger
|