defmastership-core 1.0.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/config/mutant.yml +1 -16
- data/defmastership-core.gemspec +1 -1
- data/lib/defmastership/core/constants.rb +2 -2
- data/lib/defmastership/core/parsing_state.rb +4 -1
- data/lib/defmastership/core/version.rb +2 -2
- data/spec/spec_helper.rb +0 -2
- data/spec/unit/{def_mastership → defmastership}/core/parsing_state_spec.rb +1 -1
- data/spec/unit/{def_mastership → defmastership}/core_spec.rb +2 -2
- metadata +5 -6
- data/lib/defmastership.rb +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f53b9cafb00c67beb3c5412e3668d5e72683db35a0d6d7a6449aafa5adf22494
|
4
|
+
data.tar.gz: f7e347edb42e478b6103d09d74079c79571b9914fabceee5b7d27934a8dbaf7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b95b3e3915b799e9025f741a201ad806e23b5048a2c7ef3438a48e73b21ac0e40012c9519a4d481fad38554f7b94869b59d6c8d54a8cfd7a09df14e2c3d44c1
|
7
|
+
data.tar.gz: 06d4d2f26ec9a37a1756046c02b48c9e6921182d3861e27aa0b9518f9894fac39e57d1d2323eea7980a248180fdcc0e0d34f2b78b982ed4aa653707f80d88710
|
data/LICENSE
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
MIT License
|
2
2
|
|
3
3
|
Copyright (c) 2020 Jérôme Arbez-Gindre, and the individual contributors
|
4
|
-
to
|
4
|
+
to Defmastership.
|
5
5
|
|
6
6
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
7
7
|
of this software and associated documentation files (the "Software"), to deal
|
data/config/mutant.yml
CHANGED
@@ -11,20 +11,5 @@ requires:
|
|
11
11
|
- defmastership
|
12
12
|
matcher:
|
13
13
|
subjects:
|
14
|
-
- '
|
15
|
-
# ignore:
|
16
|
-
# - 'DefMastership::BatchModifier*'
|
17
|
-
# - 'DefMastership::Export::CSV::Formatter*'
|
18
|
-
# - 'DefMastership::Export::CSV::BodyFormatter*'
|
19
|
-
# - 'DefMastership::Export::CSV::HeaderFormatter*'
|
20
|
-
# - 'DefMastership::Modifier::ChangeRef*'
|
21
|
-
# - 'DefMastership::Definition*'
|
22
|
-
# - 'DefMastership::Document*'
|
23
|
-
# - 'DefMastership::Modifier::ModifierCommon*'
|
24
|
-
# - 'DefMastership::Modifier::Factory*'
|
25
|
-
# - 'DefMastership::ParsingState*'
|
26
|
-
# - 'DefMastership::Modifier::RenameIncludedFiles*'
|
27
|
-
# - 'DefMastership::Modifier::UpdateDefChecksum*'
|
28
|
-
# - 'DefMastership::Modifier::UpdateDef*'
|
29
|
-
# - 'DefMastership::Modifier::UpdateDefVersion*'
|
14
|
+
- 'Defmastership::Core*'
|
30
15
|
# fail_fast: true
|
data/defmastership-core.gemspec
CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
21
21
|
}
|
22
22
|
spec.required_ruby_version = '>= 2.7'
|
23
23
|
spec.name = 'defmastership-core'
|
24
|
-
spec.version =
|
24
|
+
spec.version = Defmastership::Core::VERSION
|
25
25
|
spec.author = 'Jérôme Arbez-Gindre'
|
26
26
|
spec.email = 'jeromearbezgindre@gmail.com'
|
27
27
|
spec.licenses = ['MIT']
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# Copyright (c) 2020 Jerome Arbez-Gindre
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
|
-
module
|
5
|
-
# Common code for
|
4
|
+
module Defmastership
|
5
|
+
# Common code for Defmastership and Asciidoctor::Defmastership
|
6
6
|
module Core
|
7
7
|
# set of regexp of added asciidoctor constructions
|
8
8
|
# This module smells of :reek:TooManyConstants
|
@@ -1,7 +1,10 @@
|
|
1
1
|
# Copyright (c) 2020 Jerome Arbez-Gindre
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
|
-
|
4
|
+
require('defmastership/core/constants')
|
5
|
+
require('defmastership/core/parsing_state')
|
6
|
+
|
7
|
+
module Defmastership
|
5
8
|
module Core
|
6
9
|
# Allow to know if we need to parse the line or simply ignore it
|
7
10
|
class ParsingState
|
@@ -1,11 +1,11 @@
|
|
1
1
|
# Copyright (c) 2020 Jerome Arbez-Gindre
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
|
-
module
|
4
|
+
module Defmastership
|
5
5
|
# Common to defmastership and asciidoctor-defmastership
|
6
6
|
module Core
|
7
7
|
# [String] Gem version
|
8
|
-
VERSION = '1.
|
8
|
+
VERSION = '1.2.0'
|
9
9
|
public_constant :VERSION
|
10
10
|
end
|
11
11
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# Copyright (c) 2020 Jerome Arbez-Gindre
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
|
-
RSpec.describe(
|
4
|
+
RSpec.describe(Defmastership::Core) do
|
5
5
|
it 'has a version number' do
|
6
|
-
expect(
|
6
|
+
expect(Defmastership::Core::VERSION).not_to(be_nil)
|
7
7
|
end
|
8
8
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: defmastership-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
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: 2024-11-
|
11
|
+
date: 2024-11-16 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email: jeromearbezgindre@gmail.com
|
@@ -28,13 +28,12 @@ files:
|
|
28
28
|
- config/rspec
|
29
29
|
- config/rubocop.yml
|
30
30
|
- defmastership-core.gemspec
|
31
|
-
- lib/defmastership.rb
|
32
31
|
- lib/defmastership/core/constants.rb
|
33
32
|
- lib/defmastership/core/parsing_state.rb
|
34
33
|
- lib/defmastership/core/version.rb
|
35
34
|
- spec/spec_helper.rb
|
36
|
-
- spec/unit/
|
37
|
-
- spec/unit/
|
35
|
+
- spec/unit/defmastership/core/parsing_state_spec.rb
|
36
|
+
- spec/unit/defmastership/core_spec.rb
|
38
37
|
- tasks/code_quality.rake
|
39
38
|
- tasks/console.rake
|
40
39
|
- tasks/documentation.rake
|
@@ -61,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
61
60
|
- !ruby/object:Gem::Version
|
62
61
|
version: '0'
|
63
62
|
requirements: []
|
64
|
-
rubygems_version: 3.5.
|
63
|
+
rubygems_version: 3.5.22
|
65
64
|
signing_key:
|
66
65
|
specification_version: 4
|
67
66
|
summary: Handling of references and definitions with asciidoctor - common code
|
data/lib/defmastership.rb
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
# Copyright (c) 2020 Jerome Arbez-Gindre
|
2
|
-
# frozen_string_literal: true
|
3
|
-
|
4
|
-
require('defmastership/core/version')
|
5
|
-
|
6
|
-
# Add requires for other files you add to your project here, so
|
7
|
-
# you just need to require this one file in your bin file
|
8
|
-
require('defmastership/core/constants')
|
9
|
-
require('defmastership/core/parsing_state')
|