comment_strip-ruby 0.1.2.1 → 0.2.0
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 +4 -4
- data/README.md +3 -1
- data/lib/comment_strip/language_families/c.rb +159 -137
- data/lib/comment_strip/language_families/hash_line.rb +211 -0
- data/lib/comment_strip/strip.rb +24 -12
- data/lib/comment_strip/version.rb +7 -8
- data/test/unit/{tc_strip.rb → tc_strip_c.rb} +262 -232
- data/test/unit/tc_strip_hash_line.rb +95 -0
- data/test/unit/ts_all.rb +1 -1
- metadata +5 -3
@@ -1,14 +1,14 @@
|
|
1
1
|
# ######################################################################## #
|
2
|
-
# File:
|
2
|
+
# File: comment_strip/version.rb
|
3
3
|
#
|
4
|
-
# Purpose:
|
4
|
+
# Purpose: Version for comment_strip.r library
|
5
5
|
#
|
6
|
-
# Created:
|
7
|
-
# Updated:
|
6
|
+
# Created: 14th September 2020
|
7
|
+
# Updated: 30th March 2024
|
8
8
|
#
|
9
|
-
# Home:
|
9
|
+
# Home: http://github.com/synesissoftware/comment_strip.r
|
10
10
|
#
|
11
|
-
# Copyright (c) 2020-
|
11
|
+
# Copyright (c) 2020-2024, Matthew Wilson and Synesis Information Systems
|
12
12
|
# All rights reserved.
|
13
13
|
#
|
14
14
|
# Redistribution and use in source and binary forms, with or without
|
@@ -43,7 +43,7 @@
|
|
43
43
|
module CommentStrip
|
44
44
|
|
45
45
|
# Current version of the comment_strip.r library
|
46
|
-
VERSION = '0.
|
46
|
+
VERSION = '0.2.0'
|
47
47
|
|
48
48
|
private
|
49
49
|
VERSION_PARTS_ = VERSION.split(/[.]/).collect { |n| n.to_i } # :nodoc:
|
@@ -59,4 +59,3 @@ end # module CommentStrip
|
|
59
59
|
|
60
60
|
# ############################## end of file ############################# #
|
61
61
|
|
62
|
-
|