sheldon 6.0.8 → 6.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +5 -5
  2. data/bin/sheldon +2 -0
  3. data/lib/sheldon/sheldon.rb +1 -1
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 9ca3bdf372896e5415c1fe4dfc4bf9826f379816
4
- data.tar.gz: 7b1748ea1c7abd957d33ebcb27b8b89862a93d35
2
+ SHA256:
3
+ metadata.gz: a33af44c127bf2f8746b81aedac2eae7380cedd257309145912e1d5aed8176ff
4
+ data.tar.gz: a888edfe9e6c5cd5da4c1e61dafb280531fe68e93cc13a203e873e06a1d456f5
5
5
  SHA512:
6
- metadata.gz: 0f81c292c2364f3a992465a97068299bae7b73dd04d85937cc6e0881da0f3c745b73be730bf5e7b59829dacf945ffdff56d557a5cae4831b7b310b034843bcef
7
- data.tar.gz: cb72faf78dfa6e690b38a83df3432fa3ed4fdb46b98a09cfa33a97ca9a07cc261f0ac736ce8531584e4cda60f8285c4f5c5c3fa06038fb89db28227f02c9b6b7
6
+ metadata.gz: 49829a90da112980d66cee812bbd89b9ece8c23a05b1cf5eaa23c8aecbabf22cc291d3827b7cbd9e01d3a238f7e756cd56764cbc3aedfea2290d632aa5dd51de
7
+ data.tar.gz: 9569328afec7cef9b86a8a2525bbbd05d39660b7798cb0adf64380c505a244a346bc45d4ab7f842b594fa9dbf735ffb08ddaa7dda471819076fe2c25d5375ad7
@@ -65,6 +65,8 @@ module CLI
65
65
 
66
66
  def recall(recall_cue=nil)
67
67
  cue_options = sheldon.list_cues.reject{ |cue| sheldon.recalled?(cue) }
68
+ error_and_exit("All of your files and folders have already been recalled. Use `sheldon list` to view them all.") if cue_options.empty?
69
+
68
70
  if options[:i]
69
71
  cue_options.each do |recall_cue|
70
72
  answer = prompt.yes?("Recall #{recall_cue}?")
@@ -1,7 +1,7 @@
1
1
  require "fileutils"
2
2
 
3
3
  class Sheldon
4
- VERSION = "6.0.8".freeze
4
+ VERSION = "6.0.9".freeze
5
5
  attr_reader :brain, :builder
6
6
 
7
7
  def initialize(sheldon_data_dir)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sheldon
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.8
4
+ version: 6.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Jones
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-07 00:00:00.000000000 Z
11
+ date: 2018-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -117,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
117
117
  version: '0'
118
118
  requirements: []
119
119
  rubyforge_project:
120
- rubygems_version: 2.6.14.1
120
+ rubygems_version: 2.7.7
121
121
  signing_key:
122
122
  specification_version: 4
123
123
  summary: Another config and dotfile manager for unix environments