asciidoctor-defmastership 1.0.2 → 1.0.3

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
2
  SHA256:
3
- metadata.gz: 169092c90c36cb4a55b2407ab7bac3e801dc0f90abdbbe34bc3c79807f06ef08
4
- data.tar.gz: 85d8e158b4d1f1cface1b413cdb787c19344f6567576cd2b79434bf5582b07a8
3
+ metadata.gz: fecadf3a9bd4d5b0f6ffafe2b99431061580fa1a195fb0fab111fd0c8a397a60
4
+ data.tar.gz: a708c0f6d86f7bc9483a9855a48e396f16bfbd81b49531a8ec2e5f9c864a35a3
5
5
  SHA512:
6
- metadata.gz: b95f2f520e74d82002fb0faeb103380960bb84499a3eb215eff431828a3ffee3a84aceb6f44963d256d90782d1dc7261f3347a1e94a9b495e030ee1474385d4f
7
- data.tar.gz: 6e8a6ab98ec583323c84a0dfc4761f8eea99e03ad07cd5be18375a92210384d3dcffea666ed4f510737174284551b0ccc5d44f11bb312e70fdc2137f7d3109d0
6
+ metadata.gz: f7e03dc2cd076a84e80650b874cb21ee1cd85f3daf04ed03e709b729407d9d01e5f9af484180ed5146c43531146717f47334244c7f36bd73c97fc49529bfbd95
7
+ data.tar.gz: d0f51418176da65f28ef46f7385477b93401eeeb25de545cf24cc816199e9e286dafd7cf946baaf404d8c55f86b04aca2bf896a330147248cc02ccc93744580d
data/.gitignore CHANGED
@@ -12,3 +12,4 @@
12
12
  /measurements
13
13
  *.csv
14
14
  *.gem
15
+ /Gemfile.lock
data/.gitlab-ci.yml CHANGED
@@ -4,7 +4,6 @@ default:
4
4
  - apt-get update
5
5
  - ruby -v
6
6
  - which ruby
7
- - rm Gemfile.lock
8
7
  - gem install bundler --no-document
9
8
  - bundle install --jobs $(nproc) "${FLAGS[@]}"
10
9
 
@@ -36,9 +36,10 @@ Gem::Specification.new do |spec|
36
36
  spec.add_development_dependency('aruba')
37
37
  spec.add_development_dependency('rake')
38
38
  spec.add_development_dependency('rspec')
39
- spec.add_development_dependency('rubocop', '0.91')
40
- spec.add_development_dependency('rubocop-rspec', '~> 1')
39
+ spec.add_development_dependency('rubocop', '1.3')
40
+ spec.add_development_dependency('rubocop-rake', '~> 0.5')
41
+ spec.add_development_dependency('rubocop-rspec', '~> 2.0')
41
42
 
42
43
  spec.add_dependency('asciidoctor', '~> 2.0')
43
- spec.add_dependency('defmastership', '>= 1.0.4', '< 2.0')
44
+ spec.add_dependency('defmastership', '>= 1.0.6', '< 2.0')
44
45
  end
@@ -90,15 +90,11 @@ module Asciidoctor
90
90
 
91
91
  def build_definition(_line, matches)
92
92
  definition_lines = []
93
- if matches[:labels]
94
- labels_str = labels_strings(matches[:labels]).join(' ')
95
- definition_lines << ".#{matches[:reference]} #{labels_str}"
96
- else
97
- definition_lines << ".#{matches[:reference]}"
98
- end
93
+ explicit_checksum_str = " [.checksum]\#(#{matches[:explicit_checksum]})\#" if matches[:explicit_checksum]
94
+ labels_str = " #{labels_strings(matches[:labels]).join(' ')}" if matches[:labels]
95
+ definition_lines << ".#{matches[:reference]}#{explicit_checksum_str}#{labels_str}"
99
96
  definition_lines <<
100
97
  "[\##{matches[:reference]}.define.#{matches[:type]}]"
101
- definition_lines
102
98
  end
103
99
 
104
100
  def labels_strings(labels)
@@ -3,7 +3,7 @@
3
3
 
4
4
  module Asciidoctor
5
5
  module DefMastership
6
- VERSION = '1.0.2'
6
+ VERSION = '1.0.3'
7
7
  public_constant :VERSION
