aphorism 0.1.6 → 0.1.7

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
  SHA256:
3
- metadata.gz: bc76831baa47d054e6961add5341e9e564f553537cdf0aca2ebaa5946bddee42
4
- data.tar.gz: 472b66ad651bff99ca92ecc8b1f9ae51a317eac93c26115e05c34845e31c36e2
3
+ metadata.gz: bb0e38539a69f0d1e53b80cd352e74d946587f0f449e081834cdf55192865973
4
+ data.tar.gz: bccf37e52df93e6f6c3d005bd6ab44bf5fc3018e910b38c5d29d1caa990dda85
5
5
  SHA512:
6
- metadata.gz: 16047a087be47bf68fa4424725ccb36d613d9f5936c97cc82a4db7ae044112bcb61bb1e4ebdfb4d01bf3d36c2b0d88134d8cf24968e278ec68480b160bc89783
7
- data.tar.gz: 0743c29a931e4ca81536d0f7393b677c3d97ef0c6eed8e610af1dc9760a21f0b9d66f789a0f699a9d60e17e7676146f03f0bbf4ff8d391ab18803d8efd23037f
6
+ metadata.gz: c29970759b75b58d3aafa48e52b5c84ab36526fcdc5511c174830aed5d02a74de9fcbec811602f81aaaf28b35c0142a576d1d5fc5decac998c89876770bc3d39
7
+ data.tar.gz: c7123c9157f1f4d7ce8737263a84997d07e4fc4e381ac3b00aa8d184395c0856762083aa29655bcb44c5b313ecbdc8816519b510124cbf32277abd8997a5414a
@@ -21,7 +21,7 @@ module Aphorism
21
21
 
22
22
  def custom_aphorisms
23
23
  custom_path = File.join(Dir.home, '.aphorism')
24
- return unless File.directory?(custom_path)
24
+ return [] unless File.directory?(custom_path)
25
25
 
26
26
  custom_files = Dir.entries(custom_path).select! do |file|
27
27
  file.include?('.txt')
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Aphorism
4
- VERSION = '0.1.6'
4
+ VERSION = '0.1.7'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aphorism
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kate Donaldson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-06-23 00:00:00.000000000 Z
11
+ date: 2019-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler