rego 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rego.rb +1 -1
- data/rego.gemspec +1 -3
- metadata +1 -4
- data/b.rb +0 -20
- data/foo +0 -1
data/lib/rego.rb
CHANGED
data/rego.gemspec
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Gem::Specification::new do |spec|
|
5
5
|
spec.name = "rego"
|
6
|
-
spec.version = "1.
|
6
|
+
spec.version = "1.4.0"
|
7
7
|
spec.platform = Gem::Platform::RUBY
|
8
8
|
spec.summary = "rego"
|
9
9
|
spec.description = "description: rego kicks the ass"
|
@@ -11,12 +11,10 @@ Gem::Specification::new do |spec|
|
|
11
11
|
spec.files =
|
12
12
|
["README",
|
13
13
|
"Rakefile",
|
14
|
-
"b.rb",
|
15
14
|
"bar",
|
16
15
|
"bar/foo",
|
17
16
|
"bin",
|
18
17
|
"bin/rego",
|
19
|
-
"foo",
|
20
18
|
"lib",
|
21
19
|
"lib/rego.rb",
|
22
20
|
"rego.gemspec",
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rego
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -52,9 +52,7 @@ extra_rdoc_files: []
|
|
52
52
|
files:
|
53
53
|
- README
|
54
54
|
- Rakefile
|
55
|
-
- b.rb
|
56
55
|
- bin/rego
|
57
|
-
- foo
|
58
56
|
- lib/rego.rb
|
59
57
|
- rego.gemspec
|
60
58
|
- ~/foo
|
@@ -83,4 +81,3 @@ signing_key:
|
|
83
81
|
specification_version: 3
|
84
82
|
summary: rego
|
85
83
|
test_files: []
|
86
|
-
has_rdoc:
|
data/b.rb
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
|
2
|
-
require 'directory_watcher'
|
3
|
-
|
4
|
-
options = {}
|
5
|
-
|
6
|
-
options[:glob] = '*'
|
7
|
-
options[:pre_load] = true
|
8
|
-
options[:interval] = 0.42
|
9
|
-
options[:scanner] = :em
|
10
|
-
|
11
|
-
|
12
|
-
dw = DirectoryWatcher.new('/tmp', options)
|
13
|
-
|
14
|
-
dw.add_observer do |*events|
|
15
|
-
events.each{|event| p event}
|
16
|
-
end
|
17
|
-
|
18
|
-
dw.start
|
19
|
-
|
20
|
-
sleep
|