MenuDieta.alu4606 0.1.2

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: 5aa12bbb69b0763fd2ff255a6bed5a4bf1bb6dd4
4
+ data.tar.gz: 44af85bdee720ff356b9c05089a4a17389f41edb
5
+ SHA512:
6
+ metadata.gz: a6f52c4641fc060be4a4f6b50608b9dfe20d7db50f33615241313e455a38f42db8aa8991f0a842ce6fb49f3717cbfb04048b9f29f0a99573f6f7640919efa222
7
+ data.tar.gz: eb6656d16b2cc3bb92407af97425e0aa2b1563485015677dfe9ea4a5b0d44bdf80ef70e37a0085fdca63d7395d624067d7c609ab2d02cc2c753e06535b3423ae
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/.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 alu0100812794@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 MenuDieta.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 Darwin Gonzalez Suarez
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/MenuDieta.gemspec ADDED
@@ -0,0 +1,40 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'MenuDieta/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "MenuDieta.alu4606"
8
+ spec.version = MenuDieta::VERSION
9
+ spec.authors = ["Darwin Gonzalez Suarez"],["Alejandro Arzola García"]
10
+ spec.email = ["alu0100812794@ull.edu.es"],["alu0100814712@ull.edu.es"]
11
+
12
+ spec.summary = %q{Practica 6: Lenguajes y Paradigmas de Programacion.}
13
+ spec.description = %q{Clase que representa el menu de una dieta.}
14
+ spec.homepage = "https://github.com/ULL-ESIT-LPP-1617/tdd-menu-lpp-15.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
+ if spec.respond_to?(:metadata)
20
+ spec.metadata['allowed_push_host'] = "https://rubygems.org"
21
+ end
22
+ #else
23
+ #raise "RubyGems 2.0 or newer is required to protect against " \
24
+ #"public gem pushes."
25
+ #end
26
+
27
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
28
+ f.match(%r{^(test|spec|features)/})
29
+ end
30
+ spec.bindir = "exe"
31
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
32
+ spec.require_paths = ["lib"]
33
+
34
+ spec.add_development_dependency "bundler", "~> 1.13"
35
+ spec.add_development_dependency "rake", "~> 10.0"
36
+ spec.add_development_dependency "rspec", "~> 3.0"
37
+ spec.add_development_dependency "guard"
38
+ spec.add_development_dependency "guard-rspec"
39
+ spec.add_development_dependency "guard-bundler"
40
+ end
data/README.md ADDED
@@ -0,0 +1,41 @@
1
+ # MenuDieta
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/MenuDieta`. 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 'MenuDieta'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install MenuDieta
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]/MenuDieta. 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 "MenuDieta"
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/MenuDieta.rb ADDED
@@ -0,0 +1,11 @@
1
+ require "MenuDieta/version"
2
+ require "MenuDieta/dieta.rb"
3
+ require "MenuDieta/lista.rb"
4
+ require "MenuDieta/grupoAlimento.rb"
5
+ require "MenuDieta/grupoEdad.rb"
6
+ require "MenuDieta/dietaDSL.rb"
7
+
8
+
9
+ module MenuDieta
10
+ # Your code goes here...
11
+ end
@@ -0,0 +1,41 @@
1
+ class Dieta
2
+ include Comparable
3
+ attr_accessor :titulo, :porcentaje, :platos, :porcion, :gramos, :kcal, :pgh
4
+
5
+ def initialize(titulo, porcentaje, platos, porcion, gramos, kcal, pgh)
6
+ @titulo = titulo
7
+ @porcentaje = porcentaje
8
+ @platos = platos
9
+ @porcion = porcion
10
+ @gramos = gramos
11
+ @kcal = kcal
12
+ @pgh = pgh
13
+ end
14
+
15
+ def to_s
16
+ aux = "#{titulo} (#{porcentaje})\n"
17
+ i = 0
18
+ while i < @platos.size
19
+ aux = aux + "- #{@platos[i]}, #{@porcion[i]}, #{@gramos[i]} g\n"
20
+ i = i + 1
21
+ end
22
+ aux = aux + "V.C.T. | % #{kcal} Kcal |"
23
+ i = 0
24
+ while i < @pgh.size
25
+ aux = aux + " #{@pgh[i]}%"
26
+ if(i < @pgh.size-1)
27
+ aux = aux + " -"
28
+ end
29
+ i = i + 1
30
+ end
31
+ return aux
32
+ end
33
+
34
+ def <=> (anOther)
35
+ self.kcal <=> anOther.kcal
36
+ end
37
+
38
+ def == (anOther)
39
+ return (kcal==anOther.kcal) && (pgh == anOther.pgh)
40
+ end
41
+ end
@@ -0,0 +1,50 @@
1
+ class DietaDSL < Dieta
2
+ attr_accessor :titulos, :ingestas, :platos, :porcentaje
3
+
4
+ def initialize(title, &block)
5
+ self.titulos = []
6
+ self.ingestas = []
7
+ self.platos = []
8
+ self.porcentaje = []
9
+
10
+ if block_given?
11
+ if block.arity == 1
12
+ yield self
13
+ else
14
+ instance_eval(&block)
15
+ end
16
+ end
17
+ end
18
+
19
+ def titulo(name)
20
+ titulos << name
21
+ end
22
+
23
+ def ingesta(options = {})
24
+ ingestas << "#{options[:min]}" if options[:min]
25
+ ingestas << "#{options[:max]}" if options[:max]
26
+ end
27
+
28
+ def plato(options = {})
29
+ platos << "#{options[:descripcion]}" if options[:descripcion]
30
+ platos << "#{options[:porcion]}" if options[:porcion]
31
+ platos << "#{options[:gramos]}" if options[:gramos]
32
+ end
33
+
34
+ def porcentajes(options = {})
35
+ porcentaje << "#{options[:vct]}" if options[:vct]
36
+ porcentaje << "#{options[:proteinas]}" if options[:proteinas]
37
+ porcentaje << "#{options[:grasas]}" if options[:grasas]
38
+ porcentaje << "#{options[:hidratos]}" if options[:hidratos]
39
+ end
40
+
41
+ def to_s
42
+ output = titulos
43
+ output << "(#{ingestas[0]}% - #{ingestas[1]}%)"
44
+ platos.each_with_index do |plato|
45
+ output << "#{plato}"
46
+ end
47
+ output << "V.C.T. | % #{porcentaje[0]} Kcal | #{porcentaje[1]}% - #{porcentaje[2]}% - #{porcentaje[3]}%"
48
+ output
49
+ end
50
+ end
@@ -0,0 +1,14 @@
1
+ class GrupoAlimento < Dieta
2
+ attr_reader :grupo
3
+ def initialize(titulo,porcentaje,platos,porcion,gramos,kcal,pgh,grupo)
4
+ super(titulo,porcentaje,platos,porcion,gramos,kcal,pgh)
5
+ @grupo = grupo
6
+ end
7
+
8
+ def to_s
9
+ s = "Grupo Alimento: "
10
+ s << "#{self.grupo}\n"
11
+ s << super.to_s
12
+ s
13
+ end
14
+ end
@@ -0,0 +1,14 @@
1
+ class GrupoEdad < Dieta
2
+ attr_reader :grupo
3
+ def initialize(titulo,porcentaje,platos,porcion,gramos,kcal,pgh,grupo)
4
+ super(titulo,porcentaje,platos,porcion,gramos,kcal,pgh)
5
+ @grupo = grupo
6
+ end
7
+
8
+ def to_s
9
+ s = "Grupo Edad: "
10
+ s << "#{self.grupo}\n"
11
+ s << super.to_s
12
+ s
13
+ end
14
+ end
@@ -0,0 +1,103 @@
1
+ Node = Struct.new(:value, :next, :prev)
2
+
3
+ class Node
4
+ undef value=
5
+ end
6
+
7
+ class Lista
8
+ attr_accessor :head, :size, :tail
9
+ include Enumerable
10
+ def initialize()
11
+ @head = nil
12
+ @size = 0
13
+ @tail = nil
14
+ end
15
+ def push(nodo)
16
+ if(empty)
17
+ self.head = nodo
18
+ self.size += 1
19
+ self.tail = nodo
20
+ else
21
+ nodo.next= head
22
+ self.head = nodo
23
+ self.size += 1
24
+ end
25
+ end
26
+ def empty
27
+ if(size == 0)
28
+ return true
29
+ else
30
+ return false
31
+ end
32
+ end
33
+ def to_s
34
+ aux = "| #{head.value} "
35
+ i = 1
36
+ siguiente = head.next
37
+ while i < size
38
+ aux += "| #{siguiente.value} "
39
+ siguiente = siguiente.next
40
+ i += 1
41
+ end
42
+ aux += "|"
43
+ return aux
44
+ end
45
+ def pop
46
+ aux = self.head
47
+ self.head = self.head.next
48
+ aux.next = nil
49
+ self.size = self.size - 1
50
+ end
51
+ def insertBeginning(nodo)
52
+ if(empty)
53
+ self.head = nodo
54
+ self.tail = nodo
55
+ self.size += 1
56
+ else
57
+ self.head.prev = nodo
58
+ nodo.next = self.head
59
+ self.head = nodo
60
+ self.size += 1
61
+ end
62
+ end
63
+ def insertEnd(nodo)
64
+ if(empty)
65
+ self.head = nodo
66
+ self.tail = nodo
67
+ self.size += 1
68
+ else
69
+ self.tail.next = nodo
70
+ nodo.prev = self.tail
71
+ self.tail = nodo
72
+ self.size += 1
73
+ end
74
+ end
75
+ def extractBeginning
76
+ aux = self.head.next
77
+ aux.prev = nil
78
+ self.head.next = nil
79
+ self.head = aux
80
+ aux = nil
81
+ self.size -= 1
82
+ end
83
+ def extractEnd
84
+ aux = self.tail.prev
85
+ self.tail.prev = nil
86
+ aux.next = nil
87
+ self.tail = aux
88
+ aux = nil
89
+ self.size -= 1
90
+ end
91
+ def each
92
+ if(@head == nil) && (@tail == nil)
93
+ yield nil
94
+ elsif(@head == @tail)
95
+ yield @head.value
96
+ else
97
+ while(@head != nil)
98
+ yield @head.value
99
+ @head = @head.next
100
+ end
101
+ end
102
+ end
103
+ end
@@ -0,0 +1,3 @@
1
+ module MenuDieta
2
+ VERSION = "0.1.2"
3
+ end
metadata ADDED
@@ -0,0 +1,149 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: MenuDieta.alu4606
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.2
5
+ platform: ruby
6
+ authors:
7
+ - Darwin Gonzalez Suarez
8
+ - Alejandro Arzola García
9
+ autorequire:
10
+ bindir: exe
11
+ cert_chain: []
12
+ date: 2016-12-14 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: bundler
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: '1.13'
21
+ type: :development
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: '1.13'
28
+ - !ruby/object:Gem::Dependency
29
+ name: rake
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: '10.0'
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: '10.0'
42
+ - !ruby/object:Gem::Dependency
43
+ name: rspec
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '3.0'
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: '3.0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: guard
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ - !ruby/object:Gem::Dependency
71
+ name: guard-rspec
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ version: '0'
84
+ - !ruby/object:Gem::Dependency
85
+ name: guard-bundler
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - ">="
89
+ - !ruby/object:Gem::Version
90
+ version: '0'
91
+ type: :development
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - ">="
96
+ - !ruby/object:Gem::Version
97
+ version: '0'
98
+ description: Clase que representa el menu de una dieta.
99
+ email:
100
+ - - alu0100812794@ull.edu.es
101
+ - - alu0100814712@ull.edu.es
102
+ executables: []
103
+ extensions: []
104
+ extra_rdoc_files: []
105
+ files:
106
+ - ".gitignore"
107
+ - ".travis.yml"
108
+ - CODE_OF_CONDUCT.md
109
+ - Gemfile
110
+ - Guardfile
111
+ - LICENSE.txt
112
+ - MenuDieta.gemspec
113
+ - README.md
114
+ - Rakefile
115
+ - bin/console
116
+ - bin/setup
117
+ - lib/MenuDieta.rb
118
+ - lib/MenuDieta/dieta.rb
119
+ - lib/MenuDieta/dietaDSL.rb
120
+ - lib/MenuDieta/grupoAlimento.rb
121
+ - lib/MenuDieta/grupoEdad.rb
122
+ - lib/MenuDieta/lista.rb
123
+ - lib/MenuDieta/version.rb
124
+ homepage: https://github.com/ULL-ESIT-LPP-1617/tdd-menu-lpp-15.git
125
+ licenses:
126
+ - MIT
127
+ metadata:
128
+ allowed_push_host: https://rubygems.org
129
+ post_install_message:
130
+ rdoc_options: []
131
+ require_paths:
132
+ - lib
133
+ required_ruby_version: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - ">="
136
+ - !ruby/object:Gem::Version
137
+ version: '0'
138
+ required_rubygems_version: !ruby/object:Gem::Requirement
139
+ requirements:
140
+ - - ">="
141
+ - !ruby/object:Gem::Version
142
+ version: '0'
143
+ requirements: []
144
+ rubyforge_project:
145
+ rubygems_version: 2.5.1
146
+ signing_key:
147
+ specification_version: 4
148
+ summary: 'Practica 6: Lenguajes y Paradigmas de Programacion.'
149
+ test_files: []