8
8
  end
9
9
  end
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.2
4
+ version: 1.0.3
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-17 00:00:00.000000000 Z
11
+ date: 2021-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aruba
@@ -58,28 +58,42 @@ dependencies:
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: '0.91'
61
+ version: '1.3'
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.91'
68
+ version: '1.3'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rubocop-rake
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '0.5'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '0.5'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: rubocop-rspec
71
85
  requirement: !ruby/object:Gem::Requirement
72
86
  requirements:
73
87
  - - "~>"
74
88
  - !ruby/object:Gem::Version
75
- version: '1'
89
+ version: '2.0'
76
90
  type: :development
77
91
  prerelease: false
78
92
  version_requirements: !ruby/object:Gem::Requirement
79
93
  requirements:
80
94
  - - "~>"
81
95
  - !ruby/object:Gem::Version
82
- version: '1'
96
+ version: '2.0'
83
97
  - !ruby/object:Gem::Dependency
84
98
  name: asciidoctor
85
99
  requirement: !ruby/object:Gem::Requirement
@@ -100,7 +114,7 @@ dependencies:
100
114
  requirements:
101
115
  - - ">="
102
116
  - !ruby/object:Gem::Version
103
- version: 1.0.4
117
+ version: 1.0.6
104
118
  - - "<"
105
119
  - !ruby/object:Gem::Version
106
120
  version: '2.0'
@@ -110,7 +124,7 @@ dependencies:
110
124
  requirements:
111
125
  - - ">="
112
126
  - !ruby/object:Gem::Version
113
- version: 1.0.4
127
+ version: 1.0.6
114
128
  - - "<"
115
129
  - !ruby/object:Gem::Version
116
130
  version: '2.0'
@@ -130,7 +144,6 @@ files:
130
144
  - ".rubocop.yml"
131
145
  - ".travis.yml"
132
146
  - Gemfile
133
- - Gemfile.lock
134
147
  - LICENCE
135
148
  - README.md
136
149
  - Rakefile
@@ -170,7 +183,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
170
183
  - !ruby/object:Gem::Version
171
184
  version: '0'
172
185
  requirements: []
173
- rubygems_version: 3.1.2
186
+ rubygems_version: 3.2.5
174
187
  signing_key:
175
188
  specification_version: 4
176
189
  summary: asciidoctor extension to handle applicable definition references
