dieta_alu0100648782 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +9 -0
  3. data/.rspec +2 -0
  4. data/.travis.yml +5 -0
  5. data/CODE_OF_CONDUCT.md +74 -0
  6. data/Gemfile +9 -0
  7. data/Guardfile +82 -0
  8. data/LICENSE.txt +21 -0
  9. data/README.md +47 -0
  10. data/Rakefile +6 -0
  11. data/bat +122 -0
  12. data/bin/console +14 -0
  13. data/bin/setup +8 -0
  14. data/dieta.gemspec +39 -0
  15. data/doc/CODE_OF_CONDUCT_md.html +197 -0
  16. data/doc/Dieta.html +109 -0
  17. data/doc/Dietas.html +219 -0
  18. data/doc/Gemfile.html +109 -0
  19. data/doc/Gemfile_lock.html +184 -0
  20. data/doc/Grupo_alimento.html +221 -0
  21. data/doc/Grupo_edad.html +221 -0
  22. data/doc/Guardfile.html +182 -0
  23. data/doc/LICENSE_txt.html +119 -0
  24. data/doc/Lista.html +457 -0
  25. data/doc/Menu.html +624 -0
  26. data/doc/Object.html +116 -0
  27. data/doc/Plato.html +314 -0
  28. data/doc/README_md.html +175 -0
  29. data/doc/Rakefile.html +103 -0
  30. data/doc/bat.html +224 -0
  31. data/doc/bin/setup.html +103 -0
  32. data/doc/created.rid +20 -0
  33. data/doc/css/fonts.css +167 -0
  34. data/doc/css/rdoc.css +590 -0
  35. data/doc/dieta_gemspec.html +137 -0
  36. data/doc/fonts/Lato-Light.ttf +0 -0
  37. data/doc/fonts/Lato-LightItalic.ttf +0 -0
  38. data/doc/fonts/Lato-Regular.ttf +0 -0
  39. data/doc/fonts/Lato-RegularItalic.ttf +0 -0
  40. data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
  41. data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
  42. data/doc/images/add.png +0 -0
  43. data/doc/images/arrow_up.png +0 -0
  44. data/doc/images/brick.png +0 -0
  45. data/doc/images/brick_link.png +0 -0
  46. data/doc/images/bug.png +0 -0
  47. data/doc/images/bullet_black.png +0 -0
  48. data/doc/images/bullet_toggle_minus.png +0 -0
  49. data/doc/images/bullet_toggle_plus.png +0 -0
  50. data/doc/images/date.png +0 -0
  51. data/doc/images/delete.png +0 -0
  52. data/doc/images/find.png +0 -0
  53. data/doc/images/loadingAnimation.gif +0 -0
  54. data/doc/images/macFFBgHack.png +0 -0
  55. data/doc/images/package.png +0 -0
  56. data/doc/images/page_green.png +0 -0
  57. data/doc/images/page_white_text.png +0 -0
  58. data/doc/images/page_white_width.png +0 -0
  59. data/doc/images/plugin.png +0 -0
  60. data/doc/images/ruby.png +0 -0
  61. data/doc/images/tag_blue.png +0 -0
  62. data/doc/images/tag_green.png +0 -0
  63. data/doc/images/transparent.png +0 -0
  64. data/doc/images/wrench.png +0 -0
  65. data/doc/images/wrench_orange.png +0 -0
  66. data/doc/images/zoom.png +0 -0
  67. data/doc/index.html +121 -0
  68. data/doc/js/darkfish.js +161 -0
  69. data/doc/js/jquery.js +4 -0
  70. data/doc/js/navigation.js +142 -0
  71. data/doc/js/navigation.js.gz +0 -0
  72. data/doc/js/search.js +109 -0
  73. data/doc/js/search_index.js +1 -0
  74. data/doc/js/search_index.js.gz +0 -0
  75. data/doc/js/searcher.js +228 -0
  76. data/doc/js/searcher.js.gz +0 -0
  77. data/doc/table_of_contents.html +260 -0
  78. data/lib/dieta/dietas.rb +11 -0
  79. data/lib/dieta/dsl.rb +59 -0
  80. data/lib/dieta/lista.rb +66 -0
  81. data/lib/dieta/menu.rb +79 -0
  82. data/lib/dieta/plato.rb +19 -0
  83. data/lib/dieta/version.rb +3 -0
  84. data/lib/dieta.rb +10 -0
  85. metadata +211 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c2eb4b80e9be6e1347f3af55ba2c1ff42551b2af
