seis_ruby 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +23 -4
- data/Rakefile +10 -0
- data/bin/seis_ruby +1 -1
- data/lib/seis_ruby/application.rb +76 -0
- data/lib/seis_ruby/command.rb +15 -0
- data/lib/seis_ruby/core_ext/file.rb +7 -0
- data/lib/seis_ruby/core_ext.rb +5 -0
- data/lib/seis_ruby/data/cmtsolution.rb +84 -64
- data/lib/seis_ruby/data/sac/ascii/head.rb +49 -0
- data/lib/seis_ruby/data/sac/ascii.rb +61 -0
- data/lib/seis_ruby/data/sac/binary/head.rb +5 -0
- data/lib/seis_ruby/data/sac/binary.rb +26 -0
- data/lib/seis_ruby/data/sac/body.rb +62 -0
- data/lib/seis_ruby/data/sac/head.rb +162 -0
- data/lib/seis_ruby/data/sac.rb +99 -3
- data/lib/seis_ruby/data.rb +6 -5
- data/lib/seis_ruby/database/global_cmt_catalog_search/cmtsolution_format.rb +30 -0
- data/lib/seis_ruby/database/global_cmt_catalog_search.rb +44 -0
- data/lib/seis_ruby/database.rb +3 -0
- data/lib/seis_ruby/version.rb +1 -1
- data/lib/seis_ruby.rb +12 -3
- data/seis_ruby.gemspec +8 -14
- data/test/data/000000001.SAC +0 -0
- data/test/data/000000001.SAC_ascii +32 -0
- data/test/seis_ruby/command_test.rb +19 -0
- data/test/seis_ruby/core_ext/file_test.rb +7 -0
- data/test/seis_ruby/data/cmtsolution_test.rb +63 -0
- data/test/seis_ruby/data/sac/ascii_test.rb +15 -0
- data/test/seis_ruby/data/sac/binary_test.rb +15 -0
- data/test/seis_ruby/data/sac/body_test.rb +27 -0
- data/test/seis_ruby/data/sac/head_test.rb +78 -0
- data/test/seis_ruby/data/sac_test.rb +52 -0
- data/test/seis_ruby/database/global_cmt_catalog_search/cmtsolution_format_test.rb +142 -0
- data/test/seis_ruby/database/global_cmt_catalog_search_test.rb +10 -0
- data/test/seis_ruby_test.rb +0 -0
- data/test/test_helper.rb +7 -0
- data/test.watchr +13 -0
- metadata +79 -54
- data/lib/seis_ruby/bin/seis_ruby_runner.rb +0 -58
- data/lib/seis_ruby/bin.rb +0 -6
- data/lib/seis_ruby/io/gcmt_catalog/custom_html_parser.rb +0 -16
- data/lib/seis_ruby/io/gcmt_catalog.rb +0 -50
- data/lib/seis_ruby/io.rb +0 -6
- data/rakefile +0 -8
- data/spec/seis_ruby/data/cmtsolution_spec.rb +0 -83
- data/spec/seis_ruby/io/gcmt_catalog_spec.rb +0 -19
- data/spec/seis_ruby/io/scrape.yaml +0 -3972
- data/spec/spec_helper.rb +0 -18
data/spec/spec_helper.rb
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
# This file was generated by the `rspec --init` command. Conventionally, all
|
2
|
-
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
3
|
-
# Require this file using `require "spec_helper.rb"` to ensure that it is only
|
4
|
-
# loaded once.
|
5
|
-
#
|
6
|
-
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
7
|
-
|
8
|
-
require 'simplecov'
|
9
|
-
SimpleCov.start
|
10
|
-
|
11
|
-
|
12
|
-
RSpec.configure do |config|
|
13
|
-
config.treat_symbols_as_metadata_keys_with_true_values = true
|
14
|
-
config.run_all_when_everything_filtered = true
|
15
|
-
config.filter_run :focus
|
16
|
-
end
|
17
|
-
|
18
|
-
require 'seis_ruby'
|