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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 301b00ccddb8190e6d5adb999ab9ee5d6039ffc1
4
- data.tar.gz: b98f7e0d885ecd8bf0ab3c873d656a4dc5c56b75
3
+ metadata.gz: d7dc119e4a15f9d4727bff3237a896a26ab1d8f9
4
+ data.tar.gz: 9624175813c906dc546c98308eb637fc506db706
5
5
  SHA512:
6
- metadata.gz: 5f5c54607d02134e62fceabc85482ee8475dadaea0cded1423b17f057543a464fc39daeca4ccb898b001205a8d298a8727e713f9f464c8c40f495a8acc3a44cf
7
- data.tar.gz: fb669ef41103d51409d9a2426bed545e7a446e1d2d4f5ce90bd04172f5b9ccd6ccbe162947e09b7b21637a29225ee0696b697e6b10345ee97e1a9427e1f4811a
6
+ metadata.gz: 48bdcc8477899f48b7cd0a734217f3ab9f58ab93a934cdec3522d3e38b49a8687708c5ae36b9280642f57707fc38ad4c7307216178d3da56f444eedfcc66d237
7
+ data.tar.gz: 1c2251e27f12b1580114907018d4c1c76abea08c5b267c83c0a277fe39e8cb132458a8e37d83e5fd098d2da4741c13b564d302ce3427811be490007043df7ef5
@@ -19,7 +19,6 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ['lib']
20
20
 
21
21
  spec.add_dependency('httpclient')
22
- spec.add_dependency('rails')
23
22
 
24
23
  spec.add_development_dependency "bundler", "~> 1.3"
25
24
  spec.add_development_dependency "rake"
@@ -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] if opts[:logger]
17
+ @logger = opts[:logger] || (const_defined?('Rails') ? Rails.logger : Logger.new(STDOUT))
20
18
  @disabled = opts[:disabled]
21
19
  end
22
20
 
@@ -1,5 +1,5 @@
1
1
  module GameAnalytics
2
2
 
3
- VERSION = '0.0.3'
3
+ VERSION = '0.0.4'
4
4
 
5
5
  end
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.3
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-19 00:00:00.000000000 Z
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