multivac 0.0.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 +7 -0
- data/.gitignore +9 -0
- data/.rspec +2 -0
- data/.rubocop.yml +53 -0
- data/.ruby-version +1 -0
- data/.travis.yml +3 -0
- data/Gemfile +20 -0
- data/LICENSE.txt +21 -0
- data/README.md +38 -0
- data/Rakefile +26 -0
- data/bin/console +14 -0
- data/bin/setup +7 -0
- data/lib/multivac.rb +7 -0
- data/lib/multivac/version.rb +9 -0
- data/multivac.gemspec +25 -0
- metadata +87 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 99a5fe50a344e9f13669ac09ccfb37721f77819b
|
4
|
+
data.tar.gz: c356bba623c0a4d249cd0d4a39c975ca6edfd52f
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: d163dccdee10946657f7a9a04c98a94749ce75ef5456e0b81d7f70de7634d4224b70b419106e630aa026e3c1a6b7ed5c192b095519e23569d1318f318f2863b0
|
7
|
+
data.tar.gz: efcb556bab1a8b1b36b5441eb34d785168da4938422a12df1441474f5e49bc8c45871f5aaaa0b3402aabd19655cdaa3d3523521372db3662f93a8c137d2f298b
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.rubocop.yml
ADDED
@@ -0,0 +1,53 @@
|
|
1
|
+
Style/AccessModifierIndentation:
|
2
|
+
EnforcedStyle: indent
|
3
|
+
SupportedStyles:
|
4
|
+
- outdent
|
5
|
+
- indent
|
6
|
+
|
7
|
+
Style/AlignHash:
|
8
|
+
EnforcedHashRocketStyle: key
|
9
|
+
EnforcedColonStyle: key
|
10
|
+
EnforcedLastArgumentHashStyle: always_inspect
|
11
|
+
|
12
|
+
Style/AlignParameters:
|
13
|
+
EnforcedStyle: with_fixed_indentation
|
14
|
+
|
15
|
+
Style/BracesAroundHashParameters:
|
16
|
+
Enabled: false
|
17
|
+
|
18
|
+
Style/Documentation:
|
19
|
+
Enabled: false
|
20
|
+
|
21
|
+
Style/EmptyLinesAroundClassBody:
|
22
|
+
EnforcedStyle: empty_lines
|
23
|
+
|
24
|
+
Style/EmptyLinesAroundModuleBody:
|
25
|
+
EnforcedStyle: empty_lines
|
26
|
+
|
27
|
+
Style/FirstParameterIndentation:
|
28
|
+
EnforcedStyle: consistent
|
29
|
+
|
30
|
+
Style/IndentHash:
|
31
|
+
EnforcedStyle: consistent
|
32
|
+
|
33
|
+
Style/ModuleFunction:
|
34
|
+
Enabled: false
|
35
|
+
|
36
|
+
Style/MultilineOperationIndentation:
|
37
|
+
EnforcedStyle: indented
|
38
|
+
|
39
|
+
Style/StringLiterals:
|
40
|
+
EnforcedStyle: double_quotes
|
41
|
+
|
42
|
+
Style/StringLiteralsInInterpolation:
|
43
|
+
EnforcedStyle: double_quotes
|
44
|
+
|
45
|
+
Style/TrailingComma:
|
46
|
+
EnforcedStyleForMultiline: comma
|
47
|
+
|
48
|
+
Style/TrivialAccessors:
|
49
|
+
Enabled: false
|
50
|
+
|
51
|
+
Metrics/LineLength:
|
52
|
+
Max: 100
|
53
|
+
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.2.2
|
data/.travis.yml
ADDED
data/Gemfile
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
source "https://rubygems.org"
|
2
|
+
|
3
|
+
# Specify your gem's dependencies in multivac.gemspec
|
4
|
+
gemspec
|
5
|
+
|
6
|
+
group :development do
|
7
|
+
# RSpec
|
8
|
+
gem "rspec", "~> 3.2.0", require: false
|
9
|
+
|
10
|
+
# Guard
|
11
|
+
gem "guard-rspec", require: false
|
12
|
+
gem "terminal-notifier-guard", require: false # OS X
|
13
|
+
|
14
|
+
# Quality
|
15
|
+
gem "rubocop", ">= 0.30.1", require: false
|
16
|
+
|
17
|
+
# Documentation
|
18
|
+
gem "sdoc", require: false
|
19
|
+
end
|
20
|
+
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2015 Maxime Garcia
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
# Multivac
|
2
|
+
|
3
|
+
[](https://rubygems.org/gems/multivac)
|
4
|
+
[](https://gemnasium.com/maximeg/multivac)
|
5
|
+
|
6
|
+
## Installation
|
7
|
+
|
8
|
+
Add this line to your application's Gemfile:
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
gem 'multivac'
|
12
|
+
```
|
13
|
+
|
14
|
+
And then execute:
|
15
|
+
|
16
|
+
$ bundle
|
17
|
+
|
18
|
+
Or install it yourself as:
|
19
|
+
|
20
|
+
$ gem install multivac
|
21
|
+
|
22
|
+
## Usage
|
23
|
+
|
24
|
+
TODO: Write usage instructions here
|
25
|
+
|
26
|
+
## Development
|
27
|
+
|
28
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.
|
29
|
+
|
30
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
31
|
+
|
32
|
+
## Contributing
|
33
|
+
|
34
|
+
1. Fork it ( https://github.com/maximeg/multivac/fork )
|
35
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
36
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
37
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
38
|
+
5. Create a new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
2
|
+
require "sdoc"
|
3
|
+
require "rdoc/task"
|
4
|
+
|
5
|
+
class MultivacRDocTask < RDoc::Task
|
6
|
+
|
7
|
+
def option_list
|
8
|
+
super.tap do |list|
|
9
|
+
list << "--github"
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
end
|
14
|
+
|
15
|
+
MultivacRDocTask.new(rdoc: "doc", clobber_rdoc: "doc:clobber", rerdoc: "doc:force") do |rdoc|
|
16
|
+
rdoc.generator = "sdoc"
|
17
|
+
rdoc.template = "rails"
|
18
|
+
|
19
|
+
rdoc.title = "Multivac API"
|
20
|
+
|
21
|
+
rdoc.main = "README.md"
|
22
|
+
rdoc.rdoc_dir = "doc"
|
23
|
+
rdoc.rdoc_files.add("lib/**/*.rb", "*.md")
|
24
|
+
rdoc.options << "--all"
|
25
|
+
end
|
26
|
+
|
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "multivac"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start
|
data/bin/setup
ADDED
data/lib/multivac.rb
ADDED
data/multivac.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 "multivac/version"
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "multivac"
|
8
|
+
spec.version = Multivac::Version::STRING
|
9
|
+
spec.authors = ["Maxime Garcia"]
|
10
|
+
spec.email = ["maxime.garcia@gmail.com"]
|
11
|
+
|
12
|
+
spec.summary = "Machine learning utilities for Ruby."
|
13
|
+
# spec.description = "TODO: Write a longer description or delete this line."
|
14
|
+
spec.homepage = "https://github.com/maximeg/multivac"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
18
|
+
spec.files = files
|
19
|
+
spec.bindir = "exe"
|
20
|
+
spec.executables = files.grep(%r{^exe/}) { |f| File.basename(f) }
|
21
|
+
spec.require_paths = ["lib"]
|
22
|
+
|
23
|
+
spec.add_development_dependency "bundler", "~> 1.9"
|
24
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
25
|
+
end
|
metadata
ADDED
@@ -0,0 +1,87 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: multivac
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Maxime Garcia
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-05-10 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.9'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.9'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
description:
|
42
|
+
email:
|
43
|
+
- maxime.garcia@gmail.com
|
44
|
+
executables: []
|
45
|
+
extensions: []
|
46
|
+
extra_rdoc_files: []
|
47
|
+
files:
|
48
|
+
- ".gitignore"
|
49
|
+
- ".rspec"
|
50
|
+
- ".rubocop.yml"
|
51
|
+
- ".ruby-version"
|
52
|
+
- ".travis.yml"
|
53
|
+
- Gemfile
|
54
|
+
- LICENSE.txt
|
55
|
+
- README.md
|
56
|
+
- Rakefile
|
57
|
+
- bin/console
|
58
|
+
- bin/setup
|
59
|
+
- lib/multivac.rb
|
60
|
+
- lib/multivac/version.rb
|
61
|
+
- multivac.gemspec
|
62
|
+
homepage: https://github.com/maximeg/multivac
|
63
|
+
licenses:
|
64
|
+
- MIT
|
65
|
+
metadata: {}
|
66
|
+
post_install_message:
|
67
|
+
rdoc_options: []
|
68
|
+
require_paths:
|
69
|
+
- lib
|
70
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '0'
|
75
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
76
|
+
requirements:
|
77
|
+
- - ">="
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: '0'
|
80
|
+
requirements: []
|
81
|
+
rubyforge_project:
|
82
|
+
rubygems_version: 2.4.6
|
83
|
+
signing_key:
|
84
|
+
specification_version: 4
|
85
|
+
summary: Machine learning utilities for Ruby.
|
86
|
+
test_files: []
|
87
|
+
has_rdoc:
|