comment_strip-ruby 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,41 @@
1
+ #! /usr/bin/env ruby
2
+
3
+ $:.unshift File.join(File.dirname(__FILE__), '../..', 'lib')
4
+
5
+
6
+ require 'comment_strip'
7
+
8
+ require 'xqsr3/extensions/test/unit'
9
+
10
+ require 'test/unit'
11
+
12
+ class Test_version < Test::Unit::TestCase
13
+
14
+ def test_has_VERSION
15
+
16
+ assert defined? CommentStrip::VERSION
17
+ end
18
+
19
+ def test_has_VERSION_MAJOR
20
+
21
+ assert defined? CommentStrip::VERSION_MAJOR
22
+ end
23
+
24
+ def test_has_VERSION_MINOR
25
+
26
+ assert defined? CommentStrip::VERSION_MINOR
27
+ end
28
+
29
+ def test_has_VERSION_REVISION
30
+
31
+ assert defined? CommentStrip::VERSION_REVISION
32
+ end
33
+
34
+ def test_VERSION_has_consistent_format
35
+
36
+ assert_equal CommentStrip::VERSION.split('.')[0..2].join('.'), "#{CommentStrip::VERSION_MAJOR}.#{CommentStrip::VERSION_MINOR}.#{CommentStrip::VERSION_REVISION}"
37
+ end
38
+ end
39
+
40
+ # ############################## end of file ############################# #
41
+
@@ -0,0 +1,12 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # executes all other tests
4
+
5
+ this_dir = File.expand_path(File.dirname(__FILE__))
6
+
7
+ # all tc_*rb in current directory
8
+ Dir[File.join(this_dir, 'tc_*rb')].each { |file| require file }
9
+
10
+ # all ts_*rb in immediate sub-directories
11
+ Dir[File.join(this_dir, '*', 'ts_*rb')].each { |file| require file }
12
+
metadata ADDED
@@ -0,0 +1,108 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: comment_strip-ruby
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.13
5
+ platform: ruby
6
+ authors:
7
+ - Matt Wilson
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2021-02-10 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: clasp-ruby
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.22'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '0.22'
27
+ - !ruby/object:Gem::Dependency
28
+ name: libclimate-ruby
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0.15'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0.15'
41
+ - !ruby/object:Gem::Dependency
42
+ name: recls-ruby
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '2'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '2'
55
+ - !ruby/object:Gem::Dependency
56
+ name: xqsr3
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '0.36'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '0.36'
69
+ description: "Source code comment stripping library\n\n"
70
+ email: matthew@synesis.com.au
71
+ executables: []
72
+ extensions: []
73
+ extra_rdoc_files: []
74
+ files:
75
+ - LICENSE
76
+ - README.md
77
+ - lib/comment_strip.rb
78
+ - lib/comment_strip/comment_strip.rb
79
+ - lib/comment_strip/strip.rb
80
+ - lib/comment_strip/version.rb
81
+ - test/unit/tc_strip.rb
82
+ - test/unit/tc_version.rb
83
+ - test/unit/ts_all.rb
84
+ homepage: https://github.com/synesissoftware/comment_strip.r
85
+ licenses:
86
+ - BSD-3-Clause
87
+ metadata: {}
88
+ post_install_message:
89
+ rdoc_options: []
90
+ require_paths:
91
+ - lib
92
+ required_ruby_version: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '2.0'
97
+ required_rubygems_version: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ requirements: []
103
+ rubyforge_project:
104
+ rubygems_version: 2.5.2.3
105
+ signing_key:
106
+ specification_version: 4
107
+ summary: comment_strip.r
108
+ test_files: []