kicker 2.5.0 → 2.6.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +1 -1
- data/lib/kicker.rb +1 -1
- data/lib/kicker/fsevents.rb +7 -6
- data/lib/kicker/recipes/ruby.rb +5 -0
- data/lib/kicker/version.rb +1 -1
- metadata +113 -95
data/README.rdoc
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
{<img src="https://secure.travis-ci.org/alloy/kicker.png" />}[http://travis-ci.org/alloy/kicker]
|
4
4
|
|
5
|
-
A lean, agnostic, flexible file-change watcher
|
5
|
+
A lean, agnostic, flexible file-change watcher.
|
6
6
|
|
7
7
|
https://github.com/alloy/kicker/raw/master/html/images/kikker.jpg
|
8
8
|
|
data/lib/kicker.rb
CHANGED
data/lib/kicker/fsevents.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
|
3
|
-
require '
|
3
|
+
require 'listen'
|
4
4
|
|
5
5
|
class Kicker
|
6
6
|
class FSEvents
|
@@ -23,11 +23,12 @@ class Kicker
|
|
23
23
|
end
|
24
24
|
|
25
25
|
def self.start_watching(paths, options={}, &block)
|
26
|
-
|
27
|
-
|
26
|
+
listener = Listen.to(*(paths.dup << options))
|
27
|
+
listener.change do |args|
|
28
|
+
files = args.flatten
|
29
|
+
directories = files.map {|file| File.dirname file}.uniq
|
28
30
|
yield directories.map { |directory| Kicker::FSEvents::FSEvent.new(directory) }
|
29
|
-
end
|
30
|
-
fsevent.run
|
31
|
+
end.start
|
31
32
|
end
|
32
33
|
end
|
33
|
-
end
|
34
|
+
end
|
data/lib/kicker/recipes/ruby.rb
CHANGED
data/lib/kicker/version.rb
CHANGED
metadata
CHANGED
@@ -1,105 +1,120 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: kicker
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: true
|
5
|
+
segments:
|
6
|
+
- 2
|
7
|
+
- 6
|
8
|
+
- 0
|
9
|
+
- rc1
|
10
|
+
version: 2.6.0.rc1
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Eloy Duran
|
9
14
|
- Manfred Stienstra
|
10
15
|
autorequire:
|
11
16
|
bindir: bin
|
12
17
|
cert_chain: []
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
requirements:
|
20
|
-
- - ! '>='
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: '0'
|
23
|
-
type: :runtime
|
18
|
+
|
19
|
+
date: 2012-06-12 00:00:00 +02:00
|
20
|
+
default_executable:
|
21
|
+
dependencies:
|
22
|
+
- !ruby/object:Gem::Dependency
|
23
|
+
name: listen
|
24
24
|
prerelease: false
|
25
|
-
|
26
|
-
|
25
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
segments:
|
30
|
+
- 0
|
31
|
+
version: "0"
|
32
|
+
type: :runtime
|
33
|
+
version_requirements: *id001
|
34
|
+
- !ruby/object:Gem::Dependency
|
27
35
|
name: rake
|
28
|
-
requirement: &70258430385620 !ruby/object:Gem::Requirement
|
29
|
-
none: false
|
30
|
-
requirements:
|
31
|
-
- - ! '>='
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :development
|
35
36
|
prerelease: false
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
version: '0'
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
segments:
|
42
|
+
- 0
|
43
|
+
version: "0"
|
45
44
|
type: :development
|
45
|
+
version_requirements: *id002
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: rdoc
|
46
48
|
prerelease: false
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
version: '0'
|
49
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
segments:
|
54
|
+
- 0
|
55
|
+
version: "0"
|
56
56
|
type: :development
|
57
|
+
version_requirements: *id003
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: mocha
|
57
60
|
prerelease: false
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
- !ruby/object:Gem::Version
|
66
|
-
version: '0'
|
61
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
62
|
+
requirements:
|
63
|
+
- - ">="
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
segments:
|
66
|
+
- 0
|
67
|
+
version: "0"
|
67
68
|
type: :development
|
69
|
+
version_requirements: *id004
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: test-unit
|
68
72
|
prerelease: false
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: '0'
|
73
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
segments:
|
78
|
+
- 0
|
79
|
+
version: "0"
|
78
80
|
type: :development
|
81
|
+
version_requirements: *id005
|
82
|
+
- !ruby/object:Gem::Dependency
|
83
|
+
name: test-spec
|
79
84
|
prerelease: false
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version: '0'
|
85
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
segments:
|
90
|
+
- 0
|
91
|
+
version: "0"
|
89
92
|
type: :development
|
93
|
+
version_requirements: *id006
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: activesupport
|
90
96
|
prerelease: false
|
91
|
-
|
97
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
98
|
+
requirements:
|
99
|
+
- - ">="
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
segments:
|
102
|
+
- 0
|
103
|
+
version: "0"
|
104
|
+
type: :development
|
105
|
+
version_requirements: *id007
|
92
106
|
description:
|
93
|
-
email:
|
107
|
+
email:
|
94
108
|
- eloy.de.enige@gmail.com
|
95
109
|
- manfred@fngtps.com
|
96
|
-
executables:
|
110
|
+
executables:
|
97
111
|
- kicker
|
98
112
|
extensions: []
|
99
|
-
|
113
|
+
|
114
|
+
extra_rdoc_files:
|
100
115
|
- LICENSE
|
101
116
|
- README.rdoc
|
102
|
-
files:
|
117
|
+
files:
|
103
118
|
- bin/kicker
|
104
119
|
- lib/kicker/callback_chain.rb
|
105
120
|
- lib/kicker/core_ext.rb
|
@@ -123,35 +138,38 @@ files:
|
|
123
138
|
- README.rdoc
|
124
139
|
- LICENSE
|
125
140
|
- html/images/kikker.jpg
|
141
|
+
has_rdoc: true
|
126
142
|
homepage: http://github.com/alloy/kicker
|
127
143
|
licenses: []
|
144
|
+
|
128
145
|
post_install_message:
|
129
146
|
rdoc_options: []
|
130
|
-
|
147
|
+
|
148
|
+
require_paths:
|
131
149
|
- lib
|
132
150
|
- vendor
|
133
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
version: '0'
|
139
|
-
segments:
|
140
|
-
- 0
|
141
|
-
hash: 1334081187386863213
|
142
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
143
|
-
none: false
|
144
|
-
requirements:
|
145
|
-
- - ! '>='
|
146
|
-
- !ruby/object:Gem::Version
|
147
|
-
version: '0'
|
148
|
-
segments:
|
151
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
152
|
+
requirements:
|
153
|
+
- - ">="
|
154
|
+
- !ruby/object:Gem::Version
|
155
|
+
segments:
|
149
156
|
- 0
|
150
|
-
|
157
|
+
version: "0"
|
158
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
159
|
+
requirements:
|
160
|
+
- - ">"
|
161
|
+
- !ruby/object:Gem::Version
|
162
|
+
segments:
|
163
|
+
- 1
|
164
|
+
- 3
|
165
|
+
- 1
|
166
|
+
version: 1.3.1
|
151
167
|
requirements: []
|
168
|
+
|
152
169
|
rubyforge_project:
|
153
|
-
rubygems_version: 1.
|
170
|
+
rubygems_version: 1.3.6
|
154
171
|
signing_key:
|
155
172
|
specification_version: 3
|
156
|
-
summary: A lean, agnostic, flexible file-change watcher
|
173
|
+
summary: A lean, agnostic, flexible file-change watcher.
|
157
174
|
test_files: []
|
175
|
+
|