4
+ data.tar.gz: cc066768cbcfd9443cd184522e32071ad4eb189a
5
+ SHA512:
6
+ metadata.gz: 558ebe6140bde9e63562c737ee628a4b76e95269973c2dd0219eefeee188b69522ae6b24391fdd4d3c4b6d88362682b5b4bb94934bf7de79195a8bf10f5707a6
7
+ data.tar.gz: 227ede6f8d1dd1b0010e4f9dfaff05c46d6861e0bcbbda090629a866d7464441e178a6af3d38dc0a17897a848fb021415a0fc18885c0671f3c164951c5380e7b
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /#doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.3.0
5
+ before_install: gem install bundler -v 1.13.6
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at alu0100648782@ull.edu.es. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,9 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in dieta.gemspec
4
+ gemspec
5
+
6
+ group :development do
7
+ gem 'guard'
8
+
9
+ end
data/Guardfile ADDED
@@ -0,0 +1,82 @@
1
+ # A sample Guardfile
2
+ # More info at https://github.com/guard/guard#readme
3
+
4
+ ## Uncomment and set this to only include directories you want to watch
5
+ # directories %w(app lib config test spec features) \
6
+ # .select{|d| Dir.exists?(d) ? d : UI.warning("Directory #{d} does not exist")}
7
+
8
+ ## Note: if you are using the `directories` clause above and you are not
9
+ ## watching the project directory ('.'), then you will want to move
10
+ ## the Guardfile to a watched dir and symlink it back, e.g.
11
+ #
12
+ # $ mkdir config
13
+ # $ mv Guardfile config/
14
+ # $ ln -s config/Guardfile .
15
+ #
16
+ # and, you'll have to watch "config/Guardfile" instead of "Guardfile"
17
+
18
+ guard :bundler do
19
+ require 'guard/bundler'
20
+ require 'guard/bundler/verify'
21
+ helper = Guard::Bundler::Verify.new
22
+
23
+ files = ['Gemfile']
24
+ files += Dir['*.gemspec'] if files.any? { |f| helper.uses_gemspec?(f) }
25
+
26
+ # Assume files are symlinked from somewhere
27
+ files.each { |file| watch(helper.real_path(file)) }
28
+ end
29
+
30
+ # Note: The cmd option is now required due to the increasing number of ways
31
+ # rspec may be run, below are examples of the most common uses.
32
+ # * bundler: 'bundle exec rspec'
33
+ # * bundler binstubs: 'bin/rspec'
34
+ # * spring: 'bin/rspec' (This will use spring if running and you have
35
+ # installed the spring binstubs per the docs)
36
+ # * zeus: 'zeus rspec' (requires the server to be started separately)
37
+ # * 'just' rspec: 'rspec'
38
+
39
+ guard :rspec, cmd: "bundle exec rspec" do
40
+ require "guard/rspec/dsl"
41
+ dsl = Guard::RSpec::Dsl.new(self)
42
+
43
+ # Feel free to open issues for suggestions and improvements
44
+
45
+ # RSpec files
46
+ rspec = dsl.rspec
47
+ watch(rspec.spec_helper) { rspec.spec_dir }
48
+ watch(rspec.spec_support) { rspec.spec_dir }
49
+ watch(rspec.spec_files)
50
+
51
+ # Ruby files
52
+ ruby = dsl.ruby
53
+ dsl.watch_spec_files_for(ruby.lib_files)
54
+
55
+ # Rails files
56
+ rails = dsl.rails(view_extensions: %w(erb haml slim))
57
+ dsl.watch_spec_files_for(rails.app_files)
58
+ dsl.watch_spec_files_for(rails.views)
59
+
60
+ watch(rails.controllers) do |m|
61
+ [
62
+ rspec.spec.call("routing/#{m[1]}_routing"),
63
+ rspec.spec.call("controllers/#{m[1]}_controller"),
64
+ rspec.spec.call("acceptance/#{m[1]}")
65
+ ]
66
+ end
67
+
68
+ # Rails config changes
69
+ watch(rails.spec_helper) { rspec.spec_dir }
70
+ watch(rails.routes) { "#{rspec.spec_dir}/routing" }
71
+ watch(rails.app_controller) { "#{rspec.spec_dir}/controllers" }
72
+
73
+ # Capybara features specs
74
+ watch(rails.view_dirs) { |m| rspec.spec.call("features/#{m[1]}") }
75
+ watch(rails.layouts) { |m| rspec.spec.call("features/#{m[1]}") }
76
+
77
+ # Turnip features and steps
78
+ watch(%r{^spec/acceptance/(.+)\.feature$})
79
+ watch(%r{^spec/acceptance/steps/(.+)_steps\.rb$}) do |m|
80
+ Dir[File.join("**/#{m[1]}.feature")][0] || "spec/acceptance"
81
+ end
82
+ end
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Rafael Abadia
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,47 @@
1
+ ## Lenguajes y Paradigmas de la programación
2
+
3
+ # Practica 7
4
+
5
+ * Autor: Rafael Abadía Reyes
6
+
7
+ # Dieta
8
+
9
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/dieta`. To experiment with that code, run `bin/console` for an interactive prompt.
10
+
11
+ TODO: Delete this and the text above, and describe your gem
12
+
13
+ ## Installation
14
+
15
+ Add this line to your application's Gemfile:
16
+
17
+ ```ruby
18
+ gem 'dieta'
19
+ ```
20
+
21
+ And then execute:
22
+
23
+ $ bundle
24
+
25
+ Or install it yourself as:
26
+
27
+ $ gem install dieta
28
+
29
+ ## Usage
30
+
31
+ TODO: Write usage instructions here
32
+
33
+ ## Development
34
+
35
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
36
+
37
+ 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`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
38
+
39
+ ## Contributing
40
+
41
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/dieta. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
42
+
43
+
44
+ ## License
45
+
46
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
47
+
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bat ADDED
@@ -0,0 +1,122 @@
1
+ # A sample Guardfile
2
+ # More info at https://github.com/guard/guard#readme
3
+
4
+ ## Uncomment and set this to only include directories you want to watch
5
+ # directories %w(app lib config test spec features) \
6
+ # .select{|d| Dir.exists?(d) ? d : UI.warning("Directory #{d} does not exist")}
7
+
8
+ ## Note: if you are using the `directories` clause above and you are not
9
+ ## watching the project directory ('.'), then you will want to move
10
+ ## the Guardfile to a watched dir and symlink it back, e.g.
11
+ #
12
+ # $ mkdir config
13
+ # $ mv Guardfile config/
14
+ # $ ln -s config/Guardfile .
15
+ #
16
+ # and, you'll have to watch "config/Guardfile" instead of "Guardfile"
17
+
18
+ guard :bundler do
19
+ require 'guard/bundler'
20
+ require 'guard/bundler/verify'
21
+ helper = Guard::Bundler::Verify.new
22
+
23
+ files = ['Gemfile']
24
+ files += Dir['*.gemspec'] if files.any? { |f| helper.uses_gemspec?(f) }
25
+
26
+ # Assume files are symlinked from somewhere sample Guardfile
27
+ # More info at https://github.com/guard/guard#readme
28
+
29
+ ## Uncomment and set this to only include directories you want to watch
30
+ # directories %w(app lib config test spec features) \
31
+ # .select{|d| Dir.exists?(d) ? d : UI.warning("Directory #{d} does not exist")}
32
+
33
+ ## Note: if you are using the `directories` clause above and you are not
34
+ ## watching the project directory ('.'), then you will want to move
35
+ ## the Guardfile to a watched dir and symlink it back, e.g.
36
+ #
37
+ # $ mkdir config
38
+ # $ mv Guardfile config/
39
+ # $ ln -s config/Guardfile .
40
+ #
41
+ # and, you'll have to watch "config/Guardfile" instead of "Guardfile"
42
+
43
+ guard :bundler do
44
+ require 'guard/bundler'
45
+ require 'guard/bundler/verify'
46
+ helper = Guard::Bundler::Verify.new
47
+
48
+ files = ['Gemfile']
49
+ files += Dir['*.gemspec'] if files.any? { |f| helper.uses_gemspec?(f) }
50
+
51
+ # Assume files are symlinked from somewhere
52
+ files.each { |file| watch(helper.real_path(file)) }
53
+ end
54
+
55
+ # Note: The cmd option is now required due to the increasing number of ways
56
+ # rspec may be run, below are examples of the most common uses.
57
+ # * bundler: 'bundle exec rspec'
58
+ # * bundler binstubs: 'bin/rspec'
59
+ # * spring: 'bin/rspec' (This will use spring if running and you have
60
+ # installed the spring binstubs per the docs)
61
+ # * zeus: 'zeus rspec' (requires the server to be started separately)
62
+ # * 'just' rspec: 'rspec'
63
+
64
+ guard :rspec, cmd: "bundle exec rspec" do
65
+ require "guard/rspec/dsl"
66
+
67
+ files.each { |file| watch(helper.real_path(file)) }
68
+ end
69
+
70
+ # Note: The cmd option is now required due to the increasing number of ways
71
+ # rspec may be run, below are examples of the most common uses.
72
+ # * bundler: 'bundle exec rspec'
73
+ # * bundler binstubs: 'bin/rspec'
74
+ # * spring: 'bin/rspec' (This will use spring if running and you have
75
+ # installed the spring binstubs per the docs)
76
+ # * zeus: 'zeus rspec' (requires the server to be started separately)
77
+ # * 'just' rspec: 'rspec'
78
+
79
+ guard :rspec, cmd: "bundle exec rspec" do
80
+ require "guard/rspec/dsl"
81
+ dsl = Guard::RSpec::Dsl.new(self)
82
+
83
+ # Feel free to open issues for suggestions and improvements
84
+
85
+ # RSpec files
86
+ rspec = dsl.rspec
87
+ watch(rspec.spec_helper) { rspec.spec_dir }
88
+ watch(rspec.spec_support) { rspec.spec_dir }
89
+ watch(rspec.spec_files)
90
+
91
+ # Ruby files
92
+ ruby = dsl.ruby
93
+ dsl.watch_spec_files_for(ruby.lib_files)
94
+
95
+ # Rails files
96
+ rails = dsl.rails(view_extensions: %w(erb haml slim))
97
+ dsl.watch_spec_files_for(rails.app_files)
98
+ dsl.watch_spec_files_for(rails.views)
99
+
100
+ watch(rails.controllers) do |m|
101
+ [
102
+ rspec.spec.call("routing/#{m[1]}_routing"),
103
+ rspec.spec.call("controllers/#{m[1]}_controller"),
104
+ rspec.spec.call("acceptance/#{m[1]}")
105
+ ]
106
+ end
107
+ # Rails config changes
108
+ watch(rails.spec_helper) { rspec.spec_dir }
109
+ watch(rails.routes) { "#{rspec.spec_dir}/routing" }
110
+ watch(rails.app_controller) { "#{rspec.spec_dir}/controllers" }
111
+
112
+ # Capybara features specs
113
+ watch(rails.view_dirs) { |m| rspec.spec.call("features/#{m[1]}") }
114
+ watch(rails.layouts) { |m| rspec.spec.call("features/#{m[1]}") }
115
+
116
+ # Turnip features and steps
117
+ watch(%r{^spec/acceptance/(.+)\.feature$})
118
+ watch(%r{^spec/acceptance/steps/(.+)_steps\.rb$}) do |m|
119
+ Dir[File.join("**/#{m[1]}.feature")][0] || "spec/acceptance"
120
+ end
121
+ end
122
+
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "dieta"
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
@@ -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/dieta.gemspec ADDED
@@ -0,0 +1,39 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'dieta/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "dieta_alu0100648782"
8
+ spec.version = Dieta::VERSION
9
+ spec.authors = ["Rafael Abadia"]
10
+ spec.email = ["alu0100648782@ull.edu.es"]
11
+
12
+ spec.summary = %q{sumario de la gema dieta}
13
+ spec.description = %q{Descripcion de la gema}
14
+ spec.homepage = "https://github.com/ULL-ESIT-LPP-1617/menu-dietetico-alu0100648782.git"
15
+ spec.license = "MIT"
16
+
17
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
+ =begin # to allow pushing to a single host or delete this section to allow pushing to any host.
19
+ if spec.respond_to?(:metadata)
20
+ spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
21
+ else
22
+ raise "RubyGems 2.0 or newer is required to protect against " \
23
+ "public gem pushes."
24
+ =end end
25
+
26
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
27
+ f.match(%r{^(test|spec|features)/})
28
+ end
29
+ spec.bindir = "exe"
30
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
31
+ spec.require_paths = ["lib"]
32
+
33
+ spec.add_development_dependency "bundler", "~> 1.13"
34
+ spec.add_development_dependency "rake", "~> 10.0"
35
+ spec.add_development_dependency "rspec", "~> 3.0"
36
+ spec.add_development_dependency "guard"
37
+ spec.add_development_dependency "guard-rspec"
38
+ spec.add_development_dependency "guard-bundler"
39
+ end
@@ -0,0 +1,197 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>CODE_OF_CONDUCT - RDoc Documentation</title>
8
+
9
+ <script type="text/javascript">
10
+ var rdoc_rel_prefix = "./";
11
+ </script>
12
+
13
+ <script src="./js/jquery.js"></script>
14
+ <script src="./js/darkfish.js"></script>
15
+
16
+ <link href="./css/fonts.css" rel="stylesheet">
17
+ <link href="./css/rdoc.css" rel="stylesheet">
18
+
19
+
20
+
21
+ <body id="top" role="document" class="file">
22
+ <nav role="navigation">
23
+ <div id="project-navigation">
24
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
25
+ <h2>
26
+ <a href="./index.html" rel="home">Home</a>
27
+ </h2>
28
+
29
+ <div id="table-of-contents-navigation">
30
+ <a href="./table_of_contents.html#pages">Pages</a>
31
+ <a href="./table_of_contents.html#classes">Classes</a>
32
+ <a href="./table_of_contents.html#methods">Methods</a>
33
+ </div>
34
+ </div>
35
+
36
+ <div id="search-section" role="search" class="project-section initially-hidden">
37
+ <form action="#" method="get" accept-charset="utf-8">
38
+ <div id="search-field-wrapper">
39
+ <input id="search-field" role="combobox" aria-label="Search"
40
+ aria-autocomplete="list" aria-controls="search-results"
41
+ type="text" name="search" placeholder="Search" spellcheck="false"
42
+ title="Type to search, Up and Down to navigate, Enter to load">
43
+ </div>
44
+
45
+ <ul id="search-results" aria-label="Search Results"
46
+ aria-busy="false" aria-expanded="false"
47
+ aria-atomic="false" class="initially-hidden"></ul>
48
+ </form>
49
+ </div>
50
+
51
+ </div>
52
+
53
+
54
+ <div class="nav-section">
55
+ <h3>Table of Contents</h3>
56
+
57
+ <ul class="link-list" role="directory">
58
+ <li><a href="#label-Contributor+Covenant+Code+of+Conduct">Contributor Covenant Code of Conduct</a>
59
+ <li><a href="#label-Our+Pledge">Our Pledge</a>
60
+ <li><a href="#label-Our+Standards">Our Standards</a>
61
+ <li><a href="#label-Our+Responsibilities">Our Responsibilities</a>
62
+ <li><a href="#label-Scope">Scope</a>
63
+ <li><a href="#label-Enforcement">Enforcement</a>
64
+ <li><a href="#label-Attribution">Attribution</a>
65
+ </ul>
66
+ </div>
67
+
68
+
69
+ <div id="project-metadata">
70
+ <div id="fileindex-section" class="nav-section">
71
+ <h3>Pages</h3>
72
+
73
+ <ul class="link-list">
74
+
75
+ <li><a href="./CODE_OF_CONDUCT_md.html">CODE_OF_CONDUCT</a>
76
+
77
+ <li><a href="./Gemfile.html">Gemfile</a>
78
+
79
+ <li><a href="./Gemfile_lock.html">Gemfile.lock</a>
80
+
81
+ <li><a href="./Guardfile.html">Guardfile</a>
82
+
83
+ <li><a href="./LICENSE_txt.html">LICENSE</a>
84
+
85
+ <li><a href="./README_md.html">README</a>
86
+
87
+ <li><a href="./Rakefile.html">Rakefile</a>
88
+
89
+ <li><a href="./bat.html">bat</a>
90
+
91
+ <li><a href="./bin/setup.html">setup</a>
92
+
93
+ <li><a href="./dieta_gemspec.html">dieta.gemspec</a>
94
+
95
+ </ul>
96
+ </div>
97
+
98
+ </div>
99
+ </nav>
100
+
101
+ <main role="main" aria-label="Page CODE_OF_CONDUCT.md">
102
+
103
+ <h1 id="label-Contributor+Covenant+Code+of+Conduct">Contributor Covenant Code of Conduct<span><a href="#label-Contributor+Covenant+Code+of+Conduct">&para;</a> <a href="#top">&uarr;</a></span></h1>
104
+
105
+ <h2 id="label-Our+Pledge">Our Pledge<span><a href="#label-Our+Pledge">&para;</a> <a href="#top">&uarr;</a></span></h2>
106
+
107
+ <p>In the interest of fostering an open and welcoming environment, we as
108
+ contributors and maintainers pledge to making participation in our project
109
+ and our community a harassment-free experience for everyone, regardless of
110
+ age, body size, disability, ethnicity, gender identity and expression,
111
+ level of experience, nationality, personal appearance, race, religion, or
112
+ sexual identity and orientation.</p>
113
+
114
+ <h2 id="label-Our+Standards">Our Standards<span><a href="#label-Our+Standards">&para;</a> <a href="#top">&uarr;</a></span></h2>
115
+
116
+ <p>Examples of behavior that contributes to creating a positive environment
117
+ include:</p>
118
+ <ul><li>
119
+ <p>Using welcoming and inclusive language</p>
120
+ </li><li>
121
+ <p>Being respectful of differing viewpoints and experiences</p>
122
+ </li><li>
123
+ <p>Gracefully accepting constructive criticism</p>
124
+ </li><li>
125
+ <p>Focusing on what is best for the community</p>
126
+ </li><li>
127
+ <p>Showing empathy towards other community members</p>
128
+ </li></ul>
129
+
130
+ <p>Examples of unacceptable behavior by participants include:</p>
131
+ <ul><li>
132
+ <p>The use of sexualized language or imagery and unwelcome sexual attention or
133
+ advances</p>
134
+ </li><li>
135
+ <p>Trolling, insulting/derogatory comments, and personal or political attacks</p>
136
+ </li><li>
137
+ <p>Public or private harassment</p>
138
+ </li><li>
139
+ <p>Publishing others&#39; private information, such as a physical or
140
+ electronic address, without explicit permission</p>
141
+ </li><li>
142
+ <p>Other conduct which could reasonably be considered inappropriate in a
143
+ professional setting</p>
144
+ </li></ul>
145
+
146
+ <h2 id="label-Our+Responsibilities">Our Responsibilities<span><a href="#label-Our+Responsibilities">&para;</a> <a href="#top">&uarr;</a></span></h2>
147
+
148
+ <p>Project maintainers are responsible for clarifying the standards of
149
+ acceptable behavior and are expected to take appropriate and fair
150
+ corrective action in response to any instances of unacceptable behavior.</p>
151
+
152
+ <p>Project maintainers have the right and responsibility to remove, edit, or
153
+ reject comments, commits, code, wiki edits, issues, and other contributions
154
+ that are not aligned to this Code of Conduct, or to ban temporarily or
155
+ permanently any contributor for other behaviors that they deem
156
+ inappropriate, threatening, offensive, or harmful.</p>
157
+
158
+ <h2 id="label-Scope">Scope<span><a href="#label-Scope">&para;</a> <a href="#top">&uarr;</a></span></h2>
159
+
160
+ <p>This Code of Conduct applies both within project spaces and in public
161
+ spaces when an individual is representing the project or its community.
162
+ Examples of representing a project or community include using an official
163
+ project e-mail address, posting via an official social media account, or
164
+ acting as an appointed representative at an online or offline event.
165
+ Representation of a project may be further defined and clarified by project
166
+ maintainers.</p>
167
+
168
+ <h2 id="label-Enforcement">Enforcement<span><a href="#label-Enforcement">&para;</a> <a href="#top">&uarr;</a></span></h2>
169
+
170
+ <p>Instances of abusive, harassing, or otherwise unacceptable behavior may be
171
+ reported by contacting the project team at alu0100648782@ull.edu.es. All
172
+ complaints will be reviewed and investigated and will result in a response
173
+ that is deemed necessary and appropriate to the circumstances. The project
174
+ team is obligated to maintain confidentiality with regard to the reporter
175
+ of an incident. Further details of specific enforcement policies may be
176
+ posted separately.</p>
177
+
178
+ <p>Project maintainers who do not follow or enforce the Code of Conduct in
179
+ good faith may face temporary or permanent repercussions as determined by
180
+ other members of the project&#39;s leadership.</p>
181
+
182
+ <h2 id="label-Attribution">Attribution<span><a href="#label-Attribution">&para;</a> <a href="#top">&uarr;</a></span></h2>
183
+
184
+ <p>This Code of Conduct is adapted from the <a
185
+ href="http://contributor-covenant.org">Contributor Covenant</a>, version
186
+ 1.4, available at <a
187
+ href="http://contributor-covenant.org/version/1/4/">contributor-covenant.org/version/1/4</a></p>
188
+ </main>
189
+
190
+
191
+
192
+ <footer id="validator-badges" role="contentinfo">
193
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
194
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.1.
195
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
196
+ </footer>
197
+