netsoul 2.3.2 → 2.3.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.
- checksums.yaml +4 -4
- data/README.md +4 -3
- data/lib/netsoul/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: 212f6c48702fec4643b4c10aadcaf6ce01377160
|
4
|
+
data.tar.gz: 57f92b64eb485a6470ec5820978411d9ebce2648
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a419d29438e9fcfea5c100f07f51325c0426cc81aefb2734aef67c4514f92769eb950e5e7aa39fdc1b3aa12f393db5549f64fd12d40cc8fc03bca97cc0501f98
|
7
|
+
data.tar.gz: 2b593a58062a928106e52d43b2191aac1bacbaade86eb5a9dd1910b611a29919facc718f3260423128ad4abac11a973fe30ebdb9b305eac50493c66963721959
|
data/README.md
CHANGED
@@ -83,15 +83,16 @@ netsoul-ruby -config netsoul-config.yml
|
|
83
83
|
# :user_group: 'ETNA_2008'
|
84
84
|
```
|
85
85
|
|
86
|
-
##
|
86
|
+
## Build your own Netsoul client with netsoul-ruby gem
|
87
87
|
|
88
88
|
Look at the client implementation in this gem: [https://github.com/fenicks/netsoul-ruby/blob/master/bin/netsoul-ruby]().
|
89
89
|
This client is implemented in less than 80 lines of code ; including option parser, client reconnection, ...
|
90
90
|
|
91
91
|
```ruby
|
92
|
-
|
92
|
+
# Install the gem first (Gemfile or 'gem install'), see the 'Installation' section
|
93
|
+
require 'netsoul/client'
|
93
94
|
|
94
|
-
c = Netsoul::Client.new options[:
|
95
|
+
c = Netsoul::Client.new options[:user_opts_hash]
|
95
96
|
c.connect
|
96
97
|
# ...
|
97
98
|
if c.started
|
data/lib/netsoul/version.rb
CHANGED