Sha256: 77376c1c15a5621286728a9ed9542d4bb3c9fa7915bf11137dba39cd26a37fc6
Contents?: true
Size: 528 Bytes
Versions: 2
Compression:
Stored size: 528 Bytes
Contents
#! /usr/bin/env ruby require 'pathname' require 'yaml' require 'forever' require 'terminal-notifier' require_relative '../lib/gns' GNS_RC_FILE = '~/.gnsrc' Forever.run do before :all do rc_file_path = Pathname.new(GNS_RC_FILE).expand_path @settings = YAML.load_file(rc_file_path) @github_atom = Gns::GithubAtom.new(@settings[:private_atom_url]) end every 1.minutes do @github_atom.recent_items.each do |item| TerminalNotifier.notify item.title, title: item.repo, open: item.url end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gns-0.0.2 | bin/gns |
gns-0.0.1 | bin/gns |