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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 47a296926850b9ab6fccb473569523ac095cd862
4
- data.tar.gz: 9a4d2c09245f56bd73f8eb1fdca2fbca3a25dbc3
2
+ SHA256:
3
+ metadata.gz: 398394838f77852b714bb97c721e3390d8d075b79fd7777a025c74300489d38f
4
+ data.tar.gz: 686e3c314f636b1b42f5ef4555b8c5d577527d78f9a115c4b77e3714d300ae14
5
5
  SHA512:
6
- metadata.gz: 4a66aaea4c486bd2fe63250444ec0b4b3f16b8eee8d0e080491728567267a08e678a163f897de8a6fd09f3dcb2329fc0ed60c00850526d9d1b9e751fa8febb16
7
- data.tar.gz: da24a6694bebb5d28cefc96ac610bf6af22cfba3616a08b9fcb8b2a6d96813f81f5560ce4d8f81f2af5c98f14ad350ae5c99671b83f7490c5efd9ef8d48b7d6a
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
@@ -7,6 +7,8 @@
7
7
  /pkg/
8
8
  /spec/reports/
9
9
  /tmp/
10
+ /node_modules/
11
+ /package-lock.json
10
12
 
11
13
  # Ignore bundler binstubs
12
14
  /bundle_bin
data/.rubocop.yml CHANGED
File without changes
data/CODE_OF_CONDUCT.md CHANGED
File without changes
data/Gemfile CHANGED
@@ -3,5 +3,6 @@ source 'https://rubygems.org'
3
3
  # Specify your gem's dependencies in checkstyle_filter-git.gemspec
4
4
  gemspec
5
5
 
6
- gem 'byebug' if RUBY_VERSION >= '2.0.0'
6
+ gem 'byebug'
7
7
  gem 'pry'
8
+ gem 'parse_gemspec-cli'
data/LICENSE.txt CHANGED
File without changes
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # CheckstyleFilter::Git
2
2
 
3
3
  [![Gem Version](http://img.shields.io/gem/v/checkstyle_filter-git.svg?style=flat)](http://badge.fury.io/rb/checkstyle_filter-git)
4
- [![Build Status](http://img.shields.io/travis/packsaddle/ruby-checkstyle_filter-git/master.svg?style=flat)](https://travis-ci.org/packsaddle/ruby-checkstyle_filter-git)
4
+ [![Build Status](https://img.shields.io/circleci/build/github/packsaddle/ruby-checkstyle_filter-git?style=flat)](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>
@@ -24,6 +24,7 @@ Gem::Specification.new do |spec|
24
24
 
25
25
  spec.add_runtime_dependency 'thor'
26
26
  spec.add_runtime_dependency 'git_diff_parser'
27
+ spec.add_runtime_dependency 'rexml'
27
28
 
28
29
  spec.add_development_dependency 'bundler'
29
30
  spec.add_development_dependency 'rake'
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
@@ -1,5 +1,5 @@
1
1
  module CheckstyleFilter
2
2
  module Git
3
- VERSION = '1.1.0'
3
+ VERSION = '1.2.0'
4
4
  end
5
5
  end
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.1.0
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: 2016-06-25 00:00:00.000000000 Z
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
- rubyforge_project:
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