quik 0.3.0 → 1.0.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: aeea40491434548dcde1a5c1ddb0bda4aa398aad
4
- data.tar.gz: 40a2bce8ab9174efbb4b7891706dfe25abcd9caf
2
+ SHA256:
3
+ metadata.gz: e25c5411bb118eb4d9a2c3e4b6756ce405c1b7062b6f39de01a2d9b45c2b2856
4
+ data.tar.gz: 4c0e241de4edcbc087c4032ea7bfb41e2901667b7963b49a8af031afdfaf4abf
5
5
  SHA512:
6
- metadata.gz: 84085b8406a1f652b92d8f8b0a52247293ead73284ff35b3b6a25a078289747bc5132e142172eb921550133a94b8dfc7bcdd297d71b5653668f834c3284b789c
7
- data.tar.gz: 322f1477876bbc91fdf1de5a48b2bd4f74b2819c2a6c85aa1d05803aa8f5c0e6456ce7f4c9170c1168039743befbb9b22dd78f07b3ac5031f7ef8afe7f474554
6
+ metadata.gz: 6dd0cae90beb9bc4abca46aa59fd044e9c84f4c1b5c4cfc164431015423b018d3285efd283371a602e992c1dcc720850e0c5f0a6d13dea1381396444d4d07eb6
7
+ data.tar.gz: d1485b46b4820080333534d3e377016f3ef0c321d4d8170c7b9d886d7845d1def725ab9789181362e4a13efb988c0784dd2dfcad08f4d5f16887911da6e7364e
@@ -1,3 +1,3 @@
1
- ### 0.0.1 / 2015-08-17
2
-
3
- * Everything is new. First release
1
+ ### 0.0.1 / 2015-08-17
2
+
3
+ * Everything is new. First release
@@ -0,0 +1,116 @@
1
+ CC0 1.0 Universal
2
+
3
+ Statement of Purpose
4
+
5
+ The laws of most jurisdictions throughout the world automatically confer
6
+ exclusive Copyright and Related Rights (defined below) upon the creator and
7
+ subsequent owner(s) (each and all, an "owner") of an original work of
8
+ authorship and/or a database (each, a "Work").
9
+
10
+ Certain owners wish to permanently relinquish those rights to a Work for the
11
+ purpose of contributing to a commons of creative, cultural and scientific
12
+ works ("Commons") that the public can reliably and without fear of later
13
+ claims of infringement build upon, modify, incorporate in other works, reuse
14
+ and redistribute as freely as possible in any form whatsoever and for any
15
+ purposes, including without limitation commercial purposes. These owners may
16
+ contribute to the Commons to promote the ideal of a free culture and the
17
+ further production of creative, cultural and scientific works, or to gain
18
+ reputation or greater distribution for their Work in part through the use and
19
+ efforts of others.
20
+
21
+ For these and/or other purposes and motivations, and without any expectation
22
+ of additional consideration or compensation, the person associating CC0 with a
23
+ Work (the "Affirmer"), to the extent that he or she is an owner of Copyright
24
+ and Related Rights in the Work, voluntarily elects to apply CC0 to the Work
25
+ and publicly distribute the Work under its terms, with knowledge of his or her
26
+ Copyright and Related Rights in the Work and the meaning and intended legal
27
+ effect of CC0 on those rights.
28
+
29
+ 1. Copyright and Related Rights. A Work made available under CC0 may be
30
+ protected by copyright and related or neighboring rights ("Copyright and
31
+ Related Rights"). Copyright and Related Rights include, but are not limited
32
+ to, the following:
33
+
34
+ i. the right to reproduce, adapt, distribute, perform, display, communicate,
35
+ and translate a Work;
36
+
37
+ ii. moral rights retained by the original author(s) and/or performer(s);
38
+
39
+ iii. publicity and privacy rights pertaining to a person's image or likeness
40
+ depicted in a Work;
41
+
42
+ iv. rights protecting against unfair competition in regards to a Work,
43
+ subject to the limitations in paragraph 4(a), below;
44
+
45
+ v. rights protecting the extraction, dissemination, use and reuse of data in
46
+ a Work;
47
+
48
+ vi. database rights (such as those arising under Directive 96/9/EC of the
49
+ European Parliament and of the Council of 11 March 1996 on the legal
50
+ protection of databases, and under any national implementation thereof,
51
+ including any amended or successor version of such directive); and
52
+
53
+ vii. other similar, equivalent or corresponding rights throughout the world
54
+ based on applicable law or treaty, and any national implementations thereof.
55
+
56
+ 2. Waiver. To the greatest extent permitted by, but not in contravention of,
57
+ applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
58
+ unconditionally waives, abandons, and surrenders all of Affirmer's Copyright
59
+ and Related Rights and associated claims and causes of action, whether now
60
+ known or unknown (including existing as well as future claims and causes of
61
+ action), in the Work (i) in all territories worldwide, (ii) for the maximum
62
+ duration provided by applicable law or treaty (including future time
63
+ extensions), (iii) in any current or future medium and for any number of
64
+ copies, and (iv) for any purpose whatsoever, including without limitation
65
+ commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes
66
+ the Waiver for the benefit of each member of the public at large and to the
67
+ detriment of Affirmer's heirs and successors, fully intending that such Waiver
68
+ shall not be subject to revocation, rescission, cancellation, termination, or
69
+ any other legal or equitable action to disrupt the quiet enjoyment of the Work
70
+ by the public as contemplated by Affirmer's express Statement of Purpose.
71
+
72
+ 3. Public License Fallback. Should any part of the Waiver for any reason be
73
+ judged legally invalid or ineffective under applicable law, then the Waiver
74
+ shall be preserved to the maximum extent permitted taking into account
75
+ Affirmer's express Statement of Purpose. In addition, to the extent the Waiver
76
+ is so judged Affirmer hereby grants to each affected person a royalty-free,
77
+ non transferable, non sublicensable, non exclusive, irrevocable and
78
+ unconditional license to exercise Affirmer's Copyright and Related Rights in
79
+ the Work (i) in all territories worldwide, (ii) for the maximum duration
80
+ provided by applicable law or treaty (including future time extensions), (iii)
81
+ in any current or future medium and for any number of copies, and (iv) for any
82
+ purpose whatsoever, including without limitation commercial, advertising or
83
+ promotional purposes (the "License"). The License shall be deemed effective as
84
+ of the date CC0 was applied by Affirmer to the Work. Should any part of the
85
+ License for any reason be judged legally invalid or ineffective under
86
+ applicable law, such partial invalidity or ineffectiveness shall not
87
+ invalidate the remainder of the License, and in such case Affirmer hereby
88
+ affirms that he or she will not (i) exercise any of his or her remaining
89
+ Copyright and Related Rights in the Work or (ii) assert any associated claims
90
+ and causes of action with respect to the Work, in either case contrary to
91
+ Affirmer's express Statement of Purpose.
92
+
93
+ 4. Limitations and Disclaimers.
94
+
95
+ a. No trademark or patent rights held by Affirmer are waived, abandoned,
96
+ surrendered, licensed or otherwise affected by this document.
97
+
98
+ b. Affirmer offers the Work as-is and makes no representations or warranties
99
+ of any kind concerning the Work, express, implied, statutory or otherwise,
100
+ including without limitation warranties of title, merchantability, fitness
101
+ for a particular purpose, non infringement, or the absence of latent or
102
+ other defects, accuracy, or the present or absence of errors, whether or not
103
+ discoverable, all to the greatest extent permissible under applicable law.
104
+
105
+ c. Affirmer disclaims responsibility for clearing rights of other persons
106
+ that may apply to the Work or any use thereof, including without limitation
107
+ any person's Copyright and Related Rights in the Work. Further, Affirmer
108
+ disclaims responsibility for obtaining any necessary consents, permissions
109
+ or other rights required for any use of the Work.
110
+
111
+ d. Affirmer understands and acknowledges that Creative Commons is not a
112
+ party to this document and has no duty or obligation with respect to this
113
+ CC0 or use of the Work.
114
+
115
+ For more information, please see
116
+ <http://creativecommons.org/publicdomain/zero/1.0/>
@@ -1,29 +1,30 @@
1
- HISTORY.md
2
- Manifest.txt
3
- README.md
4
- Rakefile
5
- bin/qk
6
- bin/quik
7
- lib/quik.rb
8
- lib/quik/builder.rb
9
- lib/quik/catalog.rb
10
- lib/quik/cli/main.rb
11
- lib/quik/cli/opts.rb
12
- lib/quik/colors.rb
13
- lib/quik/config.rb
14
- lib/quik/merger.rb
15
- lib/quik/package.rb
16
- lib/quik/version.rb
17
- lib/quik/wizard.rb
18
- test/data/gem-starter-template/Manifest.txt
19
- test/data/gem-starter-template/README.md
20
- test/data/gem-starter-template/lib/$filename$.rb
21
- test/data/gem-starter-template/lib/__filename__/$filename$.rb
22
- test/data/gem-starter-template/lib/__filename__/__filename__/test.rb
23
- test/data/gem-starter-template/lib/__filename__/version.rb
24
- test/helper.rb
25
- test/test_colors.rb
26
- test/test_config.rb
27
- test/test_merger.rb
28
- test/test_package.rb
29
- test/test_wizard.rb
1
+ CHANGELOG.md
2
+ LICENSE.md
3
+ Manifest.txt
4
+ README.md
5
+ Rakefile
6
+ bin/qk
7
+ bin/quik
8
+ lib/quik.rb
9
+ lib/quik/builder.rb
10
+ lib/quik/catalog.rb
11
+ lib/quik/cli/main.rb
12
+ lib/quik/cli/opts.rb
13
+ lib/quik/colors.rb
14
+ lib/quik/config.rb
15
+ lib/quik/merger.rb
16
+ lib/quik/package.rb
17
+ lib/quik/version.rb
18
+ lib/quik/wizard.rb
19
+ test/data/gem-starter-template/Manifest.txt
20
+ test/data/gem-starter-template/README.md
21
+ test/data/gem-starter-template/lib/$filename$.rb
22
+ test/data/gem-starter-template/lib/__filename__/$filename$.rb
23
+ test/data/gem-starter-template/lib/__filename__/__filename__/test.rb
24
+ test/data/gem-starter-template/lib/__filename__/version.rb
25
+ test/helper.rb
26
+ test/test_colors.rb
27
+ test/test_config.rb
28
+ test/test_merger.rb
29
+ test/test_package.rb
30
+ test/test_wizard.rb
data/README.md CHANGED
@@ -1,131 +1,133 @@
1
- # qk/quik - ruby quick starter template script wizard .:. the missing code generator
2
-
3
- * home :: [github.com/rubylibs/quik](https://github.com/rubylibs/quik)
4
- * bugs :: [github.com/rubylibs/quik/issues](https://github.com/rubylibs/quik/issues)
5
- * gem :: [rubygems.org/gems/quik](https://rubygems.org/gems/quik)
6
- * rdoc :: [rubydoc.info/gems/quik](http://rubydoc.info/gems/quik)
7
-
8
-
9
- ## Usage
10
-
11
- The quick gem includes a command line tool that lets you
12
- run quick starter template scripts. Try:
13
-
14
- ```
15
- $ quik --help # or
16
- $ qk -h
17
- ```
18
-
19
- Resulting in:
20
-
21
- ```
22
- NAME
23
- qk/quik - ruby quick starter template script wizard .:. the missing code generator
24
-
25
- SYNOPSIS
26
- quik [global options] command [command options] [arguments...]
27
-
28
- VERSION
29
- 0.3.0
30
-
31
- GLOBAL OPTIONS
32
- --help - Show this message
33
- --test, --dry_run - (Debug) Dry run; run script in simulation for testing
34
- --verbose - (Debug) Show debug messages
35
- --version - Display the program version
36
-
37
- COMMANDS
38
- list, ls, l - List ruby quick starter scripts
39
- new, n - Run ruby quick starter script
40
-
41
- help - Shows a list of commands or help for one command
42
- test - (Debug) Test command suite
43
- ```
44
-
45
-
46
- ### Commands
47
-
48
- [List Wizards](#list-wizard-command---list-ls-l) •
49
- [New Wizard](#new-wizard-command---new-n)
50
-
51
-
52
- #### List Wizards Command - `list`, `ls`, `l`
53
-
54
- Use:
55
-
56
- ```
57
- $ quik list # or
58
- $ quik ls # or
59
- $ quik l # or
60
- $ qk l
61
- ```
62
-
63
- Resulting in:
64
-
65
- ```
66
- 1..gem .:. Gem Quick Starter Template
67
- 2..gem-hoe .:. Gem Quick Starter Template (Hoe Classic Edition)
68
- 3..sinatra .:. Sinatra Quick Starter Template
69
- ...
70
- ```
71
-
72
-
73
- #### New Wizard Command - `new`, `n`
74
-
75
- To run a quick starter template wizard script
76
- to download and install (unzip/unpack) a template archive and configure
77
- the code ready-to-use. Try:
78
-
79
-
80
- ```
81
- $ quik new gem # or
82
- $ quik n gem # or
83
- $ qk n gem
84
- ```
85
-
86
- This will download the `gem.rb` wizard script
87
- from the [Rubyref Scripts](https://github.com/rubyref/scripts) repo
88
- and run through all steps e.g.:
89
-
90
- ```
91
- Welcome, to the gem quick starter script.
92
-
93
- Q: What's your gem's name? [hola]: hello
94
- Q: What's your gem's module? [Hola]: Hello
95
-
96
- Thanks! Ready-to-go. Stand back.
97
-
98
- Downloading Rubyref Gem Starter Template...
99
- Setting up Rubyref Starter Template...
100
- ...
101
- Done.
102
- ```
103
-
104
- That's it. Now the gem starter code is ready in the `hello`
105
- folder.
106
-
107
-
108
- **More Quick Starter Wizard Scripts**
109
-
110
- For more ruby quick starter scripts, see the [Rubyref's Scripts](https://github.com/rubyref/scripts) library.
111
-
112
- For static site (e.g. jekyll) quick starter scripts, see the [Mr. Hyde's Scripts](https://github.com/mrhydescripts/scripts) library.
113
-
114
-
115
-
116
- ## Install
117
-
118
- Just install the gem:
119
-
120
- $ gem install quik
121
-
122
-
123
- ## License
124
-
125
- The `quik` scripts are dedicated to the public domain.
126
- Use it as you please with no restrictions whatsoever.
127
-
128
- ## Questions? Comments?
129
-
130
- Send them along to the ruby-talk mailing list.
131
- Thanks!
1
+ # qk/quik - ruby quick starter template script wizard .:. the missing code generator
2
+
3
+ * home :: [github.com/quikstart/quik](https://github.com/quikstart/quik)
4
+ * bugs :: [github.com/quikstart/quik/issues](https://github.com/quikstart/quik/issues)
5
+ * gem :: [rubygems.org/gems/quik](https://rubygems.org/gems/quik)
6
+ * rdoc :: [rubydoc.info/gems/quik](http://rubydoc.info/gems/quik)
7
+
8
+
9
+ ## Usage
10
+
11
+ The quick gem includes a command line tool that lets you
12
+ run quick starter template scripts. Try:
13
+
14
+ ```
15
+ $ quik --help # or
16
+ $ qk -h
17
+ ```
18
+
19
+ Resulting in:
20
+
21
+ ```
22
+ NAME
23
+ qk/quik - ruby quick starter template script wizard .:. the missing code generator
24
+
25
+ SYNOPSIS
26
+ quik [global options] command [command options] [arguments...]
27
+
28
+ VERSION
29
+ 1.0.0
30
+
31
+ GLOBAL OPTIONS
32
+ --help - Show this message
33
+ --test, --dry_run - (Debug) Dry run; run script in simulation for testing
34
+ --verbose - (Debug) Show debug messages
35
+ --version - Display the program version
36
+
37
+ COMMANDS
38
+ list, ls, l - List ruby quick starter scripts
39
+ new, n - Run ruby quick starter script
40
+
41
+ help - Shows a list of commands or help for one command
42
+ test - (Debug) Test command suite
43
+ ```
44
+
45
+
46
+ ### Commands
47
+
48
+ [List Wizards](#list-wizard-command---list-ls-l) •
49
+ [New Wizard](#new-wizard-command---new-n)
50
+
51
+
52
+ #### List Wizards Command - `list`, `ls`, `l`
53
+
54
+ Use:
55
+
56
+ ```
57
+ $ quik list # or
58
+ $ quik ls # or
59
+ $ quik l # or
60
+ $ qk l
61
+ ```
62
+
63
+ Resulting in:
64
+
65
+ ```
66
+ 1..gem .:. Gem Quick Starter Template
67
+ 2..gem-hoe .:. Gem Quick Starter Template (Hoe Classic Edition)
68
+ 3..sinatra .:. Sinatra Quick Starter Template
69
+ ...
70
+ ```
71
+
72
+
73
+ #### New Wizard Command - `new`, `n`
74
+
75
+ To run a quick starter template wizard script
76
+ to download and install (unzip/unpack) a template archive and configure
77
+ the code ready-to-use. Try:
78
+
79
+
80
+ ```
81
+ $ quik new gem # or
82
+ $ quik n gem # or
83
+ $ qk n gem
84
+ ```
85
+
86
+ This will download the [`quik.rb`](https://github.com/quikstart/gem-starter-template/blob/master/quik.rb) wizard script from the
87
+ gem starter template repo
88
+ and run through all steps e.g.:
89
+
90
+ ```
91
+ Welcome, to the gem quick starter script.
92
+
93
+ Q: What's your gem's name? [hola]: hello
94
+ Q: What's your gem's module? [Hola]: Hello
95
+
96
+ Thanks! Ready-to-go. Stand back.
97
+
98
+ Downloading Gem Starter Template...
99
+ Setting up Gem Starter Template...
100
+ ...
101
+ Done.
102
+ ```
103
+
104
+ That's it. Now the gem starter code is ready in the `hello`
105
+ folder.
106
+
107
+
108
+ **More Quick Starter Wizard Scripts**
109
+
110
+ For more ruby quick starter scripts, see the [Scripts](https://github.com/quikstart/scripts)
111
+ catalog / directory.
112
+
113
+ For static website (e.g. jekyll) quick starter scripts, see the [Mr. Hyde's Scripts](https://github.com/mrhydescripts/scripts) catalog / directory.
114
+
115
+
116
+
117
+
118
+ ## Install
119
+
120
+ Just install the gem:
121
+
122
+ $ gem install quik
123
+
124
+
125
+ ## License
126
+
127
+ The `quik` scripts are dedicated to the public domain.
128
+ Use it as you please with no restrictions whatsoever.
129
+
130
+ ## Questions? Comments?
131
+
132
+ Send them along to the ruby-talk mailing list.
133
+ Thanks!