data/Gemfile.lock DELETED
@@ -1,135 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- asciidoctor-defmastership (1.0.2)
5
- asciidoctor (~> 2.0)
6
- defmastership (>= 1.0.4, < 2.0)
7
-
8
- GEM
9
- remote: https://rubygems.org/
10
- specs:
11
- aasm (5.1.1)
12
- concurrent-ruby (~> 1.0)
13
- activesupport (6.0.3.3)
14
- concurrent-ruby (~> 1.0, >= 1.0.2)
15
- i18n (>= 0.7, < 2)
16
- minitest (~> 5.1)
17
- tzinfo (~> 1.1)
18
- zeitwerk (~> 2.2, >= 2.2.2)
19
- aruba (1.0.3)
20
- childprocess (>= 2.0, < 5.0)
21
- contracts (~> 0.16.0)
22
- cucumber (>= 2.4, < 6.0)
23
- ffi (~> 1.9)
24
- rspec-expectations (~> 3.4)
25
- thor (~> 1.0)
26
- asciidoctor (2.0.10)
27
- ast (2.4.1)
28
- builder (3.2.4)
29
- childprocess (4.0.0)
30
- concurrent-ruby (1.1.7)
31
- contracts (0.16.0)
32
- cucumber (5.1.1)
33
- builder (~> 3.2, >= 3.2.4)
34
- cucumber-core (~> 8.0, >= 8.0.1)
35
- cucumber-create-meta (~> 2.0, >= 2.0.2)
36
- cucumber-cucumber-expressions (~> 10.3, >= 10.3.0)
37
- cucumber-gherkin (~> 15.0, >= 15.0.2)
38
- cucumber-html-formatter (~> 9.0, >= 9.0.0)
39
- cucumber-messages (~> 13.0, >= 13.0.1)
40
- cucumber-wire (~> 4.0, >= 4.0.1)
41
- diff-lcs (~> 1.4, >= 1.4.4)
42
- multi_test (~> 0.1, >= 0.1.2)
43
- sys-uname (~> 1.2, >= 1.2.1)
44
- cucumber-core (8.0.1)
45
- cucumber-gherkin (~> 15.0, >= 15.0.2)
46
- cucumber-messages (~> 13.0, >= 13.0.1)
47
- cucumber-tag-expressions (~> 2.0, >= 2.0.4)
48
- cucumber-create-meta (2.0.2)
49
- cucumber-messages (~> 13.0, >= 13.0.1)
50
- sys-uname (~> 1.2, >= 1.2.1)
51
- cucumber-cucumber-expressions (10.3.0)
52
- cucumber-gherkin (15.0.2)
53
- cucumber-messages (~> 13.0, >= 13.0.1)
54
- cucumber-html-formatter (9.0.0)
55
- cucumber-messages (~> 13.0, >= 13.0.1)
56
- cucumber-messages (13.1.0)
57
- protobuf-cucumber (~> 3.10, >= 3.10.8)
58
- cucumber-tag-expressions (2.0.4)
59
- cucumber-wire (4.0.1)
60
- cucumber-core (~> 8.0, >= 8.0.1)
61
- cucumber-cucumber-expressions (~> 10.3, >= 10.3.0)
62
- cucumber-messages (~> 13.0, >= 13.0.1)
63
- defmastership (1.0.4)
64
- aasm (~> 5)
65
- asciidoctor (~> 2)
66
- gli (~> 2)
67
- diff-lcs (1.4.4)
68
- ffi (1.13.1)
69
- gli (2.19.2)
70
- i18n (1.8.5)
71
- concurrent-ruby (~> 1.0)
72
- middleware (0.1.0)
73
- minitest (5.14.2)
74
- multi_test (0.1.2)
75
- parallel (1.19.2)
76
- parser (2.7.1.4)
77
- ast (~> 2.4.1)
78
- protobuf-cucumber (3.10.8)
79
- activesupport (>= 3.2)
80
- middleware
81
- thor
82
- thread_safe
83
- rainbow (3.0.0)
84
- rake (13.0.1)
85
- regexp_parser (1.7.1)
86
- rexml (3.2.4)
87
- rspec (3.9.0)
88
- rspec-core (~> 3.9.0)
89
- rspec-expectations (~> 3.9.0)
90
- rspec-mocks (~> 3.9.0)
91
- rspec-core (3.9.2)
92
- rspec-support (~> 3.9.3)
93
- rspec-expectations (3.9.2)
94
- diff-lcs (>= 1.2.0, < 2.0)
95
- rspec-support (~> 3.9.0)
96
- rspec-mocks (3.9.1)
97
- diff-lcs (>= 1.2.0, < 2.0)
98
- rspec-support (~> 3.9.0)
99
- rspec-support (3.9.3)
100
- rubocop (0.91.0)
101
- parallel (~> 1.10)
102
- parser (>= 2.7.1.1)
103
- rainbow (>= 2.2.2, < 4.0)
104
- regexp_parser (>= 1.7)
105
- rexml
106
- rubocop-ast (>= 0.4.0, < 1.0)
107
- ruby-progressbar (~> 1.7)
108
- unicode-display_width (>= 1.4.0, < 2.0)
109
- rubocop-ast (0.4.1)
110
- parser (>= 2.7.1.4)
111
- rubocop-rspec (1.43.2)
112
- rubocop (~> 0.87)
113
- ruby-progressbar (1.10.1)
114
- sys-uname (1.2.1)
115
- ffi (>= 1.0.0)
116
- thor (1.0.1)
117
- thread_safe (0.3.6)
118
- tzinfo (1.2.7)
119
- thread_safe (~> 0.1)
120
- unicode-display_width (1.7.0)
121
- zeitwerk (2.4.0)
122
-
123
- PLATFORMS
124
- ruby
125
-
126
- DEPENDENCIES
127
- aruba
128
- asciidoctor-defmastership!
129
- rake
130
- rspec
131
- rubocop (= 0.91)
132
- rubocop-rspec (~> 1)
133
-
134
- BUNDLED WITH
135
- 2.1.4