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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a2409414409c0de765bc37b9b666c32e31ec11fc6c5b5a03c44bc88c1d575d31
4
- data.tar.gz: e2db2622f4b8eece83f5b1c80f918890619dc0d7a88c4b32cd35b90a6560afa3
3
+ metadata.gz: f53b9cafb00c67beb3c5412e3668d5e72683db35a0d6d7a6449aafa5adf22494
4
+ data.tar.gz: f7e347edb42e478b6103d09d74079c79571b9914fabceee5b7d27934a8dbaf7a
5
5
  SHA512:
6
- metadata.gz: 75804159eff5802621ef51db560c7fac277b025d2eeb28462af0915c467aa2b927eb745c9aa20029056974e1d4c8bc7cb61deffe53c064b6f3da32e26128b769
7
- data.tar.gz: f79713179f65c5c7e57eac2cbcf623b0a151a91a58de39d6953ef1803369c081429039c1eb200a52f312265fffc03a5999ed3de4b227f4797c84a73005367138
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 DefMastership.
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
- - 'DefMastership*'
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
@@ -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 = DefMastership::Core::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 DefMastership
5
- # Common code for DefMastership and Asciidoctor::DefMastership
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
- module DefMastership
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 DefMastership
4
+ module Defmastership
5
5
  # Common to defmastership and asciidoctor-defmastership
6
6
  module Core
7
7
  # [String] Gem version
8
- VERSION = '1.0.0'
8
+ VERSION = '1.2.0'
9
9
  public_constant :VERSION
10
10
  end
11
11
  end
data/spec/spec_helper.rb CHANGED
@@ -25,5 +25,3 @@ RSpec::Matchers.define(:matchdata_including) do |h|
25
25
  end
26
26
  end
27
27
  end
28
-
29
- require('defmastership')
@@ -3,7 +3,7 @@
3
3
 
4
4
  require('defmastership/core/parsing_state')
5
5
 
6
- RSpec.describe(DefMastership::Core::ParsingState) do
6
+ RSpec.describe(Defmastership::Core::ParsingState) do
7
7
  subject(:parsing_state) do
8
8
  described_class.new
9
9
  end
@@ -1,8 +1,8 @@
1
1
  # Copyright (c) 2020 Jerome Arbez-Gindre
2
2
  # frozen_string_literal: true
3
3
 
4
- RSpec.describe(DefMastership::Core) do
4
+ RSpec.describe(Defmastership::Core) do
5
5
  it 'has a version number' do
6
- expect(DefMastership::Core::VERSION).not_to(be_nil)
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.0.0
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-14 00:00:00.000000000 Z
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/def_mastership/core/parsing_state_spec.rb
37
- - spec/unit/def_mastership/core_spec.rb
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.23
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')