arachni-rpc 0.1.2 → 0.1.3
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/CHANGELOG.md +5 -2
- data/Rakefile +4 -2
- data/lib/arachni/rpc.rb +0 -1
- data/lib/arachni/rpc/exceptions.rb +1 -1
- data/lib/arachni/rpc/remote_object_mapper.rb +2 -2
- data/lib/arachni/rpc/request.rb +1 -9
- data/lib/arachni/rpc/version.rb +1 -1
- metadata +20 -29
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
# ChangeLog
|
2
2
|
|
3
|
-
## Version 0.1.
|
3
|
+
## Version 0.1.3
|
4
|
+
- Removed ```Arachni::RPC::Request#do_not_defer``` and ```Arachni::RPC::Request#defer?```.
|
5
|
+
- All RPC exceptions now inherit from ```RuntimeError``` instead of ```Exception```.
|
4
6
|
|
5
|
-
|
7
|
+
## Version 0.1.2
|
8
|
+
- Code cleanup.
|
6
9
|
- Arachni::RPC::Request#do_not_defer! => Arachni::RPC::Request#do_not_defer
|
data/Rakefile
CHANGED
@@ -17,7 +17,7 @@ begin
|
|
17
17
|
rescue
|
18
18
|
end
|
19
19
|
|
20
|
-
task default: [ :spec ]
|
20
|
+
task default: [ :build, :spec ]
|
21
21
|
|
22
22
|
desc "Generate docs"
|
23
23
|
task :docs do
|
@@ -48,7 +48,9 @@ task :install => [ :build ] do
|
|
48
48
|
sh "gem install arachni-rpc-#{Arachni::RPC::VERSION}.gem"
|
49
49
|
end
|
50
50
|
|
51
|
-
desc "Push a new version to
|
51
|
+
desc "Push a new version to Rubygems"
|
52
52
|
task :publish => [ :build ] do
|
53
|
+
sh "git tag -a v#{Arachni::RPC::VERSION} -m 'Version #{Arachni::RPC::VERSION}'"
|
53
54
|
sh "gem push arachni-rpc-#{Arachni::RPC::VERSION}.gem"
|
54
55
|
end
|
56
|
+
task :release => [ :publish ]
|
data/lib/arachni/rpc.rb
CHANGED
@@ -17,7 +17,7 @@ module RPC
|
|
17
17
|
#
|
18
18
|
# You start like:
|
19
19
|
#
|
20
|
-
# server = Arachni::RPC::EM::Client.new( :
|
20
|
+
# server = Arachni::RPC::EM::Client.new( host: 'localhost', port: 7331 )
|
21
21
|
# bench = Arachni::RPC::EM::Client::Mapper.new( server, 'bench' )
|
22
22
|
#
|
23
23
|
# And it allows you to do this:
|
@@ -38,7 +38,7 @@ module RPC
|
|
38
38
|
# end
|
39
39
|
# end
|
40
40
|
#
|
41
|
-
# server = Arachni::RPC::EM::Server.new( :
|
41
|
+
# server = Arachni::RPC::EM::Server.new( host: 'localhost', port: 7331 )
|
42
42
|
# server.add_handler( 'bench', Bench.new )
|
43
43
|
#
|
44
44
|
# @author: Tasos "Zapotek" Laskos <tasos.laskos@gmail.com>
|
data/lib/arachni/rpc/request.rb
CHANGED
@@ -67,18 +67,10 @@ class Request < Message
|
|
67
67
|
super
|
68
68
|
end
|
69
69
|
|
70
|
-
def do_not_defer
|
71
|
-
@defer = false
|
72
|
-
end
|
73
|
-
|
74
|
-
def defer?
|
75
|
-
@defer.nil? ? true : @defer
|
76
|
-
end
|
77
|
-
|
78
70
|
private
|
79
71
|
|
80
72
|
def transmit?( attr )
|
81
|
-
![ :@
|
73
|
+
![ :@callback ].include?( attr )
|
82
74
|
end
|
83
75
|
|
84
76
|
end
|
data/lib/arachni/rpc/version.rb
CHANGED
metadata
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: arachni-rpc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
4
|
+
version: 0.1.3
|
5
|
+
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Tasos Laskos
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-11-02 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
|
-
description: ! " Arachni-RPC is a simple and lightweight Remote Procedure Call
|
15
|
-
|
14
|
+
description: ! " Arachni-RPC is a simple and lightweight Remote Procedure Call
|
15
|
+
protocol\n used to provide the basis for Arachni's Grid infrastructure.\n"
|
16
16
|
email: tasos.laskos@gmail.com
|
17
17
|
executables: []
|
18
18
|
extensions: []
|
@@ -25,45 +25,36 @@ files:
|
|
25
25
|
- Rakefile
|
26
26
|
- LICENSE.md
|
27
27
|
- CHANGELOG.md
|
28
|
-
-
|
29
|
-
|
30
|
-
-
|
31
|
-
|
32
|
-
-
|
33
|
-
|
34
|
-
-
|
35
|
-
bGliL2FyYWNobmkvcnBjL3ZlcnNpb24ucmI=
|
36
|
-
- !binary |-
|
37
|
-
bGliL2FyYWNobmkvcnBjL2V4Y2VwdGlvbnMucmI=
|
38
|
-
- !binary |-
|
39
|
-
bGliL2FyYWNobmkvcnBjL3Jlc3BvbnNlLnJi
|
40
|
-
- !binary |-
|
41
|
-
bGliL2FyYWNobmkvcnBjL21lc3NhZ2UucmI=
|
28
|
+
- lib/arachni/rpc.rb
|
29
|
+
- lib/arachni/rpc/message.rb
|
30
|
+
- lib/arachni/rpc/response.rb
|
31
|
+
- lib/arachni/rpc/request.rb
|
32
|
+
- lib/arachni/rpc/version.rb
|
33
|
+
- lib/arachni/rpc/remote_object_mapper.rb
|
34
|
+
- lib/arachni/rpc/exceptions.rb
|
42
35
|
homepage: https://github.com/Arachni/arachni-rpc
|
43
36
|
licenses: []
|
44
|
-
post_install_message:
|
37
|
+
post_install_message:
|
45
38
|
rdoc_options:
|
46
39
|
- --charset=UTF-8
|
47
40
|
require_paths:
|
48
41
|
- lib
|
49
42
|
required_ruby_version: !ruby/object:Gem::Requirement
|
43
|
+
none: false
|
50
44
|
requirements:
|
51
45
|
- - ! '>='
|
52
46
|
- !ruby/object:Gem::Version
|
53
|
-
version:
|
54
|
-
MA==
|
55
|
-
none: false
|
47
|
+
version: '0'
|
56
48
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
57
50
|
requirements:
|
58
51
|
- - ! '>='
|
59
52
|
- !ruby/object:Gem::Version
|
60
|
-
version:
|
61
|
-
MA==
|
62
|
-
none: false
|
53
|
+
version: '0'
|
63
54
|
requirements: []
|
64
|
-
rubyforge_project:
|
55
|
+
rubyforge_project:
|
65
56
|
rubygems_version: 1.8.24
|
66
|
-
signing_key:
|
57
|
+
signing_key:
|
67
58
|
specification_version: 3
|
68
59
|
summary: The RPC protocol specification of the Arachni WebAppSec scanner Grid.
|
69
60
|
test_files: []
|