noted 0.1.0
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.
- data/.document +5 -0
- data/.gitignore +21 -0
- data/LICENSE +20 -0
- data/README.mdown +23 -0
- data/Rakefile +17 -0
- data/VERSION +1 -0
- data/bin/noted +23 -0
- data/noted.gemspec +47 -0
- metadata +63 -0
data/.document
ADDED
data/.gitignore
ADDED
data/LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2009 Zach Holman
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.mdown
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
= noted
|
2
|
+
|
3
|
+
Just a quick filter in your Rails projects for notes tasked to you. For example:
|
4
|
+
|
5
|
+
== install
|
6
|
+
|
7
|
+
`gem install noted`
|
8
|
+
|
9
|
+
== usage
|
10
|
+
|
11
|
+
So, like this:
|
12
|
+
|
13
|
+
`def awesome?
|
14
|
+
everyone_else?
|
15
|
+
# TODO: shit, I should make sure I'm awesome, too - @holman
|
16
|
+
end`
|
17
|
+
|
18
|
+
...lets you then do something like this:
|
19
|
+
|
20
|
+
`noted
|
21
|
+
=> app/models/awesomator.rb:
|
22
|
+
=> * [ 94] [TODO] shit, I should make sure I'm awesome, too - @holman
|
23
|
+
`
|
data/Rakefile
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'rake'
|
3
|
+
|
4
|
+
begin
|
5
|
+
require 'jeweler'
|
6
|
+
Jeweler::Tasks.new do |gem|
|
7
|
+
gem.name = "noted"
|
8
|
+
gem.summary = "Find your own todos in your Rails app."
|
9
|
+
gem.description = "Sometimes there's a lot of crap to do."
|
10
|
+
gem.email = "github.com@zachholman.com"
|
11
|
+
gem.homepage = "http://github.com/holman/noted"
|
12
|
+
gem.authors = ["Zach Holman"]
|
13
|
+
end
|
14
|
+
Jeweler::GemcutterTasks.new
|
15
|
+
rescue LoadError
|
16
|
+
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
|
17
|
+
end
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.1.0
|
data/bin/noted
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require 'rubygems'
|
3
|
+
require 'rake'
|
4
|
+
|
5
|
+
username = `git config --get github.user`
|
6
|
+
|
7
|
+
unless username
|
8
|
+
warn <<-github
|
9
|
+
|
10
|
+
Cool people set their github credentials on their systems so that
|
11
|
+
lots of fun apps can use them. Set yours today by running:
|
12
|
+
|
13
|
+
git config --global github.user your_gnarly_github_handle
|
14
|
+
|
15
|
+
github
|
16
|
+
end
|
17
|
+
|
18
|
+
notes = `rake --tasks | grep notes`
|
19
|
+
unless notes == ''
|
20
|
+
system("rake notes | (grep \"@#{username.strip}\" -B1)")
|
21
|
+
else
|
22
|
+
warn "The `notes` task is undefined. Are you sure you're in a rails project?"
|
23
|
+
end
|
data/noted.gemspec
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{noted}
|
8
|
+
s.version = "0.1.0"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Zach Holman"]
|
12
|
+
s.date = %q{2009-12-17}
|
13
|
+
s.default_executable = %q{noted}
|
14
|
+
s.description = %q{Sometimes there's a lot of crap to do.}
|
15
|
+
s.email = %q{github.com@zachholman.com}
|
16
|
+
s.executables = ["noted"]
|
17
|
+
s.extra_rdoc_files = [
|
18
|
+
"LICENSE",
|
19
|
+
"README.mdown"
|
20
|
+
]
|
21
|
+
s.files = [
|
22
|
+
".document",
|
23
|
+
".gitignore",
|
24
|
+
"LICENSE",
|
25
|
+
"README.mdown",
|
26
|
+
"Rakefile",
|
27
|
+
"VERSION",
|
28
|
+
"bin/noted",
|
29
|
+
"noted.gemspec"
|
30
|
+
]
|
31
|
+
s.homepage = %q{http://github.com/holman/noted}
|
32
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
33
|
+
s.require_paths = ["lib"]
|
34
|
+
s.rubygems_version = %q{1.3.5}
|
35
|
+
s.summary = %q{Find your own todos in your Rails app.}
|
36
|
+
|
37
|
+
if s.respond_to? :specification_version then
|
38
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
39
|
+
s.specification_version = 3
|
40
|
+
|
41
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
42
|
+
else
|
43
|
+
end
|
44
|
+
else
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
metadata
ADDED
@@ -0,0 +1,63 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: noted
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Zach Holman
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2009-12-17 00:00:00 -08:00
|
13
|
+
default_executable: noted
|
14
|
+
dependencies: []
|
15
|
+
|
16
|
+
description: Sometimes there's a lot of crap to do.
|
17
|
+
email: github.com@zachholman.com
|
18
|
+
executables:
|
19
|
+
- noted
|
20
|
+
extensions: []
|
21
|
+
|
22
|
+
extra_rdoc_files:
|
23
|
+
- LICENSE
|
24
|
+
- README.mdown
|
25
|
+
files:
|
26
|
+
- .document
|
27
|
+
- .gitignore
|
28
|
+
- LICENSE
|
29
|
+
- README.mdown
|
30
|
+
- Rakefile
|
31
|
+
- VERSION
|
32
|
+
- bin/noted
|
33
|
+
- noted.gemspec
|
34
|
+
has_rdoc: true
|
35
|
+
homepage: http://github.com/holman/noted
|
36
|
+
licenses: []
|
37
|
+
|
38
|
+
post_install_message:
|
39
|
+
rdoc_options:
|
40
|
+
- --charset=UTF-8
|
41
|
+
require_paths:
|
42
|
+
- lib
|
43
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: "0"
|
48
|
+
version:
|
49
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: "0"
|
54
|
+
version:
|
55
|
+
requirements: []
|
56
|
+
|
57
|
+
rubyforge_project:
|
58
|
+
rubygems_version: 1.3.5
|
59
|
+
signing_key:
|
60
|
+
specification_version: 3
|
61
|
+
summary: Find your own todos in your Rails app.
|
62
|
+
test_files: []
|
63
|
+
|