synack 1.2.1 → 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/README.md +6 -1
  2. data/README.rdoc +7 -1
  3. data/VERSION +1 -1
  4. data/synack.gemspec +1 -1
  5. metadata +2 -2
data/README.md CHANGED
@@ -19,7 +19,12 @@ You can send messages to remote machines by specifying a host and port in the cl
19
19
 
20
20
  synack -h my_remote_machine -p 1013 "I'm here, what did you want?"
21
21
 
22
- You can even use UNIX pipes to send messages (first line of input only, for now):
22
+ You can use UNIX pipes to send messages (first line of input only, for now):
23
23
 
24
24
  echo 'Foo to you, sir.' | synack
25
25
 
26
+ You can even invoke it from within a Ruby or Rails application:
27
+
28
+ def log_remote_event(event_name)
29
+ Synack::Client.new(:host => '10.0.1.1').say("Event #{event_name} captured")
30
+ end
@@ -18,10 +18,16 @@ You can send messages to remote machines by specifying a host and port in the cl
18
18
 
19
19
  synack -h my_remote_machine -p 11113 "I'm here, what did you want?"
20
20
 
21
- You can even use UNIX pipes to send messages (first line of input only, for now):
21
+ You can use UNIX pipes to send messages (first line of input only, for now):
22
22
 
23
23
  echo 'Foo to you, sir.' | synack
24
24
 
25
+ You can even invoke it from within a Ruby or Rails application:
26
+
27
+ def log_remote_event(event_name)
28
+ Synack::Client.new(:host => '10.0.1.1').say("Event #{event_name} captured")
29
+ end
30
+
25
31
  == Contributing to synack
26
32
 
27
33
  * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.1
1
+ 1.2.2
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "synack"
8
- s.version = "1.2.1"
8
+ s.version = "1.2.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Corey Ehmke", "Max Thom Stahl"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: synack
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -151,7 +151,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
151
151
  version: '0'
152
152
  segments:
153
153
  - 0
154
- hash: 2505386976381495473
154
+ hash: -4245409254551447742
155
155
  required_rubygems_version: !ruby/object:Gem::Requirement
156
156
  none: false
157
157
  requirements: