castle-log 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +18 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +29 -0
- data/Rakefile +6 -0
- data/castle-log.gemspec +25 -0
- data/data/long-flight.csv +2853 -0
- data/data/multi-line-notes.csv +4607 -0
- data/data/multi-session-1.csv +972 -0
- data/data/multi-session-2.csv +5457 -0
- data/data/sample-1.csv +584 -0
- data/lib/castle/log/file.rb +87 -0
- data/lib/castle/log/session.rb +24 -0
- data/lib/castle/log/version.rb +5 -0
- data/lib/castle/log.rb +3 -0
- data/spec/file_spec.rb +55 -0
- data/spec/session_spec.rb +23 -0
- data/spec/spec_helper.rb +19 -0
- metadata +122 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 46a679deee156a7c0c421e1c1fbc505ddf3ba87d
|
4
|
+
data.tar.gz: 3e4aabfeedaad4385169a1e5d4198d36c73d430d
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 0528e47a5e55b7578b72a2ceee64239c198cce6fa0311e204981c337458539d8d939890589993587b902cfdd4cd6a469e34d4bd397aa6dc504d72105af93151d
|
7
|
+
data.tar.gz: 11d9c82d7d75b4fca9137eb80a6700cf2bfafd847b6242e4253af1bf6b5c80b272a76c1355cbe937b3ff227d0adccd773e54754cf6e9705001d38f3c329330e2
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2013 Nick Veys
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# Castle::Log [![Build Status](https://travis-ci.org/code-lever/castle-log.png)](https://travis-ci.org/code-lever/castle-log) [![Dependency Status](https://gemnasium.com/code-lever/castle-log.png)](https://gemnasium.com/code-lever/castle-log) [![Code Climate](https://codeclimate.com/github/code-lever/castle-log.png)](https://codeclimate.com/github/code-lever/castle-log)
|
2
|
+
|
3
|
+
TODO: Write a gem description
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
gem 'castle-log'
|
10
|
+
|
11
|
+
And then execute:
|
12
|
+
|
13
|
+
$ bundle
|
14
|
+
|
15
|
+
Or install it yourself as:
|
16
|
+
|
17
|
+
$ gem install castle-log
|
18
|
+
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
TODO: Write usage instructions here
|
22
|
+
|
23
|
+
## Contributing
|
24
|
+
|
25
|
+
1. Fork it
|
26
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
27
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
28
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
29
|
+
5. Create new Pull Request
|
data/Rakefile
ADDED
data/castle-log.gemspec
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'castle/log/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "castle-log"
|
8
|
+
spec.version = Castle::Log::VERSION
|
9
|
+
spec.authors = ["Nick Veys"]
|
10
|
+
spec.email = ["nick@codelever.com"]
|
11
|
+
spec.description = %q{Read and interpret Castle Creations data log files.}
|
12
|
+
spec.summary = %q{Castle Creations data log file reader}
|
13
|
+
spec.homepage = ""
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files`.split($/)
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_development_dependency 'bundler', '~> 1.3'
|
22
|
+
spec.add_development_dependency 'ci_reporter', '= 1.8.4'
|
23
|
+
spec.add_development_dependency 'rake', '~> 0.8'
|
24
|
+
spec.add_development_dependency 'rspec', '~> 2.12'
|
25
|
+
end
|