support_table_data 1.5.1 → 1.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '081b2612659ea90591ecf5fd7386acbb9d10dbd90c20301e12fba39d3d81e4b3'
4
- data.tar.gz: b7d4960153f4799031127c8e2fb6ffaa5da49acc1e59833b64c9f417dd9d77df
3
+ metadata.gz: 82058731205c6222edf23783def3fdd7034354f9f81b77deb1eab2dd466de423
4
+ data.tar.gz: b5cdf88268b861064d5676a67c43ac1ed5d3ea94bf9cabd6ddfa7c5aaa49db4d
5
5
  SHA512:
6
- metadata.gz: e38a2f56f37888a737c8493ec0078666cf8a138415326946829c506a57fc81f5bc3e8407232e7bacbd82a5d0066d9513dd14340360e9d4179a3b1d51a7d69517
7
- data.tar.gz: 569bbabe38749923686c5d9aa757851f6ba3fad64317f18e3fdb209aec9c714ed1f020a6c07a1588464d1ed9c129bb983ae25d5378ae324b0abee8e467e0fa96
6
+ metadata.gz: 051ba76b99aecd331fe2d30779604619dfd3008e4538dfeb2542bce26ae764a498a64b03f47090c3e5cadb71d2a782df868c9749f74a436b47438c67b3c540d7
7
+ data.tar.gz: 352daacb10516c249346b2424718136055229c19099e17126a36c66b9a717ca0998f2a9cfab785e05fcffc8fdfa6e543ac853ec19419edafc8fd84f8c8b5ba54
data/CHANGELOG.md CHANGED
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## 1.5.2
8
+
9
+ ### Added
10
+
11
+ - Added `rubocop:disable all` around generated YARD documentation to prevent RuboCop offenses in the generated code. This ensures that the generated documentation does not cause any issues with RuboCop linting in the project.
12
+
7
13
  ## 1.5.1
8
14
 
9
15
  ### Added
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.5.1
1
+ 1.5.2
@@ -55,9 +55,11 @@ module SupportTableData
55
55
  updated_source = source[0, existing_yard_docs.begin(0)]
56
56
  updated_source << "#{indent}#{BEGIN_YARD_COMMENT}\n"
57
57
  updated_source << "#{indent}#{UPDATE_COMMAND_COMMENT}\n"
58
+ updated_source << "#{indent}# rubocop:disable all\n"
58
59
  updated_source << "#{indent}class #{klass.name}\n" if has_class_def
59
60
  updated_source << yard_docs
60
61
  updated_source << "\n#{indent}end" if has_class_def
62
+ updated_source << "\n#{indent}# rubocop:enable all"
61
63
  updated_source << "\n#{indent}#{END_YARD_COMMENT}"
62
64
  updated_source << source[existing_yard_docs.end(0)..-1]
63
65
  updated_source
@@ -65,9 +67,11 @@ module SupportTableData
65
67
  yard_comments = <<~SOURCE.chomp("\n")
66
68
  #{BEGIN_YARD_COMMENT}
67
69
  #{UPDATE_COMMAND_COMMENT}
70
+ # rubocop:disable all
68
71
  class #{klass.name}
69
72
  #{yard_docs.lines.map { |line| line.blank? ? "\n" : " #{line}" }.join}
70
73
  end
74
+ # rubocop:enable all
71
75
  #{END_YARD_COMMENT}
72
76
  SOURCE
73
77
  "#{source.rstrip}\n\n#{yard_comments}#{trailing_newline}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: support_table_data
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1
4
+ version: 1.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Durand