software_binder 0.1.2 → 0.1.3

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
2
  SHA1:
3
- metadata.gz: 4171d7b89e37251ebbd09dea5616c3069e58f4e4
4
- data.tar.gz: 71656522beca23c9d5cea06fbd60b4b11f9b62ff
3
+ metadata.gz: 044d9d2f2db8b22cb1ec1c5d316a645b4c6e7f24
4
+ data.tar.gz: eaab75a745bccaf4a02194250a286feaea483ef7
5
5
  SHA512:
6
- metadata.gz: 04d43fe1f37639b55ad3a8a350875ff28d2a118f357ac2ad808328568c182803b6053047dc930dd3537487c0c7476e8aaaa6cbd7e7ec1bacc4a62cc1b1e447b0
7
- data.tar.gz: 8cb3a7dcf31d4b46d83beb6acb2f352c53fd968f83d45190bd879fbb5582d7e7b6a2c8c23cc21b9d6d60fa9a22039f9aaa12bf78a11b7911613a26a391e05ba9
6
+ metadata.gz: d49af220a1bd3f815e201c8dff72b41d30f1eb79aca3318ca45472a8db5d86cf78589e6705fa4df630ff61a39e8254911a468a42f02babe523a58b95bfdcb273
7
+ data.tar.gz: d76586a5792ec8085c7db35b0a8ca078ed41cbb0a5299f16fa1fb2291c828204999e46c65016e9c9b442e2fe83eb992b3e11529d167f2bb9eeabc845805e7732
@@ -37,6 +37,12 @@ class SoftwareBinder::CLI
37
37
  puts "There is no result for your search."
38
38
  self.list_categories
39
39
  end
40
+ elsif input.to_i == 100
41
+ result = SoftwareBinder::Category.find_by_keyword("")[0 .. 99]
42
+ result.each.with_index(1) do |category, i|
43
+ @@last_category_search << category
44
+ puts "#{i}. #{category.name}"
45
+ end
40
46
  else
41
47
  find_by_keyword = SoftwareBinder::Category.find_by_keyword(input)
42
48
  if find_by_keyword.size > 0
@@ -1,3 +1,3 @@
1
1
  module SoftwareBinder
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
@@ -9,8 +9,8 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ["Hoon Lee"]
10
10
  spec.email = ["yl.hoony@gmail.com"]
11
11
 
12
- spec.summary = %q{CLI Program to check software cateogy and lists from Capterra}
13
- spec.description = %q{With Software Binder, you can get the software list by category from Capterra.}
12
+ spec.summary = %q{CLI Program to check software cateogy and lists}
13
+ spec.description = %q{With Software Binder, you can get the software list by category.}
14
14
  spec.homepage = "https://github.com/ylhoony/software-binder-cli-app"
15
15
  spec.license = "MIT"
16
16
  spec.metadata["allowed_push_host"] = "https://rubygems.org"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: software_binder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hoon Lee
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-30 00:00:00.000000000 Z
11
+ date: 2018-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -94,8 +94,7 @@ dependencies:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
- description: With Software Binder, you can get the software list by category from
98
- Capterra.
97
+ description: With Software Binder, you can get the software list by category.
99
98
  email:
100
99
  - yl.hoony@gmail.com
101
100
  executables:
@@ -147,5 +146,5 @@ rubyforge_project:
147
146
  rubygems_version: 2.6.14
148
147
  signing_key:
149
148
  specification_version: 4
150
- summary: CLI Program to check software cateogy and lists from Capterra
149
+ summary: CLI Program to check software cateogy and lists
151
150
  test_files: []