rkwalify 1.4.0.pre.beta → 1.4.0.pre.preview1

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.
Files changed (98) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +0 -2
  3. data/Attic/README-0.7.2.md +0 -8
  4. data/CHANGELOG.md +2 -49
  5. data/CONTRIBUTING.md +1 -12
  6. data/CONTRIBUTORS.md +0 -8
  7. data/Gemfile.lock +6 -6
  8. data/README.md +3 -20
  9. data/ROLL-OUT-STRATEGY.md +11 -24
  10. data/bin/kwalify.rb +16 -16
  11. data/contrib/inline-require +1 -1
  12. data/contrib/kwalify +16 -16
  13. data/contrib/kwalify-0.7.2 +1 -1
  14. data/devbin/README.md +1 -14
  15. data/devbin/chkspelling.sh +10 -19
  16. data/devbin/got-all-rel-numbers.sh +1 -2
  17. data/devbin/mkbig-rkwalify.sh +1 -1
  18. data/devbin/mkgem_file.sh +1 -1
  19. data/devbin/ug-tests.golden +242 -0
  20. data/devbin/{smoke-tests.sh → ug-tests.sh} +40 -40
  21. data/devbin/update-rel-numbers.sh +3 -4
  22. data/doc-api/classes/CommandOptionError.html +1 -1
  23. data/doc-api/classes/Kwalify.html +1 -1
  24. data/doc-api/files/__/README_txt.html +1 -1
  25. data/doc-api/files/kwalify/errors_rb.html +1 -1
  26. data/doc-api/files/kwalify/main_rb.html +1 -1
  27. data/doc-api/files/kwalify/messages_rb.html +1 -1
  28. data/doc-api/files/kwalify/meta-validator_rb.html +1 -1
  29. data/doc-api/files/kwalify/parser/base_rb.html +1 -1
  30. data/doc-api/files/kwalify/parser/yaml_rb.html +1 -1
  31. data/doc-api/files/kwalify/rule_rb.html +1 -1
  32. data/doc-api/files/kwalify/types_rb.html +1 -1
  33. data/doc-api/files/kwalify/util/assert-text-equal_rb.html +1 -1
  34. data/doc-api/files/kwalify/util/hash-interface_rb.html +1 -1
  35. data/doc-api/files/kwalify/util/hashlike_rb.html +1 -1
  36. data/doc-api/files/kwalify/util/option-parser_rb.html +1 -1
  37. data/doc-api/files/kwalify/util/ordered-hash_rb.html +1 -1
  38. data/doc-api/files/kwalify/util/testcase-helper_rb.html +1 -1
  39. data/doc-api/files/kwalify/util_rb.html +1 -1
  40. data/doc-api/files/kwalify/validator_rb.html +1 -1
  41. data/doc-api/files/kwalify/yaml-parser_rb.html +1 -1
  42. data/doc-api/files/kwalify_rb.html +1 -1
  43. data/examples/address-book/address-book.schema.yaml +1 -1
  44. data/examples/invoice/invoice.schema.yaml +1 -1
  45. data/examples/tapkit/tapkit.schema.yaml +1 -1
  46. data/lib/kwalify/errors.rb +1 -1
  47. data/lib/kwalify/main.rb +2 -2
  48. data/lib/kwalify/messages.rb +1 -1
  49. data/lib/kwalify/meta-validator.rb +1 -1
  50. data/lib/kwalify/parser/base.rb +1 -1
  51. data/lib/kwalify/parser/yaml.rb +1 -1
  52. data/lib/kwalify/rule.rb +1 -1
  53. data/lib/kwalify/templates/genclass-java.eruby +1 -1
  54. data/lib/kwalify/templates/genclass-php.eruby +1 -1
  55. data/lib/kwalify/templates/genclass-ruby.eruby +1 -1
  56. data/lib/kwalify/types.rb +1 -1
  57. data/lib/kwalify/util/assert-text-equal.rb +1 -1
  58. data/lib/kwalify/util/hash-interface.rb +1 -1
  59. data/lib/kwalify/util/hashlike.rb +1 -1
  60. data/lib/kwalify/util/option-parser.rb +1 -1
  61. data/lib/kwalify/util/ordered-hash.rb +1 -1
  62. data/lib/kwalify/util/testcase-helper.rb +1 -1
  63. data/lib/kwalify/util.rb +1 -1
  64. data/lib/kwalify/validator.rb +1 -1
  65. data/lib/kwalify/version.rb +1 -1
  66. data/lib/kwalify/yaml-parser.rb +1 -1
  67. data/lib/kwalify.rb +1 -1
  68. data/test/Rookbook.yaml +1 -1
  69. data/test/data/users-guide/answers-validator.rb +1 -1
  70. data/test/data/users-guide/example_address_book.rb +1 -1
  71. data/test/data/users-guide/howto3.rb +1 -1
  72. data/test/data/users-guide/loadbabel.rb +2 -2
  73. data/test/data/users-guide/loadconfig.rb +2 -2
  74. data/test/data/users-guide/validate08.rb +1 -1
  75. data/test/test-action.rb +1 -1
  76. data/test/test-action.yaml +1 -1
  77. data/test/test-databinding.rb +1 -1
  78. data/test/test-databinding.yaml +1 -1
  79. data/test/test-main.rb +1 -1
  80. data/test/test-main.yaml +3 -3
  81. data/test/test-metavalidator.rb +1 -1
  82. data/test/test-metavalidator.yaml +9 -9
  83. data/test/test-parser-yaml.rb +1 -1
  84. data/test/test-parser-yaml.yaml +33 -36
  85. data/test/test-rule.rb +1 -1
  86. data/test/test-rule.yaml +1 -1
  87. data/test/test-users-guide.rb +1 -1
  88. data/test/test-util.rb +1 -1
  89. data/test/test-validator.rb +1 -1
  90. data/test/test-validator.yaml +1 -1
  91. data/test/test-yaml-parser.rb +1 -1
  92. data/test/test-yaml-parser.yaml +1 -1
  93. data/test/test.rb +4 -6
  94. metadata +3 -7
  95. data/bin/kwalify +0 -4167
  96. data/devbin/mktag +0 -3
  97. data/devbin/ruby_rails_wordlist.txt +0 -195
  98. data/devbin/smoke-tests.golden +0 -331
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a57b6601b57125bc6bd13163156b27db8409eafcc33f0e3a981bf6b2d5db09d0
4
- data.tar.gz: 78679add1b385d4d2e5f2d27add207153409aa17ba7e6100710ec46c7a491e88
3
+ metadata.gz: 3130930c542dd127d212c3218048fd20bdd6d4867e9ef44642640d475b7d6ff3
4
+ data.tar.gz: 17031339b57bfbd0d4409485545ec578889a2994f218e2a7a9aae7ac9865dd2a
5
5
  SHA512:
