CapicuaGenEssential 0.0.3 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +11 -11
- data/.rspec +2 -2
- data/.travis.yml +4 -4
- data/CODE_OF_CONDUCT.md +48 -48
- data/CapicuaGenEssential.gemspec +67 -65
- data/Gemfile +4 -4
- data/Gemfile.lock +41 -41
- data/README.md +54 -41
- data/Rakefile +6 -6
- data/bin/console +14 -14
- data/bin/setup +8 -8
- data/lib/CapicuaGenEssential/CapicuaGenEssential.rb +5 -5
- data/lib/CapicuaGenEssential/version.rb +3 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f3084160b115a5b207585d8f8f0880d1cc5ca03
|
4
|
+
data.tar.gz: 52388dc992180ce130fcc16e3abd54a9ea2f92ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a4635e3454f6d8225d1c6ea37231a973be2e1db0fe389d60e1b974b3807882826caaf147b64eb172df80874f8080dd8b122140514cbd9acd07236fcbdd7111a
|
7
|
+
data.tar.gz: 94b0ade94e06a94de75dd7a2ae11c4549237240553989bf43d1241964face2d1cf2fb57b4ad74a90acb8ff0fef707ca7eb3d2a81da34ea34a9d4ad958807daa7
|
data/.gitignore
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
/.bundle/
|
2
|
-
/.yardoc
|
3
|
-
/Gemfile.lock
|
4
|
-
/_yardoc/
|
5
|
-
/coverage/
|
6
|
-
/doc/
|
7
|
-
/pkg/
|
8
|
-
/spec/reports/
|
9
|
-
/tmp/
|
10
|
-
/.idea
|
11
|
-
/*.gem
|
1
|
+
/.bundle/
|
2
|
+
/.yardoc
|
3
|
+
/Gemfile.lock
|
4
|
+
/_yardoc/
|
5
|
+
/coverage/
|
6
|
+
/doc/
|
7
|
+
/pkg/
|
8
|
+
/spec/reports/
|
9
|
+
/tmp/
|
10
|
+
/.idea
|
11
|
+
/*.gem
|
data/.rspec
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
--format documentation
|
2
|
-
--color
|
1
|
+
--format documentation
|
2
|
+
--color
|
data/.travis.yml
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
language: ruby
|
2
|
-
rvm:
|
3
|
-
- 2.2.3
|
4
|
-
before_install: gem install bundler -v 1.11.2
|
1
|
+
language: ruby
|
2
|
+
rvm:
|
3
|
+
- 2.2.3
|
4
|
+
before_install: gem install bundler -v 1.11.2
|
data/CODE_OF_CONDUCT.md
CHANGED
@@ -1,49 +1,49 @@
|
|
1
|
-
# Contributor Code of Conduct
|
2
|
-
|
3
|
-
As contributors and maintainers of this project, and in the interest of
|
4
|
-
fostering an open and welcoming community, we pledge to respect all people who
|
5
|
-
contribute through reporting issues, posting feature requests, updating
|
6
|
-
documentation, submitting pull requests or patches, and other activities.
|
7
|
-
|
8
|
-
We are committed to making participation in this project a harassment-free
|
9
|
-
experience for everyone, regardless of level of experience, gender, gender
|
10
|
-
identity and expression, sexual orientation, disability, personal appearance,
|
11
|
-
body size, race, ethnicity, age, religion, or nationality.
|
12
|
-
|
13
|
-
Examples of unacceptable behavior by participants include:
|
14
|
-
|
15
|
-
* The use of sexualized language or imagery
|
16
|
-
* Personal attacks
|
17
|
-
* Trolling or insulting/derogatory comments
|
18
|
-
* Public or private harassment
|
19
|
-
* Publishing other's private information, such as physical or electronic
|
20
|
-
addresses, without explicit permission
|
21
|
-
* Other unethical or unprofessional conduct
|
22
|
-
|
23
|
-
Project maintainers have the right and responsibility to remove, edit, or
|
24
|
-
reject comments, commits, code, wiki edits, issues, and other contributions
|
25
|
-
that are not aligned to this Code of Conduct, or to ban temporarily or
|
26
|
-
permanently any contributor for other behaviors that they deem inappropriate,
|
27
|
-
threatening, offensive, or harmful.
|
28
|
-
|
29
|
-
By adopting this Code of Conduct, project maintainers commit themselves to
|
30
|
-
fairly and consistently applying these principles to every aspect of managing
|
31
|
-
this project. Project maintainers who do not follow or enforce the Code of
|
32
|
-
Conduct may be permanently removed from the project team.
|
33
|
-
|
34
|
-
This code of conduct applies both within project spaces and in public spaces
|
35
|
-
when an individual is representing the project or its community.
|
36
|
-
|
37
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
38
|
-
reported by contacting a project maintainer at jbautista@bansi.com.mx. All
|
39
|
-
complaints will be reviewed and investigated and will result in a response that
|
40
|
-
is deemed necessary and appropriate to the circumstances. Maintainers are
|
41
|
-
obligated to maintain confidentiality with regard to the reporter of an
|
42
|
-
incident.
|
43
|
-
|
44
|
-
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
45
|
-
version 1.3.0, available at
|
46
|
-
[http://contributor-covenant.org/version/1/3/0/][version]
|
47
|
-
|
48
|
-
[homepage]: http://contributor-covenant.org
|
1
|
+
# Contributor Code of Conduct
|
2
|
+
|
3
|
+
As contributors and maintainers of this project, and in the interest of
|
4
|
+
fostering an open and welcoming community, we pledge to respect all people who
|
5
|
+
contribute through reporting issues, posting feature requests, updating
|
6
|
+
documentation, submitting pull requests or patches, and other activities.
|
7
|
+
|
8
|
+
We are committed to making participation in this project a harassment-free
|
9
|
+
experience for everyone, regardless of level of experience, gender, gender
|
10
|
+
identity and expression, sexual orientation, disability, personal appearance,
|
11
|
+
body size, race, ethnicity, age, religion, or nationality.
|
12
|
+
|
13
|
+
Examples of unacceptable behavior by participants include:
|
14
|
+
|
15
|
+
* The use of sexualized language or imagery
|
16
|
+
* Personal attacks
|
17
|
+
* Trolling or insulting/derogatory comments
|
18
|
+
* Public or private harassment
|
19
|
+
* Publishing other's private information, such as physical or electronic
|
20
|
+
addresses, without explicit permission
|
21
|
+
* Other unethical or unprofessional conduct
|
22
|
+
|
23
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
24
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
25
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
26
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
27
|
+
threatening, offensive, or harmful.
|
28
|
+
|
29
|
+
By adopting this Code of Conduct, project maintainers commit themselves to
|
30
|
+
fairly and consistently applying these principles to every aspect of managing
|
31
|
+
this project. Project maintainers who do not follow or enforce the Code of
|
32
|
+
Conduct may be permanently removed from the project team.
|
33
|
+
|
34
|
+
This code of conduct applies both within project spaces and in public spaces
|
35
|
+
when an individual is representing the project or its community.
|
36
|
+
|
37
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
38
|
+
reported by contacting a project maintainer at jbautista@bansi.com.mx. All
|
39
|
+
complaints will be reviewed and investigated and will result in a response that
|
40
|
+
is deemed necessary and appropriate to the circumstances. Maintainers are
|
41
|
+
obligated to maintain confidentiality with regard to the reporter of an
|
42
|
+
incident.
|
43
|
+
|
44
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
45
|
+
version 1.3.0, available at
|
46
|
+
[http://contributor-covenant.org/version/1/3/0/][version]
|
47
|
+
|
48
|
+
[homepage]: http://contributor-covenant.org
|
49
49
|
[version]: http://contributor-covenant.org/version/1/3/0/
|
data/CapicuaGenEssential.gemspec
CHANGED
@@ -1,66 +1,68 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'CapicuaGenEssential/version'
|
5
|
-
|
6
|
-
Gem::Specification.new do |spec|
|
7
|
-
spec.name = "CapicuaGenEssential"
|
8
|
-
spec.version = CapicuaGenEssential::VERSION
|
9
|
-
spec.authors = ["José Luis Bautista Martín"]
|
10
|
-
spec.email = ["joseluisbautista@gmail.com"]
|
11
|
-
spec.date = Date.today.to_s
|
12
|
-
|
13
|
-
|
14
|
-
spec.summary = %q{CapicuaGen es un software que ayuda a la creación automática de
|
15
|
-
sistemas empresariales a través de la definición y ensamblado de
|
16
|
-
diversos generadores de características. CapicuaGenEssential agrega referencia a los generadores de caracteristicas Melchior, Gaspar, Balthazar,
|
17
|
-
con lo que es posible generar un ejemplo funcional completo.
|
18
|
-
}
|
19
|
-
spec.description = %q{CapicuaGen es un software que ayuda a la creación automática de
|
20
|
-
sistemas empresariales a través de la definición y ensamblado de
|
21
|
-
diversos generadores de características.
|
22
|
-
|
23
|
-
CapicuaGenEssential agrega referencia a los generadores de caracteristicas
|
24
|
-
|
25
|
-
* Melchior
|
26
|
-
* Gaspar
|
27
|
-
* Balthazar
|
28
|
-
|
29
|
-
Con lo que es posible generar un ejemplo funcional completo.
|
30
|
-
|
31
|
-
El proyecto fue iniciado por José Luis Bautista Martin, el 6 de enero
|
32
|
-
del 2016.
|
33
|
-
|
34
|
-
Puede modificar y distribuir este software, según le plazca, y usarlo
|
35
|
-
para cualquier fin ya sea comercial, personal, educativo, o de cualquier
|
36
|
-
índole, siempre y cuando incluya este mensaje, y se permita acceso el
|
37
|
-
código fuente.
|
38
|
-
|
39
|
-
Este software es código libre, y se licencia bajo LGPL.
|
40
|
-
|
41
|
-
Para más información consultar http://www.gnu.org/licenses/lgpl.html}
|
42
|
-
|
43
|
-
spec.homepage = "http://desdelashorasextras.blogspot.mx/"
|
44
|
-
spec.licenses = ['LGPL']
|
45
|
-
|
46
|
-
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
47
|
-
# delete this section to allow pushing this gem to any host.
|
48
|
-
if spec.respond_to?(:metadata)
|
49
|
-
spec.metadata['allowed_push_host'] = "https://rubygems.org"
|
50
|
-
else
|
51
|
-
raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
|
52
|
-
end
|
53
|
-
|
54
|
-
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|\.idea)/}) }
|
55
|
-
spec.bindir = "exe"
|
56
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
57
|
-
spec.require_paths = ["lib"]
|
58
|
-
|
59
|
-
spec.add_development_dependency "bundler", "~> 1.11"
|
60
|
-
spec.add_development_dependency "rake", "~> 10.0"
|
61
|
-
|
62
|
-
spec.add_runtime_dependency 'CapicuaGen', '>=0.0.1', '~> 0.0'
|
63
|
-
spec.add_runtime_dependency 'CapicuaGenMelchior', '>=0.0.1', '~>0.0'
|
64
|
-
spec.add_runtime_dependency 'CapicuaGenGaspar', '>=0.0.1', '~>0.0'
|
65
|
-
spec.add_runtime_dependency 'CapicuaGenBalthazar', '>=0.0.1', '~> 0.0'
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'CapicuaGenEssential/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "CapicuaGenEssential"
|
8
|
+
spec.version = CapicuaGenEssential::VERSION
|
9
|
+
spec.authors = ["José Luis Bautista Martín"]
|
10
|
+
spec.email = ["joseluisbautista@gmail.com"]
|
11
|
+
spec.date = Date.today.to_s
|
12
|
+
|
13
|
+
|
14
|
+
spec.summary = %q{CapicuaGen es un software que ayuda a la creación automática de
|
15
|
+
sistemas empresariales a través de la definición y ensamblado de
|
16
|
+
diversos generadores de características. CapicuaGenEssential agrega referencia a los generadores de caracteristicas Melchior, Gaspar, Balthazar,
|
17
|
+
con lo que es posible generar un ejemplo funcional completo.
|
18
|
+
}
|
19
|
+
spec.description = %q{CapicuaGen es un software que ayuda a la creación automática de
|
20
|
+
sistemas empresariales a través de la definición y ensamblado de
|
21
|
+
diversos generadores de características.
|
22
|
+
|
23
|
+
CapicuaGenEssential agrega referencia a los generadores de caracteristicas
|
24
|
+
|
25
|
+
* Melchior
|
26
|
+
* Gaspar
|
27
|
+
* Balthazar
|
28
|
+
|
29
|
+
Con lo que es posible generar un ejemplo funcional completo.
|
30
|
+
|
31
|
+
El proyecto fue iniciado por José Luis Bautista Martin, el 6 de enero
|
32
|
+
del 2016.
|
33
|
+
|
34
|
+
Puede modificar y distribuir este software, según le plazca, y usarlo
|
35
|
+
para cualquier fin ya sea comercial, personal, educativo, o de cualquier
|
36
|
+
índole, siempre y cuando incluya este mensaje, y se permita acceso el
|
37
|
+
código fuente.
|
38
|
+
|
39
|
+
Este software es código libre, y se licencia bajo LGPL.
|
40
|
+
|
41
|
+
Para más información consultar http://www.gnu.org/licenses/lgpl.html}
|
42
|
+
|
43
|
+
spec.homepage = "http://desdelashorasextras.blogspot.mx/"
|
44
|
+
spec.licenses = ['LGPL']
|
45
|
+
|
46
|
+
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
47
|
+
# delete this section to allow pushing this gem to any host.
|
48
|
+
if spec.respond_to?(:metadata)
|
49
|
+
spec.metadata['allowed_push_host'] = "https://rubygems.org"
|
50
|
+
else
|
51
|
+
raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
|
52
|
+
end
|
53
|
+
|
54
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|\.idea)/}) }
|
55
|
+
spec.bindir = "exe"
|
56
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
57
|
+
spec.require_paths = ["lib"]
|
58
|
+
|
59
|
+
spec.add_development_dependency "bundler", "~> 1.11"
|
60
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
61
|
+
|
62
|
+
spec.add_runtime_dependency 'CapicuaGen', '>=0.0.1', '~> 0.0'
|
63
|
+
spec.add_runtime_dependency 'CapicuaGenMelchior', '>=0.0.1', '~>0.0'
|
64
|
+
spec.add_runtime_dependency 'CapicuaGenGaspar', '>=0.0.1', '~>0.0'
|
65
|
+
spec.add_runtime_dependency 'CapicuaGenBalthazar', '>=0.0.1', '~> 0.0'
|
66
|
+
|
67
|
+
spec.required_ruby_version = '>= 2.0.0'
|
66
68
|
end
|
data/Gemfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
source 'https://rubygems.org'
|
2
|
-
|
3
|
-
# Specify your gem's dependencies in CapicuaGenEssential.gemspec
|
4
|
-
gemspec
|
1
|
+
source 'https://rubygems.org'
|
2
|
+
|
3
|
+
# Specify your gem's dependencies in CapicuaGenEssential.gemspec
|
4
|
+
gemspec
|
data/Gemfile.lock
CHANGED
@@ -1,41 +1,41 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
CapicuaGenEssential (0.0.
|
5
|
-
CapicuaGen (~> 0.0, >= 0.0.1)
|
6
|
-
CapicuaGenBalthazar (~> 0.0, >= 0.0.1)
|
7
|
-
CapicuaGenGaspar (~> 0.0, >= 0.0.1)
|
8
|
-
CapicuaGenMelchior (~> 0.0, >= 0.0.1)
|
9
|
-
|
10
|
-
GEM
|
11
|
-
remote: https://rubygems.org/
|
12
|
-
specs:
|
13
|
-
CapicuaGen (0.0.
|
14
|
-
activesupport (~> 2.3, >= 2.3.18)
|
15
|
-
nokogiri (~> 1.6, >= 1.6.7)
|
16
|
-
uuidtools (~> 2.1, >= 2.1.5)
|
17
|
-
CapicuaGenBalthazar (0.0.
|
18
|
-
CapicuaGen (~> 0.0, >= 0.0.1)
|
19
|
-
CapicuaGenMelchior (~> 0.0, >= 0.0.1)
|
20
|
-
CapicuaGenGaspar (0.0.
|
21
|
-
CapicuaGen (~> 0.0, >= 0.0.1)
|
22
|
-
CapicuaGenMelchior (~> 0.0, >= 0.0.1)
|
23
|
-
CapicuaGenMelchior (0.0.
|
24
|
-
CapicuaGen (~> 0.0, >= 0.0.1)
|
25
|
-
activesupport (2.3.18)
|
26
|
-
mini_portile2 (2.0.0)
|
27
|
-
nokogiri (1.6.7.2-x86-mingw32)
|
28
|
-
mini_portile2 (~> 2.0.0.rc2)
|
29
|
-
rake (10.4.2)
|
30
|
-
uuidtools (2.1.5)
|
31
|
-
|
32
|
-
PLATFORMS
|
33
|
-
x86-mingw32
|
34
|
-
|
35
|
-
DEPENDENCIES
|
36
|
-
CapicuaGenEssential!
|
37
|
-
bundler (~> 1.11)
|
38
|
-
rake (~> 10.0)
|
39
|
-
|
40
|
-
BUNDLED WITH
|
41
|
-
1.11.2
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
CapicuaGenEssential (0.0.4)
|
5
|
+
CapicuaGen (~> 0.0, >= 0.0.1)
|
6
|
+
CapicuaGenBalthazar (~> 0.0, >= 0.0.1)
|
7
|
+
CapicuaGenGaspar (~> 0.0, >= 0.0.1)
|
8
|
+
CapicuaGenMelchior (~> 0.0, >= 0.0.1)
|
9
|
+
|
10
|
+
GEM
|
11
|
+
remote: https://rubygems.org/
|
12
|
+
specs:
|
13
|
+
CapicuaGen (0.0.3)
|
14
|
+
activesupport (~> 2.3, >= 2.3.18)
|
15
|
+
nokogiri (~> 1.6, >= 1.6.7)
|
16
|
+
uuidtools (~> 2.1, >= 2.1.5)
|
17
|
+
CapicuaGenBalthazar (0.0.3)
|
18
|
+
CapicuaGen (~> 0.0, >= 0.0.1)
|
19
|
+
CapicuaGenMelchior (~> 0.0, >= 0.0.1)
|
20
|
+
CapicuaGenGaspar (0.0.3)
|
21
|
+
CapicuaGen (~> 0.0, >= 0.0.1)
|
22
|
+
CapicuaGenMelchior (~> 0.0, >= 0.0.1)
|
23
|
+
CapicuaGenMelchior (0.0.3)
|
24
|
+
CapicuaGen (~> 0.0, >= 0.0.1)
|
25
|
+
activesupport (2.3.18)
|
26
|
+
mini_portile2 (2.0.0)
|
27
|
+
nokogiri (1.6.7.2-x86-mingw32)
|
28
|
+
mini_portile2 (~> 2.0.0.rc2)
|
29
|
+
rake (10.4.2)
|
30
|
+
uuidtools (2.1.5)
|
31
|
+
|
32
|
+
PLATFORMS
|
33
|
+
x86-mingw32
|
34
|
+
|
35
|
+
DEPENDENCIES
|
36
|
+
CapicuaGenEssential!
|
37
|
+
bundler (~> 1.11)
|
38
|
+
rake (~> 10.0)
|
39
|
+
|
40
|
+
BUNDLED WITH
|
41
|
+
1.11.2
|
data/README.md
CHANGED
@@ -1,41 +1,54 @@
|
|
1
|
-
#
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
1
|
+
# CapicuaGen
|
2
|
+
|
3
|
+
CapicuaGen es un software que ayuda a la creación automática de
|
4
|
+
sistemas empresariales a través de la definición y ensamblado de
|
5
|
+
diversos generadores de características.CapicuaGenEssential agrega referencia a los generadores de caracteristicas Melchior, Gaspar, Balthazar,
|
6
|
+
con lo que es posible generar un ejemplo funcional completo.
|
7
|
+
|
8
|
+
El proyecto fue iniciado por José Luis Bautista Martin, el 6 de enero
|
9
|
+
del 2016.
|
10
|
+
|
11
|
+
Puede modificar y distribuir este software, según le plazca, y usarlo
|
12
|
+
para cualquier fin ya sea comercial, personal, educativo, o de cualquier
|
13
|
+
índole, siempre y cuando incluya este mensaje, y se permita acceso el
|
14
|
+
código fuente.
|
15
|
+
|
16
|
+
Este software es código libre, y se licencia bajo LGPL.
|
17
|
+
|
18
|
+
Para más información consultar http://www.gnu.org/licenses/lgpl.html
|
19
|
+
|
20
|
+
|
21
|
+
## Instalación
|
22
|
+
|
23
|
+
Agrege la siguiente linea al archuivo GemFile de tu aplicación
|
24
|
+
|
25
|
+
```ruby
|
26
|
+
gem 'CapicuaGenEssential'
|
27
|
+
```
|
28
|
+
|
29
|
+
y ejecute:
|
30
|
+
|
31
|
+
$ bundle
|
32
|
+
|
33
|
+
O instalela manualmente con el siguiente comando
|
34
|
+
|
35
|
+
$ gem install CapicuaGenEssential
|
36
|
+
|
37
|
+
## Uso
|
38
|
+
|
39
|
+
CapicuaGen permite comenzar a trabajar con él desde el mismo momento en que es instalado. Para obtener un ejemplo funcional simplemente ejecutamos el comando CapicuaGen con el parámetro example:
|
40
|
+
|
41
|
+
$ capicuagen example
|
42
|
+
|
43
|
+
Se crearan los siguientes archivos:
|
44
|
+
|
45
|
+
* generator.rb: Ejemplo de un generador de codigo
|
46
|
+
* GemFile: Archivo de configuración de depencias para bundler .
|
47
|
+
* instnwnd.sql: Ejemplo de base de datos NorthWind, para Microsoft SQL Server
|
48
|
+
|
49
|
+
Revise el archivo generator.rb para tener una introducción a CapicuaGen.
|
50
|
+
|
51
|
+
## Contribuir
|
52
|
+
|
53
|
+
Reporte de fallos y solicitudes de pull son bien recibidas en https://github.com/jbautistamartin/CapicuaGen
|
54
|
+
|
data/Rakefile
CHANGED
@@ -1,6 +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
|
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
CHANGED
@@ -1,14 +1,14 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require "bundler/setup"
|
4
|
-
require "CapicuaGenEssential/CapicuaGenEssential"
|
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
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "CapicuaGenEssential/CapicuaGenEssential"
|
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
CHANGED
@@ -1,8 +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
|
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
|
@@ -1,5 +1,5 @@
|
|
1
|
-
require "version"
|
2
|
-
|
3
|
-
module CapicuaGenEssential
|
4
|
-
# Your code goes here...
|
5
|
-
end
|
1
|
+
require "version"
|
2
|
+
|
3
|
+
module CapicuaGenEssential
|
4
|
+
# Your code goes here...
|
5
|
+
end
|
@@ -1,3 +1,3 @@
|
|
1
|
-
module CapicuaGenEssential
|
2
|
-
VERSION = "0.0
|
3
|
-
end
|
1
|
+
module CapicuaGenEssential
|
2
|
+
VERSION = "0.1.0"
|
3
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: CapicuaGenEssential
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- José Luis Bautista Martín
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-05-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -161,7 +161,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
161
161
|
requirements:
|
162
162
|
- - ">="
|
163
163
|
- !ruby/object:Gem::Version
|
164
|
-
version:
|
164
|
+
version: 2.0.0
|
165
165
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
166
166
|
requirements:
|
167
167
|
- - ">="
|