rhymera 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0d893f72d4db45138a24fb7d1cc070830be2ac3ab1aeefdd2664b57875558451
4
- data.tar.gz: cc0b723334d4145ea9b99ce6fa71fbc53972bc533a04a5b56fdf897a373b0902
3
+ metadata.gz: 71ec3f5ba8d5694027019a4213eb0cc116b9884886ba7d8e14d42766a7fabcf8
4
+ data.tar.gz: a27f82953f44034d0d377465436375c5745fbe507c7e4bcbf59e7042f045153b
5
5
  SHA512:
6
- metadata.gz: 2f298078c4895ec53e47cc0bc5118b612f0e9648ce78c9452802fb0b11e60cb6992ae65907c203c63e281bf59f795327ff414ad5c14fcd142ab5ad4290fe8573
7
- data.tar.gz: 5e32bb41b9e48f96ea3747733fc19f404b9c9bbf6b530a2fc8e9984d654289c1293fe0756d0339f3b28f6336bb821a958e8b73f5efc90502d49d4ac52d23a03a
6
+ metadata.gz: 3a6a39d62e2e9f1de2fc18718977df55406314b0dce033651d9b2c9d8baf4606e78a0dbb96ef37967fbf2ea8edde35244f853e90093370b2068f59835adf735b
7
+ data.tar.gz: 4d5ce447761dd9b7459824da99aeb71d24eb5d144c1669c5a6091db51a15ad07d253a025ec923655a77ae914b199e5479c6f11ded6748863fb68a97f01d02652
@@ -4,3 +4,4 @@ CHANGELOG
4
4
  - Version 0.1.0: first working release!
5
5
  - Version 0.1.1: fixed bug in `detail_view` logic
6
6
  - Version 0.1.2: stay in `detail_view` after copying attribute
7
+ - Version 0.1.3: fixed blank input behavior
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rhymera (0.1.2)
4
+ rhymera (0.1.3)
5
5
  clipboard (~> 1.3)
6
6
  tty-prompt (~> 0.23)
7
7
 
@@ -18,7 +18,7 @@ module Rhymera
18
18
  @entries = []
19
19
  build_correct_type
20
20
 
21
- # add to all hash
21
+ # add to all array
22
22
  self.class.all << self
23
23
  end
24
24
 
@@ -15,7 +15,7 @@ module Rhymera
15
15
 
16
16
  def call
17
17
  @word = prompt.ask("Please enter a search term or :q to quit.\n>")
18
- call if @word == ''
18
+ call if @word.nil?
19
19
  # vim-style quit, seems best
20
20
  exit(0) if @word == ':q'
21
21
  search(@word)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Rhymera
4
- VERSION = '0.1.2'
4
+ VERSION = '0.1.3'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rhymera
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
  - Alex Cline
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-08 00:00:00.000000000 Z
11
+ date: 2021-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: clipboard