analytics-ruby 2.0.11 → 2.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/History.md +5 -0
- data/README.md +3 -3
- data/lib/segment/analytics/version.rb +1 -1
- data/lib/segment/analytics/worker.rb +3 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0cc5769725086412e35757d3959e7883e3a5498d
|
4
|
+
data.tar.gz: 45e568f567921439fa4acb33904722d504d0292c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cfe5c2576414e23f0010c7d3af9a41d4b2e5563f47f55f01dae92ae7aef560cf5cd39d6964d9a765a85759ead9abded63ceedc0858784c83d17788efd3dff9b8
|
7
|
+
data.tar.gz: 2bd40cee4400e41415103c8e063d7cb3c0482b4ab03b0365edc57613d615fcc89d1c3a0db4ace42cbc5320d03cb23237df3232049b5d5be8c10a8e79e96a7b61
|
data/Gemfile.lock
CHANGED
data/History.md
CHANGED
data/README.md
CHANGED
@@ -3,11 +3,11 @@ analytics-ruby
|
|
3
3
|
|
4
4
|
[![Build Status](https://travis-ci.org/segmentio/analytics-ruby.png?branch=master)](https://travis-ci.org/segmentio/analytics-ruby)
|
5
5
|
|
6
|
-
analytics-ruby is a ruby client for [Segment
|
6
|
+
analytics-ruby is a ruby client for [Segment](https://segment.com)
|
7
7
|
|
8
8
|
## Documentation
|
9
9
|
|
10
|
-
Documentation is available at [segment.
|
10
|
+
Documentation is available at [segment.com/libraries/ruby](https://segment.com/libraries/ruby)
|
11
11
|
|
12
12
|
## License
|
13
13
|
|
@@ -26,7 +26,7 @@ WWWWWW||WWWWWW
|
|
26
26
|
|
27
27
|
(The MIT License)
|
28
28
|
|
29
|
-
Copyright (c) 2013 Segment
|
29
|
+
Copyright (c) 2013 Segment Inc. <friends@segment.com>
|
30
30
|
|
31
31
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
32
32
|
|
@@ -44,11 +44,9 @@ module Segment
|
|
44
44
|
|
45
45
|
res = Request.new.post @write_key, @batch
|
46
46
|
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
@on_error.call res.status, res.error unless res.status == 200
|
51
|
-
end
|
47
|
+
@lock.synchronize { @batch.clear }
|
48
|
+
|
49
|
+
@on_error.call res.status, res.error unless res.status == 200
|
52
50
|
end
|
53
51
|
end
|
54
52
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: analytics-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Segment.io
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|