software_binder 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +4 -10
- data/lib/software_binder/cli.rb +1 -0
- data/lib/software_binder/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4171d7b89e37251ebbd09dea5616c3069e58f4e4
|
4
|
+
data.tar.gz: 71656522beca23c9d5cea06fbd60b4b11f9b62ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04d43fe1f37639b55ad3a8a350875ff28d2a118f357ac2ad808328568c182803b6053047dc930dd3537487c0c7476e8aaaa6cbd7e7ec1bacc4a62cc1b1e447b0
|
7
|
+
data.tar.gz: 8cb3a7dcf31d4b46d83beb6acb2f352c53fd968f83d45190bd879fbb5582d7e7b6a2c8c23cc21b9d6d60fa9a22039f9aaa12bf78a11b7911613a26a391e05ba9
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -7,21 +7,15 @@ Software Binder is Ruby CLI program that you can search software categories and
|
|
7
7
|
Add this line to your application's Gemfile:
|
8
8
|
|
9
9
|
```ruby
|
10
|
-
gem
|
10
|
+
$ gem install software_binder
|
11
11
|
```
|
12
12
|
|
13
|
-
And then execute:
|
14
|
-
|
15
|
-
$ bundle
|
16
|
-
|
17
|
-
Or install it yourself as:
|
18
|
-
|
19
|
-
$ gem install software_binder
|
20
|
-
|
21
13
|
## Usage
|
22
14
|
|
15
|
+
Type this line to start the program:
|
16
|
+
|
23
17
|
```ruby
|
24
|
-
|
18
|
+
$ software_binder
|
25
19
|
```
|
26
20
|
|
27
21
|
## Development
|
data/lib/software_binder/cli.rb
CHANGED
@@ -54,6 +54,7 @@ class SoftwareBinder::CLI
|
|
54
54
|
def list_softwares
|
55
55
|
puts "Please enter the category index number, or type 'exit' to quit"
|
56
56
|
input = gets.strip
|
57
|
+
exit if input == 'exit'
|
57
58
|
if !input.to_i.between?(1, self.class.last_category_search.size)
|
58
59
|
puts "It is not valid input."
|
59
60
|
self.list_softwares
|