motivator 1.0.1 → 1.0.2

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/motivator +0 -1
  3. data/lib/file_watcher.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ec6a5287f4e2a58da7dc36626143c4f9b196a0b1
4
- data.tar.gz: 9fc170184a2e3f69fc76f9c4c451cb5d8226b4a0
3
+ metadata.gz: 6e217f14a37f59d1b1216a3b0db8e071d524412d
4
+ data.tar.gz: 1d4b5f97e1a9fc5f47e9a178784b80712396a24f
5
5
  SHA512:
6
- metadata.gz: 0104676e3a983a8d7910b496d59b5ae6e1d26f33ba6ea481e1ff21c83c596917ccd90cf192ec3968d2c07421a92e8198f0671c2fc565a1732f4dbc46c29111e1
7
- data.tar.gz: f84bbb47cb26e93e7f466ba03e202368ba0da117c42da80f9d564039ed940ff6171e66d9364f6014b248ff09da7bcfdb2cf8bb033375352ae319005a6f3c4c73
6
+ metadata.gz: 492217abf217bc85a09688a53140e4125a1e3fc16ba8df5b80042f0ac0881422a90e2593ba95328148d804ec1af8a429f4b62e231c37f31038e90638be268c86
7
+ data.tar.gz: f3e1f12cf4e73237b057f0ef10e2a7185242165de663e648f54ee2adcc55926e0ae15ea6b3288718999619d0d7ea7d9566146c1485b39f94851dd893312e8c3b
data/bin/motivator CHANGED
@@ -8,7 +8,6 @@ require 'command_parser'
8
8
  require 'file_watcher'
9
9
 
10
10
  # load the quotes from the yaml file
11
-
12
11
  quotes = YAML.load_file(File.dirname(__FILE__)+'/../lib/quote.yml')
13
12
  # initialise the motivation class
14
13
  motivator = Motivator.new(quotes['quotes'], ColourOutput.new, FileWatcher.new)
data/lib/file_watcher.rb CHANGED
@@ -2,7 +2,7 @@ class FileWatcher
2
2
  attr_reader :snapshot, :changed, :event
3
3
 
4
4
  def initialize(files = nil, options = {})
5
- @files = files || ['./**/*']
5
+ @files = files || ['./*']
6
6
  @changed = nil
7
7
  @event = nil
8
8
  if not @files.empty?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: motivator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hugo Rut