steam-proto 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6e364a0d2c68e3f998791871fc30fb46aa9cef5c
4
- data.tar.gz: bff7d184f75bc263856bd656a28790450689df6d
3
+ metadata.gz: c7529d11010a4de9004eb41aeb6283b6683a14c0
4
+ data.tar.gz: 40e2062f0511e5c01082b920fd1a395778885ad7
5
5
  SHA512:
6
- metadata.gz: cfd6b229180816c46e83eb78f6f191bd2fd6577d496272d0e7dbe853f3659cad104f53ed87706d6ba5da9c3c7b6eae75e6ab2b9335bf28fc5f38bd02efae90ad
7
- data.tar.gz: e0b455920f7d83b7dfbf1570ecf223a64562f72a8c590814c77683d0c1969be9ad8e1443f7424504f19eb33ef7c64e35803ec6f735874f0bb348fcb7cf08b029
6
+ metadata.gz: f1167560f02be83e6d93757359e2f85c4b0b90a89d081e75f6817f5a4bb51709bdbd9727e20bbdb9d174fe94820bba0c4c080005d2bd78d722dc3c556d4a07a6
7
+ data.tar.gz: cc0bc464fdc16f16d621cdb10f4f1937a02d12f99a194d183386294f329b6336de2edbf5119ef038d4ca9efb3094752387681c9c384bef2d09c5ecdf2477a4e9
data/README.md CHANGED
@@ -1 +1,31 @@
1
- Requires protoc 2.6.0 and protoc-gen-ruby.
1
+ # Steam::Proto
2
+ [![Build Status](https://travis-ci.org/fastpeek/steam-proto.svg?branch=0.1.0)](https://travis-ci.org/fastpeek/steam-proto)
3
+ ![Gem Version](https://img.shields.io/gem/v/steam-proto.svg)
4
+
5
+ Ruby interface to the [Steam Protobufs](https://github.com/SteamRE/SteamKit/tree/master/Resources/Protobufs).
6
+
7
+ ## Installation
8
+
9
+ Add `gem 'steam-proto'` to your Gemfile
10
+
11
+ ## Usage
12
+
13
+ ```ruby
14
+ require 'steam/proto'
15
+ Steam::Proto.load_protobufs(:steamclient, :gc, :csgo)
16
+ ```
17
+
18
+ ## Documentation
19
+
20
+ You can view the documentation of the generated classes [here](google.com)
21
+
22
+ ## Updating the source Protobuf definitions
23
+
24
+ If the upstream protobuf definitions change the code can be regenerated as
25
+ follows.
26
+
27
+ `bundle exec rake proto:install`
28
+
29
+ # Dependencies
30
+
31
+ Requires protoc 2.6.0.
@@ -1,4 +1,6 @@
1
1
  require 'steam/proto/csgo/engine_gcmessages.pb'
2
2
  require 'steam/proto/csgo/gcsdk_gcmessages.pb'
3
3
  require 'steam/proto/csgo/gcsystemmsgs.pb'
4
+ require 'steam/proto/csgo/netmessages.pb'
4
5
  require 'steam/proto/csgo/cstrike15_gcmessages.pb'
6
+ require 'steam/proto/csgo/cstrike15_usermessages.pb'
@@ -1,5 +1,5 @@
1
1
  module Steam
2
2
  module Proto
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
data/lib/steam/proto.rb CHANGED
@@ -5,7 +5,7 @@ module Steam
5
5
  # Access to the various Steam Protobuf definitions
6
6
  module Proto
7
7
  def self.load_protobufs(*args)
8
- args = args.dup.map(&:to_sym)
8
+ args = args.flatten.dup.map(&:to_sym)
9
9
 
10
10
  args.each do |arg|
11
11
  raise "Failed to load protobufs for #{arg}" unless allowed?(arg)
data/steam-proto.gemspec CHANGED
@@ -11,7 +11,8 @@ Gem::Specification.new do |spec|
11
11
  spec.email = ['tmfinnell@gmail.com']
12
12
 
13
13
  spec.summary = 'Ruby access to Steam\'s Protobufs.'
14
- spec.description = 'Load Steam\'s Protobuf objects from the Steam Client, CSGO, etc.'
14
+ spec.description = 'Load Steam\'s Protobuf objects from the Steam Client'\
15
+ ', CSGO, etc.'
15
16
  spec.homepage = 'http://github.com/fastpeek/steam-proto.com'
16
17
  spec.licenses = ['MIT']
17
18
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: steam-proto
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Taylor Finnell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-18 00:00:00.000000000 Z
11
+ date: 2016-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler