cocot 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Changelog.md +9 -0
- data/License.md +2 -2
- data/ReadMe.md +98 -98
- data/lib/cocot/contenido_de_archivos.rb +15 -9
- metadata +6 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 18326c4e38be9932967307b934c50b3435ae7493dbc9e218aec9e718162fcd31
|
4
|
+
data.tar.gz: f8503980ec73d3d46c287a1d07dd0d2dc38d8e4cddb2056292aaadf686755729
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a9262a832159fdb4a51952c163623e1b2fb7e15da7028dcc648f80aaa2f7c287e9fa5bb4e6c2f8dda688c7f5423a7d731d14f8ce445142cd8f823b3cc9705f0
|
7
|
+
data.tar.gz: f66a630082bec589a5b5c96b54224ed878cb2b5aeb72e980b6eb764d7b1b254a3f5c97fbdaa8e19bb8c7137e4911ce34a96590d9bd2dfc9a641c138a2d97bd2c
|
data/Changelog.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
1.1.4
|
2
|
+
-----
|
3
|
+
|
4
|
+
* Gemfiles requirement for ruby version was updated to "~>3.0".
|
5
|
+
* Requires of the bundler gem were dropped from Gemfiles since now it's bundled into Ruby standard libraries.
|
6
|
+
* Requires of the rake gem were dropped from Gemfiles since now it's bundled into Ruby standard libraries.
|
7
|
+
* Version "0.1.0" in the CHANGELOG was replaced for "Unreleased".
|
8
|
+
* Added "Usage" and "Contact" info to the README template.
|
9
|
+
|
1
10
|
1.1.3
|
2
11
|
-----
|
3
12
|
|
data/License.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Copyright (c)
|
1
|
+
Copyright (c) 2018 cocot
|
2
2
|
|
3
3
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
4
4
|
this software and associated documentation files (the "Software"), to deal in
|
@@ -11,4 +11,4 @@ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
11
11
|
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
12
12
|
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
13
13
|
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
14
|
-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
14
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/ReadMe.md
CHANGED
@@ -1,98 +1,98 @@
|
|
1
|
-
cocot
|
2
|
-
=====
|
3
|
-
|
4
|
-
Sometimes you have a good 'no-rails' idea, and say for yourself: "what a good idea!", what mostly of the time is followed by "okay, but...I can't, I'm in many proyects and I had to create all the folder and files stuff, have to check out the file convention arragment, will take me 10 minutes, so no". You are lazy and you know it. We are great builders of tools which make our life easy, **cocot** is one of those. **cocot** is a very simple tool that puts you to work in one second, you just have to tell him which will be the name of your proyect and it's done, it creates you the structure of your **BDD/TDD/"free of tests"** proyect.
|
5
|
-
|
6
|
-
It supposes that you...
|
7
|
-
-----------------------
|
8
|
-
|
9
|
-
may use **RSpec** and/or **Cucumber** and/or **minitest** for **BDD/TDD** developing, so it creates the conventional files and folders for work with.
|
10
|
-
|
11
|
-
How can I install it?
|
12
|
-
-----------------
|
13
|
-
|
14
|
-
By rubygems with `gem install cocot`.
|
15
|
-
|
16
|
-
How can I use it?
|
17
|
-
-----------------
|
18
|
-
|
19
|
-
`cocot NameOfTheProyect` or `cocot "name of the proyect"`. Will build the skeleton in the current working directory, so be aware of be positioned where you want your proyect to be.
|
20
|
-
|
21
|
-
Gemfile
|
22
|
-
-------
|
23
|
-
|
24
|
-
If you don't have **RSpec** and **Cucumber** installed on your system(or want to update them) and want to use them you can do it by calling `bundle install` standing on the main folder of your proyect created by **cocot**. If you neither have **bundler** you will need to install it by calling `gem install bundler`.
|
25
|
-
|
26
|
-
Rakefile
|
27
|
-
--------
|
28
|
-
|
29
|
-
**cocot** packs few pre-defined **rake** tasks on standard mode:
|
30
|
-
|
31
|
-
* `rake cucumber` : same like `cucumber`
|
32
|
-
* `rake cucumber_wip` : same like `cucumber --format progress --color --wip --tags @wip:3`, specially for order
|
33
|
-
* `rake spec` : same like `spec --color`
|
34
|
-
* `rake test` : run minitest tests
|
35
|
-
* `rake yard` : same like `yardoc`, create a doc folder with **Yard** documentation
|
36
|
-
|
37
|
-
If you pass some option(see below) to the program, the rake task list may be reduced.
|
38
|
-
|
39
|
-
Options
|
40
|
-
-------
|
41
|
-
|
42
|
-
Version 1.1.0 introduced few nice options:
|
43
|
-
|
44
|
-
* **--full** Builds these extra-folders: "share", "ext" and "data". If your project is kind of big, you may use them for order.
|
45
|
-
|
46
|
-
Next ones can be played as solo optionally in conjunction with the above one:
|
47
|
-
|
48
|
-
* **--rspec-only** Builds the standard skeleton minus the folders and files related to Cucumber.
|
49
|
-
* **--cucumber-only** Builds the standard skeleton minus the folders and files related to RSpec.
|
50
|
-
* **--minitest-only** Builds the standard skeleton without the support for RSpec and Cucumber and adds the folder "test" with the purpose of placing minitest tests there.
|
51
|
-
* **--clean** Builds the standard skeleton without the support for RSpec and Cucumber. This option may be fine for very small projects, which will have no unit testing at all.
|
52
|
-
|
53
|
-
Standard skeleton
|
54
|
-
-----------------
|
55
|
-
|
56
|
-
By default **cocot** builds support for **RSpec** and **Cucumber**:
|
57
|
-
|
58
|
-
<pre>
|
59
|
-
bin\
|
60
|
-
| proyect*
|
61
|
-
doc\
|
62
|
-
features\
|
63
|
-
| step_definitions\
|
64
|
-
| support\
|
65
|
-
| | env.rb
|
66
|
-
lib\
|
67
|
-
| proyect*\
|
68
|
-
| proyect*.rb
|
69
|
-
spec\
|
70
|
-
| proyect*\
|
71
|
-
| spec_helper.rb
|
72
|
-
CHANGELOG.md
|
73
|
-
Gemfile
|
74
|
-
Gemfile.lock
|
75
|
-
LICENSE.md
|
76
|
-
Rakefile
|
77
|
-
README.md
|
78
|
-
</pre>
|
79
|
-
|
80
|
-
*proyect is replaced by the name of your proyect
|
81
|
-
|
82
|
-
License
|
83
|
-
-------
|
84
|
-
|
85
|
-
Copyright (c) 2018 cocot
|
86
|
-
|
87
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
88
|
-
this software and associated documentation files (the "Software"), to deal in
|
89
|
-
the Software with the rights to use, copy, modify, merge, publish and distribute.
|
90
|
-
This software can not be sold, can't get money from it. In case you want to
|
91
|
-
distribute it around please mention the author.
|
92
|
-
|
93
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
94
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
95
|
-
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
96
|
-
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
97
|
-
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
98
|
-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
1
|
+
cocot
|
2
|
+
=====
|
3
|
+
|
4
|
+
Sometimes you have a good 'no-rails' idea, and say for yourself: "what a good idea!", what mostly of the time is followed by "okay, but...I can't, I'm in many proyects and I had to create all the folder and files stuff, have to check out the file convention arragment, will take me 10 minutes, so no". You are lazy and you know it. We are great builders of tools which make our life easy, **cocot** is one of those. **cocot** is a very simple tool that puts you to work in one second, you just have to tell him which will be the name of your proyect and it's done, it creates you the structure of your **BDD/TDD/"free of tests"** proyect.
|
5
|
+
|
6
|
+
It supposes that you...
|
7
|
+
-----------------------
|
8
|
+
|
9
|
+
may use **RSpec** and/or **Cucumber** and/or **minitest** for **BDD/TDD** developing, so it creates the conventional files and folders for work with.
|
10
|
+
|
11
|
+
How can I install it?
|
12
|
+
-----------------
|
13
|
+
|
14
|
+
By rubygems with `gem install cocot`.
|
15
|
+
|
16
|
+
How can I use it?
|
17
|
+
-----------------
|
18
|
+
|
19
|
+
`cocot NameOfTheProyect` or `cocot "name of the proyect"`. Will build the skeleton in the current working directory, so be aware of be positioned where you want your proyect to be.
|
20
|
+
|
21
|
+
Gemfile
|
22
|
+
-------
|
23
|
+
|
24
|
+
If you don't have **RSpec** and **Cucumber** installed on your system(or want to update them) and want to use them you can do it by calling `bundle install` standing on the main folder of your proyect created by **cocot**. If you neither have **bundler** you will need to install it by calling `gem install bundler`.
|
25
|
+
|
26
|
+
Rakefile
|
27
|
+
--------
|
28
|
+
|
29
|
+
**cocot** packs few pre-defined **rake** tasks on standard mode:
|
30
|
+
|
31
|
+
* `rake cucumber` : same like `cucumber`
|
32
|
+
* `rake cucumber_wip` : same like `cucumber --format progress --color --wip --tags @wip:3`, specially for order
|
33
|
+
* `rake spec` : same like `spec --color`
|
34
|
+
* `rake test` : run minitest tests
|
35
|
+
* `rake yard` : same like `yardoc`, create a doc folder with **Yard** documentation
|
36
|
+
|
37
|
+
If you pass some option(see below) to the program, the rake task list may be reduced.
|
38
|
+
|
39
|
+
Options
|
40
|
+
-------
|
41
|
+
|
42
|
+
Version 1.1.0 introduced few nice options:
|
43
|
+
|
44
|
+
* **--full** Builds these extra-folders: "share", "ext" and "data". If your project is kind of big, you may use them for order.
|
45
|
+
|
46
|
+
Next ones can be played as solo optionally in conjunction with the above one:
|
47
|
+
|
48
|
+
* **--rspec-only** Builds the standard skeleton minus the folders and files related to Cucumber.
|
49
|
+
* **--cucumber-only** Builds the standard skeleton minus the folders and files related to RSpec.
|
50
|
+
* **--minitest-only** Builds the standard skeleton without the support for RSpec and Cucumber and adds the folder "test" with the purpose of placing minitest tests there.
|
51
|
+
* **--clean** Builds the standard skeleton without the support for RSpec and Cucumber. This option may be fine for very small projects, which will have no unit testing at all.
|
52
|
+
|
53
|
+
Standard skeleton
|
54
|
+
-----------------
|
55
|
+
|
56
|
+
By default **cocot** builds support for **RSpec** and **Cucumber**:
|
57
|
+
|
58
|
+
<pre>
|
59
|
+
bin\
|
60
|
+
| proyect*
|
61
|
+
doc\
|
62
|
+
features\
|
63
|
+
| step_definitions\
|
64
|
+
| support\
|
65
|
+
| | env.rb
|
66
|
+
lib\
|
67
|
+
| proyect*\
|
68
|
+
| proyect*.rb
|
69
|
+
spec\
|
70
|
+
| proyect*\
|
71
|
+
| spec_helper.rb
|
72
|
+
CHANGELOG.md
|
73
|
+
Gemfile
|
74
|
+
Gemfile.lock
|
75
|
+
LICENSE.md
|
76
|
+
Rakefile
|
77
|
+
README.md
|
78
|
+
</pre>
|
79
|
+
|
80
|
+
*proyect is replaced by the name of your proyect
|
81
|
+
|
82
|
+
License
|
83
|
+
-------
|
84
|
+
|
85
|
+
Copyright (c) 2018 cocot
|
86
|
+
|
87
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
88
|
+
this software and associated documentation files (the "Software"), to deal in
|
89
|
+
the Software with the rights to use, copy, modify, merge, publish and distribute.
|
90
|
+
This software can not be sold, can't get money from it. In case you want to
|
91
|
+
distribute it around please mention the author.
|
92
|
+
|
93
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
94
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
95
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
96
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
97
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
98
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
@@ -32,7 +32,7 @@ STR
|
|
32
32
|
|
33
33
|
COCOT::CONTENIDO_DE_ARCHIVOS[:gemfile] = \
|
34
34
|
<<STR
|
35
|
-
# ruby '~>
|
35
|
+
# ruby '~>3.0'
|
36
36
|
|
37
37
|
source 'https://rubygems.org'
|
38
38
|
|
@@ -40,7 +40,6 @@ group :development do
|
|
40
40
|
gem 'rspec'
|
41
41
|
gem 'cucumber'
|
42
42
|
gem 'rake'
|
43
|
-
gem 'bundler'
|
44
43
|
gem 'yard'
|
45
44
|
end
|
46
45
|
|
@@ -51,14 +50,13 @@ STR
|
|
51
50
|
|
52
51
|
COCOT::CONTENIDO_DE_ARCHIVOS[:gemfile_rspec_only] = \
|
53
52
|
<<STR
|
54
|
-
# ruby '~>
|
53
|
+
# ruby '~>3.0'
|
55
54
|
|
56
55
|
source 'https://rubygems.org'
|
57
56
|
|
58
57
|
group :development do
|
59
58
|
gem 'rspec'
|
60
59
|
gem 'rake'
|
61
|
-
gem 'bundler'
|
62
60
|
gem 'yard'
|
63
61
|
end
|
64
62
|
|
@@ -69,14 +67,13 @@ STR
|
|
69
67
|
|
70
68
|
COCOT::CONTENIDO_DE_ARCHIVOS[:gemfile_cucumber_only] = \
|
71
69
|
<<STR
|
72
|
-
# ruby '~>
|
70
|
+
# ruby '~>3.0'
|
73
71
|
|
74
72
|
source 'https://rubygems.org'
|
75
73
|
|
76
74
|
group :development do
|
77
75
|
gem 'cucumber'
|
78
76
|
gem 'rake'
|
79
|
-
gem 'bundler'
|
80
77
|
gem 'yard'
|
81
78
|
end
|
82
79
|
|
@@ -87,13 +84,12 @@ STR
|
|
87
84
|
|
88
85
|
COCOT::CONTENIDO_DE_ARCHIVOS[:gemfile_clean] = \
|
89
86
|
<<STR
|
90
|
-
# ruby '~>
|
87
|
+
# ruby '~>3.0'
|
91
88
|
|
92
89
|
source 'https://rubygems.org'
|
93
90
|
|
94
91
|
group :development do
|
95
92
|
gem 'rake'
|
96
|
-
gem 'bundler'
|
97
93
|
gem 'yard'
|
98
94
|
end
|
99
95
|
|
@@ -216,6 +212,16 @@ STR
|
|
216
212
|
COCOT::CONTENIDO_DE_ARCHIVOS['README.md'] = \
|
217
213
|
<<STR
|
218
214
|
# name_of_the_project_upcased
|
215
|
+
|
216
|
+
|
217
|
+
|
218
|
+
# Usage
|
219
|
+
|
220
|
+
|
221
|
+
|
222
|
+
# Contact
|
223
|
+
|
224
|
+
|
219
225
|
STR
|
220
226
|
|
221
227
|
COCOT::CONTENIDO_DE_ARCHIVOS['CHANGELOG.md'] = \
|
@@ -226,7 +232,7 @@ All notable changes to this project will be documented in this file.
|
|
226
232
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
227
233
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
228
234
|
|
229
|
-
## [
|
235
|
+
## [Unreleased] - current_date
|
230
236
|
### Added
|
231
237
|
- Pristine version.
|
232
238
|
STR
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Damián M. González
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Skeleton builder of a new proyect which could be developed with BDD/TDD.
|
14
14
|
This application build the folders and files needed to start developing fast a new
|
@@ -44,7 +44,7 @@ files:
|
|
44
44
|
- spec/spec_helper.rb
|
45
45
|
homepage: https://github.com/IgorJorobus/cocot
|
46
46
|
licenses:
|
47
|
-
-
|
47
|
+
- MIT
|
48
48
|
metadata: {}
|
49
49
|
post_install_message: You can start to skeletonize your new proyect now!
|
50
50
|
rdoc_options: []
|
@@ -61,9 +61,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: '0'
|
63
63
|
requirements: []
|
64
|
-
|
65
|
-
|
66
|
-
signing_key:
|
64
|
+
rubygems_version: 3.1.2
|
65
|
+
signing_key:
|
67
66
|
specification_version: 4
|
68
67
|
summary: Skeleton builder of a new proyect which could be developed with BDD/TDD.
|
69
68
|
test_files: []
|