rego 1.7.0 → 1.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/bin/rego +5 -7
- data/lib/rego.rb +2 -2
- data/rego.gemspec +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
Mjk3YzJkZGZjODNkMzJiMTI0M2Q2MTZiOTNlOTYxYWEwZTQwMWM2Yg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZDFlMTIzZmJiN2ZlYmVmN2E1NGY4ZGFiYmE3OTRkZDMzOWFmZDExZA==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OTI0OWYzZjA5NjRjZjkwZGJmYzkwNzFmODNhZjA4Nzk3YjE2Mjk5OTUwYmMx
|
10
|
+
NDQ5NWM2MjNiYjVjMTM5YzRjMTY0MzZjODAzZjgwYzBmNDYzNTg0Y2U1NjVh
|
11
|
+
Mzk2NjM0MDIzYjI3ZTY0YjllOTIxYTNjNTUzMTYwODgzM2MzNDE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZTFjZGFiNzgxYzAxODAyNzlmMmM4ZTRkMjExOTkyMzc5MmE5YzRjNGNiY2My
|
14
|
+
MWQ2MGRlMWQ0YzM1OTU2NjNkYWM3ZjlmMDkxZTVlMjVkMGEwMjgwNTcwN2Nl
|
15
|
+
YmUwYmNiYTVjZThjNWE4OTI1MTI3OGYxNzgyYTYzZWViNjcwZTg=
|
data/bin/rego
CHANGED
@@ -138,7 +138,7 @@ Main {
|
|
138
138
|
#
|
139
139
|
rego =
|
140
140
|
proc do |*args|
|
141
|
-
path = args.flatten.compact.shift
|
141
|
+
path = args.flatten.compact.shift.to_s
|
142
142
|
|
143
143
|
cmd =
|
144
144
|
if @command
|
@@ -163,21 +163,19 @@ Main {
|
|
163
163
|
|
164
164
|
#
|
165
165
|
q = Queue.new
|
166
|
-
@started_at = nil
|
167
|
-
@fucking_hack = 1.42
|
168
166
|
|
169
167
|
Thread.new do
|
170
168
|
loop do
|
171
169
|
args = q.pop
|
172
170
|
|
173
|
-
|
174
|
-
|
175
|
-
if running_for > @fucking_hack
|
171
|
+
begin
|
176
172
|
rego.call(*args)
|
173
|
+
rescue Object
|
177
174
|
end
|
178
175
|
end
|
179
176
|
end
|
180
|
-
|
177
|
+
|
178
|
+
rego.call(:__START__)
|
181
179
|
|
182
180
|
#
|
183
181
|
fsevent = FSEvent.new
|
data/lib/rego.rb
CHANGED
@@ -4,7 +4,7 @@ require 'yaml'
|
|
4
4
|
require 'tmpdir'
|
5
5
|
|
6
6
|
module Rego
|
7
|
-
Version = '1.
|
7
|
+
Version = '1.8.0' unless defined?(Version)
|
8
8
|
|
9
9
|
def version
|
10
10
|
Rego::Version
|
@@ -12,7 +12,7 @@ module Rego
|
|
12
12
|
|
13
13
|
def dependencies
|
14
14
|
{
|
15
|
-
'main' => [ 'main' , ' >=
|
15
|
+
'main' => [ 'main' , ' >= 6.0' ] ,
|
16
16
|
'rb-fsevent' => [ 'rb-fsevent' , ' >= 0.9.4' ] ,
|
17
17
|
}
|
18
18
|
end
|
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.8.0"
|
7
7
|
spec.platform = Gem::Platform::RUBY
|
8
8
|
spec.summary = "rego"
|
9
9
|
spec.description = "description: rego kicks the ass"
|
@@ -25,7 +25,7 @@ Gem::Specification::new do |spec|
|
|
25
25
|
spec.test_files = nil
|
26
26
|
|
27
27
|
|
28
|
-
spec.add_dependency(*["main", " >=
|
28
|
+
spec.add_dependency(*["main", " >= 6.0"])
|
29
29
|
|
30
30
|
spec.add_dependency(*["rb-fsevent", " >= 0.9.4"])
|
31
31
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rego
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ara T. Howard
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-04-
|
11
|
+
date: 2014-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: main
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ! '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '6.0'
|
20
20
|
type: :runtime
|
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: '
|
26
|
+
version: '6.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rb-fsevent
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|