renote 0.0.1 → 0.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.
- checksums.yaml +13 -5
- data/.ruby-version +1 -1
- data/.travis.yml +1 -0
- data/README.md +33 -16
- data/Rakefile +3 -0
- data/bin/renote +5 -0
- data/lib/renote.rb +9 -2
- data/lib/renote/cli/application.rb +15 -0
- data/lib/renote/version.rb +1 -1
- data/lib/tasks/spec.rake +4 -0
- data/renote.gemspec +4 -2
- metadata +48 -15
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
MjQwMTFkODFmNWNmZDNkZTc4MzVlNGRjZDg3YTlhNTcxNGI0ZDJjMQ==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
NDMyMDZhOGM1NzA1MDhlODZkNjU0NTNlYzMwOWQ1MDQ0NGM1ZmFiNg==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
NTg5NTIwNzc4MjU1OTY3YTBiZTM5MzY5NmVlMzllNmY5ZjI4NzM3YzEyZTc1
|
10
|
+
Mzc2YWMwNTQ0NzM5YThkMTg5MjEyZmNjMzQzODk5NzI4ZjQ5MzdjZWMwYjhj
|
11
|
+
NjVmYjNkMGI2ZGY4NmIxZWFjOTg5YTdjMTI0YTRmNjlhMDgwOWU=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
ZGFhMDk3ZTc3Y2M5M2FjMWViYWFhNTQ3MjdmODU2Yzg5ZDdlZjY5ZTA2NGQ4
|
14
|
+
ZGUyNjUxZDVmYWFjMTRhMmEyZTI0ZGU5NWU0NmVmZjY5MGI2Nzg0YTk3Mzkw
|
15
|
+
OGQ1MmE1MGI1YzE5YmRlNGMxMzIzZTA1Mjg5NDU5ZDM2MDMxOTQ=
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ruby-
|
1
|
+
ruby-1.9.3
|
data/.travis.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
language: ruby
|
data/README.md
CHANGED
@@ -1,26 +1,37 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
Renote
|
2
|
+
======
|
3
|
+
|
4
|
+
[][gem]
|
5
|
+
[][travis]
|
6
|
+
[][gemnasium]
|
7
|
+
[][codeclimate]
|
8
|
+
[][coveralls]
|
9
|
+
|
10
|
+
[gem]: https://rubygems.org/gems/renote
|
11
|
+
[travis]: http://travis-ci.org/outrightmental/renote
|
12
|
+
[gemnasium]: https://gemnasium.com/outrightmental/renote
|
13
|
+
[codeclimate]: https://codeclimate.com/github/outrightmental/renote
|
14
|
+
[coveralls]: https://coveralls.io/r/outrightmental/renote
|
15
|
+
|
16
|
+
Description
|
17
|
+
-----------
|
18
|
+
Renote is a CLI for discreet note-taking. Use Renote in order to take notes discreetly.
|
19
|
+
|
20
|
+
Installation
|
21
|
+
------------
|
22
|
+
gem install thor
|
23
|
+
|
5
24
|
## Installation
|
6
25
|
|
7
|
-
|
8
|
-
|
9
|
-
```ruby
|
10
|
-
gem 'renote'
|
11
|
-
```
|
12
|
-
|
13
|
-
And then execute:
|
14
|
-
|
15
|
-
$ bundle
|
16
|
-
|
17
|
-
Or install it yourself as:
|
26
|
+
Install from the command line:
|
18
27
|
|
19
28
|
$ gem install renote
|
20
29
|
|
21
30
|
## Usage
|
22
31
|
|
23
|
-
|
32
|
+
Because Renote is built on the extraordinarily nifty (Thor)[https://github.com/erikhuda/thor], you can simply run the CLI with no arguments to display the most up-to-date usage information.
|
33
|
+
|
34
|
+
$ renote
|
24
35
|
|
25
36
|
## Contributing
|
26
37
|
|
@@ -29,3 +40,9 @@ TODO: Write usage instructions here
|
|
29
40
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
30
41
|
4. Push to the branch (`git push origin my-new-feature`)
|
31
42
|
5. Create a new Pull Request
|
43
|
+
|
44
|
+
# Resources
|
45
|
+
|
46
|
+
[A Simple Command Line Tool with Ruby + Thor](http://www.michaelrigart.be/en/blog/a-simple-ruby-command-line-tool.html)
|
47
|
+
|
48
|
+
[Building Your Tools With Thor](http://blog.paracode.com/2012/05/17/building-your-tools-with-thor/)
|
data/Rakefile
CHANGED
data/bin/renote
ADDED
data/lib/renote.rb
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
require "renote/version"
|
2
|
+
require "renote/cli/application"
|
2
3
|
|
3
4
|
module Renote
|
4
|
-
|
5
|
-
|
5
|
+
module Cli
|
6
|
+
puts ' _ '
|
7
|
+
puts ' ___ ___ ___ ___| |_ ___ '
|
8
|
+
puts ' | _| -_| | . | _| -_| '
|
9
|
+
puts ' |_| |___|_|_|___|_| |___| '
|
10
|
+
puts ' '
|
11
|
+
end
|
12
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
require 'thor'
|
2
|
+
|
3
|
+
module Renote
|
4
|
+
module Cli
|
5
|
+
class Application < Thor
|
6
|
+
|
7
|
+
desc 'thru INFILE OUTFILE', 'Pass-through note taking records keyboard input to <OUTFILE> while synchronously displaying contents of <INFILE>.'
|
8
|
+
def thru(infile,outfile)
|
9
|
+
puts "IN #{infile}"
|
10
|
+
puts "OUT #{outfile}"
|
11
|
+
end
|
12
|
+
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
data/lib/renote/version.rb
CHANGED
data/lib/tasks/spec.rake
ADDED
data/renote.gemspec
CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ["Nick Kaye"]
|
10
10
|
spec.email = ["nick.c.kaye@gmail.com"]
|
11
11
|
spec.summary = %q{Renote is a CLI for discreet note-taking.}
|
12
|
-
spec.description = %q{Use Renote in order to take notes
|
12
|
+
spec.description = %q{Use Renote in order to take notes discreetly.}
|
13
13
|
spec.homepage = ""
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
@@ -18,6 +18,8 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_development_dependency "bundler", "~> 1.
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.6"
|
22
22
|
spec.add_development_dependency "rake", "~> 10.0"
|
23
|
+
spec.add_dependency 'thor', '~> 0.19'
|
24
|
+
spec.add_dependency 'coveralls', '~> 0.7'
|
23
25
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: renote
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Kaye
|
@@ -14,46 +14,79 @@ dependencies:
|
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.6'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
26
|
+
version: '1.6'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '10.0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '10.0'
|
41
|
-
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: thor
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0.19'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0.19'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: coveralls
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0.7'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0.7'
|
69
|
+
description: Use Renote in order to take notes discreetly.
|
42
70
|
email:
|
43
71
|
- nick.c.kaye@gmail.com
|
44
|
-
executables:
|
72
|
+
executables:
|
73
|
+
- renote
|
45
74
|
extensions: []
|
46
75
|
extra_rdoc_files: []
|
47
76
|
files:
|
48
|
-
-
|
49
|
-
-
|
50
|
-
-
|
77
|
+
- .gitignore
|
78
|
+
- .ruby-gemset
|
79
|
+
- .ruby-version
|
80
|
+
- .travis.yml
|
51
81
|
- Gemfile
|
52
82
|
- LICENSE.txt
|
53
83
|
- README.md
|
54
84
|
- Rakefile
|
85
|
+
- bin/renote
|
55
86
|
- lib/renote.rb
|
87
|
+
- lib/renote/cli/application.rb
|
56
88
|
- lib/renote/version.rb
|
89
|
+
- lib/tasks/spec.rake
|
57
90
|
- renote.gemspec
|
58
91
|
homepage: ''
|
59
92
|
licenses:
|
@@ -65,17 +98,17 @@ require_paths:
|
|
65
98
|
- lib
|
66
99
|
required_ruby_version: !ruby/object:Gem::Requirement
|
67
100
|
requirements:
|
68
|
-
- -
|
101
|
+
- - ! '>='
|
69
102
|
- !ruby/object:Gem::Version
|
70
103
|
version: '0'
|
71
104
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
72
105
|
requirements:
|
73
|
-
- -
|
106
|
+
- - ! '>='
|
74
107
|
- !ruby/object:Gem::Version
|
75
108
|
version: '0'
|
76
109
|
requirements: []
|
77
110
|
rubyforge_project:
|
78
|
-
rubygems_version: 2.
|
111
|
+
rubygems_version: 2.2.2
|
79
112
|
signing_key:
|
80
113
|
specification_version: 4
|
81
114
|
summary: Renote is a CLI for discreet note-taking.
|