asciidoctor-defmastership 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitlab-ci.yml +17 -0
- data/.rubocop.yml +3 -6
- data/Gemfile.lock +12 -9
- data/asciidoctor-defmastership.gemspec +3 -2
- data/lib/asciidoctor/defmastership/extension.rb +1 -1
- data/lib/asciidoctor/defmastership/version.rb +1 -1
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97b8903407ac4e7013027686a0a75f1db8d4bea1af086ff47feb4aee422e164a
|
4
|
+
data.tar.gz: 5aa812fdb8182a2a9c770ed86b4d8730c6681c5715ea8f5ae0238603041f1bd7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4816baf18a79abdc00a2c6bb697195924cb560263073fb50d02508a5a97d74e1f730a03b565b4b42745dbcacaee25b8b7e34a2aba98701bdaae59b86b4d3c1e5
|
7
|
+
data.tar.gz: 55cc9cb65bf77283926074585ccf73c03de487bf474f66b61af0183829f3c44e19227481324b12cea66e9966a980b40f1aad300a3b7debe2fbaa68ec776e96c9
|
data/.gitlab-ci.yml
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
default:
|
2
|
+
image: ruby:2.5
|
3
|
+
before_script:
|
4
|
+
- apt-get update
|
5
|
+
- ruby -v
|
6
|
+
- which ruby
|
7
|
+
- rm Gemfile.lock
|
8
|
+
- gem install bundler --no-document
|
9
|
+
- bundle install --jobs $(nproc) "${FLAGS[@]}"
|
10
|
+
|
11
|
+
rspec:
|
12
|
+
script:
|
13
|
+
- bundle exec rake spec
|
14
|
+
|
15
|
+
rubocop:
|
16
|
+
script:
|
17
|
+
- bundle exec rake rubocop
|
data/.rubocop.yml
CHANGED
@@ -13,7 +13,7 @@ require:
|
|
13
13
|
- rubocop-rspec
|
14
14
|
|
15
15
|
AllCops:
|
16
|
-
TargetRubyVersion: 2.
|
16
|
+
TargetRubyVersion: 2.5
|
17
17
|
EnabledByDefault: true
|
18
18
|
DisplayCopNames: true
|
19
19
|
|
@@ -21,8 +21,8 @@ Style/Copyright:
|
|
21
21
|
Enabled: false
|
22
22
|
AutocorrectNotice: 'Copyright 2020 by Jérôme Arbez-Gindre'
|
23
23
|
|
24
|
-
|
25
|
-
|
24
|
+
Lint/ConstantResolution: # not available in rubocop 0.81
|
25
|
+
Enabled: false
|
26
26
|
|
27
27
|
# Style/DocumentationMethod:
|
28
28
|
# Enabled: false
|
@@ -42,9 +42,6 @@ Metrics/BlockLength :
|
|
42
42
|
- 'spec/**/*'
|
43
43
|
- '*.gemspec'
|
44
44
|
|
45
|
-
Layout/LineLength:
|
46
|
-
Max: 120 # default for rubocop later than 0.81
|
47
|
-
|
48
45
|
# Security/Eval :
|
49
46
|
# Exclude:
|
50
47
|
# - 'Rakefile'
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
asciidoctor-defmastership (1.0.
|
4
|
+
asciidoctor-defmastership (1.0.1)
|
5
5
|
asciidoctor (~> 2.0)
|
6
6
|
defmastership (>= 1.0.2, < 2.0)
|
7
7
|
|
@@ -60,7 +60,7 @@ GEM
|
|
60
60
|
cucumber-core (~> 8.0, >= 8.0.1)
|
61
61
|
cucumber-cucumber-expressions (~> 10.3, >= 10.3.0)
|
62
62
|
cucumber-messages (~> 13.0, >= 13.0.1)
|
63
|
-
defmastership (1.0.
|
63
|
+
defmastership (1.0.3)
|
64
64
|
aasm (~> 5)
|
65
65
|
asciidoctor (~> 2)
|
66
66
|
gli (~> 2)
|
@@ -69,7 +69,6 @@ GEM
|
|
69
69
|
gli (2.19.2)
|
70
70
|
i18n (1.8.5)
|
71
71
|
concurrent-ruby (~> 1.0)
|
72
|
-
jaro_winkler (1.5.4)
|
73
72
|
middleware (0.1.0)
|
74
73
|
minitest (5.14.2)
|
75
74
|
multi_test (0.1.2)
|
@@ -83,6 +82,7 @@ GEM
|
|
83
82
|
thread_safe
|
84
83
|
rainbow (3.0.0)
|
85
84
|
rake (13.0.1)
|
85
|
+
regexp_parser (1.7.1)
|
86
86
|
rexml (3.2.4)
|
87
87
|
rspec (3.9.0)
|
88
88
|
rspec-core (~> 3.9.0)
|
@@ -97,16 +97,19 @@ GEM
|
|
97
97
|
diff-lcs (>= 1.2.0, < 2.0)
|
98
98
|
rspec-support (~> 3.9.0)
|
99
99
|
rspec-support (3.9.3)
|
100
|
-
rubocop (0.
|
101
|
-
jaro_winkler (~> 1.5.1)
|
100
|
+
rubocop (0.91.0)
|
102
101
|
parallel (~> 1.10)
|
103
|
-
parser (>= 2.7.
|
102
|
+
parser (>= 2.7.1.1)
|
104
103
|
rainbow (>= 2.2.2, < 4.0)
|
104
|
+
regexp_parser (>= 1.7)
|
105
105
|
rexml
|
106
|
+
rubocop-ast (>= 0.4.0, < 1.0)
|
106
107
|
ruby-progressbar (~> 1.7)
|
107
108
|
unicode-display_width (>= 1.4.0, < 2.0)
|
108
|
-
rubocop-
|
109
|
-
|
109
|
+
rubocop-ast (0.4.1)
|
110
|
+
parser (>= 2.7.1.4)
|
111
|
+
rubocop-rspec (1.43.2)
|
112
|
+
rubocop (~> 0.87)
|
110
113
|
ruby-progressbar (1.10.1)
|
111
114
|
sys-uname (1.2.1)
|
112
115
|
ffi (>= 1.0.0)
|
@@ -125,7 +128,7 @@ DEPENDENCIES
|
|
125
128
|
asciidoctor-defmastership!
|
126
129
|
rake
|
127
130
|
rspec
|
128
|
-
rubocop (= 0.
|
131
|
+
rubocop (= 0.91)
|
129
132
|
rubocop-rspec (~> 1)
|
130
133
|
|
131
134
|
BUNDLED WITH
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# coding: utf-8
|
1
2
|
# frozen_string_literal: true
|
2
3
|
|
3
4
|
lib = File.expand_path('lib', __dir__)
|
@@ -5,7 +6,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
5
6
|
require('asciidoctor/defmastership/version')
|
6
7
|
|
7
8
|
Gem::Specification.new do |spec|
|
8
|
-
spec.required_ruby_version = '>= 2.
|
9
|
+
spec.required_ruby_version = '>= 2.5'
|
9
10
|
spec.name = 'asciidoctor-defmastership'
|
10
11
|
spec.version = Asciidoctor::DefMastership::VERSION
|
11
12
|
spec.authors = ['Jérôme Arbez-Gindre']
|
@@ -35,7 +36,7 @@ Gem::Specification.new do |spec|
|
|
35
36
|
spec.add_development_dependency('aruba')
|
36
37
|
spec.add_development_dependency('rake')
|
37
38
|
spec.add_development_dependency('rspec')
|
38
|
-
spec.add_development_dependency('rubocop', '0.
|
39
|
+
spec.add_development_dependency('rubocop', '0.91')
|
39
40
|
spec.add_development_dependency('rubocop-rspec', '~> 1')
|
40
41
|
|
41
42
|
spec.add_dependency('asciidoctor', '~> 2.0')
|
@@ -121,7 +121,7 @@ module Asciidoctor
|
|
121
121
|
new_line = "[.external_reference]\#{eref-#{matches[:refname]}-prefix} "
|
122
122
|
extref_line = extrefs.map { |ref| build_link(ref, matches) }
|
123
123
|
@has_url[matches[:refname]]
|
124
|
-
[new_line
|
124
|
+
["#{new_line}#{extref_line.join(', ')}.\#"]
|
125
125
|
end
|
126
126
|
|
127
127
|
def build_internal_ref(line, _matches)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: asciidoctor-defmastership
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jérôme Arbez-Gindre
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-09-
|
11
|
+
date: 2020-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aruba
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '0.
|
61
|
+
version: '0.91'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '0.
|
68
|
+
version: '0.91'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rubocop-rspec
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -125,6 +125,7 @@ extensions: []
|
|
125
125
|
extra_rdoc_files: []
|
126
126
|
files:
|
127
127
|
- ".gitignore"
|
128
|
+
- ".gitlab-ci.yml"
|
128
129
|
- ".rspec"
|
129
130
|
- ".rubocop.yml"
|
130
131
|
- ".travis.yml"
|
@@ -161,7 +162,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
161
162
|
requirements:
|
162
163
|
- - ">="
|
163
164
|
- !ruby/object:Gem::Version
|
164
|
-
version: '2.
|
165
|
+
version: '2.5'
|
165
166
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
166
167
|
requirements:
|
167
168
|
- - ">="
|