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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 1fbd3fb46d72ad00db1674673fed519bd9f35349
4
- data.tar.gz: 526ed8d8eb4bb60f98aa4b48f7d75af727d47f87
2
+ SHA256:
3
+ metadata.gz: 39a01cbe1e4cb58a163800ffd893cae9530ffc6d9bd3ea4cdd43390468fb7001
4
+ data.tar.gz: 34c4063807354c90f552dd9f211cba056aa8d3a7b9ab9294a17dea94823a0c37
5
5
  SHA512:
6
- metadata.gz: 54d61854f2ef705b771bc8627094cf61135d318c9182474959a20e69a322ee3e4d3b21477a964a48f3b52d4d2c47835f4a223f0210e5a95d81744a4dd7a7a4fc
7
- data.tar.gz: 8402bae0fd2891f1d80bc3233fea27b84e7cce1ac05487ba42b85c98d845482dc3441157f1806f263105f7c497c6c24f2c73e458f38445cfe989a4423c23674f
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
@@ -8,3 +8,4 @@
8
8
  /spec/reports/
9
9
  /tmp/
10
10
  /node_modules/
11
+ /package-lock.json
data/CHANGELOG.md CHANGED
@@ -1,2 +1,6 @@
1
+ # [0.2.0](https://github.com/packsaddle/ruby-text_to_checkstyle/compare/v0.1.0...v0.2.0) (2021-04-13)
2
+
3
+ * Add rexml to dependencies. For Ruby 3.0 compatibility.
4
+
1
5
  ## 0.1.0 (2015-03-17)
2
6
 
data/Gemfile CHANGED
@@ -4,3 +4,4 @@ source 'https://rubygems.org'
4
4
  gemspec
5
5
  gem 'byebug' if RUBY_VERSION >= '2.0.0'
6
6
  gem 'pry'
7
+ gem 'parse_gemspec-cli'
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](http://img.shields.io/travis/packsaddle/ruby-text_to_checkstyle/master.svg?style=flat)](https://travis-ci.org/packsaddle/ruby-text_to_checkstyle)
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
 
@@ -1,3 +1,3 @@
1
1
  module TextToCheckstyle
2
- VERSION = '0.1.0'
2
+ VERSION = '0.2.0'
3
3
  end
@@ -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', '~> 1.8'
35
- spec.add_development_dependency 'rake', '~> 10.0'
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.1.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: 2015-03-16 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
@@ -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: '1.8'
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: '1.8'
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: '10.0'
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: '10.0'
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
- rubyforge_project:
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.