hldslogs 0.2.2 → 0.2.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 +13 -1
- data/lib/hldslogs/{hldssocket.rb → logshlds.rb} +1 -1
- data/lib/hldslogs/version.rb +1 -1
- data/lib/hldslogs.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1395e3dbebcd55f982fb3425c5d0d5cb7678a297
|
4
|
+
data.tar.gz: a0c45a1c5edee6b2afb6dbec56e4fc0ff7c2ba8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc6de4783fd6b13a955442c4722038ff99fda45faca4d2bb8b4982c99049fec14df1fdd6d82e4edb8607bb6be17bace6cb6343ab0cd01851fa88cf12d9211c33
|
7
|
+
data.tar.gz: 1065d46acd39713709401b65373c11fc6db73f99c5a27323de690a8d3aaf361ad813147c4e5f3c1294923c09643577b97692a7107d8374f08fb406dacdcd1572
|
data/README.md
CHANGED
@@ -32,6 +32,18 @@ Use this example, create new ruby file logs.rb and put this in it:
|
|
32
32
|
```ruby
|
33
33
|
require 'hldslogs'
|
34
34
|
|
35
|
+
@conn = LogsHlds.new("192.168.0.1", 27015, 28015)
|
36
|
+
|
37
|
+
until @conn.socket == nil do
|
38
|
+
logs = @conn.receve_data
|
39
|
+
puts logs
|
40
|
+
end
|
41
|
+
```
|
42
|
+
For 0.2.2 version or below version make logs.rb file like this:
|
43
|
+
|
44
|
+
```ruby
|
45
|
+
require 'hldslogs'
|
46
|
+
|
35
47
|
@conn = HldsSocket.new("192.168.0.1", 27015, 28015)
|
36
48
|
|
37
49
|
until @conn.socket == nil do
|
@@ -46,7 +58,7 @@ In your Counter-Strike 1.6 Server console add the ip and bind port from the sock
|
|
46
58
|
logaddress_add 192.168.0.1 28015
|
47
59
|
```
|
48
60
|
|
49
|
-
After this run the file in terminal, make sure that your terminal directory is where the file is located
|
61
|
+
After this run the logs.rb file in terminal, make sure that your terminal directory is where the file is located
|
50
62
|
and after this run ruby logs.rb. If everything go well you should get the server logs in terminal.
|
51
63
|
|
52
64
|
## License
|
data/lib/hldslogs/version.rb
CHANGED
data/lib/hldslogs.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hldslogs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- freemanmax
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -54,7 +54,7 @@ files:
|
|
54
54
|
- bin/setup
|
55
55
|
- hldslogs.gemspec
|
56
56
|
- lib/hldslogs.rb
|
57
|
-
- lib/hldslogs/
|
57
|
+
- lib/hldslogs/logshlds.rb
|
58
58
|
- lib/hldslogs/version.rb
|
59
59
|
homepage: https://github.com/freemanmax/hldslogs
|
60
60
|
licenses:
|