rmuh 0.1.1 → 0.2.0
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 +2 -0
- data/lib/rmuh/serverstats/advanced.rb +16 -0
- data/lib/rmuh/version.rb +2 -2
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2afa8d700e33ca03886586afae8cb833e30e6848
|
|
4
|
+
data.tar.gz: 1812d02b9537370a22db998fcee1f6936e5b39c8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6956e30ee23bc0d415276f263e5bac85d629781e272e082dd694f3af23bf3f2ba0deeb2a7fe6749dfcae8a398b572d9d540276575956bbe6a996bfd0cd0b7d05
|
|
7
|
+
data.tar.gz: 5c3ce06cd77a60f70045da346fb340df5b4455290d5f92d07cbd6ca1f4969358801b20436fa4e143d459ee23a993918117bb5b8ff0ca551ee2e0ad1ef31e1635
|
data/README.md
CHANGED
|
@@ -2,8 +2,10 @@ RMuh
|
|
|
2
2
|
====
|
|
3
3
|
[](https://travis-ci.org/theckman/rpt-ruby)
|
|
4
4
|
[](https://tldrlegal.com/license/mit-license)
|
|
5
|
+
[](https://rubygems.org/gems/rmuh)
|
|
5
6
|
[](https://coveralls.io/r/theckman/rmuh)
|
|
6
7
|
[](https://codeclimate.com/github/theckman/rmuh)
|
|
8
|
+
[](https://gemnasium.com/theckman/rmuh)
|
|
7
9
|
|
|
8
10
|
**RMuh**, a play on the name ArmA (Armed Assault), is a Ruby library for
|
|
9
11
|
interacting with ArmA 2 servers (specifically tested against Operation
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# -*- coding: UTF-8 -*-
|
|
2
|
+
|
|
3
|
+
require 'rmuh/serverstats/base'
|
|
4
|
+
|
|
5
|
+
module RMuh
|
|
6
|
+
module ServerStats
|
|
7
|
+
# TODO: Documentation
|
|
8
|
+
#
|
|
9
|
+
class Advanced < RMuh::ServerStats::Base
|
|
10
|
+
def method_missing(method, *args, &block)
|
|
11
|
+
super unless stats.key?(method)
|
|
12
|
+
stats[method]
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
data/lib/rmuh/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rmuh
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tim Heckman
|
|
@@ -231,6 +231,7 @@ files:
|
|
|
231
231
|
- lib/rmuh/rpt/log/util/unitedoperations.rb
|
|
232
232
|
- lib/rmuh/rpt/log/util/unitedoperationslog.rb
|
|
233
233
|
- lib/rmuh/rpt/log/util/unitedoperationsrpt.rb
|
|
234
|
+
- lib/rmuh/serverstats/advanced.rb
|
|
234
235
|
- lib/rmuh/serverstats/base.rb
|
|
235
236
|
- lib/rmuh/version.rb
|
|
236
237
|
- rmuh.gemspec
|