checkstyle_filter-git 1.1.0 → 1.2.0
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 +5 -5
- data/.circleci/config.yml +35 -0
- data/.conventional-changelog.context.js +17 -0
- data/.gitignore +2 -0
- data/.rubocop.yml +0 -0
- data/CODE_OF_CONDUCT.md +0 -0
- data/Gemfile +2 -1
- data/LICENSE.txt +0 -0
- data/README.md +1 -1
- data/Rakefile +0 -0
- data/changelog.md +10 -0
- data/checkstyle_filter-git.gemspec +1 -0
- data/example/example1.xml +0 -0
- data/example/invalid.rb +0 -0
- data/example/simple.rb +0 -0
- data/lib/checkstyle_filter/git.rb +0 -0
- data/lib/checkstyle_filter/git/cli.rb +0 -0
- data/lib/checkstyle_filter/git/filter.rb +0 -0
- data/lib/checkstyle_filter/git/version.rb +1 -1
- data/package.json +11 -0
- metadata +20 -5
- data/.travis.yml +0 -20
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 398394838f77852b714bb97c721e3390d8d075b79fd7777a025c74300489d38f
|
|
4
|
+
data.tar.gz: 686e3c314f636b1b42f5ef4555b8c5d577527d78f9a115c4b77e3714d300ae14
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 405300899cf8146e57da9bb8f5ab98e25b55479b205a7d822f0807de20fbc1551230b9eca444d6baaae248a3eb5972608c98d8f0d6da57c8d882a2ad8eb911bd
|
|
7
|
+
data.tar.gz: 741b2a3c9b5831ffdedc60dc1ac726b4e07a454757ba16b4962f499c7978d0f843485559c7ae8cc5e03827e46f480a7feb00ff4447812e48f1f1382ac8bb8137
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
version: 2.1
|
|
2
|
+
orbs:
|
|
3
|
+
ruby: circleci/ruby@1.1.2
|
|
4
|
+
|
|
5
|
+
executors:
|
|
6
|
+
linux:
|
|
7
|
+
docker:
|
|
8
|
+
- image: cimg/base:stable
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
test:
|
|
12
|
+
parameters:
|
|
13
|
+
os:
|
|
14
|
+
type: executor
|
|
15
|
+
ruby-version:
|
|
16
|
+
type: string
|
|
17
|
+
executor: << parameters.os >>
|
|
18
|
+
steps:
|
|
19
|
+
- checkout
|
|
20
|
+
- ruby/install:
|
|
21
|
+
version: << parameters.ruby-version >>
|
|
22
|
+
- run:
|
|
23
|
+
name: bundle install
|
|
24
|
+
command: bundle install
|
|
25
|
+
- run:
|
|
26
|
+
name: test
|
|
27
|
+
command: bundle exec rake
|
|
28
|
+
workflows:
|
|
29
|
+
all-tests:
|
|
30
|
+
jobs:
|
|
31
|
+
- test:
|
|
32
|
+
matrix:
|
|
33
|
+
parameters:
|
|
34
|
+
os: [linux]
|
|
35
|
+
ruby-version: ["2.5", "2.6", "2.7", "3.0"]
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
var execSync = require('child_process').execSync;
|
|
3
|
+
var URI = require('urijs');
|
|
4
|
+
|
|
5
|
+
var gemspec = JSON.parse(execSync('bundle exec parse-gemspec-cli checkstyle_filter-git.gemspec'));
|
|
6
|
+
var homepageUrl = gemspec.homepage;
|
|
7
|
+
var url = new URI(homepageUrl);
|
|
8
|
+
var host = url.protocol() + '://' + url.authority();
|
|
9
|
+
var owner = url.pathname().split('/')[1];
|
|
10
|
+
var repository = url.pathname().split('/')[2];
|
|
11
|
+
|
|
12
|
+
module.exports = {
|
|
13
|
+
version: gemspec.version,
|
|
14
|
+
host: host,
|
|
15
|
+
owner: owner,
|
|
16
|
+
repository: repository
|
|
17
|
+
};
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
|
File without changes
|
data/CODE_OF_CONDUCT.md
CHANGED
|
File without changes
|
data/Gemfile
CHANGED
data/LICENSE.txt
CHANGED
|
File without changes
|
data/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# CheckstyleFilter::Git
|
|
2
2
|
|
|
3
3
|
[](http://badge.fury.io/rb/checkstyle_filter-git)
|
|
4
|
-
[](https://circleci.com/gh/packsaddle/ruby-checkstyle_filter-git)
|
|
5
5
|
|
|
6
6
|
## What is this?
|
|
7
7
|
|
data/Rakefile
CHANGED
|
File without changes
|
data/changelog.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
<a name="1.2.0"></a>
|
|
2
|
+
# [1.2.0](https://github.com/packsaddle/ruby-checkstyle_filter-git/compare/v1.1.0...v1.2.0) (2021-04-13)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* **deps:** add rexml for ruby 3.0 compatibility ([0ec9d95](https://github.com/packsaddle/ruby-checkstyle_filter-git/commit/0ec9d95))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
1
11
|
# ChangeLog
|
|
2
12
|
|
|
3
13
|
<a name="1.1.0"></a>
|
data/example/example1.xml
CHANGED
|
File without changes
|
data/example/invalid.rb
CHANGED
|
File without changes
|
data/example/simple.rb
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/package.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"devDependencies": {
|
|
3
|
+
"conventional-changelog-cli": "^1.1.1",
|
|
4
|
+
"npm-check-updates": "^2.2.3",
|
|
5
|
+
"urijs": "^1.16.1"
|
|
6
|
+
},
|
|
7
|
+
"scripts": {
|
|
8
|
+
"changelog": "conventional-changelog -i changelog.md --same-file --preset angular --context .conventional-changelog.context.js",
|
|
9
|
+
"ncu": "ncu -u"
|
|
10
|
+
}
|
|
11
|
+
}
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: checkstyle_filter-git
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- sanemat
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-04-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|
|
@@ -38,6 +38,20 @@ dependencies:
|
|
|
38
38
|
- - ">="
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: '0'
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
42
|
+
name: rexml
|
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - ">="
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: '0'
|
|
48
|
+
type: :runtime
|
|
49
|
+
prerelease: false
|
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - ">="
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: '0'
|
|
41
55
|
- !ruby/object:Gem::Dependency
|
|
42
56
|
name: bundler
|
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -102,9 +116,10 @@ executables:
|
|
|
102
116
|
extensions: []
|
|
103
117
|
extra_rdoc_files: []
|
|
104
118
|
files:
|
|
119
|
+
- ".circleci/config.yml"
|
|
120
|
+
- ".conventional-changelog.context.js"
|
|
105
121
|
- ".gitignore"
|
|
106
122
|
- ".rubocop.yml"
|
|
107
|
-
- ".travis.yml"
|
|
108
123
|
- CODE_OF_CONDUCT.md
|
|
109
124
|
- Gemfile
|
|
110
125
|
- LICENSE.txt
|
|
@@ -122,6 +137,7 @@ files:
|
|
|
122
137
|
- lib/checkstyle_filter/git/cli.rb
|
|
123
138
|
- lib/checkstyle_filter/git/filter.rb
|
|
124
139
|
- lib/checkstyle_filter/git/version.rb
|
|
140
|
+
- package.json
|
|
125
141
|
homepage: https://github.com/packsaddle/ruby-checkstyle_filter-git
|
|
126
142
|
licenses:
|
|
127
143
|
- MIT
|
|
@@ -141,8 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
141
157
|
- !ruby/object:Gem::Version
|
|
142
158
|
version: '0'
|
|
143
159
|
requirements: []
|
|
144
|
-
|
|
145
|
-
rubygems_version: 2.5.1
|
|
160
|
+
rubygems_version: 3.1.4
|
|
146
161
|
signing_key:
|
|
147
162
|
specification_version: 4
|
|
148
163
|
summary: Filter checkstyle format errors on ONLY modified lines.
|
data/.travis.yml
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
language: ruby
|
|
2
|
-
sudo: false
|
|
3
|
-
rvm:
|
|
4
|
-
- 1.9
|
|
5
|
-
- 2.0
|
|
6
|
-
- 2.1.10
|
|
7
|
-
- 2.2.4
|
|
8
|
-
- 2.3.0
|
|
9
|
-
before_install:
|
|
10
|
-
- gem update bundler
|
|
11
|
-
notifications:
|
|
12
|
-
email:
|
|
13
|
-
- ogataken@gmail.com
|
|
14
|
-
branches:
|
|
15
|
-
only:
|
|
16
|
-
- master
|
|
17
|
-
addons:
|
|
18
|
-
apt:
|
|
19
|
-
packages:
|
|
20
|
-
- libgmp-dev # workaround for travis-rubies 2.1.10
|