openkit 0.0.1 → 0.0.2

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: 3d0b4f00b8e5a5a3a6ce085a3738719f3ac02265
4
- data.tar.gz: d1b034360fe320cdf1ad7e538d5ccd29698fc01f
3
+ metadata.gz: ed0a17892e64a668140d2c64c81c0c79c630eb59
4
+ data.tar.gz: 549ec155f83e1b34bbfd509d1d0fd1880eacc8eb
5
5
  SHA512:
6
- metadata.gz: c2367135097d83e600d8f254d0ab7ae35916e11ad6223f03b3fb58134327cada781850c72898c350415159b38000933b6c87e3a000c96463fdf2149be5c76705
7
- data.tar.gz: 9c325267738058087290d47b9f16030c1316f57e6fa631867baa6f32b43e477f2db20c105b85169b2989866247aca759b9e3cc380c34c07713e9086fc4c5d11b
6
+ metadata.gz: 43295e72ef068df053b365bc6b50edd5d0f8f6c28e6103e064c34e1b46bed0c3bfbf01817176ff011e8f7627da62b2cd16a24432279043797a1c83c34891c191
7
+ data.tar.gz: dd34655c504fd2d0b9f3c153a88419f1ba4b70e09f1d4c737a365bb56977bd5218418393a59efd6487b6f0c732a95068ff78064ccfeca679d06531983c584507
data/README.md CHANGED
@@ -4,17 +4,14 @@ The ruby client for OpenKit's gaming backend.
4
4
 
5
5
  ## Installation
6
6
 
7
- Add this line to your application's Gemfile:
7
+ gem install 'openkit'
8
8
 
9
- gem 'openkit'
10
-
11
- And then execute:
9
+ Or add the following line to your application's Gemfile:
12
10
 
13
- $ bundle
11
+ gem 'openkit'
14
12
 
15
- Or install it yourself as:
13
+ And run `bundle install` from your shell.
16
14
 
17
- $ gem install openkit
18
15
 
19
16
  ## Usage
20
17
 
@@ -14,7 +14,13 @@ module OpenKit
14
14
  end
15
15
 
16
16
  def params_in_signature
17
- super.merge(@query_params)
17
+ super.merge(symbolize_keys(@query_params))
18
+ end
19
+
20
+ private
21
+ def symbolize_keys(hash)
22
+ hash.keys.each {|k| hash[k.to_sym] = hash.delete(k)}
23
+ hash
18
24
  end
19
25
  end
20
26
 
@@ -1,3 +1,3 @@
1
1
  module Openkit
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/openkit.gemspec CHANGED
@@ -37,10 +37,10 @@ Gem::Specification.new do |spec|
37
37
  spec.test_files = spec.files.grep(%r{^(test)/})
38
38
  spec.require_paths = ["lib"]
39
39
 
40
- spec.add_development_dependency "bundler", "~> 1.3"
41
- spec.add_development_dependency "rake"
40
+ spec.add_development_dependency "bundler", "~> 1.3"
41
+ spec.add_development_dependency "rake", "~> 10.1"
42
42
  spec.add_development_dependency "minitest", "~> 4.7"
43
- spec.add_development_dependency "turn"
43
+ spec.add_development_dependency "turn", "~> 0"
44
44
 
45
- spec.add_dependency 'multipart-post'
45
+ spec.add_dependency 'multipart-post', "~> 2.0"
46
46
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Zell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-11 00:00:00.000000000 Z
11
+ date: 2014-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '10.1'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: '10.1'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: minitest
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -56,30 +56,30 @@ dependencies:
56
56
  name: turn
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: multipart-post
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '0'
75
+ version: '2.0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
82
+ version: '2.0'
83
83
  description: List leaderboards, post scores, etc.
84
84
  email:
85
85
  - lou@openkit.io
@@ -92,6 +92,7 @@ files:
92
92
  - README.md
93
93
  - Rakefile
94
94
  - lib/openkit.rb
95
+ - lib/openkit/request.rb
95
96
  - lib/openkit/request/base.rb
96
97
  - lib/openkit/request/base_delegate.rb
97
98
  - lib/openkit/request/delete.rb
@@ -100,12 +101,11 @@ files:
100
101
  - lib/openkit/request/post_multipart.rb
101
102
  - lib/openkit/request/put.rb
102
103
  - lib/openkit/request/upload.rb
103
- - lib/openkit/request.rb
104
104
  - lib/openkit/version.rb
105
+ - openkit.gemspec
105
106
  - test/api/score_api_test.rb
106
107
  - test/api/user_api_test.rb
107
108
  - test/test_helper.rb
108
- - openkit.gemspec
109
109
  homepage: https://github.com/OpenKit/openkit-server/tree/development/clients/ruby
110
110
  licenses:
111
111
  - MIT
@@ -126,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
126
  version: '0'
127
127
  requirements: []
128
128
  rubyforge_project:
129
- rubygems_version: 2.1.11
129
+ rubygems_version: 2.2.0
130
130
  signing_key:
131
131
  specification_version: 4
132
132
  summary: Client for OpenKit's gaming backend