menus 0.1.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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 10442691ad8c83274b737047f3ed6940a8a81cb1
4
+ data.tar.gz: d229481107bc4a7f0ae153cf5eb7cb96326ae24f
5
+ SHA512:
6
+ metadata.gz: 0dd8fb0db14edd687e97acbb5f005a17bb5f1092c2d3aa4b4f47ce6cf3b9d1d6575c20dc0483d88520ceb0509c3c80f6f861d5777c1b88c7057ae4e2c3706f74
7
+ data.tar.gz: 038a0c6ac3dc57e5f3431bdc69fe10b70823a0d91d504c61a5b786883eec0a3a5d27f86768063330adcf01db7804815961aadf47713ce94730b99d74e3b46f04
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 alu0100851236@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,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in menus.gemspec
4
+ gemspec
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 David Dorta Acosta
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,41 @@
1
+ # Menus
2
+
3
+ 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/menus`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'menus'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install menus
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ 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.
30
+
31
+ 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).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/menus. 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.
36
+
37
+
38
+ ## License
39
+
40
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
41
+
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/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "menus"
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/lib/menus.rb ADDED
@@ -0,0 +1,9 @@
1
+ require "menus/version"
2
+ require "menus/menu.rb"
3
+ require "menus/node.rb"
4
+ require "menus/lista.rb"
5
+ require "menus/dieta.rb"
6
+
7
+ module Menus
8
+
9
+ end
@@ -0,0 +1,68 @@
1
+ #Clase que representa un menu
2
+ class Dieta
3
+
4
+ attr_accessor :platos, :titulo_porcentaje, :porcentaje, :title, :label
5
+
6
+ include Comparable
7
+
8
+ def <=>(other)
9
+ @vct <=> other.vct
10
+ end
11
+
12
+ #Constructor de la clase
13
+ def initialize(label, &block)
14
+ self.label = label
15
+ self.title = ""
16
+ self.titulo_porcentaje = []
17
+ self.platos = []
18
+ self.porcentaje = []
19
+
20
+ if block_given?
21
+ if block.arity == 1
22
+ yield self
23
+ else
24
+ instance_eval(&block)
25
+ end
26
+ end
27
+
28
+ end
29
+
30
+ def titulo(text)
31
+ title << text
32
+ end
33
+ #Obtener porcentaje
34
+ def titulo_porcentajes(options = {})
35
+ titulo_porcentaje << "#{options[:min]}" if options[:min]
36
+ titulo_porcentaje << "#{options[:max]}" if options[:max]
37
+ end
38
+
39
+ #Obtener un plato
40
+
41
+ def plato(options = {})
42
+ plat = []
43
+ plat << "#{options[:descripcion]}" if options[:descripcion]
44
+ plat << "#{options[:porcion]}" if options[:porcion]
45
+ plat << "#{options[:gramos]}" if options[:gramos]
46
+ platos << plat
47
+ end
48
+
49
+ def porcentajes(options = {})
50
+ porcentaje << "#{options[:vct]}" if options[:vct]
51
+ porcentaje << "#{options[:proteinas]}" if options[:proteinas]
52
+ porcentaje << "#{options[:hidratos]}" if options[:hidratos]
53
+ porcentaje << "#{options[:grasas]}" if options[:grasas]
54
+ end
55
+
56
+ def to_s
57
+ formato = "#{title} "
58
+ output = formato
59
+ output << "(" + titulo_porcentaje.map { |k| "#{k}%" }.join(" - ") + ")\n"
60
+ platos.each do |plato|
61
+ output << "- #{plato[0]}, #{plato[1]}, #{plato[2]}gr\n"
62
+ end
63
+ output << "V.C.T. | %\t #{porcentaje[0]} kcal | #{porcentaje[1]}% - #{porcentaje[2]}% - #{porcentaje[3]}%"
64
+ return output
65
+ end
66
+
67
+
68
+ end
@@ -0,0 +1,55 @@
1
+ #Clase que representa una lista enlazada
2
+ class Lista
3
+
4
+ attr_reader :beginning, :end
5
+
6
+ include Enumerable
7
+
8
+ def each()
9
+ actual = @beginning
10
+ while actual != nil
11
+ yield actual.value
12
+ actual = actual.p_next
13
+ end
14
+ end
15
+
16
+ #Constructor de la clase lista
17
+ def initialize()
18
+ @beginning = nil;
19
+ @end = nil;
20
+ end
21
+
22
+ #Insertar al inicio
23
+ def push_front(value);
24
+ aux = Node.new(value, @beginning, @nil);
25
+ @end = @beginning;
26
+ @beginning = aux;
27
+ end
28
+
29
+
30
+ #Insertar al inicio un set de elementos
31
+ def push_set(set)
32
+ set.each do |i|
33
+ push_front(i)
34
+ end
35
+ end
36
+
37
+ #Extraer al inicio
38
+ def pop_front()
39
+ aux = @beginning;
40
+ @beginning = @beginning.p_next;
41
+ @beginning.p_prev = nil
42
+ return aux.value;
43
+ end
44
+
45
+ def to_s()
46
+ aux = @beginning;
47
+ str = "";
48
+ while (aux != nil)
49
+ str << "#{aux.value}\n\n"
50
+ aux = aux.p_next;
51
+ end
52
+ return str;
53
+ end
54
+
55
+ end
data/lib/menus/menu.rb ADDED
@@ -0,0 +1,109 @@
1
+ #Clase que representa un menu
2
+ class Menu
3
+
4
+ attr_accessor :titulo, :titulo_porcentaje, :platos, :porcion, :gramos, :vct, :proteinas_porcetanje, :grasas_porcetanje, :hidratos_porcentaje
5
+
6
+ include Comparable
7
+
8
+ def <=>(other)
9
+ @vct <=> other.vct
10
+ end
11
+
12
+ #Constructor de la clase
13
+ def initialize(titulo, titulo_porcentaje, platos, porcion, gramos, vct, proteinas_porcetanje, grasas_porcetanje, hidratos_porcentaje)
14
+ @titulo = titulo
15
+ @titulo_porcentaje = titulo_porcentaje
16
+ @platos = platos
17
+ @porcion = porcion
18
+ @gramos = gramos
19
+ @vct = vct
20
+ @proteinas_porcetanje = proteinas_porcetanje
21
+ @grasas_porcetanje = grasas_porcetanje
22
+ @hidratos_porcentaje = hidratos_porcentaje
23
+ end
24
+
25
+ #Obtener descripcion
26
+ def get_descripcion
27
+ @descripcion
28
+ end
29
+
30
+ #Obtener titulo
31
+ def get_titulo
32
+ @titulo
33
+ end
34
+
35
+ #Obtener porcentaje
36
+ def get_titulo_porcentaje
37
+ @titulo_porcentaje
38
+ end
39
+
40
+ #Obtener un plato
41
+ def get_plato(i)
42
+ @platos[i]
43
+ end
44
+
45
+
46
+ #Obtener la lista de platos
47
+ def get_platos()
48
+ @platos
49
+ end
50
+
51
+ #Obtener el valor calorico total
52
+ def get_vct()
53
+ @vct
54
+ end
55
+
56
+ def get_proteinas_porcetanje()
57
+ @proteinas_porcetanje
58
+ end
59
+
60
+ def get_grasas_porcentaje()
61
+ @grasas_porcetanje
62
+ end
63
+
64
+ def get_hidratos_porcentaje()
65
+ @hidratos_porcentaje
66
+ end
67
+
68
+ def to_s
69
+ buffer = "#{@titulo} #{@titulo_porcentaje}\n"
70
+ i = 0;
71
+ while i < @platos.size()
72
+ buffer << "#{platos[i]}, #{porcion[i]}, #{gramos[i]} g\n"
73
+ i = i + 1
74
+ end
75
+ buffer << "V.C.T. | % #{@vct} kcal | #{@proteinas_porcetanje}% - #{@hidratos_porcentaje}% - #{@grasas_porcetanje}%"
76
+ return buffer
77
+ end
78
+
79
+ end
80
+
81
+
82
+ #Clase que representa un menu por edad
83
+ class Menu_edad < Menu
84
+
85
+ def initialize(titulo, titulo_porcentaje, platos, porcion, gramos, vct, proteinas_porcetanje, grasas_porcetanje, hidratos_porcentaje, edad)
86
+ super(titulo, titulo_porcentaje, platos, porcion, gramos, vct, proteinas_porcetanje, grasas_porcetanje, hidratos_porcentaje)
87
+ @edad = edad
88
+ end
89
+
90
+ def to_s
91
+ str = "#{@edad}\n"
92
+ str << super.to_s
93
+ end
94
+
95
+ end
96
+
97
+ #Clase que representa un menu por grupos de alimentos
98
+ class Menu_grupos < Menu
99
+
100
+ def initialize(titulo, titulo_porcentaje, platos, porcion, gramos, vct, proteinas_porcetanje, grasas_porcetanje, hidratos_porcentaje, grupo)
101
+ super(titulo, titulo_porcentaje, platos, porcion, gramos, vct, proteinas_porcetanje, grasas_porcetanje, hidratos_porcentaje)
102
+ @grupo = grupo
103
+ end
104
+
105
+ def to_s
106
+ str = "#{@grupo}\n"
107
+ str << super.to_s
108
+ end
109
+ end
data/lib/menus/node.rb ADDED
@@ -0,0 +1,17 @@
1
+ #Clase que representa un nodo
2
+ class Node
3
+
4
+ attr_accessor :value, :p_next, :p_prev
5
+
6
+ #Constructor de la clase
7
+ def initialize(value, p_next, p_prev)
8
+ @value = value
9
+ @p_next = p_next
10
+ @p_prev = p_prev
11
+ end
12
+
13
+ def to_s()
14
+ "#{@value}"
15
+ end
16
+
17
+ end
@@ -0,0 +1,3 @@
1
+ module Menus
2
+ VERSION = "0.1.0"
3
+ end
data/menus.gemspec ADDED
@@ -0,0 +1,41 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'menus/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "menus"
8
+ spec.version = Menus::VERSION
9
+ spec.authors = ["Alexis Rodríguez Casañas y David Dorta Acosta"]
10
+ spec.email = ["alu0100711837, alu0100851236@ull.edu.es"]
11
+
12
+ spec.summary = %q{Practica 06 Desarrollo Dirigido por Pruebas (TDD).}
13
+ spec.description = %q{Desarrollar una clase Ruby para representar menús de una Dieta.}
14
+ spec.homepage = "https://github.com/alu0100851236/prct06.git"
15
+ spec.license = "MIT"
16
+
17
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
19
+ =begin
20
+ if spec.respond_to?(:metadata)
21
+ spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
22
+ else
23
+ raise "RubyGems 2.0 or newer is required to protect against " \
24
+ "public gem pushes."
25
+ end
26
+ =end
27
+
28
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
29
+ f.match(%r{^(test|spec|features)/})
30
+ end
31
+ spec.bindir = "exe"
32
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
33
+ spec.require_paths = ["lib"]
34
+
35
+ spec.add_development_dependency "bundler", "~> 1.13"
36
+ spec.add_development_dependency "rake", "~> 10.0"
37
+ spec.add_development_dependency "rspec", "~> 3.0"
38
+ spec.add_development_dependency "guard"
39
+ spec.add_development_dependency "guard-rspec"
40
+ spec.add_development_dependency "guard-bundler"
41
+ end
metadata ADDED
@@ -0,0 +1,146 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: menus
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Alexis Rodríguez Casañas y David Dorta Acosta
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-12-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
+ - !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
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: guard
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: guard-rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: guard-bundler
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ description: Desarrollar una clase Ruby para representar menús de una Dieta.
98
+ email:
99
+ - alu0100711837, alu0100851236@ull.edu.es
100
+ executables: []
101
+ extensions: []
102
+ extra_rdoc_files: []
103
+ files:
104
+ - ".gitignore"
105
+ - ".rspec"
106
+ - ".travis.yml"
107
+ - CODE_OF_CONDUCT.md
108
+ - Gemfile
109
+ - Guardfile
110
+ - LICENSE.txt
111
+ - README.md
112
+ - Rakefile
113
+ - bin/console
114
+ - bin/setup
115
+ - lib/menus.rb
116
+ - lib/menus/dieta.rb
117
+ - lib/menus/lista.rb
118
+ - lib/menus/menu.rb
119
+ - lib/menus/node.rb
120
+ - lib/menus/version.rb
121
+ - menus.gemspec
122
+ homepage: https://github.com/alu0100851236/prct06.git
123
+ licenses:
124
+ - MIT
125
+ metadata: {}
126
+ post_install_message:
127
+ rdoc_options: []
128
+ require_paths:
129
+ - lib
130
+ required_ruby_version: !ruby/object:Gem::Requirement
131
+ requirements:
132
+ - - ">="
133
+ - !ruby/object:Gem::Version
134
+ version: '0'
135
+ required_rubygems_version: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - ">="
138
+ - !ruby/object:Gem::Version
139
+ version: '0'
140
+ requirements: []
141
+ rubyforge_project:
142
+ rubygems_version: 2.5.1
143
+ signing_key:
144
+ specification_version: 4
145
+ summary: Practica 06 Desarrollo Dirigido por Pruebas (TDD).
146
+ test_files: []