6
- metadata.gz: 9d7f4a1c7bc06cfc7bfc61c327fbbba7350c828d869b020710a080f912a22c7eb3da8f692163ac3c050b599c50e38437513e811ea33a0bb4c856adb0fc24f532
7
- data.tar.gz: 18f7ad345392fb8842a9aca0580dd07298a6513f8fea1cf74f1e98c55226151f0e3820389c5112d197d38cfc15de79c8095138172ba2654efe9a3038e5c5c4f0
6
+ metadata.gz: 7eaf10843e3907d0974276ff7f8f0f6000682646079f63cc9117a8d97203df55b14a43bd63c28a0cb598ddfbf89458ed9295296bd641b301ec430aaba7791626
7
+ data.tar.gz: 9dc61572a8c605bed9c017ecf19dcc978043142ab0774aa5a5bef51577db8a164c138ad87aded970fe488eb64292bc14586358bbc61fe1be1e0015702591653b
data/.gitignore CHANGED
@@ -42,8 +42,6 @@ build-iPhoneSimulator/
42
42
  /.yardoc/
43
43
  /_yardoc/
44
44
  /rdoc/
45
- /devbin/ruby_3_4_1_complete_rdocs
46
- /devbin/ruby_docs_wordlist.txt
47
45
 
48
46
  ## Environment normalization:
49
47
  /.bundle/
