ragent 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/examples/lib/ragent/plugin/login.rb +1 -1
- data/examples/lib/ragent/plugin/time_bomb.rb +1 -1
- data/lib/ragent/plugins.rb +4 -4
- data/lib/ragent/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7454e03b6e6aa2985778846b26d7397941d821ba
|
4
|
+
data.tar.gz: a9515e435d272b6b4498af6d6d26714aadea1a22
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cde9611ad63ed334cc552986b3ae0e7926208cd6578bd8a2d6f68fb2137f33d2bf517a40693ea2b58a102cf64d20e86f9426306122b604b113b0562b4c8e05aa
|
7
|
+
data.tar.gz: abe7a1cc87e8ca3c870ad11984a38704b361273a42784fa5fa8b7353cce06acec6b5dd0ddafb2896aa7b8c9e8e00e62b4a2cf7e2f2468414bb43df5421aa5927
|
data/lib/ragent/plugins.rb
CHANGED
@@ -18,15 +18,15 @@ module Ragent
|
|
18
18
|
info "loaded plugin #{name}"
|
19
19
|
# TODO: load and configure dependencies
|
20
20
|
plugin = @plugins[name.to_s]
|
21
|
-
info "Configure: #{
|
21
|
+
info "Configure: #{name}"
|
22
22
|
running_plugin = plugin.new(@ragent)
|
23
23
|
running_plugin.configure(*args, &block)
|
24
|
-
debug "Configured: #{
|
24
|
+
debug "Configured: #{name}"
|
25
25
|
@running_plugins << running_plugin
|
26
26
|
end
|
27
27
|
|
28
|
-
def register(
|
29
|
-
@plugins[
|
28
|
+
def register(mod)
|
29
|
+
@plugins[mod.plugin_name] = mod
|
30
30
|
end
|
31
31
|
|
32
32
|
def start
|
data/lib/ragent/version.rb
CHANGED