text-checkm 0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.document +5 -0
- data/.gitignore +312 -0
- data/.idea/$CACHE_FILE$ +26 -0
- data/.idea/.gitignore +6 -0
- data/.idea/go.imports.xml +6 -0
- data/.idea/inspectionProfiles/Project_Default.xml +17 -0
- data/.idea/inspectionProfiles/profiles_settings.xml +7 -0
- data/.idea/misc.xml +9 -0
- data/.idea/modules.xml +8 -0
- data/.idea/vcs.xml +6 -0
- data/.rubocop.yml +144 -0
- data/.ruby-version +1 -0
- data/.simplecov +7 -0
- data/CHANGELOG.md +7 -0
- data/Gemfile +2 -0
- data/Gemfile.lock +98 -0
- data/LICENSE.md +23 -0
- data/README.md +23 -0
- data/Rakefile +36 -0
- data/SPEC.txt +468 -0
- data/lib/text/checkm.rb +2 -0
- data/lib/text/checkm/checksum.rb +40 -0
- data/lib/text/checkm/entry.rb +77 -0
- data/lib/text/checkm/manifest.rb +115 -0
- data/lib/text/checkm/module_info.rb +16 -0
- data/rakelib/bundle.rake +8 -0
- data/rakelib/coverage.rake +5 -0
- data/rakelib/rubocop.rake +16 -0
- data/spec/.rubocop.yml +19 -0
- data/spec/data/merritt-manifest.checkm +9 -0
- data/spec/data/myfirst.checkm +5 -0
- data/spec/data/test_1/1 +1 -0
- data/spec/data/two-level-manifest.checkm +8 -0
- data/spec/lib/text/checkm/checksum_spec.rb +24 -0
- data/spec/lib/text/checkm/entry_spec.rb +52 -0
- data/spec/lib/text/checkm/manifest_spec.rb +157 -0
- data/spec/spec_helper.rb +23 -0
- data/text-checkm.gemspec +29 -0
- data/text-checkm.iml +51 -0
- metadata +236 -0
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# ------------------------------------------------------------
|
2
|
+
# Simplecov
|
3
|
+
|
4
|
+
require 'colorize'
|
5
|
+
require 'simplecov' if ENV['COVERAGE']
|
6
|
+
|
7
|
+
# ------------------------------------------------------------
|
8
|
+
# RSpec
|
9
|
+
|
10
|
+
RSpec.configure do |config|
|
11
|
+
config.color = true
|
12
|
+
config.tty = true
|
13
|
+
config.formatter = :documentation
|
14
|
+
config.mock_with :rspec do |mocks|
|
15
|
+
mocks.verify_partial_doubles = true
|
16
|
+
end
|
17
|
+
config.shared_context_metadata_behavior = :apply_to_host_groups
|
18
|
+
end
|
19
|
+
|
20
|
+
# ------------------------------------------------------------
|
21
|
+
# Code under test
|
22
|
+
|
23
|
+
require 'text/checkm'
|
data/text-checkm.gemspec
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
require_relative 'lib/text/checkm/module_info'
|
2
|
+
|
3
|
+
Gem::Specification.new do |spec|
|
4
|
+
spec.name = Text::Checkm::ModuleInfo::NAME
|
5
|
+
spec.author = Text::Checkm::ModuleInfo::AUTHOR
|
6
|
+
spec.email = Text::Checkm::ModuleInfo::AUTHOR_EMAIL
|
7
|
+
spec.summary = Text::Checkm::ModuleInfo::SUMMARY
|
8
|
+
spec.description = Text::Checkm::ModuleInfo::DESCRIPTION
|
9
|
+
spec.license = Text::Checkm::ModuleInfo::LICENSE
|
10
|
+
spec.version = Text::Checkm::ModuleInfo::VERSION
|
11
|
+
spec.homepage = Text::Checkm::ModuleInfo::HOMEPAGE
|
12
|
+
|
13
|
+
spec.files = `git ls-files -z`.split("\x0")
|
14
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
15
|
+
|
16
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
17
|
+
spec.require_paths = ['lib']
|
18
|
+
|
19
|
+
spec.add_development_dependency 'bundle-audit'
|
20
|
+
spec.add_development_dependency 'ci_reporter_rspec'
|
21
|
+
spec.add_development_dependency 'colorize'
|
22
|
+
spec.add_development_dependency 'irb' # workaroundfor https://github.com/bundler/bundler/issues/6929
|
23
|
+
spec.add_development_dependency 'listen', '>= 3.0.5', '< 3.2'
|
24
|
+
spec.add_development_dependency 'rake', '>= 13.0'
|
25
|
+
spec.add_development_dependency 'rspec-support'
|
26
|
+
spec.add_development_dependency 'rubocop', '0.86'
|
27
|
+
spec.add_development_dependency 'simplecov', '~> 0.16.1'
|
28
|
+
spec.add_development_dependency 'simplecov-rcov'
|
29
|
+
end
|
data/text-checkm.iml
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<module type="RUBY_MODULE" version="4">
|
3
|
+
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
4
|
+
<exclude-output />
|
5
|
+
<content url="file://$MODULE_DIR$" />
|
6
|
+
<orderEntry type="jdk" jdkName="RVM: ruby-2.7.0" jdkType="RUBY_SDK" />
|
7
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
8
|
+
<orderEntry type="library" scope="PROVIDED" name="ast (v2.4.1, RVM: ruby-2.7.0) [gem]" level="application" />
|
9
|
+
<orderEntry type="library" scope="PROVIDED" name="builder (v3.2.4, RVM: ruby-2.7.0) [gem]" level="application" />
|
10
|
+
<orderEntry type="library" scope="PROVIDED" name="bundle-audit (v0.1.0, RVM: ruby-2.7.0) [gem]" level="application" />
|
11
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v2.1.2, RVM: ruby-2.7.0) [gem]" level="application" />
|
12
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler-audit (v0.7.0.1, RVM: ruby-2.7.0) [gem]" level="application" />
|
13
|
+
<orderEntry type="library" scope="PROVIDED" name="ci_reporter (v2.0.0, RVM: ruby-2.7.0) [gem]" level="application" />
|
14
|
+
<orderEntry type="library" scope="PROVIDED" name="ci_reporter_rspec (v1.0.0, RVM: ruby-2.7.0) [gem]" level="application" />
|
15
|
+
<orderEntry type="library" scope="PROVIDED" name="colorize (v0.8.1, RVM: ruby-2.7.0) [gem]" level="application" />
|
16
|
+
<orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.4.4, RVM: ruby-2.7.0) [gem]" level="application" />
|
17
|
+
<orderEntry type="library" scope="PROVIDED" name="docile (v1.3.2, RVM: ruby-2.7.0) [gem]" level="application" />
|
18
|
+
<orderEntry type="library" scope="PROVIDED" name="ffi (v1.13.1, RVM: ruby-2.7.0) [gem]" level="application" />
|
19
|
+
<orderEntry type="library" scope="PROVIDED" name="io-console (v0.5.6, RVM: ruby-2.7.0) [gem]" level="application" />
|
20
|
+
<orderEntry type="library" scope="PROVIDED" name="irb (v1.2.4, RVM: ruby-2.7.0) [gem]" level="application" />
|
21
|
+
<orderEntry type="library" scope="PROVIDED" name="json (v2.3.1, RVM: ruby-2.7.0) [gem]" level="application" />
|
22
|
+
<orderEntry type="library" scope="PROVIDED" name="listen (v3.1.5, RVM: ruby-2.7.0) [gem]" level="application" />
|
23
|
+
<orderEntry type="library" scope="PROVIDED" name="parallel (v1.19.2, RVM: ruby-2.7.0) [gem]" level="application" />
|
24
|
+
<orderEntry type="library" scope="PROVIDED" name="parser (v2.7.1.4, RVM: ruby-2.7.0) [gem]" level="application" />
|
25
|
+
<orderEntry type="library" scope="PROVIDED" name="rainbow (v3.0.0, RVM: ruby-2.7.0) [gem]" level="application" />
|
26
|
+
<orderEntry type="library" scope="PROVIDED" name="rake (v13.0.1, RVM: ruby-2.7.0) [gem]" level="application" />
|
27
|
+
<orderEntry type="library" scope="PROVIDED" name="rb-fsevent (v0.10.4, RVM: ruby-2.7.0) [gem]" level="application" />
|
28
|
+
<orderEntry type="library" scope="PROVIDED" name="rb-inotify (v0.10.1, RVM: ruby-2.7.0) [gem]" level="application" />
|
29
|
+
<orderEntry type="library" scope="PROVIDED" name="regexp_parser (v1.7.1, RVM: ruby-2.7.0) [gem]" level="application" />
|
30
|
+
<orderEntry type="library" scope="PROVIDED" name="reline (v0.1.4, RVM: ruby-2.7.0) [gem]" level="application" />
|
31
|
+
<orderEntry type="library" scope="PROVIDED" name="rexml (v3.2.4, RVM: ruby-2.7.0) [gem]" level="application" />
|
32
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec (v3.9.0, RVM: ruby-2.7.0) [gem]" level="application" />
|
33
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.9.2, RVM: ruby-2.7.0) [gem]" level="application" />
|
34
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.9.2, RVM: ruby-2.7.0) [gem]" level="application" />
|
35
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.9.1, RVM: ruby-2.7.0) [gem]" level="application" />
|
36
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.9.3, RVM: ruby-2.7.0) [gem]" level="application" />
|
37
|
+
<orderEntry type="library" scope="PROVIDED" name="rubocop (v0.86.0, RVM: ruby-2.7.0) [gem]" level="application" />
|
38
|
+
<orderEntry type="library" scope="PROVIDED" name="rubocop-ast (v0.2.0, RVM: ruby-2.7.0) [gem]" level="application" />
|
39
|
+
<orderEntry type="library" scope="PROVIDED" name="ruby-progressbar (v1.10.1, RVM: ruby-2.7.0) [gem]" level="application" />
|
40
|
+
<orderEntry type="library" scope="PROVIDED" name="ruby_dep (v1.5.0, RVM: ruby-2.7.0) [gem]" level="application" />
|
41
|
+
<orderEntry type="library" scope="PROVIDED" name="simplecov (v0.16.1, RVM: ruby-2.7.0) [gem]" level="application" />
|
42
|
+
<orderEntry type="library" scope="PROVIDED" name="simplecov-html (v0.10.2, RVM: ruby-2.7.0) [gem]" level="application" />
|
43
|
+
<orderEntry type="library" scope="PROVIDED" name="simplecov-rcov (v0.2.3, RVM: ruby-2.7.0) [gem]" level="application" />
|
44
|
+
<orderEntry type="library" scope="PROVIDED" name="thor (v1.0.1, RVM: ruby-2.7.0) [gem]" level="application" />
|
45
|
+
<orderEntry type="library" scope="PROVIDED" name="unicode-display_width (v1.7.0, RVM: ruby-2.7.0) [gem]" level="application" />
|
46
|
+
</component>
|
47
|
+
<component name="RModuleSettingsStorage">
|
48
|
+
<LOAD_PATH number="2" string0="$MODULE_DIR$/lib" string1="$MODULE_DIR$/spec" />
|
49
|
+
<I18N_FOLDERS number="0" />
|
50
|
+
</component>
|
51
|
+
</module>
|
metadata
ADDED
@@ -0,0 +1,236 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: text-checkm
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: '0.7'
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- David Moles
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-07-23 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundle-audit
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: ci_reporter_rspec
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: colorize
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: irb
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: listen
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 3.0.5
|
76
|
+
- - "<"
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '3.2'
|
79
|
+
type: :development
|
80
|
+
prerelease: false
|
81
|
+
version_requirements: !ruby/object:Gem::Requirement
|
82
|
+
requirements:
|
83
|
+
- - ">="
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: 3.0.5
|
86
|
+
- - "<"
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '3.2'
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: rake
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - ">="
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '13.0'
|
96
|
+
type: :development
|
97
|
+
prerelease: false
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '13.0'
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: rspec-support
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - ">="
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
type: :development
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - ">="
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '0'
|
117
|
+
- !ruby/object:Gem::Dependency
|
118
|
+
name: rubocop
|
119
|
+
requirement: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - '='
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '0.86'
|
124
|
+
type: :development
|
125
|
+
prerelease: false
|
126
|
+
version_requirements: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - '='
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '0.86'
|
131
|
+
- !ruby/object:Gem::Dependency
|
132
|
+
name: simplecov
|
133
|
+
requirement: !ruby/object:Gem::Requirement
|
134
|
+
requirements:
|
135
|
+
- - "~>"
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
version: 0.16.1
|
138
|
+
type: :development
|
139
|
+
prerelease: false
|
140
|
+
version_requirements: !ruby/object:Gem::Requirement
|
141
|
+
requirements:
|
142
|
+
- - "~>"
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: 0.16.1
|
145
|
+
- !ruby/object:Gem::Dependency
|
146
|
+
name: simplecov-rcov
|
147
|
+
requirement: !ruby/object:Gem::Requirement
|
148
|
+
requirements:
|
149
|
+
- - ">="
|
150
|
+
- !ruby/object:Gem::Version
|
151
|
+
version: '0'
|
152
|
+
type: :development
|
153
|
+
prerelease: false
|
154
|
+
version_requirements: !ruby/object:Gem::Requirement
|
155
|
+
requirements:
|
156
|
+
- - ">="
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: '0'
|
159
|
+
description: A Ruby implementation of the Checkm checksum-based text manifest format
|
160
|
+
email: dmoles@berkeley.edu
|
161
|
+
executables: []
|
162
|
+
extensions: []
|
163
|
+
extra_rdoc_files: []
|
164
|
+
files:
|
165
|
+
- ".document"
|
166
|
+
- ".gitignore"
|
167
|
+
- ".idea/$CACHE_FILE$"
|
168
|
+
- ".idea/.gitignore"
|
169
|
+
- ".idea/go.imports.xml"
|
170
|
+
- ".idea/inspectionProfiles/Project_Default.xml"
|
171
|
+
- ".idea/inspectionProfiles/profiles_settings.xml"
|
172
|
+
- ".idea/misc.xml"
|
173
|
+
- ".idea/modules.xml"
|
174
|
+
- ".idea/vcs.xml"
|
175
|
+
- ".rubocop.yml"
|
176
|
+
- ".ruby-version"
|
177
|
+
- ".simplecov"
|
178
|
+
- CHANGELOG.md
|
179
|
+
- Gemfile
|
180
|
+
- Gemfile.lock
|
181
|
+
- LICENSE.md
|
182
|
+
- README.md
|
183
|
+
- Rakefile
|
184
|
+
- SPEC.txt
|
185
|
+
- lib/text/checkm.rb
|
186
|
+
- lib/text/checkm/checksum.rb
|
187
|
+
- lib/text/checkm/entry.rb
|
188
|
+
- lib/text/checkm/manifest.rb
|
189
|
+
- lib/text/checkm/module_info.rb
|
190
|
+
- rakelib/bundle.rake
|
191
|
+
- rakelib/coverage.rake
|
192
|
+
- rakelib/rubocop.rake
|
193
|
+
- spec/.rubocop.yml
|
194
|
+
- spec/data/merritt-manifest.checkm
|
195
|
+
- spec/data/myfirst.checkm
|
196
|
+
- spec/data/test_1/1
|
197
|
+
- spec/data/two-level-manifest.checkm
|
198
|
+
- spec/lib/text/checkm/checksum_spec.rb
|
199
|
+
- spec/lib/text/checkm/entry_spec.rb
|
200
|
+
- spec/lib/text/checkm/manifest_spec.rb
|
201
|
+
- spec/spec_helper.rb
|
202
|
+
- text-checkm.gemspec
|
203
|
+
- text-checkm.iml
|
204
|
+
homepage: https://github.com/dmolesUC/checkm
|
205
|
+
licenses:
|
206
|
+
- MIT
|
207
|
+
metadata: {}
|
208
|
+
post_install_message:
|
209
|
+
rdoc_options: []
|
210
|
+
require_paths:
|
211
|
+
- lib
|
212
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
213
|
+
requirements:
|
214
|
+
- - ">="
|
215
|
+
- !ruby/object:Gem::Version
|
216
|
+
version: '0'
|
217
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
218
|
+
requirements:
|
219
|
+
- - ">="
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
version: '0'
|
222
|
+
requirements: []
|
223
|
+
rubygems_version: 3.1.2
|
224
|
+
signing_key:
|
225
|
+
specification_version: 4
|
226
|
+
summary: Ruby implementation of the Checkm text manifest format
|
227
|
+
test_files:
|
228
|
+
- spec/.rubocop.yml
|
229
|
+
- spec/data/merritt-manifest.checkm
|
230
|
+
- spec/data/myfirst.checkm
|
231
|
+
- spec/data/test_1/1
|
232
|
+
- spec/data/two-level-manifest.checkm
|
233
|
+
- spec/lib/text/checkm/checksum_spec.rb
|
234
|
+
- spec/lib/text/checkm/entry_spec.rb
|
235
|
+
- spec/lib/text/checkm/manifest_spec.rb
|
236
|
+
- spec/spec_helper.rb
|