steam-client 0.0.1

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.
data/.gitignore ADDED
@@ -0,0 +1 @@
1
+ pkg
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.3
4
+ notifications:
5
+ email: false
data/Gemfile ADDED
@@ -0,0 +1,7 @@
1
+ source "http://rubygems.org"
2
+
3
+ group :test do
4
+ gem 'rake', '0.9.2.2'
5
+ gem 'rspec', '2.12.0'
6
+ gem 'rspec-mocks', '2.12.0'
7
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,21 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ diff-lcs (1.1.3)
5
+ rake (0.9.2.2)
6
+ rspec (2.12.0)
7
+ rspec-core (~> 2.12.0)
8
+ rspec-expectations (~> 2.12.0)
9
+ rspec-mocks (~> 2.12.0)
10
+ rspec-core (2.12.0)
11
+ rspec-expectations (2.12.0)
12
+ diff-lcs (~> 1.1.3)
13
+ rspec-mocks (2.12.0)
14
+
15
+ PLATFORMS
16
+ ruby
17
+
18
+ DEPENDENCIES
19
+ rake (= 0.9.2.2)
20
+ rspec (= 2.12.0)
21
+ rspec-mocks (= 2.12.0)
data/README.md ADDED
@@ -0,0 +1,6 @@
1
+ steam-client
2
+ ============
3
+
4
+ [![Build Status](https://secure.travis-ci.org/BrianMMcClain/steam-client-ruby.png)](https://secure.travis-ci.org/BrianMMcClain/steam-client-ruby.png)
5
+
6
+ Ruby gem to interact with the [Steam](http://steampowered.com) API
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env rake
2
+ require "bundler/gem_tasks"
3
+ require 'rspec/core/rake_task'
4
+
5
+ RSpec::Core::RakeTask.new(:spec) do |spec|
6
+ spec.pattern = 'spec/*_spec.rb'
7
+ spec.rspec_opts = ['--backtrace', '--format documentation']
8
+ end
9
+
10
+ task :default => :spec
@@ -0,0 +1,2 @@
1
+ require 'steam-client/version'
2
+ require 'steam-client/client'
@@ -0,0 +1,13 @@
1
+ module SteamClient
2
+ class Client
3
+
4
+ attr_reader :api_key
5
+
6
+ def initialize(api_key)
7
+ @api_key = api_key
8
+ end
9
+
10
+
11
+
12
+ end
13
+ end
@@ -0,0 +1,3 @@
1
+ module SteamClient
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,15 @@
1
+ require 'spec_helper'
2
+
3
+ describe SteamClient::Client do
4
+
5
+ it "should instantiate" do
6
+ client = SteamClient::Client.new("XXXXXXXXX")
7
+ client.api_key.should == "XXXXXXXXX"
8
+ end
9
+
10
+ it "should get a profile" do
11
+ client = SteamClient::Client.new("XXXXXXXXX")
12
+ profile = client.get_profile("some_person")
13
+ profile.class.should == SteamClient::Profile.class
14
+ end
15
+ end
@@ -0,0 +1 @@
1
+ require_relative '../lib/steam-client'
@@ -0,0 +1,17 @@
1
+ # -*- encoding: utf-8 -*-
2
+ require File.expand_path('../lib/steam-client/version', __FILE__)
3
+
4
+ Gem::Specification.new do |gem|
5
+ gem.authors = ["Brian McClain"]
6
+ gem.email = ["brianmmcclain@gmail.com"]
7
+ gem.description = %q{Steam Client}
8
+ gem.summary = gem.summary
9
+ gem.homepage = "https://github.com/BrianMMcClain/steam-client-ruby"
10
+
11
+ gem.files = `git ls-files`.split($\)
12
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
13
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
14
+ gem.name = "steam-client"
15
+ gem.require_paths = ["lib"]
16
+ gem.version = SteamClient::VERSION
17
+ end
metadata ADDED
@@ -0,0 +1,62 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: steam-client
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Brian McClain
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-12-04 00:00:00.000000000 Z
13
+ dependencies: []
14
+ description: Steam Client
15
+ email:
16
+ - brianmmcclain@gmail.com
17
+ executables: []
18
+ extensions: []
19
+ extra_rdoc_files: []
20
+ files:
21
+ - .gitignore
22
+ - .travis.yml
23
+ - Gemfile
24
+ - Gemfile.lock
25
+ - README.md
26
+ - Rakefile
27
+ - lib/steam-client.rb
28
+ - lib/steam-client/client.rb
29
+ - lib/steam-client/version.rb
30
+ - spec/client_spec.rb
31
+ - spec/spec_helper.rb
32
+ - steam-client.gemspec
33
+ homepage: https://github.com/BrianMMcClain/steam-client-ruby
34
+ licenses: []
35
+ post_install_message:
36
+ rdoc_options: []
37
+ require_paths:
38
+ - lib
39
+ required_ruby_version: !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ! '>='
43
+ - !ruby/object:Gem::Version
44
+ version: '0'
45
+ segments:
46
+ - 0
47
+ hash: -3433636063998420382
48
+ required_rubygems_version: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ requirements: []
55
+ rubyforge_project:
56
+ rubygems_version: 1.8.24
57
+ signing_key:
58
+ specification_version: 3
59
+ summary: ''
60
+ test_files:
61
+ - spec/client_spec.rb
62
+ - spec/spec_helper.rb