sirb 0.0.1

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 147222def8f7041a6fe415411976ad149c492abf
4
+ data.tar.gz: 964c1e21bfa1786213c8089945ade0279aab650e
5
+ SHA512:
6
+ metadata.gz: 736288c1fc12fe584c678ad89fbfde8fed7f67bebb1a6f604eb78f6198add28e605bdd3ad72ea7b48353231cbf3343207beaf1d86d9b56c344c1dd44a55a1721
7
+ data.tar.gz: 112d6fb39b90bb5f26ad36285025319f0df618d71981027631fe8f2c09c704e48c3708d9c002115c9f61f37fb13218ad2028d0eff064e1ecc254ddb011d4a76c
data/.editorconfig ADDED
@@ -0,0 +1,14 @@
1
+ # editorconfig.org
2
+
3
+ root = true
4
+
5
+ [*]
6
+ charset = utf-8
7
+ end_of_line = lf
8
+ indent_size = 2
9
+ indent_style = space
10
+ insert_final_newline = true
11
+ trim_trailing_whitespace = true
12
+
13
+ [*.md]
14
+ trim_trailing_whitespace = false
data/.gitignore ADDED
@@ -0,0 +1,50 @@
1
+ *.gem
2
+ *.rbc
3
+ /.config
4
+ /coverage/
5
+ /InstalledFiles
6
+ /pkg/
7
+ /spec/reports/
8
+ /spec/examples.txt
9
+ /test/tmp/
10
+ /test/version_tmp/
11
+ /tmp/
12
+
13
+ # Used by dotenv library to load environment variables.
14
+ # .env
15
+
16
+ ## Specific to RubyMotion:
17
+ .dat*
18
+ .repl_history
19
+ build/
20
+ *.bridgesupport
21
+ build-iPhoneOS/
22
+ build-iPhoneSimulator/
23
+
24
+ ## Specific to RubyMotion (use of CocoaPods):
25
+ #
26
+ # We recommend against adding the Pods directory to your .gitignore. However
27
+ # you should judge for yourself, the pros and cons are mentioned at:
28
+ # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
29
+ #
30
+ # vendor/Pods/
31
+
32
+ ## Documentation cache and generated files:
33
+ /.yardoc/
34
+ /_yardoc/
35
+ /doc/
36
+ /rdoc/
37
+
38
+ ## Environment normalization:
39
+ /.bundle/
40
+ /vendor/bundle
41
+ /lib/bundler/man/
42
+
43
+ # for a library or gem, you might want to ignore these files since the code is
44
+ # intended to run in multiple environments; otherwise, check them in:
45
+ Gemfile.lock
46
+ .ruby-version
47
+ .ruby-gemset
48
+
49
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
50
+ .rvmrc
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.rubocop.yml ADDED
@@ -0,0 +1,12 @@
1
+ #inherit_from:
2
+ # - .rubocop_todo.yml
3
+
4
+ AllCops:
5
+ TargetRubyVersion: 2.3
6
+
7
+ (Style/FrozenStringLiteralComment:
8
+ Enabled: false
9
+ Style/MutableConstant:
10
+ Enabled: false
11
+ Style/StringLiterals:
12
+ Enabled: false
data/.travis.yml ADDED
@@ -0,0 +1,14 @@
1
+ language: ruby
2
+ cache: bundler
3
+ sudo: false
4
+
5
+ rvm:
6
+ - 2.2.5
7
+ - 2.3.1
8
+
9
+ branches:
10
+ only:
11
+ - master
12
+ - dev
13
+
14
+ before_install: gem install bundler -v 1.13.2
data/Gemfile ADDED
@@ -0,0 +1,15 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in sirb.gemspec
4
+ gemspec
5
+
6
+ group :development do
7
+ gem 'rake', '~> 11.3.0'
8
+ gem 'rubocop', '~> 0.43.0'
9
+ gem 'yard', '~> 0.9.5'
10
+ end
11
+
12
+ group :test do
13
+ gem 'coveralls', '~> 0.8.15', require: false
14
+ gem 'guard-rspec', '~> 4.7.3', require: false
15
+ end
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2016 Miguel Hernández
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 all
13
+ 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 THE
21
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,34 @@
1
+ # SIrb
2
+
3
+ [![Gem Version](https://badge.fury.io/rb/sirb.svg)](http://badge.fury.io/rb/sirb)
4
+ [![Dependency Status](https://gemnasium.com/Madh93/sirb.svg)](https://gemnasium.com/Madh93/sirb)
5
+ [![Build Status](https://travis-ci.org/Madh93/sirb.svg)](https://travis-ci.org/Madh93/sirb) [![Coverage Status](https://coveralls.io/repos/github/Madh93/sirb/badge.svg?branch=master)](https://coveralls.io/github/Madh93/sirb?branch=master) [![Docs Status](http://inch-ci.org/github/Madh93/sirb.svg)](http://inch-ci.org/github/Madh93/sirb)
6
+
7
+ Metaheuristics for Logistics Problems for [Sistemas Inteligentes e Interacción Persona Computador 2016/17](http://eguia.ull.es/etsii/query.php?codigo=135751105)
8
+
9
+ ## Requirements
10
+
11
+ Ruby >=2.2.5
12
+
13
+ ## Installation
14
+
15
+ Clone repo and then execute:
16
+
17
+ $ bundle
18
+ $ bundle exec rake install
19
+
20
+ Or install it yourself as:
21
+
22
+ $ gem install sirb
23
+
24
+ ## Usage
25
+
26
+ $ sirb [OPTIONS]
27
+
28
+ ## Contributing
29
+
30
+ 1. Fork it ( https://github.com/Madh93/sirb/fork )
31
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
32
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
33
+ 4. Push to the branch (`git push origin my-new-feature`)
34
+ 5. Create a new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ require 'bundler/gem_tasks'
2
+ require 'rspec/core/rake_task'
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+ task default: :spec
6
+
7
+ desc "Documentation generation tool"
8
+ task :doc do
9
+ sh "bundle exec yardoc"
10
+ end
data/bin/console ADDED
@@ -0,0 +1,13 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'bundler/setup'
4
+
5
+ # You can add fixtures and/or initialization code here to make experimenting
6
+ # with your gem easier. You can also use a different console, if you like.
7
+
8
+ # (If you use this, don't forget to add pry to your Gemfile!)
9
+ # require "pry"
10
+ # Pry.start
11
+
12
+ require 'irb'
13
+ IRB.start
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/bin/sirb ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'sirb'
4
+
5
+ puts "SIrb saying 'Hello World!' from #{SIrb::VERSION} version."
@@ -0,0 +1,3 @@
1
+ module SIrb
2
+ VERSION = '0.0.1'
3
+ end
data/lib/sirb.rb ADDED
@@ -0,0 +1,5 @@
1
+ require 'sirb/version'
2
+
3
+ module SIrb
4
+ # Your code goes here...
5
+ end
data/sirb.gemspec ADDED
@@ -0,0 +1,28 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'sirb/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "sirb"
8
+ spec.version = SIrb::VERSION
9
+ spec.authors = ["Miguel Hernández"]
10
+ spec.email = ["michelangelo93@gmail.com"]
11
+
12
+ spec.summary = "Metaheuristics for Logistics Problems"
13
+ spec.description = spec.summary
14
+ spec.homepage = "https://github.com/Madh93/sirb"
15
+ spec.license = "MIT"
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
18
+ f.match(%r{^(test|spec|features)/})
19
+ end
20
+ spec.executables = "sirb"
21
+ spec.require_paths = ["lib"]
22
+
23
+ spec.add_development_dependency("bundler", "~> 1.13")
24
+
25
+ # spec.add_runtime_dependency
26
+
27
+ spec.required_ruby_version = '>= 2.2.5'
28
+ end
metadata ADDED
@@ -0,0 +1,74 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sirb
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Miguel Hernández
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-10-16 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.13'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.13'
27
+ description: Metaheuristics for Logistics Problems
28
+ email:
29
+ - michelangelo93@gmail.com
30
+ executables:
31
+ - sirb
32
+ extensions: []
33
+ extra_rdoc_files: []
34
+ files:
35
+ - ".editorconfig"
36
+ - ".gitignore"
37
+ - ".rspec"
38
+ - ".rubocop.yml"
39
+ - ".travis.yml"
40
+ - Gemfile
41
+ - LICENSE
42
+ - README.md
43
+ - Rakefile
44
+ - bin/console
45
+ - bin/setup
46
+ - bin/sirb
47
+ - lib/sirb.rb
48
+ - lib/sirb/version.rb
49
+ - sirb.gemspec
50
+ homepage: https://github.com/Madh93/sirb
51
+ licenses:
52
+ - MIT
53
+ metadata: {}
54
+ post_install_message:
55
+ rdoc_options: []
56
+ require_paths:
57
+ - lib
58
+ required_ruby_version: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: 2.2.5
63
+ required_rubygems_version: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
68
+ requirements: []
69
+ rubyforge_project:
70
+ rubygems_version: 2.5.1
71
+ signing_key:
72
+ specification_version: 4
73
+ summary: Metaheuristics for Logistics Problems
74
+ test_files: []