stream_rails 2.1.1 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stream_rails.rb +7 -1
- data/lib/stream_rails/config.rb +1 -0
- data/lib/stream_rails/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d3197a48ab9100cf298b1494864808c1816ddd27
|
4
|
+
data.tar.gz: 7db84bb94ffd1048d43b34bac2d68da061403eae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48332e5d5f486497a68aad4f7383edc41411ce19a37c05ef3932fb04eaf40884d9e471d42b7a4ec67901c9873972345948c6fcbf6befaae2cc0ca0c8c6aef9c5
|
7
|
+
data.tar.gz: e6e4053c752d001eaeaea25626b9276ba126bd3a7e8d7bb9e21d8e75f66426fa5ae9d1cfa409bce90c89ab631760ed9ed5a037ab38bbbe7c49e9eb81b84a092b
|
data/lib/stream_rails.rb
CHANGED
@@ -14,7 +14,12 @@ module StreamRails
|
|
14
14
|
autoload :VERSION
|
15
15
|
|
16
16
|
def self.client
|
17
|
-
Stream::Client.new(
|
17
|
+
Stream::Client.new(
|
18
|
+
self.config.api_key,
|
19
|
+
self.config.api_secret,
|
20
|
+
self.config.api_site_id,
|
21
|
+
:location => self.config.location
|
22
|
+
)
|
18
23
|
end
|
19
24
|
|
20
25
|
# Returns StreamRails's configuration object.
|
@@ -48,6 +53,7 @@ module StreamRails
|
|
48
53
|
# config.api_key = "key"
|
49
54
|
# config.api_secret = "secret"
|
50
55
|
# config.api_site_id = "42"
|
56
|
+
# config.location = "us-east"
|
51
57
|
# config.enabled = true
|
52
58
|
# end
|
53
59
|
def self.configure(&block)
|
data/lib/stream_rails/config.rb
CHANGED
data/lib/stream_rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stream_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tommaso Barbugli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '2.
|
47
|
+
version: '2.1'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '2.
|
54
|
+
version: '2.1'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: activerecord
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|