@@ -1,11 +1,3 @@
1
- <!-- START doctoc generated TOC please keep comment here to allow auto update -->
2
- <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
3
- **Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
4
-
5
- - [rkwalify](#rkwalify)
6
-
7
- <!-- END doctoc generated TOC please keep comment here to allow auto update -->
8
-
9
1
  # rkwalify
10
2
 
11
3
  release:: 0.7.2
data/CHANGELOG.md CHANGED
@@ -1,57 +1,10 @@
1
- <!-- START doctoc generated TOC please keep comment here to allow auto update -->
2
- <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
3
- **Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
4
-
5
- - [Release 1.4.0-beta (2026-02-10)](#release-140-preview1-2026-02-10)
6
- - [Release 0.7.3 (2026-02-10)](#release-073-2026-02-10)
7
- - [Release 0.7.2 (2010-07-18)](#release-072-2010-07-18)
8
- - [Release 0.7.1 (2008-01-28)](#release-071-2008-01-28)
9
- - [Release 0.7.0 (2008-01-27)](#release-070-2008-01-27)
10
- - [Release 0.6.0 (2006-05-30)](#release-060-2006-05-30)
11
- - [Release 0.5.1 (2005-12-20)](#release-051-2005-12-20)
12
- - [Release 0.5.0 (2005-12-17)](#release-050-2005-12-17)
13
- - [Release 0.4.1 (2005-10-26)](#release-041-2005-10-26)
14
- - [Release 0.4.0 (2005-10-25)](#release-040-2005-10-25)
15
- - [Release 0.3.0 (2005-09-30)](#release-030-2005-09-30)
16
- - [Release 0.2.0 (2005-09-25)](#release-020-2005-09-25)
17
- - [Release 0.1.0 (2005-08-01)](#release-010-2005-08-01)
18
- - [FILE TYPES](#file-types)
19
- - [DOCS](#docs)
20
- - [CODE, YAML/JSON](#code-yamljson)
21
- - [TESTS](#tests)
22
- - [INTERNAL](#internal)
23
-
24
- <!-- END doctoc generated TOC please keep comment here to allow auto update -->
25
-
26
1
  .=title: ChangeLog
27
- .?release: $Release 1.4.0-beta $
2
+ .?release: $Release: 1.4.0-preview1 $
28
3
  .?lastupdate: $Date$
29
4
  .?version: $Rev$
30
5
 
31
- ## Release 1.4.0-beta (2026-02-18)
32
-
33
- ## What's New/Changes/Fixes
34
-
35
- * See [commit history](commits/main) for more details.
36
-
37
- * Known issues are documented as [issues](issues).
38
-
39
- ## Changelog
40
-
41
- * For the complete list of changes, please refer to the
42
- GitHub release notes: [CHANGELOG](CHANGELOG.md)
43
-
44
- ## Feeback and Support
45
-
46
- * "If you encounter any issues or have suggestions, please
47
- open a ticket on our GitHub repository: [issues](issues)
48
-
49
- ## ROLL OUT STRATEGY
50
-
51
- * See more details [Roll Out Strategy](ROLL-OUT-STRATEGY.md)
52
- regarding approach taken.
53
6
 
54
- ## Release 1.4.0-private1 (2026-02-10)
7
+ ## Release 1.4.0-preview1 (2026-02-10)
55
8
 
56
9
  * Release information in [CHANGELOG](CHANGELOG.md).
57
10
 
data/CONTRIBUTING.md CHANGED
@@ -1,14 +1,3 @@
1
- <!-- START doctoc generated TOC please keep comment here to allow auto update -->
2
- <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
3
- **Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
4
-
5
- - [WAYS TO CONTRIBUTE](#ways-to-contribute)
6
- - [Reporting Issues](#reporting-issues)
7
- - [Sending Pull Requests](#sending-pull-requests)
8
- - [Other Ways to Contribute](#other-ways-to-contribute)
9
-
10
- <!-- END doctoc generated TOC please keep comment here to allow auto update -->
11
-
12
1
  ### WAYS TO CONTRIBUTE
13
2
 
14
3
  ## Reporting Issues
@@ -29,6 +18,6 @@
29
18
 
30
19
  * Submit your repo as example of rkwalify use.
31
20
 
32
- * Fell free reaching out and suggested another way to help out.
21
+ * TBD
33
22
 
34
23
  Thanks again for your interest on contributing to the project!
data/CONTRIBUTORS.md CHANGED
@@ -1,11 +1,3 @@
1
- <!-- START doctoc generated TOC please keep comment here to allow auto update -->
2
- <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
3
- **Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
4
-
5
- - [Acknowledgements](#acknowledgements)
6
-
7
- <!-- END doctoc generated TOC please keep comment here to allow auto update -->
8
-
9
1
  ### Acknowledgements
10
2
 
11
3
  This gem would not be possible without volunteers willing to
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rkwalify (1.4.0.pre.beta)
4
+ rkwalify (1.4.0.pre.preview1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -35,13 +35,13 @@ GEM
35
35
  minitest (6.0.1)
36
36
  prism (~> 1.5)
37
37
  parallel (1.27.0)
38
- parser (3.3.10.2)
38
+ parser (3.3.10.1)
39
39
  ast (~> 2.4.1)
40
40
  racc
41
41
  power_assert (3.0.1)
42
42
  prism (1.9.0)
43
43
  racc (1.8.1)
44
- rack (3.2.5)
44
+ rack (3.2.4)
45
45
  rainbow (3.1.1)
46
46
  regexp_parser (2.11.3)
47
47
  rubocop (1.84.2)
@@ -118,14 +118,14 @@ CHECKSUMS
118
118
  logger (1.7.0) sha256=196edec7cc44b66cfb40f9755ce11b392f21f7967696af15d274dde7edff0203
119
119
  minitest (6.0.1) sha256=7854c74f48e2e975969062833adc4013f249a4b212f5e7b9d5c040bf838d54bb
120
120
  parallel (1.27.0) sha256=4ac151e1806b755fb4e2dc2332cbf0e54f2e24ba821ff2d3dcf86bf6dc4ae130
121
- parser (3.3.10.2) sha256=6f60c84aa4bdcedb6d1a2434b738fe8a8136807b6adc8f7f53b97da9bc4e9357
121
+ parser (3.3.10.1) sha256=06f6a725d2cd91e5e7f2b7c32ba143631e1f7c8ae2fb918fc4cebec187e6a688
122
122
  power_assert (3.0.1) sha256=8ce9876716cc74e863fcd4cdcdc52d792bd983598d1af3447083a3a9a4d34103
123
123
  prism (1.9.0) sha256=7b530c6a9f92c24300014919c9dcbc055bf4cdf51ec30aed099b06cd6674ef85
124
124
  racc (1.8.1) sha256=4a7f6929691dbec8b5209a0b373bc2614882b55fc5d2e447a21aaa691303d62f
125
- rack (3.2.5) sha256=4cbd0974c0b79f7a139b4812004a62e4c60b145cba76422e288ee670601ed6d3
125
+ rack (3.2.4) sha256=5d74b6f75082a643f43c1e76b419c40f0e5527fcfee1e669ac1e6b73c0ccb6f6
126
126
  rainbow (3.1.1) sha256=039491aa3a89f42efa1d6dec2fc4e62ede96eb6acd95e52f1ad581182b79bc6a
127
127
  regexp_parser (2.11.3) sha256=ca13f381a173b7a93450e53459075c9b76a10433caadcb2f1180f2c741fc55a4
128
- rkwalify (1.4.0.pre.beta)
128
+ rkwalify (1.4.0.pre.preview1)
129
129
  rubocop (1.84.2) sha256=5692cea54168f3dc8cb79a6fe95c5424b7ea893c707ad7a4307b0585e88dbf5f
130
130
  rubocop-ast (1.49.0) sha256=49c3676d3123a0923d333e20c6c2dbaaae2d2287b475273fddee0c61da9f71fd
131
131
  rubocop-performance (1.26.1) sha256=cd19b936ff196df85829d264b522fd4f98b6c89ad271fa52744a8c11b8f71834
data/README.md CHANGED
@@ -1,23 +1,6 @@
1
- <!-- START doctoc generated TOC please keep comment here to allow auto update -->
2
- <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
3
- **Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
1
+ # rkwalify
4
2
 
5
- - [RKwalify](#rkwalify)
6
- - [Introduction](#introduction)
7
- - [Getting Started Using Gem](#getting-started-using-gem)
8
- - [CONTRIBUTE](#contribute)
9
- - [Contributing as developer](#contributing-as-developer)
10
- - [License](#license)
11
- - [Copyright](#copyright)
12
-
13
- <!-- END doctoc generated TOC please keep comment here to allow auto update -->
14
-
15
- # RKwalify
16
-
17
- [![Gem Version](https://badge.fury.io/rb/rkwalify.svg?icon=si%3Arubygems)](https://badge.fury.io/rb/rkwalify)
18
- [![Ruby CI](https://github.com/jasnow/rkwalify/actions/workflows/ruby.yml/badge.svg)](https://github.com/jasnow/rkwalify/actions/workflows/ruby.yml)
19
-
20
- * release:: 1.4.0-beta
3
+ * release:: 1.4.0-preview1
21
4
  * lastupdate:: $Date$
22
5
  * copyright:: copyright(c) 2005-2010 kuwata-lab all rights reserved.
23
6
 
@@ -67,4 +50,4 @@ all scripts and libraries into a file.
67
50
  ```
68
51
  copyright(c) 2005-2010 kuwata-lab all rights reserved.
69
52
  copyright(c) 2026 Al Snow all rights reserved.
70
- ```
53
+ ```
data/ROLL-OUT-STRATEGY.md CHANGED
@@ -1,13 +1,4 @@
1
- <!-- START doctoc generated TOC please keep comment here to allow auto update -->
2
- <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
3
- **Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
4
-
5
- - [RKwalify Roll Out Stategy](#rkwalify-roll-out-stategy)
6
- - [Release Order/Naming](#release-ordernaming)
7
-
8
- <!-- END doctoc generated TOC please keep comment here to allow auto update -->
9
-
10
- ## RKwalify Roll Out Stategy
1
+ ## RKWALIFY Roll Out Stategy
11
2
 
12
3
  **This document only focuses on the initial 2026 release: 1.4.0.**
13
4
 
@@ -18,8 +9,7 @@
18
9
  "rkwalify" repo. This includes all files (code, docs, etc).
19
10
  See commits for more details.
20
11
 
21
- * Assume this original [kwalify](https://rubygems.org/gems/kwalify)
22
- gem will stay around.
12
+ * Assume this original [kwalify](https://rubygems.org/gems/kwalify) gem will stay around.
23
13
  * Add credit to repo to @kwatch.
24
14
 
25
15
  3. Step 2: Then merge in [dc-kwalify](https://rubygems.org/gems/dc-kwalify)
@@ -30,30 +20,27 @@
30
20
  several rubocop gems, markdown, ruby 3.4.7, simplecov).
31
21
  See commits for more details. Also used my personal tools as needed.
32
22
 
33
- 5. Create "rkwalify" [issues](https://github.com/jasnow/rkwalify/issues)
34
- for major and known work items.
23
+ 5. Create "rkwalify" [issues](https://github.com/jasnow/rkwalify/issues) for major work items.
35
24
 
36
25
  6. Initial Release Target
37
26
 
38
27
  * rkwalify's "test" Github Action is green. Comment out [test/test.rb](https://github.com/jasnow/rkwalify/blob/main/test/test.rb)
39
28
  tests that are broken. See [issue](https://github.com/jasnow/rkwalify/issues/2) for details.
40
29
 
41
- * ruby-advisory-db (Ruby 3.4.7) tests are green using rkwalify code.
30
+ * ruby-advisory-db (Ruby 3.4.7) tests are green using rkwalify code.
42
31
 
43
32
  ---
44
33
 
45
- 8. Must decide if anything else is added to .gitignore file in final release.
46
- * Candidates
47
- * doc, doc-api (As of 2/18/2026, included)
48
- * tests, examples, contrib
49
- * Attic
50
- * As of 2/18/2026, all of the above are included.
34
+ 8. Must decide if anything else is added to .gitignore file in final release
35
+ * doc, doc-pai
36
+ * tests, examples, contrib
37
+ * Attic
51
38
 
52
- 9. Another technique is to comment code and tests not used by #7 repos.
39
+ 9. Another technique is to comment code and tets not used by #7 repos.
53
40
 
54
41
  10. Decide when to make repo public.
55
42
 
56
- ## Release Order/Naming
43
+ ## RELEASE ORDER/NAMING
57
44
 
58
45
  * Possible Release Order
59
46
  * Preview1, Preview2,... release
@@ -84,7 +71,7 @@
84
71
  * Released annually (traditionally on specific day).
85
72
  * Patch releases: frequent, as needed.
86
73
  * Security Policy
87
- * Example: Rails maintains:
74
+ * FYI: Rails maintains:
88
75
  * Last 2 major versions with security patches.
89
76
  * Older versions only get fixes from community forks.
90
77
  EOF
data/bin/kwalify.rb CHANGED
@@ -2,14 +2,14 @@
2
2
 
3
3
  ###
4
4
  ### $Rev$
5
- ### $Release 1.4.0-beta $
5
+ ### $Release: 1.4.0-preview1 $
6
6
  ### copyright(c) 2005-2010 kuwata-lab all rights reserved.
7
7
  ###
8
8
 
9
9
  #--begin of require 'kwalify'
10
10
  ###
11
11
  ### $Rev$
12
- ### $Release 1.4.0-beta $
12
+ ### $Release: 1.4.0-preview1 $
13
13
  ### copyright(c) 2006 kuwata-lab.com all rights reserved.
14
14
  ###
15
15
 
@@ -17,13 +17,13 @@
17
17
  ### copyright(c) 2006 kuwata-lab.com all rights reserved.
18
18
 
19
19
  module Kwalify
20
- RELEASE = '1.4.0-beta' # Same as in the gemspec file.
20
+ RELEASE = '1.4.0-preview1' # Same as in the gemspec file.
21
21
  end
22
22
  #--end of require 'kwalify/version'
23
23
  #--begin of require 'kwalify/types'
24
24
  ###
25
25
  ### $Rev$
26
- ### $Release 1.4.0-beta $
26
+ ### $Release: 1.4.0-preview1 $
27
27
  ### copyright(c) 2005-2010 kuwata-lab all rights reserved.
28
28
  ###
29
29
 
@@ -181,7 +181,7 @@ end
181
181
  #--begin of require 'kwalify/messages'
182
182
  ###
183
183
  ### $Rev$
184
- ### $Release 1.4.0-beta $
184
+ ### $Release: 1.4.0-preview1 $
185
185
  ### copyright(c) 2005-2010 kuwata-lab all rights reserved.
186
186
  ###
187
187
 
@@ -356,7 +356,7 @@ end
356
356
  #--begin of require 'kwalify/errors'
357
357
  ###
358
358
  ### $Rev$
359
- ### $Release 1.4.0-beta $
359
+ ### $Release: 1.4.0-preview1 $
360
360
  ### copyright(c) 2005-2010 kuwata-lab all rights reserved.
361
361
  ###
362
362
 
@@ -485,7 +485,7 @@ end
485
485
  #--begin of require 'kwalify/rule'
486
486
  ###
487
487
  ### $Rev$
488
- ### $Release 1.4.0-beta $
488
+ ### $Release: 1.4.0-preview1 $
489
489
  ### copyright(c) 2005-2010 kuwata-lab all rights reserved.
490
490
  ###
491
491
  # frozen_string_literal: false
@@ -1049,7 +1049,7 @@ end
1049
1049
  #--begin of require 'kwalify/validator'
1050
1050
  ###
1051
1051
  ### $Rev$
1052
- ### $Release 1.4.0-beta $
1052
+ ### $Release: 1.4.0-preview1 $
1053
1053
  ### copyright(c) 2005-2010 kuwata-lab all rights reserved.
1054
1054
  ###
1055
1055
 
@@ -1333,7 +1333,7 @@ end
1333
1333
  #--begin of require 'kwalify/meta-validator'
1334
1334
  ###
1335
1335
  ### $Rev$
1336
- ### $Release 1.4.0-beta $
1336
+ ### $Release: 1.4.0-preview1 $
1337
1337
  ### copyright(c) 2005-2010 kuwata-lab all rights reserved.
1338
1338
  ###
1339
1339
 
@@ -1343,7 +1343,7 @@ end
1343
1343
  #--begin of require 'kwalify/parser/yaml'
1344
1344
  ###
1345
1345
  ### $Rev$
1346
- ### $Release 1.4.0-beta $
1346
+ ### $Release: 1.4.0-preview1 $
1347
1347
  ### copyright(c) 2005-2010 kuwata-lab all rights reserved.
1348
1348
  ###
1349
1349
 
@@ -1352,7 +1352,7 @@ end
1352
1352
  #--begin of require 'kwalify/util'
1353
1353
  ###
1354
1354
  ### $Rev$
1355
- ### $Release 1.4.0-beta $
1355
+ ### $Release: 1.4.0-preview1 $
1356
1356
  ### copyright(c) 2005-2010 kuwata-lab all rights reserved.
1357
1357
  ###
1358
1358
  # frozen_string_literal: false
@@ -1513,7 +1513,7 @@ end
1513
1513
  #--begin of require 'kwalify/parser/base'
1514
1514
  ###
1515
1515
  ### $Rev$
1516
- ### $Release 1.4.0-beta $
1516
+ ### $Release: 1.4.0-preview1 $
1517
1517
  ### copyright(c) 2005-2010 kuwata-lab all rights reserved.
1518
1518
  ###
1519
1519
  # frozen_string_literal: false
@@ -2742,7 +2742,7 @@ end
2742
2742
  #--begin of require 'kwalify/yaml-parser'
2743
2743
  ###
2744
2744
  ### $Rev$
2745
- ### $Release 1.4.0-beta $
2745
+ ### $Release: 1.4.0-preview1 $
2746
2746
  ### copyright(c) 2005-2010 kuwata-lab all rights reserved.
2747
2747
  ###
2748
2748
  # frozen_string_literal: false
@@ -3663,7 +3663,7 @@ end
3663
3663
  #--begin of require 'kwalify/main'
3664
3664
  ###
3665
3665
  ### $Rev$
3666
- ### $Release 1.4.0-beta $
3666
+ ### $Release: 1.4.0-preview1 $
3667
3667
  ### copyright(c) 2005-2010 kuwata-lab all rights reserved.
3668
3668
  ###
3669
3669
  # frozen_string_literal: false
@@ -3675,7 +3675,7 @@ require 'erb'
3675
3675
  #--begin of require 'kwalify/util/ordered-hash'
3676
3676
  ###
3677
3677
  ### $Rev$
3678
- ### 1.4.0-beta
3678
+ ### 1.4.0-preview1
3679
3679
  ### $COPYRIGHT$
3680
3680
  ###
3681
3681
 
@@ -3941,7 +3941,7 @@ module Kwalify
3941
3941
  str = File.read(schema_filename)
3942
3942
  if str.empty?
3943
3943
  #* key=:schema_empty msg="%s: empty schema.\n"
3944
- msg = Kwalify.msg(:schema_empty) % filename
3944
+ msg = Kwalify.msg(:schema_emtpy) % filename
3945
3945
  raise CommandOptionError.new(msg)
3946
3946
  end
3947
3947
  str = Util.untabify(str) if @options[:untabify]
@@ -6,7 +6,7 @@
6
6
  ### usage: inline-require [-h] [-I path[,path2,..]] script
7
7
  ###
8
8
  ### copyright(c) 2005-2010 kuwata-lab all rights reserved.
9
- ### Release 1.4.0-beta
9
+ ### Release 1.4.0-preview1
10
10
  ### $Rev: 10 $
11
11
  ###
12
12
 
data/contrib/kwalify CHANGED
@@ -2,14 +2,14 @@
2
2
 
3
3
  ###
4
4
  ### $Rev$
5
- ### $Release 1.4.0-beta $
5
+ ### $Release: 1.4.0-preview1 $
6
6
  ### copyright(c) 2005-2010 kuwata-lab all rights reserved.
7
7
  ###
8
8
 
9
9
  #--begin of require 'kwalify'
10
10
  ###
11
11
  ### $Rev$
12
- ### $Release 1.4.0-beta $
12
+ ### $Release: 1.4.0-preview1 $
13
13
  ### copyright(c) 2006 kuwata-lab.com all rights reserved.
14
14
  ###
15
15
 
@@ -17,13 +17,13 @@
17
17
  ### copyright(c) 2006 kuwata-lab.com all rights reserved.
18
18
 
19
19
  module Kwalify
20
- RELEASE = '1.4.0-beta' # Same as in the gemspec file.
20
+ RELEASE = '1.4.0-preview1' # Same as in the gemspec file.
21
21
  end
22
22
  #--end of require 'kwalify/version'
23
23
  #--begin of require 'kwalify/types'
24
24
  ###
25
25
  ### $Rev$
26
- ### $Release 1.4.0-beta $
26
+ ### $Release: 1.4.0-preview1 $
27
27
  ### copyright(c) 2005-2010 kuwata-lab all rights reserved.
28
28
  ###
29
29
 
@@ -181,7 +181,7 @@ end
181
181
  #--begin of require 'kwalify/messages'
182
182
  ###
183
183
  ### $Rev$
184
- ### $Release 1.4.0-beta $
184
+ ### $Release: 1.4.0-preview1 $
185
185
  ### copyright(c) 2005-2010 kuwata-lab all rights reserved.
186
186
  ###
187
187
 
@@ -356,7 +356,7 @@ end
356
356
  #--begin of require 'kwalify/errors'
357
357
  ###
358
358
  ### $Rev$
359
- ### $Release 1.4.0-beta $
359
+ ### $Release: 1.4.0-preview1 $
360
360
  ### copyright(c) 2005-2010 kuwata-lab all rights reserved.
361
361
  ###
362
362
 
@@ -485,7 +485,7 @@ end
485
485
  #--begin of require 'kwalify/rule'
486
486
  ###
487
487
  ### $Rev$
488
- ### $Release 1.4.0-beta $
488
+ ### $Release: 1.4.0-preview1 $
489
489
  ### copyright(c) 2005-2010 kuwata-lab all rights reserved.
490
490
  ###
491
491
  # frozen_string_literal: false
@@ -1049,7 +1049,7 @@ end
1049
1049
  #--begin of require 'kwalify/validator'
1050
1050
  ###
1051
1051
  ### $Rev$
1052
- ### $Release 1.4.0-beta $
1052
+ ### $Release: 1.4.0-preview1 $
1053
1053
  ### copyright(c) 2005-2010 kuwata-lab all rights reserved.
1054
1054
  ###
1055
1055
 
@@ -1333,7 +1333,7 @@ end
1333
1333
  #--begin of require 'kwalify/meta-validator'
1334
1334
  ###
1335
1335
  ### $Rev$
1336
- ### $Release 1.4.0-beta $
1336
+ ### $Release: 1.4.0-preview1 $
1337
1337
  ### copyright(c) 2005-2010 kuwata-lab all rights reserved.
1338
1338
  ###
1339
1339
 
@@ -1343,7 +1343,7 @@ end
1343
1343
  #--begin of require 'kwalify/parser/yaml'
1344
1344
  ###
1345
1345
  ### $Rev$
1346
- ### $Release 1.4.0-beta $
1346
+ ### $Release: 1.4.0-preview1 $
1347
1347
  ### copyright(c) 2005-2010 kuwata-lab all rights reserved.
1348
1348
  ###
1349
1349
 
@@ -1352,7 +1352,7 @@ end
1352
1352
  #--begin of require 'kwalify/util'
1353
1353
  ###
1354
1354
  ### $Rev$
1355
- ### $Release 1.4.0-beta $
1355
+ ### $Release: 1.4.0-preview1 $
1356
1356
  ### copyright(c) 2005-2010 kuwata-lab all rights reserved.
1357
1357
  ###
1358
1358
  # frozen_string_literal: false
@@ -1513,7 +1513,7 @@ end
1513
1513
  #--begin of require 'kwalify/parser/base'
1514
1514
  ###
1515
1515
  ### $Rev$
1516
- ### $Release 1.4.0-beta $
1516
+ ### $Release: 1.4.0-preview1 $
1517
1517
  ### copyright(c) 2005-2010 kuwata-lab all rights reserved.
1518
1518
  ###
1519
1519
  # frozen_string_literal: false
@@ -2742,7 +2742,7 @@ end
2742
2742
  #--begin of require 'kwalify/yaml-parser'
2743
2743
  ###
2744
2744
  ### $Rev$
2745
- ### $Release 1.4.0-beta $
2745
+ ### $Release: 1.4.0-preview1 $
2746
2746
  ### copyright(c) 2005-2010 kuwata-lab all rights reserved.
2747
2747
  ###
2748
2748
  # frozen_string_literal: false
@@ -3663,7 +3663,7 @@ end
3663
3663
  #--begin of require 'kwalify/main'
3664
3664
  ###
3665
3665
  ### $Rev$
3666
- ### $Release 1.4.0-beta $
3666
+ ### $Release: 1.4.0-preview1 $
3667
3667
  ### copyright(c) 2005-2010 kuwata-lab all rights reserved.
3668
3668
  ###
3669
3669
  # frozen_string_literal: false
@@ -3675,7 +3675,7 @@ require 'erb'
3675
3675
  #--begin of require 'kwalify/util/ordered-hash'
3676
3676
  ###
3677
3677
  ### $Rev$
3678
- ### 1.4.0-beta
3678
+ ### 1.4.0-preview1
3679
3679
  ### $COPYRIGHT$
3680
3680
  ###
3681
3681
 
@@ -3941,7 +3941,7 @@ module Kwalify
3941
3941
  str = File.read(schema_filename)
3942
3942
  if str.empty?
3943
3943
  #* key=:schema_empty msg="%s: empty schema.\n"
3944
- msg = Kwalify.msg(:schema_empty) % filename
3944
+ msg = Kwalify.msg(:schema_emtpy) % filename
3945
3945
  raise CommandOptionError.new(msg)
3946
3946
  end
3947
3947
  str = Util.untabify(str) if @options[:untabify]
@@ -3934,7 +3934,7 @@ module Kwalify
3934
3934
  str = File.read(schema_filename)
3935
3935
  if str.empty?
3936
3936
  #* key=:schema_empty msg="%s: empty schema.\n"
3937
- msg = Kwalify.msg(:schema_empty) % filename
3937
+ msg = Kwalify.msg(:schema_emtpy) % filename
3938
3938
  raise CommandOptionError.new(msg)
3939
3939
  end
3940
3940
  str = Util.untabify(str) if @options[:untabify]
data/devbin/README.md CHANGED
@@ -1,11 +1,3 @@
1
- <!-- START doctoc generated TOC please keep comment here to allow auto update -->
2
- <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
3
- **Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
4
-
5
- - [devbin Directory](#devbin-directory)
6
-
7
- <!-- END doctoc generated TOC please keep comment here to allow auto update -->
8
-
9
1
  ## devbin Directory
10
2
 
11
3
  These files are shell scripts used by the repo's developer(s).
@@ -14,12 +6,8 @@ Currently these scripts include:
14
6
 
15
7
  * STATIC ANALYSIS/TEST-RELATED:
16
8
  * chkspelling.sh - Check for misspelled words
17
- * ruby_rails_wordlist.txt - list of words related to ruby or rails
18
- * ruby_docs_wordlist.txt - list of words from ruby doc (not included)
19
- * ruby_3_4_1_complete_rdocs (not included)
20
9
  * chk-rad-repo.sh - Test code against ruby-advisory-db repo.
21
- * smoke-tests.sh - short and dirty version of testsuite.,
22
- * smoke-tests.golden
10
+ * my-tests.sh - short and dirty version of testsuite.,
23
11
  * runtests.sh
24
12
 
25
13
  * PACKAGING:
@@ -32,4 +20,3 @@ Currently these scripts include:
32
20
  create a *.gem file.
33
21
  * got-all-rel-numbers.sh - Check for old release numbers.
34
22
  * updata-rel-numbers.sh - Update release numbers.
35
- * mktag - Add a release tag to project.
@@ -1,25 +1,16 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- # CODE WORDS
4
- cat $(find . -type f |egrep -v ".git/|coverage/") \
5
- | tr -cs "[:alpha:]" "[\n*]" \
6
- | tr "[A-Z]" "{a-z]" |sort -u > /tmp/$$_o_u
7
-
8
- # Create one file.
9
- # MY INITIAL SW WORDS: devbin/ruby_rails_wordlist.txt
10
- # DOC WORDS: devbin/ruby_docs_wordlist.txt
11
- sort -u \
12
- devbin/ruby_rails_wordlist.txt \
13
- devbin/ruby_docs_wordlist.txt > /tmp/$$_o_b
3
+ if [ "X$1X" == "XX" ] ; then
4
+ echo "Usage: $0 file"
5
+ exit
6
+ fi
7
+
8
+ tr -cs "[:alpha:]" "[\n*]" < $1 \
9
+ | tr "[A-Z]" "{a-z]" |sort -u > /tmp/$$_u
14
10
 
15
11
  #INTERACTIVE: aspell list /tmp/$$_u
16
- (
17
- spell /tmp/$$_o_u
18
- echo "---"
19
- hunspell -l /tmp/$$_o_u
20
- ) | sort -u
21
- # | pr -3 |uniq
22
12
 
23
- rm /tmp/$$_o_[bu]
13
+ (spell /tmp/$$_u
14
+ hunspell -l /tmp/$$_u) | sort -u | pr -3 |uniq
24
15
 
25
- # YES TO: egrep -v "html$|yaml$|json$|rb$|result|java"
16
+ rm /tmp/$$_u
@@ -1,6 +1,5 @@
1
1
  #!/usr/bin/env bash
2
- #was: 0.7.[012-9]
3
- git grep preview1 \
2
+ git grep 0.7.[012-9] \
4
3
  | egrep -v ": 0.7.2|e 0.7.2|kwalify-0.7.2|2008-01|Step 1" \
5
4
  | egrep -v "Attic|Mani|rubocop-rake|rel-num" \
6
5
  | egrep -v "123"
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
3
  unset RUBYLIB
4
- ruby ./contrib/inline-require -I ./lib ./bin/kwalify.rb > ./contrib/kwalify
4
+ ruby ./contrib/inline-require -I ./lib ./bin/kwalify > ./contrib/kwalify
5
5
  chmod a+x ./contrib/kwalify
6
6
  cp ./lib/kwalify/kwalify.schema.yaml ./bin
7
7
  cp ./contrib/kwalify ./bin
data/devbin/mkgem_file.sh CHANGED
@@ -2,4 +2,4 @@
2
2
 
3
3
  rm -f rkwalify-*.gem
4
4
 
5
- gem build rkwalify.gemspec
5
+ gem build