linkedList_Rudolf 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 7b5ca6999f1093d161f1ae773293d444f861ac4a
4
+ data.tar.gz: f7ae5cf933b3b2dd7b2656684622664d5552ab97
5
+ SHA512:
6
+ metadata.gz: 1dae06903dbd5f25a0684ba0c7a75709f56a8404274082c1d10f1240fdbd1b36f3c8a5d051fd335bf6ff4c73793432a9b03ab02b0a9e130bb644eb389ceebbc5
7
+ data.tar.gz: bbde4ee945771985de5360331dda301c09dfc72040d6313f88ca1ea6c57b00773d521f25b87c4df4fcd8e57794f62c0269d4f134d75075eabe10051c4fea10b8
data/.coveralls.yml ADDED
@@ -0,0 +1 @@
1
+ service_name: travis-ci
data/.gitignore ADDED
@@ -0,0 +1,10 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ *~
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.travis.yml ADDED
@@ -0,0 +1,8 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.1.5
4
+ - 2.2.0
5
+ - 1.9.3
6
+ - jruby-19mode # JRuby in 1.9 mode
7
+ - rbx-19mode
8
+
@@ -0,0 +1,13 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
4
+
5
+ We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.
6
+
7
+ Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
8
+
9
+ Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
10
+
11
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
12
+
13
+ This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
data/Gemfile ADDED
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'coveralls', require: false
4
+ # Specify your gem's dependencies in linkedList.gemspec
5
+ 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.("routing/#{m[1]}_routing"),
63
+ rspec.spec.("controllers/#{m[1]}_controller"),
64
+ rspec.spec.("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.("features/#{m[1]}") }
75
+ watch(rails.layouts) { |m| rspec.spec.("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) 2015 Rudolf Cicko
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,46 @@
1
+ # Metaprogramming
2
+
3
+ [![Build Status](https://travis-ci.org/alu0100824780/pract11.svg?branch=master)] (https://travis-ci.org/alu0100824780/pract11)
4
+
5
+ [![Coverage Status](https://coveralls.io/repos/alu0100824780/pract11/badge.svg?branch=master&service=github)](https://coveralls.io/github/alu0100824780/pract10?branch=master)
6
+
7
+ 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/linkedList`. To experiment with that code, run `bin/console` for an interactive prompt.
8
+
9
+ TODO: Delete this and the text above, and describe your gem
10
+
11
+ ## Installation
12
+
13
+ Add this line to your application's Gemfile:
14
+
15
+ ```ruby
16
+ gem 'linkedList'
17
+ ```
18
+
19
+ And then execute:
20
+
21
+ $ bundle
22
+
23
+ Or install it yourself as:
24
+
25
+ $ gem install linkedList
26
+
27
+
28
+ ## Usage
29
+
30
+ TODO: Write usage instructions here
31
+
32
+ ## Development
33
+
34
+ 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.
35
+
36
+ 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).
37
+
38
+ ## Contributing
39
+
40
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/linkedList. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
41
+
42
+
43
+ ## License
44
+
45
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
46
+
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 "linkedList"
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,7 @@
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+
5
+ bundle install
6
+
7
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,13 @@
1
+ require "linkedList/version"
2
+ require "linkedList/node"
3
+ require "linkedList/Book"
4
+ require "linkedList/Bibliografia"
5
+ require "linkedList/linkedList"
6
+ require "linkedList/revista"
7
+ require "linkedList/ebook"
8
+
9
+
10
+
11
+ module LinkedList
12
+
13
+ end
data/lib/linkedList.rb ADDED
@@ -0,0 +1,14 @@
1
+ require "linkedList/version"
2
+ require "linkedList/node"
3
+ require "linkedList/Book"
4
+ require "linkedList/Bibliografia"
5
+ require "linkedList/linkedList"
6
+ require "linkedList/revista"
7
+ require "linkedList/ebook"
8
+
9
+
10
+
11
+ module LinkedList
12
+
13
+ end
14
+
@@ -0,0 +1,126 @@
1
+ require 'date'
2
+
3
+ module Bibliografia
4
+ class Bibliografia
5
+
6
+ Author = Struct.new(:surnames,:initial)
7
+
8
+ include Comparable
9
+
10
+ def <=> (other)
11
+ print "vamos a comparar\n"
12
+ return nil unless !other.is_a? Bibliografia::Bibliografia
13
+ aux = @Author[0].surnames <=> other.Author[0].surnames
14
+ puts aux
15
+ if( aux == 0)
16
+ if @Author.size == other.Author.size
17
+ for i in 1..@Author.size-1 do
18
+ aux = @Author[i].surnames <=> other.Author[i].surnames
19
+ end
20
+ end
21
+ if aux == 0
22
+ aux = @Fecha_Publication <=> other.Fecha_Publication
23
+ end
24
+ end
25
+ aux
26
+ end
27
+
28
+ attr_reader :Author, :Title, :Serie, :Editorial, :Edicion
29
+ attr_reader :Fecha_Publication
30
+ def initialize (&block)
31
+ @Author = []
32
+ @Title = "Sin titulo"
33
+ @Serie = nil
34
+ @Editorial = "Editorial sin definir"
35
+ @Edicion = 0
36
+ @Fecha_Publication = Date.new(1990,1,1)
37
+
38
+ instance_eval &block
39
+
40
+ end
41
+
42
+ #El nombre se pasa normal es decir: Nombre Apellido1 Apellido2..
43
+ def add_author(name)
44
+ aux = name.split
45
+ autor = Author.new(aux[1..-1].join(" "),aux[0][0].capitalize)
46
+ @Author << autor
47
+ end
48
+
49
+ def set_title(name)
50
+ @Title = name
51
+ end
52
+
53
+ def set_serie(name)
54
+ @Serie = name
55
+ end
56
+
57
+ def set_editorial(name)
58
+ @Editorial = name
59
+ end
60
+
61
+ def set_edition(num)
62
+ @Edicion = num
63
+ end
64
+
65
+ def set_publication(d,m,a)
66
+ @Fecha_Publication = Date.new(a,m,d)
67
+ end
68
+
69
+ def get_APA_authors
70
+ a = ''
71
+ for i in 0..@Author.size-1
72
+ a += @Author[i].surnames + ", " + @Author[i].initial + ". "
73
+ if i < @Author.size-1
74
+ a += "& "
75
+ end
76
+ end
77
+ a
78
+ end
79
+
80
+
81
+ def get_APA_date
82
+ "(" + @Fecha_Publication.year.to_s + "). "
83
+ end
84
+
85
+ def get_APA_title
86
+ @Title + ". "
87
+ end
88
+
89
+ def get_APA_editorial
90
+ "Editorial " + @Editorial + ". "
91
+ end
92
+
93
+
94
+
95
+
96
+ def get_APA
97
+ a = get_APA_authors
98
+ a += get_APA_date
99
+ a += get_APA_title
100
+ a += get_APA_editorial
101
+ end
102
+
103
+
104
+ # PRáctica 11
105
+
106
+ def author(name)
107
+ aux = name.split
108
+ @Author << autor = Author.new(aux[1..-1].join(" "),aux[0][0].capitalize)
109
+ end
110
+
111
+ def title(tit)
112
+ set_title(tit)
113
+ end
114
+
115
+ def publication(fecha)
116
+ set_publication(fecha[0],fecha[1],fecha[2])
117
+ end
118
+
119
+ def editorial(edi)
120
+ @Editorial = edi
121
+ end
122
+
123
+
124
+
125
+ end
126
+ end
@@ -0,0 +1,35 @@
1
+ require 'linkedList/Bibliografia'
2
+
3
+ module Bibliografia
4
+ class Book < Bibliografia
5
+ attr_reader :ISBN
6
+
7
+ def initialize
8
+ super
9
+ end
10
+
11
+ def add_ISBN(num)
12
+ @ISBN = num
13
+ end
14
+
15
+ def get_ISBN
16
+ @ISBN + ". "
17
+ end
18
+
19
+ def isbn(is)
20
+ add_ISBN(is)
21
+ end
22
+
23
+ def apa
24
+ a = get_APA
25
+ a += get_ISBN
26
+ a
27
+ end
28
+
29
+ end
30
+ end
31
+
32
+
33
+
34
+
35
+
@@ -0,0 +1,19 @@
1
+
2
+ module Bibliografia
3
+ class Ebook < Bibliografia
4
+ attr_reader :ISSN, :URL
5
+
6
+ def initialize
7
+ super
8
+ @ISSN = []
9
+ @URL = []
10
+ end
11
+ def add_ISSN(num)
12
+ @ISSN << num
13
+ end
14
+
15
+ def add_URL(url)
16
+ @URL << url
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,104 @@
1
+
2
+ # Node (:value, :next, :back)
3
+
4
+ module LinkedList
5
+
6
+ class List
7
+
8
+ include Enumerable
9
+
10
+ def each
11
+ aux = @First
12
+ while aux != nil
13
+ yield aux.value
14
+ aux = aux.next
15
+ end
16
+ end
17
+
18
+ attr_accessor :First, :Last # First = Tail || Last = Head
19
+ attr_reader :Size
20
+ def initialize
21
+ @Last = @First = nil
22
+ @Size = 0
23
+ end
24
+
25
+ def push_back(v)
26
+ if(@Size == 0)
27
+ @Last = @First = Node.new(v,nil,nil)
28
+ else
29
+ @Last.next = Node.new(v,nil,@Last)
30
+ @Last = @Last.next
31
+ end
32
+ @Size = @Size + 1
33
+ end
34
+
35
+ def push_front(v)
36
+ if(@Size == 0)
37
+ @Last = @First = Node.new(v,nil,nil)
38
+ else
39
+ @First = Node.new(v,@First, nil)
40
+ end
41
+ @Size = @Size + 1
42
+ end
43
+
44
+ def pop_front
45
+ if(@Size == 1)
46
+ aux = @First
47
+ @First = @Last = nil
48
+ else
49
+ aux = @First
50
+ @First = @First.next
51
+ end
52
+ @Size = @Size - 1
53
+ aux
54
+ end
55
+
56
+
57
+ def pop_back
58
+ if(@Size == 1)
59
+ aux = @Last
60
+ @First = @Last = nil
61
+ else
62
+ aux = @Last
63
+ @Last = @Last.back
64
+ @Last.next = nil
65
+ end
66
+ @Size = @Size - 1
67
+ aux
68
+ end
69
+
70
+
71
+ def at(i)
72
+ aux = @First
73
+ j = 0
74
+ while(j < i) do
75
+ aux = aux.next
76
+ j = j + 1
77
+ end
78
+ aux
79
+ end
80
+
81
+ def [] (i)
82
+ at(i)
83
+ end
84
+
85
+
86
+ def empty
87
+ @Size == 0
88
+ end
89
+
90
+ def to_s
91
+ aux = []
92
+ aux = sort
93
+ # if (aux.each
94
+ aux2 = ''
95
+ for i in 0..aux.size-1
96
+ aux2 += aux[i].get_APA
97
+ end
98
+ aux2
99
+ end
100
+ end
101
+ # Your code goes here...
102
+ end
103
+
104
+
@@ -0,0 +1,2 @@
1
+ Node = Struct.new(:value, :next, :back) do
2
+ end
@@ -0,0 +1,97 @@
1
+ require "./lib/linkedList.rb"
2
+ require "./lib/Bibliografia.rb"
3
+
4
+
5
+ lista = LinkedList::List.new
6
+
7
+ #Libro A
8
+ libroA = Bibliografia.new
9
+
10
+ libroA.add_author("Dave Thomas")
11
+ libroA.add_author("Andy Hunt")
12
+ libroA.add_author("Chad Fowler")
13
+ libroA.set_title("Programming Ruby 1.9 & 2.0: The Pragmatic Programmers Guide")
14
+ libroA.set_serie("The Facets of Ruby")
15
+ libroA.set_editorial("Pragmatic Bookshelf")
16
+ libroA.set_edition("4 edition")
17
+ libroA.set_publication("July 7, 2013")
18
+ libroA.add_ISBN("ISBN-13: 978-1937785499")
19
+ libroA.add_ISBN("ISBN-10: 1937785491")
20
+
21
+ #Libro B
22
+ libroB = Bibliografia.new
23
+
24
+ libroB.add_author("Scott Chacon")
25
+ libroB.set_title("Pro Git 2009th Edition")
26
+ libroB.set_serie("Pro")
27
+ libroB.set_editorial("Apress")
28
+ libroB.set_edition("2009 edition")
29
+ libroB.set_publication("August 27, 2009")
30
+ libroB.add_ISBN("ISBN-13: 978-1430218333")
31
+ libroB.add_ISBN("ISBN-10: 1430218339")
32
+
33
+
34
+ #Libro C
35
+ libroC = Bibliografia.new
36
+
37
+ libroC.add_author("David Flanagan")
38
+ libroC.add_author("Yukihiro Matsumoto")
39
+ libroC.set_title("The Ruby Programming Language")
40
+ libroC.set_editorial("O'Reilly Media")
41
+ libroC.set_edition("1 edition")
42
+ libroC.set_publication("February 4, 2008")
43
+ libroC.add_ISBN("ISBN-10: 0596516177")
44
+ libroC.add_ISBN("ISBN-13: 978-0596516178")
45
+
46
+
47
+ #libro D
48
+ libroD = Bibliografia.new
49
+
50
+ libroD.add_author("David Chelimsky")
51
+ libroD.add_author("Dave Astels")
52
+ libroD.add_author("Bryan Helmkamp")
53
+ libroD.add_author("Dan North")
54
+ libroD.add_author("Zach Dennis")
55
+ libroD.add_author("Aslak Hellesoy")
56
+ libroD.set_title("The RSpec Book: Behaviour Driven DEvelopment with RSPec, Cucumber, and Friends")
57
+ libroD.set_serie("The Facets of Ruby")
58
+ libroD.set_editorial("Pragmatic Bookshelf")
59
+ libroD.set_edition("1 edition")
60
+ libroD.set_publication("December 25, 2010")
61
+ libroD.add_ISBN("ISBN-10: 1934356379")
62
+ libroD.add_ISBN("ISBN-13: 978-1934356371")
63
+
64
+
65
+ #libro E
66
+ libroE = Bibliografia.new
67
+
68
+ libroE.add_author("Richard E")
69
+ libroE.set_title("Silverman Git Pocket Guide")
70
+ libroE.set_editorial("O'Reilly Media")
71
+ libroE.set_edition("1 edition")
72
+ libroE.set_publication("August 2, 2013")
73
+ libroE.add_ISBN("ISBN-10: 1449325866")
74
+ libroE.add_ISBN("ISBN-13: 978-1449325862")
75
+
76
+
77
+
78
+
79
+ lista.push_back(libroA)
80
+ lista.push_back(libroB)
81
+ lista.push_back(libroC)
82
+ lista.push_back(libroD)
83
+ lista.push_back(libroE)
84
+
85
+
86
+ for i in 0..lista.Size-1 do
87
+ puts "<-- Libro #{i} -->"
88
+ puts lista.at(i).value.get_formato
89
+ end
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+
@@ -0,0 +1,18 @@
1
+
2
+ module Bibliografia
3
+ class Revista < Bibliografia
4
+ attr_reader :ISSN
5
+
6
+ def initialize
7
+ super
8
+ @ISSN = []
9
+ end
10
+
11
+ def add_ISSN(num)
12
+ @ISSN << num
13
+ end
14
+
15
+ end
16
+ end
17
+
18
+
@@ -0,0 +1,3 @@
1
+ module LinkedList
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,31 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'linkedList/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "linkedList_Rudolf"
8
+ spec.version = LinkedList::VERSION
9
+ spec.authors = ["Rudolf Cicko"]
10
+ spec.email = ["alu0100824780@ull.edu.es"]
11
+
12
+ spec.summary = %q{ "Hola esta es la práctica 11}
13
+ spec.description = %q{ "Osea, es la práctica 11 }
14
+ spec.homepage = "http://www.ull.es"
15
+ spec.license = "MIT"
16
+
17
+
18
+
19
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
20
+ spec.bindir = "exe"
21
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
+ spec.require_paths = ["lib"]
23
+
24
+ spec.add_development_dependency "bundler", "~> 1.10"
25
+ spec.add_development_dependency "rake", "~> 10.0"
26
+ spec.add_development_dependency "rspec"
27
+ spec.add_development_dependency "guard"
28
+ spec.add_development_dependency "guard-rspec"
29
+ spec.add_development_dependency "guard-bundler"
30
+ spec.add_development_dependency "coveralls"
31
+ end
metadata ADDED
@@ -0,0 +1,172 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: linkedList_Rudolf
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Rudolf Cicko
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2015-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.10'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.10'
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: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '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
+ - !ruby/object:Gem::Dependency
98
+ name: coveralls
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ description: ' "Osea, es la práctica 11 '
112
+ email:
113
+ - alu0100824780@ull.edu.es
114
+ executables: []
115
+ extensions: []
116
+ extra_rdoc_files: []
117
+ files:
118
+ - ".coveralls.yml"
119
+ - ".gitignore"
120
+ - ".rspec"
121
+ - ".travis.yml"
122
+ - ".travis.yml~"
123
+ - CODE_OF_CONDUCT.md
124
+ - Gemfile
125
+ - Guardfile
126
+ - LICENSE.txt
127
+ - README.md
128
+ - Rakefile
129
+ - bin/console
130
+ - bin/setup
131
+ - lib/#linkedList.rb#
132
+ - lib/linkedList.rb
133
+ - lib/linkedList/Bibliografia.rb
134
+ - lib/linkedList/Bibliografia.rb~
135
+ - lib/linkedList/Book.rb
136
+ - lib/linkedList/Book.rb~
137
+ - lib/linkedList/ebook.rb
138
+ - lib/linkedList/ebook.rb~
139
+ - lib/linkedList/linkedList.rb
140
+ - lib/linkedList/linkedList.rb~
141
+ - lib/linkedList/node.rb
142
+ - lib/linkedList/node.rb~
143
+ - lib/linkedList/prueba.rb
144
+ - lib/linkedList/revista.rb
145
+ - lib/linkedList/revista.rb~
146
+ - lib/linkedList/version.rb
147
+ - linkedList.gemspec
148
+ homepage: http://www.ull.es
149
+ licenses:
150
+ - MIT
151
+ metadata: {}
152
+ post_install_message:
153
+ rdoc_options: []
154
+ require_paths:
155
+ - lib
156
+ required_ruby_version: !ruby/object:Gem::Requirement
157
+ requirements:
158
+ - - ">="
159
+ - !ruby/object:Gem::Version
160
+ version: '0'
161
+ required_rubygems_version: !ruby/object:Gem::Requirement
162
+ requirements:
163
+ - - ">="
164
+ - !ruby/object:Gem::Version
165
+ version: '0'
166
+ requirements: []
167
+ rubyforge_project:
168
+ rubygems_version: 2.4.8
169
+ signing_key:
170
+ specification_version: 4
171
+ summary: "\"Hola esta es la práctica 11"
172
+ test_files: []