quid 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE.md +17 -0
- data/README.md +28 -0
- data/lib/quid.rb +22 -0
- data/lib/quid/version.rb +16 -0
- metadata +66 -0
data/LICENSE.md
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
License
|
2
|
+
=======
|
3
|
+
|
4
|
+
**quid** is free, open-source software distributed under the terms of the ISC license:
|
5
|
+
|
6
|
+
Copyright (c) 2013, Autumn Perrault <autumn@destellae.net>
|
7
|
+
|
8
|
+
Permission to use, copy, modify, and/or distribute this software for any purpose with
|
9
|
+
or without fee is hereby granted, provided that the above copyright notice and this
|
10
|
+
permission notice appear in all copies.
|
11
|
+
|
12
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO
|
13
|
+
THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT
|
14
|
+
SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR
|
15
|
+
ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF
|
16
|
+
CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
|
17
|
+
OR PERFORMANCE OF THIS SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
quid
|
2
|
+
====
|
3
|
+
|
4
|
+
**v0.0.1**
|
5
|
+
|
6
|
+
Synopsis
|
7
|
+
--------
|
8
|
+
|
9
|
+
**quid** is a Ruby gem which provides a simple interface for prompting questions
|
10
|
+
on the command line and processing the response. It is crafted with a
|
11
|
+
philosophy of minimalism and simplicity.
|
12
|
+
|
13
|
+
Usage
|
14
|
+
-----
|
15
|
+
|
16
|
+
$ gem install quid
|
17
|
+
|
18
|
+
Author
|
19
|
+
------
|
20
|
+
|
21
|
+
This gem was written by [Autumn Perrault](https://github.com/noxgirl).
|
22
|
+
|
23
|
+
Legal
|
24
|
+
-----
|
25
|
+
|
26
|
+
Copyright (c) 2013, Autumn Perrault. This gem is free software, distributed
|
27
|
+
under the terms of the ISC license, the full terms of which can be found in
|
28
|
+
**LICENSE.md**.
|
data/lib/quid.rb
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
# Copyright (c) 2013, Autumn Perrault <autumn@destellae.net>
|
2
|
+
#
|
3
|
+
# Permission to use, copy, modify, and/or distribute this software for any purpose with
|
4
|
+
# or without fee is hereby granted, provided that the above copyright notice and this
|
5
|
+
# permission notice appear in all copies.
|
6
|
+
#
|
7
|
+
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO
|
8
|
+
# THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT
|
9
|
+
# SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR
|
10
|
+
# ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF
|
11
|
+
# CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
|
12
|
+
# OR PERFORMANCE OF THIS SOFTWARE.
|
13
|
+
|
14
|
+
require 'readline'
|
15
|
+
|
16
|
+
require 'quid/version'
|
17
|
+
|
18
|
+
# A simple question-prompting interface.
|
19
|
+
class Quid
|
20
|
+
|
21
|
+
|
22
|
+
end
|
data/lib/quid/version.rb
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
# Copyright (c) 2013, Autumn Perrault <autumn@destellae.net>
|
2
|
+
#
|
3
|
+
# Permission to use, copy, modify, and/or distribute this software for any purpose with
|
4
|
+
# or without fee is hereby granted, provided that the above copyright notice and this
|
5
|
+
# permission notice appear in all copies.
|
6
|
+
#
|
7
|
+
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO
|
8
|
+
# THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT
|
9
|
+
# SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR
|
10
|
+
# ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF
|
11
|
+
# CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
|
12
|
+
# OR PERFORMANCE OF THIS SOFTWARE.
|
13
|
+
|
14
|
+
class Quid
|
15
|
+
VERSION = '0.0.1'
|
16
|
+
end
|
metadata
ADDED
@@ -0,0 +1,66 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: quid
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Autumn Perrault
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-01-15 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rspec
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '2.12'
|
22
|
+
type: :development
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '2.12'
|
30
|
+
description: ! " A gem for prompting questions on the command line, designed with
|
31
|
+
a philosophy\n of minimalism and simplicity.\n"
|
32
|
+
email: autumn@destellae.net
|
33
|
+
executables: []
|
34
|
+
extensions: []
|
35
|
+
extra_rdoc_files: []
|
36
|
+
files:
|
37
|
+
- lib/quid.rb
|
38
|
+
- lib/quid/version.rb
|
39
|
+
- README.md
|
40
|
+
- LICENSE.md
|
41
|
+
homepage: https://github.com/noxgirl/quid
|
42
|
+
licenses:
|
43
|
+
- ISC
|
44
|
+
post_install_message:
|
45
|
+
rdoc_options: []
|
46
|
+
require_paths:
|
47
|
+
- lib
|
48
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
55
|
+
none: false
|
56
|
+
requirements:
|
57
|
+
- - ! '>='
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '0'
|
60
|
+
requirements: []
|
61
|
+
rubyforge_project:
|
62
|
+
rubygems_version: 1.8.23
|
63
|
+
signing_key:
|
64
|
+
specification_version: 3
|
65
|
+
summary: A simple and minimalist question-prompting gem.
|
66
|
+
test_files: []
|