text_to_checkstyle 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.circleci/config.yml +38 -0
- data/.conventional-changelog.context.js +17 -0
- data/.gitignore +1 -0
- data/CHANGELOG.md +4 -0
- data/Gemfile +1 -0
- data/README.md +1 -1
- data/lib/text_to_checkstyle/version.rb +1 -1
- data/text_to_checkstyle.gemspec +3 -2
- metadata +27 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 39a01cbe1e4cb58a163800ffd893cae9530ffc6d9bd3ea4cdd43390468fb7001
|
4
|
+
data.tar.gz: 34c4063807354c90f552dd9f211cba056aa8d3a7b9ab9294a17dea94823a0c37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ded38e9af05195de27b0594a6875e8ef53eb784ebc863b46936829b58fb6f8574f16c8fa3925d313cd28731871ed9c88b944379949040788751c6bfd8f5f691
|
7
|
+
data.tar.gz: 71ab680ce94f900cfc58c43c6a2464069209b1dd7f1665d0fbf9a0486b40d06038ad09c46e78091ace2dd57e3c85bc5156864402fa9911c54f4dcce32733659c
|
@@ -0,0 +1,38 @@
|
|
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: bin/setup
|
27
|
+
command: bin/setup
|
28
|
+
- run:
|
29
|
+
name: test
|
30
|
+
command: bundle exec rake
|
31
|
+
workflows:
|
32
|
+
all-tests:
|
33
|
+
jobs:
|
34
|
+
- test:
|
35
|
+
matrix:
|
36
|
+
parameters:
|
37
|
+
os: [linux]
|
38
|
+
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 text_to_checkstyle.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/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# TextToCheckstyle
|
2
2
|
|
3
3
|
[![Gem Version](http://img.shields.io/gem/v/text_to_checkstyle.svg?style=flat)](http://badge.fury.io/rb/text_to_checkstyle)
|
4
|
-
[![Build Status](
|
4
|
+
[![Build Status](https://img.shields.io/circleci/build/github/packsaddle/ruby-text_to_checkstyle?style=flat)](https://circleci.com/gh/packsaddle/ruby-text_to_checkstyle)
|
5
5
|
|
6
6
|
## Usage
|
7
7
|
|
data/text_to_checkstyle.gemspec
CHANGED
@@ -30,8 +30,9 @@ Gem::Specification.new do |spec|
|
|
30
30
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
31
31
|
spec.require_paths = ['lib']
|
32
32
|
spec.add_runtime_dependency 'thor', '>= 0'
|
33
|
+
spec.add_runtime_dependency 'rexml', '>= 0'
|
33
34
|
|
34
|
-
spec.add_development_dependency 'bundler', '
|
35
|
-
spec.add_development_dependency 'rake', '
|
35
|
+
spec.add_development_dependency 'bundler', '>= 0'
|
36
|
+
spec.add_development_dependency 'rake', '>= 0'
|
36
37
|
spec.add_development_dependency 'test-unit', '>= 0'
|
37
38
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: text_to_checkstyle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.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
|
@@ -24,34 +24,48 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rexml
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: bundler
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
30
44
|
requirements:
|
31
|
-
- - "
|
45
|
+
- - ">="
|
32
46
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
47
|
+
version: '0'
|
34
48
|
type: :development
|
35
49
|
prerelease: false
|
36
50
|
version_requirements: !ruby/object:Gem::Requirement
|
37
51
|
requirements:
|
38
|
-
- - "
|
52
|
+
- - ">="
|
39
53
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
54
|
+
version: '0'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: rake
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
44
58
|
requirements:
|
45
|
-
- - "
|
59
|
+
- - ">="
|
46
60
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
61
|
+
version: '0'
|
48
62
|
type: :development
|
49
63
|
prerelease: false
|
50
64
|
version_requirements: !ruby/object:Gem::Requirement
|
51
65
|
requirements:
|
52
|
-
- - "
|
66
|
+
- - ">="
|
53
67
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
68
|
+
version: '0'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: test-unit
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -74,6 +88,8 @@ executables:
|
|
74
88
|
extensions: []
|
75
89
|
extra_rdoc_files: []
|
76
90
|
files:
|
91
|
+
- ".circleci/config.yml"
|
92
|
+
- ".conventional-changelog.context.js"
|
77
93
|
- ".gitignore"
|
78
94
|
- ".rubocop.yml"
|
79
95
|
- CHANGELOG.md
|
@@ -111,8 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
111
127
|
- !ruby/object:Gem::Version
|
112
128
|
version: '0'
|
113
129
|
requirements: []
|
114
|
-
|
115
|
-
rubygems_version: 2.4.5
|
130
|
+
rubygems_version: 3.1.4
|
116
131
|
signing_key:
|
117
132
|
specification_version: 4
|
118
133
|
summary: Transform text format to checkstyle format.
|