game_analytics 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/game_analytics.gemspec +0 -1
- data/lib/game_analytics.rb +1 -3
- data/lib/game_analytics/version.rb +1 -1
- metadata +2 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7dc119e4a15f9d4727bff3237a896a26ab1d8f9
|
4
|
+
data.tar.gz: 9624175813c906dc546c98308eb637fc506db706
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48bdcc8477899f48b7cd0a734217f3ab9f58ab93a934cdec3522d3e38b49a8687708c5ae36b9280642f57707fc38ad4c7307216178d3da56f444eedfcc66d237
|
7
|
+
data.tar.gz: 1c2251e27f12b1580114907018d4c1c76abea08c5b267c83c0a277fe39e8cb132458a8e37d83e5fd098d2da4741c13b564d302ce3427811be490007043df7ef5
|
data/game_analytics.gemspec
CHANGED
data/lib/game_analytics.rb
CHANGED
@@ -12,11 +12,9 @@ module GameAnalytics
|
|
12
12
|
attr_accessor :options, :logger, :disabled
|
13
13
|
end
|
14
14
|
|
15
|
-
self.logger = const_defined?('Rails') ? Rails.logger : Logger.new(STDOUT)
|
16
|
-
|
17
15
|
def self.config(opts)
|
18
16
|
@options = opts
|
19
|
-
@logger = opts[:logger]
|
17
|
+
@logger = opts[:logger] || (const_defined?('Rails') ? Rails.logger : Logger.new(STDOUT))
|
20
18
|
@disabled = opts[:disabled]
|
21
19
|
end
|
22
20
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: game_analytics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- wlipa
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-11-
|
12
|
+
date: 2015-11-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: httpclient
|
@@ -25,20 +25,6 @@ dependencies:
|
|
25
25
|
- - ">="
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: '0'
|
28
|
-
- !ruby/object:Gem::Dependency
|
29
|
-
name: rails
|
30
|
-
requirement: !ruby/object:Gem::Requirement
|
31
|
-
requirements:
|
32
|
-
- - ">="
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version: '0'
|
35
|
-
type: :runtime
|
36
|
-
prerelease: false
|
37
|
-
version_requirements: !ruby/object:Gem::Requirement
|
38
|
-
requirements:
|
39
|
-
- - ">="
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
version: '0'
|
42
28
|
- !ruby/object:Gem::Dependency
|
43
29
|
name: bundler
|
44
30
|
requirement: !ruby/object:Gem::Requirement
|