guard-annotate 0.0.1

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/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2011 Craig P Jolicoeur
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.rdoc ADDED
@@ -0,0 +1,51 @@
1
+ = Guard::Annotate
2
+
3
+ Annotate guard runs the annotate gem when needed
4
+
5
+ - Compatible with Annotate 2.4.x
6
+ - Tested on Ruby 1.8.7 & 1.9.2
7
+
8
+ == Install
9
+
10
+ Install the gem:
11
+
12
+ gem install guard-annotate
13
+
14
+ Add the gem to your Gemfile:
15
+ gem 'guard-annotate'
16
+
17
+ Add guard definitions to your Guardfile by running:
18
+
19
+ guard init annotate
20
+
21
+
22
+ == Usage
23
+
24
+ Please read the {Guard usage docs}[https://github.com/guard/guard#readme]
25
+
26
+ == Guardfile
27
+
28
+ === Standard Ruby on Rails project
29
+
30
+ guard 'annotate' do
31
+ watch('app/models/**.rb')
32
+ end
33
+
34
+
35
+ == Options
36
+
37
+ You can disable desktop notifications with:
38
+
39
+ guard 'annotate', :notify => false do
40
+ ...
41
+ end
42
+
43
+
44
+ == Development
45
+
46
+ - Source hosed at {GitHub}[https://github.com/cpjolicoeur/guard-annotate]
47
+ - Issue/Bug/Question/Feature requests via {GitHub Issues}[http://github.com/cpjolicoeur/guard-annotate/issues]
48
+
49
+ == Authors
50
+
51
+ {Craig P Jolicoeur}[https://github.com/cpjolicoeur]
File without changes
@@ -0,0 +1,5 @@
1
+ module Guard
2
+ module Annotate
3
+ VERSION = "0.0.1"
4
+ end
5
+ end
@@ -0,0 +1,31 @@
1
+ require 'guard'
2
+ require 'guard/guard'
3
+
4
+ module Guard
5
+ class Annotate < Guard
6
+
7
+ def initialize( watchers=[], options={} )
8
+ super
9
+ end
10
+
11
+ def start
12
+ true
13
+ end
14
+
15
+ def stop
16
+ true
17
+ end
18
+
19
+ def reload
20
+ true
21
+ end
22
+
23
+ def run_all
24
+ true
25
+ end
26
+
27
+ def run_on_change( paths )
28
+ true
29
+ end
30
+ end
31
+ end
metadata ADDED
@@ -0,0 +1,137 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: guard-annotate
3
+ version: !ruby/object:Gem::Version
4
+ hash: 29
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 1
10
+ version: 0.0.1
11
+ platform: ruby
12
+ authors:
13
+ - Craig P Jolicoeur
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2011-05-20 00:00:00 -04:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: guard
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 19
30
+ segments:
31
+ - 0
32
+ - 2
33
+ - 2
34
+ version: 0.2.2
35
+ type: :runtime
36
+ version_requirements: *id001
37
+ - !ruby/object:Gem::Dependency
38
+ name: annotate
39
+ prerelease: false
40
+ requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ hash: 31
46
+ segments:
47
+ - 2
48
+ - 4
49
+ - 0
50
+ version: 2.4.0
51
+ type: :runtime
52
+ version_requirements: *id002
53
+ - !ruby/object:Gem::Dependency
54
+ name: rspec
55
+ prerelease: false
56
+ requirement: &id003 !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ hash: 23
62
+ segments:
63
+ - 2
64
+ - 6
65
+ - 0
66
+ version: 2.6.0
67
+ type: :development
68
+ version_requirements: *id003
69
+ - !ruby/object:Gem::Dependency
70
+ name: guard-rspec
71
+ prerelease: false
72
+ requirement: &id004 !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ hash: 17
78
+ segments:
79
+ - 0
80
+ - 3
81
+ - 1
82
+ version: 0.3.1
83
+ type: :development
84
+ version_requirements: *id004
85
+ description: Guard::Annotate automatically runs the annotate gem when needed
86
+ email:
87
+ - cpjolicoeur@gmail.com
88
+ executables: []
89
+
90
+ extensions: []
91
+
92
+ extra_rdoc_files: []
93
+
94
+ files:
95
+ - lib/guard/guard-annotate/templates/Guardfile
96
+ - lib/guard/guard-annotate/version.rb
97
+ - lib/guard/guard-annotate.rb
98
+ - LICENSE
99
+ - README.rdoc
100
+ has_rdoc: true
101
+ homepage: http://craigjolicoeur.com
102
+ licenses: []
103
+
104
+ post_install_message:
105
+ rdoc_options:
106
+ - --charset=UTF-8
107
+ - --main=README.rdoc
108
+ - --exclude='(lib|test|spec)|(Gem|Guard|Rake)file'
109
+ require_paths:
110
+ - lib
111
+ required_ruby_version: !ruby/object:Gem::Requirement
112
+ none: false
113
+ requirements:
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ hash: 3
117
+ segments:
118
+ - 0
119
+ version: "0"
120
+ required_rubygems_version: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ">="
124
+ - !ruby/object:Gem::Version
125
+ hash: 3
126
+ segments:
127
+ - 0
128
+ version: "0"
129
+ requirements: []
130
+
131
+ rubyforge_project: guard-annotate
132
+ rubygems_version: 1.6.2
133
+ signing_key:
134
+ specification_version: 3
135
+ summary: Guard gem for annotate
136
+ test_files: []
137
+