MiDSL-prct11 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.travis.yml +6 -0
- data/Gemfile +5 -0
- data/Guardfile +82 -0
- data/README.md +39 -0
- data/Rakefile +9 -0
- data/bin/console +14 -0
- data/bin/setup +7 -0
- data/doc/Gemfile.html +96 -0
- data/doc/Gemfile_lock.html +172 -0
- data/doc/Guardfile.html +176 -0
- data/doc/Prct07.html +149 -0
- data/doc/Prct07/Bibliografia.html +305 -0
- data/doc/Prct07/DSL.html +285 -0
- data/doc/Prct07/List.html +375 -0
- data/doc/Prct07/Periodicas.html +180 -0
- data/doc/README_md.html +160 -0
- data/doc/Rakefile.html +102 -0
- data/doc/bin/setup.html +97 -0
- data/doc/created.rid +14 -0
- data/doc/css/fonts.css +167 -0
- data/doc/css/rdoc.css +590 -0
- data/doc/fonts/Lato-Light.ttf +0 -0
- data/doc/fonts/Lato-LightItalic.ttf +0 -0
- data/doc/fonts/Lato-Regular.ttf +0 -0
- data/doc/fonts/Lato-RegularItalic.ttf +0 -0
- data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
- data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
- data/doc/images/add.png +0 -0
- data/doc/images/arrow_up.png +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +109 -0
- data/doc/js/darkfish.js +161 -0
- data/doc/js/jquery.js +4 -0
- data/doc/js/navigation.js +142 -0
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search.js +109 -0
- data/doc/js/search_index.js +1 -0
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js +228 -0
- data/doc/js/searcher.js.gz +0 -0
- data/doc/prct07_gemspec.html +125 -0
- data/doc/table_of_contents.html +158 -0
- data/lib/prct07.rb +5 -0
- data/lib/prct07/bibliografia.rb +155 -0
- data/lib/prct07/version.rb +3 -0
- data/prct07.gemspec +41 -0
- metadata +183 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: f0bb0e115c1c2730e26dcb215190a52127c7519e
|
4
|
+
data.tar.gz: 81e55c814956c0e8adc9c165d633b7ff2d32ce1b
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 1a34bcd66d660a865a97c032526cfc90075c43b09353c6174a7be04d9ae31f0010feeb0edf636a72bb7c0766f24bb12288b98f5203f162afdb53f234d728349d
|
7
|
+
data.tar.gz: f16b27efa191b219347753a9e01bd94042dcf23282c8f460bb0f709021543fa5f9350aadc6161c97d638fc9f0ddd22a252ae74ef015eca15d73ce52e827ec424
|
data/.gitignore
ADDED
data/.travis.yml
ADDED
data/Gemfile
ADDED
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/README.md
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
# Prct07
|
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/prct07`. 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 'prct07'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install prct07
|
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 `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` to 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
|
+
1. Fork it ( https://github.com/[my-github-username]/prct07/fork )
|
36
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
37
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
38
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
39
|
+
5. Create a new Pull Request
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "prct07"
|
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
data/doc/Gemfile.html
ADDED
@@ -0,0 +1,96 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>Gemfile - 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
|
+
|
55
|
+
<div id="project-metadata">
|
56
|
+
<div id="fileindex-section" class="nav-section">
|
57
|
+
<h3>Pages</h3>
|
58
|
+
|
59
|
+
<ul class="link-list">
|
60
|
+
|
61
|
+
<li><a href="./Gemfile.html">Gemfile</a>
|
62
|
+
|
63
|
+
<li><a href="./Gemfile_lock.html">Gemfile.lock</a>
|
64
|
+
|
65
|
+
<li><a href="./Guardfile.html">Guardfile</a>
|
66
|
+
|
67
|
+
<li><a href="./README_md.html">README</a>
|
68
|
+
|
69
|
+
<li><a href="./Rakefile.html">Rakefile</a>
|
70
|
+
|
71
|
+
<li><a href="./bin/setup.html">setup</a>
|
72
|
+
|
73
|
+
<li><a href="./prct07_gemspec.html">prct07.gemspec</a>
|
74
|
+
|
75
|
+
</ul>
|
76
|
+
</div>
|
77
|
+
|
78
|
+
</div>
|
79
|
+
</nav>
|
80
|
+
|
81
|
+
<main role="main" aria-label="Page Gemfile">
|
82
|
+
|
83
|
+
<p>source '<a href="https://rubygems.org">rubygems.org</a>'</p>
|
84
|
+
|
85
|
+
<p># Specify your gem's dependencies in <a
|
86
|
+
href="prct07_gemspec.html">prct07.gemspec</a> gemspec gem 'rspec'</p>
|
87
|
+
</main>
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
<footer id="validator-badges" role="contentinfo">
|
92
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
93
|
+
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
|
94
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
95
|
+
</footer>
|
96
|
+
|
@@ -0,0 +1,172 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>Gemfile.lock - 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
|
+
|
55
|
+
<div id="project-metadata">
|
56
|
+
<div id="fileindex-section" class="nav-section">
|
57
|
+
<h3>Pages</h3>
|
58
|
+
|
59
|
+
<ul class="link-list">
|
60
|
+
|
61
|
+
<li><a href="./Gemfile.html">Gemfile</a>
|
62
|
+
|
63
|
+
<li><a href="./Gemfile_lock.html">Gemfile.lock</a>
|
64
|
+
|
65
|
+
<li><a href="./Guardfile.html">Guardfile</a>
|
66
|
+
|
67
|
+
<li><a href="./README_md.html">README</a>
|
68
|
+
|
69
|
+
<li><a href="./Rakefile.html">Rakefile</a>
|
70
|
+
|
71
|
+
<li><a href="./bin/setup.html">setup</a>
|
72
|
+
|
73
|
+
<li><a href="./prct07_gemspec.html">prct07.gemspec</a>
|
74
|
+
|
75
|
+
</ul>
|
76
|
+
</div>
|
77
|
+
|
78
|
+
</div>
|
79
|
+
</nav>
|
80
|
+
|
81
|
+
<main role="main" aria-label="Page Gemfile.lock">
|
82
|
+
|
83
|
+
<p>PATH</p>
|
84
|
+
|
85
|
+
<pre>remote: .
|
86
|
+
specs:
|
87
|
+
prct07 (0.1.0)</pre>
|
88
|
+
|
89
|
+
<p>GEM</p>
|
90
|
+
|
91
|
+
<pre>remote: https://rubygems.org/
|
92
|
+
specs:
|
93
|
+
coderay (1.1.0)
|
94
|
+
diff-lcs (1.2.5)
|
95
|
+
ffi (1.9.10)
|
96
|
+
formatador (0.2.5)
|
97
|
+
guard (2.13.0)
|
98
|
+
formatador (>= 0.2.4)
|
99
|
+
listen (>= 2.7, <= 4.0)
|
100
|
+
lumberjack (~> 1.0)
|
101
|
+
nenv (~> 0.1)
|
102
|
+
notiffany (~> 0.0)
|
103
|
+
pry (>= 0.9.12)
|
104
|
+
shellany (~> 0.0)
|
105
|
+
thor (>= 0.18.1)
|
106
|
+
guard-bundler (2.1.0)
|
107
|
+
bundler (~> 1.0)
|
108
|
+
guard (~> 2.2)
|
109
|
+
guard-compat (~> 1.1)
|
110
|
+
guard-compat (1.2.1)
|
111
|
+
guard-rspec (4.6.4)
|
112
|
+
guard (~> 2.1)
|
113
|
+
guard-compat (~> 1.1)
|
114
|
+
rspec (>= 2.99.0, < 4.0)
|
115
|
+
listen (3.0.5)
|
116
|
+
rb-fsevent (>= 0.9.3)
|
117
|
+
rb-inotify (>= 0.9)
|
118
|
+
lumberjack (1.0.9)
|
119
|
+
method_source (0.8.2)
|
120
|
+
nenv (0.2.0)
|
121
|
+
notiffany (0.0.8)
|
122
|
+
nenv (~> 0.1)
|
123
|
+
shellany (~> 0.0)
|
124
|
+
pry (0.10.3)
|
125
|
+
coderay (~> 1.1.0)
|
126
|
+
method_source (~> 0.8.1)
|
127
|
+
slop (~> 3.4)
|
128
|
+
rake (10.4.2)
|
129
|
+
rb-fsevent (0.9.6)
|
130
|
+
rb-inotify (0.9.5)
|
131
|
+
ffi (>= 0.5.0)
|
132
|
+
rspec (3.4.0)
|
133
|
+
rspec-core (~> 3.4.0)
|
134
|
+
rspec-expectations (~> 3.4.0)
|
135
|
+
rspec-mocks (~> 3.4.0)
|
136
|
+
rspec-core (3.4.1)
|
137
|
+
rspec-support (~> 3.4.0)
|
138
|
+
rspec-expectations (3.4.0)
|
139
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
140
|
+
rspec-support (~> 3.4.0)
|
141
|
+
rspec-mocks (3.4.0)
|
142
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
143
|
+
rspec-support (~> 3.4.0)
|
144
|
+
rspec-support (3.4.1)
|
145
|
+
shellany (0.0.1)
|
146
|
+
slop (3.6.0)
|
147
|
+
thor (0.19.1)</pre>
|
148
|
+
|
149
|
+
<p>PLATFORMS</p>
|
150
|
+
|
151
|
+
<pre class="ruby"><span class="ruby-identifier">ruby</span>
|
152
|
+
</pre>
|
153
|
+
|
154
|
+
<p>DEPENDENCIES</p>
|
155
|
+
|
156
|
+
<pre>bundler (~> 1.8)
|
157
|
+
guard
|
158
|
+
guard-bundler
|
159
|
+
guard-rspec
|
160
|
+
prct07!
|
161
|
+
rake (~> 10.0)
|
162
|
+
rspec</pre>
|
163
|
+
</main>
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
<footer id="validator-badges" role="contentinfo">
|
168
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
169
|
+
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
|
170
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
171
|
+
</footer>
|
172
|
+
|