annoyme 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.rspec +3 -0
- data/.simplecov +3 -0
- data/CODE_OF_CONDUCT.md +49 -0
- data/Gemfile +4 -0
- data/Guardfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +51 -0
- data/Rakefile +10 -0
- data/annoyme.gemspec +29 -0
- data/exe/annoyme +7 -0
- data/lib/annoyme.rb +10 -0
- data/lib/annoyme/adder.rb +16 -0
- data/lib/annoyme/cli.rb +80 -0
- data/lib/annoyme/error/config_file_does_not_exist_error.rb +11 -0
- data/lib/annoyme/error/shell_not_supported_error.rb +11 -0
- data/lib/annoyme/initializer.rb +47 -0
- data/lib/annoyme/logger.rb +52 -0
- data/lib/annoyme/notes_file.rb +32 -0
- data/lib/annoyme/printer.rb +20 -0
- data/lib/annoyme/remover.rb +37 -0
- data/lib/annoyme/shell_file_appender.rb +38 -0
- data/lib/annoyme/version.rb +3 -0
- metadata +180 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 64a20eedf2647f8cd1de544ece4a3ba4f8e98a7c
|
4
|
+
data.tar.gz: f14e95cac86d57dcb707e8207c018753001bafd9
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 92632828639cf0789079a49e74450778d2bec77012cce293a5c67b75699c492bdd3f59c974a6687cfbc1c0a30b59bd3441f781c0d289604b1b80f6fb78d10446
|
7
|
+
data.tar.gz: cba1b2c7f62ee6082001a057fa55745ba387dc601a3158ff9dd6f67d4c71376b655d3f193c3dbcd5d65d63957dd9236237fb3c828acce075326c510757c22f20
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.simplecov
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
# Contributor Code of Conduct
|
2
|
+
|
3
|
+
As contributors and maintainers of this project, and in the interest of
|
4
|
+
fostering an open and welcoming community, we pledge to respect all people who
|
5
|
+
contribute through reporting issues, posting feature requests, updating
|
6
|
+
documentation, submitting pull requests or patches, and other activities.
|
7
|
+
|
8
|
+
We are committed to making participation in this project a harassment-free
|
9
|
+
experience for everyone, regardless of level of experience, gender, gender
|
10
|
+
identity and expression, sexual orientation, disability, personal appearance,
|
11
|
+
body size, race, ethnicity, age, religion, or nationality.
|
12
|
+
|
13
|
+
Examples of unacceptable behavior by participants include:
|
14
|
+
|
15
|
+
* The use of sexualized language or imagery
|
16
|
+
* Personal attacks
|
17
|
+
* Trolling or insulting/derogatory comments
|
18
|
+
* Public or private harassment
|
19
|
+
* Publishing other's private information, such as physical or electronic
|
20
|
+
addresses, without explicit permission
|
21
|
+
* Other unethical or unprofessional conduct
|
22
|
+
|
23
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
24
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
25
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
26
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
27
|
+
threatening, offensive, or harmful.
|
28
|
+
|
29
|
+
By adopting this Code of Conduct, project maintainers commit themselves to
|
30
|
+
fairly and consistently applying these principles to every aspect of managing
|
31
|
+
this project. Project maintainers who do not follow or enforce the Code of
|
32
|
+
Conduct may be permanently removed from the project team.
|
33
|
+
|
34
|
+
This code of conduct applies both within project spaces and in public spaces
|
35
|
+
when an individual is representing the project or its community.
|
36
|
+
|
37
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
38
|
+
reported by contacting a project maintainer at christian.paling@googlemail.com. All
|
39
|
+
complaints will be reviewed and investigated and will result in a response that
|
40
|
+
is deemed necessary and appropriate to the circumstances. Maintainers are
|
41
|
+
obligated to maintain confidentiality with regard to the reporter of an
|
42
|
+
incident.
|
43
|
+
|
44
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
45
|
+
version 1.3.0, available at
|
46
|
+
[http://contributor-covenant.org/version/1/3/0/][version]
|
47
|
+
|
48
|
+
[homepage]: http://contributor-covenant.org
|
49
|
+
[version]: http://contributor-covenant.org/version/1/3/0/
|
data/Gemfile
ADDED
data/Guardfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2016 Christian Paling
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
# Annoyme
|
2
|
+
|
3
|
+
Annoyme is basically `echo "Buy present for mom" >> .bashrc` in an improved form. It is a small tool to write notes or todos on the command line and have them listed each time a new terminal gets opened.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Run
|
8
|
+
|
9
|
+
$ gem install annoyme
|
10
|
+
|
11
|
+
to install annoyme on your local machine.
|
12
|
+
|
13
|
+
## Usage
|
14
|
+
|
15
|
+
After installation, annoyme has to register itself in your specific shell. Currently `zsh` and `bash` are supported. Furthermore annoyme will create a file to which it will save its notes. This file is located at `$HOME/.annoyme`. To do all of this initialization work the program provides an `init` command:
|
16
|
+
|
17
|
+
$ annyome init
|
18
|
+
|
19
|
+
New notes/todos can be added afterwards:
|
20
|
+
|
21
|
+
$ annoyme add "Buy mom a present"
|
22
|
+
added Buy mom a present
|
23
|
+
$ annoyme add "Make an appointment with dentist"
|
24
|
+
added Make an appointment with dentist
|
25
|
+
|
26
|
+
Open a new terminal:
|
27
|
+
|
28
|
+
Last login: Sat Feb 18 10:50:35 on ttys004
|
29
|
+
|
30
|
+
TODO
|
31
|
+
|
32
|
+
1. Buy mom a present
|
33
|
+
2. Make an appointment with dentist
|
34
|
+
|
35
|
+
Remove notes:
|
36
|
+
|
37
|
+
$ annoyme remove 1
|
38
|
+
deleted Buy mom a present
|
39
|
+
|
40
|
+
## Development
|
41
|
+
|
42
|
+
Annoyme uses `guard` and `rspec` as testing tools. Guard will run for each change only the specs of the file that was modified.
|
43
|
+
|
44
|
+
## Contributing
|
45
|
+
|
46
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/bakku/annoyme. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
47
|
+
|
48
|
+
## License
|
49
|
+
|
50
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
51
|
+
|
data/Rakefile
ADDED
data/annoyme.gemspec
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'annoyme/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = 'annoyme'
|
8
|
+
spec.version = Annoyme::VERSION
|
9
|
+
spec.authors = ['Christian Paling']
|
10
|
+
spec.email = ['christian.paling@googlemail.com']
|
11
|
+
|
12
|
+
spec.summary = %q{helpfully annoys you on your command line}
|
13
|
+
spec.homepage = 'https://github.com/bakku/annoyme'
|
14
|
+
spec.license = 'MIT'
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
17
|
+
spec.bindir = 'exe'
|
18
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
19
|
+
spec.require_paths = ['lib']
|
20
|
+
|
21
|
+
spec.add_development_dependency 'bundler', '~> 1.11'
|
22
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
23
|
+
spec.add_development_dependency 'rspec', '~> 3.5'
|
24
|
+
spec.add_development_dependency 'guard-rspec', '4.7'
|
25
|
+
spec.add_development_dependency 'terminal-notifier-guard'
|
26
|
+
spec.add_development_dependency 'simplecov', '~> 0.12'
|
27
|
+
spec.add_runtime_dependency 'thor', '~> 0.19'
|
28
|
+
spec.add_runtime_dependency 'rainbow', '~> 2.1'
|
29
|
+
end
|
data/exe/annoyme
ADDED
data/lib/annoyme.rb
ADDED
data/lib/annoyme/cli.rb
ADDED
@@ -0,0 +1,80 @@
|
|
1
|
+
require 'thor'
|
2
|
+
|
3
|
+
require_relative 'notes_file'
|
4
|
+
require_relative 'initializer'
|
5
|
+
require_relative 'adder'
|
6
|
+
require_relative 'remover'
|
7
|
+
require_relative 'printer'
|
8
|
+
|
9
|
+
require_relative 'error/config_file_does_not_exist_error'
|
10
|
+
|
11
|
+
module Annoyme
|
12
|
+
class CLI < Thor
|
13
|
+
desc 'init', 'initialize your annoyme instance'
|
14
|
+
long_desc <<-LONG_DESC
|
15
|
+
`annoyme init` will initialize an .annoyme file in your
|
16
|
+
home directory and link it with your .bashrc/.zshrc file.
|
17
|
+
It will store your notes as echo commands there which will be
|
18
|
+
printed out whenever you start a new terminal
|
19
|
+
LONG_DESC
|
20
|
+
def init
|
21
|
+
initializer = Initializer.new(notes_file)
|
22
|
+
initializer.perform
|
23
|
+
end
|
24
|
+
|
25
|
+
desc 'add NOTE', 'add NOTE to your terminal notes'
|
26
|
+
long_desc <<-LONG_DESC
|
27
|
+
`annoyme add` adds a new note to your terminal notes. Make sure that you
|
28
|
+
are passing the required note correctly.
|
29
|
+
|
30
|
+
Example Usage:
|
31
|
+
|
32
|
+
$ annoyme add "Buy mom a present"
|
33
|
+
LONG_DESC
|
34
|
+
def add(note)
|
35
|
+
check_config_file
|
36
|
+
Adder.new(notes_file).add(note)
|
37
|
+
end
|
38
|
+
|
39
|
+
desc 'remove NOTE', 'remove the note given by its number'
|
40
|
+
long_desc <<-LONG_DESC
|
41
|
+
`annoyme remove` removes a note from your terminal notes. It expects the
|
42
|
+
number of the note to be passed to the command.
|
43
|
+
|
44
|
+
Example Usage:
|
45
|
+
|
46
|
+
$ annoyme remove 1
|
47
|
+
LONG_DESC
|
48
|
+
def remove(note)
|
49
|
+
check_config_file
|
50
|
+
Remover.new(notes_file).remove(note)
|
51
|
+
end
|
52
|
+
|
53
|
+
desc 'print', 'prints all notes - will be placed in .bashrc/.zshrc file'
|
54
|
+
long_desc <<-LONG_DESC
|
55
|
+
`annoyme print` prints all stored notes to the terminal. This command is
|
56
|
+
generally written into your shellfile when using annoyme to print all
|
57
|
+
notes whenever you open a new terminal
|
58
|
+
|
59
|
+
Example Usage:
|
60
|
+
|
61
|
+
$ annoyme print
|
62
|
+
LONG_DESC
|
63
|
+
def print
|
64
|
+
check_config_file
|
65
|
+
Printer.new(notes_file).print
|
66
|
+
end
|
67
|
+
|
68
|
+
private
|
69
|
+
|
70
|
+
def check_config_file
|
71
|
+
unless notes_file.exists?
|
72
|
+
raise Error::ConfigFileDoesNotExistError, 'The annoyme file does not exist. Try running `annoyme init`'
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
def notes_file
|
77
|
+
@notes_file ||= NotesFile.new(DEFAULT_NOTES_FILE)
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
require_relative 'logger'
|
2
|
+
require_relative 'shell_file_appender'
|
3
|
+
require_relative 'error/shell_not_supported_error'
|
4
|
+
|
5
|
+
module Annoyme
|
6
|
+
class Initializer
|
7
|
+
def initialize(file)
|
8
|
+
@notes_file = file
|
9
|
+
detect_shell
|
10
|
+
end
|
11
|
+
|
12
|
+
def perform
|
13
|
+
create_annoyme_file
|
14
|
+
add_annoyme_print_to_shell_file
|
15
|
+
end
|
16
|
+
|
17
|
+
private
|
18
|
+
|
19
|
+
def detect_shell
|
20
|
+
case ENV['SHELL']
|
21
|
+
when '/bin/bash'
|
22
|
+
@shell = :bash
|
23
|
+
@file = File.join(ENV['HOME'], '.bashrc')
|
24
|
+
when '/bin/zsh'
|
25
|
+
@shell = :zsh
|
26
|
+
@file = File.join(ENV['HOME'], '.zshrc')
|
27
|
+
else
|
28
|
+
raise Error::ShellNotSupportedError, 'Your shell is not supported by annoyme. You can submit an issue at the github page'
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
def create_annoyme_file
|
33
|
+
if @notes_file.exists?
|
34
|
+
Logger.red('replaced', '.annoyme')
|
35
|
+
else
|
36
|
+
Logger.green('created', '.annoyme')
|
37
|
+
end
|
38
|
+
|
39
|
+
@notes_file.create
|
40
|
+
end
|
41
|
+
|
42
|
+
def add_annoyme_print_to_shell_file
|
43
|
+
appender = ShellFileAppender.new(@file)
|
44
|
+
appender.append_command
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,52 @@
|
|
1
|
+
require 'rainbow'
|
2
|
+
|
3
|
+
module Annoyme
|
4
|
+
class Logger
|
5
|
+
def self.green(change, text)
|
6
|
+
puts "#{Rainbow("\t#{change}\t").green.bright}\t#{text}" unless silent?
|
7
|
+
end
|
8
|
+
|
9
|
+
def self.red(change, text)
|
10
|
+
puts "#{Rainbow("\t#{change}\t").red.bright}\t#{text}" unless silent?
|
11
|
+
end
|
12
|
+
|
13
|
+
def self.yellow(change, text)
|
14
|
+
puts "#{Rainbow("\t#{change}\t").yellow.bright}\t#{text}" unless silent?
|
15
|
+
end
|
16
|
+
|
17
|
+
def self.colored(text, color)
|
18
|
+
puts Rainbow(text).send(color) unless silent?
|
19
|
+
end
|
20
|
+
|
21
|
+
def self.print_array_colorful(array, with_index: false)
|
22
|
+
unless silent?
|
23
|
+
array.each_with_index do |element, i|
|
24
|
+
if with_index
|
25
|
+
colored(" #{i+1}.\t#{element}", current_colorful_color(i))
|
26
|
+
else
|
27
|
+
colored(" #{element}", current_colorful_color(i))
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
private
|
34
|
+
|
35
|
+
def self.silent?
|
36
|
+
ENV['SILENT'] == 'true'
|
37
|
+
end
|
38
|
+
|
39
|
+
def self.current_colorful_color(i)
|
40
|
+
colorful_hash[i % 4]
|
41
|
+
end
|
42
|
+
|
43
|
+
def self.colorful_hash
|
44
|
+
{
|
45
|
+
0 => :green,
|
46
|
+
1 => :red,
|
47
|
+
2 => :yellow,
|
48
|
+
3 => :cyan
|
49
|
+
}
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
require 'json'
|
2
|
+
|
3
|
+
module Annoyme
|
4
|
+
class NotesFile
|
5
|
+
def initialize(path)
|
6
|
+
@path = path
|
7
|
+
end
|
8
|
+
|
9
|
+
def create
|
10
|
+
File.open(@path, 'w') do |f|
|
11
|
+
f.write("[]")
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
def exists?
|
16
|
+
File.exist?(@path)
|
17
|
+
end
|
18
|
+
|
19
|
+
def parse
|
20
|
+
content = File.readlines(@path).first
|
21
|
+
JSON.parse(content)
|
22
|
+
rescue JSON::ParserError
|
23
|
+
raise 'notes file seems to be corrupted'
|
24
|
+
end
|
25
|
+
|
26
|
+
def write(content)
|
27
|
+
File.open(@path, 'w') do |f|
|
28
|
+
f.write(content)
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
require_relative 'logger'
|
2
|
+
|
3
|
+
module Annoyme
|
4
|
+
class Printer
|
5
|
+
def initialize(file)
|
6
|
+
@file = file
|
7
|
+
end
|
8
|
+
|
9
|
+
def print
|
10
|
+
notes = @file.parse
|
11
|
+
|
12
|
+
return if notes.empty?
|
13
|
+
|
14
|
+
puts ""
|
15
|
+
Logger.colored("TODO\n", :cyan)
|
16
|
+
Logger.print_array_colorful(notes, with_index: true)
|
17
|
+
puts ""
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,37 @@
|
|
1
|
+
require_relative 'logger'
|
2
|
+
|
3
|
+
module Annoyme
|
4
|
+
class Remover
|
5
|
+
def initialize(file)
|
6
|
+
@file = file
|
7
|
+
end
|
8
|
+
|
9
|
+
def remove(note)
|
10
|
+
notes = @file.parse
|
11
|
+
|
12
|
+
if is_number?(note)
|
13
|
+
note = notes.delete_at((note.to_i - 1))
|
14
|
+
|
15
|
+
if note.nil?
|
16
|
+
Logger.red('error', 'Seems like your specified number was out of index')
|
17
|
+
return
|
18
|
+
end
|
19
|
+
|
20
|
+
@file.write(notes)
|
21
|
+
Logger.red('deleted', "#{note}")
|
22
|
+
else
|
23
|
+
Logger.red('error', 'You did not specify a note using a number')
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
private
|
28
|
+
|
29
|
+
def is_number?(string)
|
30
|
+
if Float(string)
|
31
|
+
true
|
32
|
+
end
|
33
|
+
rescue
|
34
|
+
false
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
require_relative 'logger'
|
2
|
+
|
3
|
+
module Annoyme
|
4
|
+
class ShellFileAppender
|
5
|
+
COMMAND_TO_APPEND = 'annoyme print'
|
6
|
+
|
7
|
+
def initialize(path)
|
8
|
+
raise 'shellfile does not exist' unless File.exist?(path)
|
9
|
+
@path = path
|
10
|
+
end
|
11
|
+
|
12
|
+
def append_command
|
13
|
+
if command_missing?
|
14
|
+
append_annoyme_command
|
15
|
+
Logger.yellow('modified', @path.split('/').last)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
private
|
20
|
+
|
21
|
+
def command_missing?
|
22
|
+
File.foreach(@path) do |line|
|
23
|
+
if line.strip == COMMAND_TO_APPEND
|
24
|
+
return false
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
true
|
29
|
+
end
|
30
|
+
|
31
|
+
def append_annoyme_command
|
32
|
+
File.open(@path, 'a') do |f|
|
33
|
+
f.puts "\n# so annoyme gets executed on startup"
|
34
|
+
f.puts "annoyme print"
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
metadata
ADDED
@@ -0,0 +1,180 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: annoyme
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Christian Paling
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-02-18 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.11'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.11'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.5'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.5'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: guard-rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '4.7'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '4.7'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: terminal-notifier-guard
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: simplecov
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0.12'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0.12'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: thor
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0.19'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0.19'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rainbow
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '2.1'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '2.1'
|
125
|
+
description:
|
126
|
+
email:
|
127
|
+
- christian.paling@googlemail.com
|
128
|
+
executables:
|
129
|
+
- annoyme
|
130
|
+
extensions: []
|
131
|
+
extra_rdoc_files: []
|
132
|
+
files:
|
133
|
+
- ".gitignore"
|
134
|
+
- ".rspec"
|
135
|
+
- ".simplecov"
|
136
|
+
- CODE_OF_CONDUCT.md
|
137
|
+
- Gemfile
|
138
|
+
- Guardfile
|
139
|
+
- LICENSE.txt
|
140
|
+
- README.md
|
141
|
+
- Rakefile
|
142
|
+
- annoyme.gemspec
|
143
|
+
- exe/annoyme
|
144
|
+
- lib/annoyme.rb
|
145
|
+
- lib/annoyme/adder.rb
|
146
|
+
- lib/annoyme/cli.rb
|
147
|
+
- lib/annoyme/error/config_file_does_not_exist_error.rb
|
148
|
+
- lib/annoyme/error/shell_not_supported_error.rb
|
149
|
+
- lib/annoyme/initializer.rb
|
150
|
+
- lib/annoyme/logger.rb
|
151
|
+
- lib/annoyme/notes_file.rb
|
152
|
+
- lib/annoyme/printer.rb
|
153
|
+
- lib/annoyme/remover.rb
|
154
|
+
- lib/annoyme/shell_file_appender.rb
|
155
|
+
- lib/annoyme/version.rb
|
156
|
+
homepage: https://github.com/bakku/annoyme
|
157
|
+
licenses:
|
158
|
+
- MIT
|
159
|
+
metadata: {}
|
160
|
+
post_install_message:
|
161
|
+
rdoc_options: []
|
162
|
+
require_paths:
|
163
|
+
- lib
|
164
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
165
|
+
requirements:
|
166
|
+
- - ">="
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
version: '0'
|
169
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
requirements: []
|
175
|
+
rubyforge_project:
|
176
|
+
rubygems_version: 2.5.1
|
177
|
+
signing_key:
|
178
|
+
specification_version: 4
|
179
|
+
summary: helpfully annoys you on your command line
|
180
|
+
test_files: []
|