em-statsd-ruby 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +1 -0
- data/Gemfile.lock +2 -0
- data/em-statsd-ruby.gemspec +4 -4
- data/lib/em-statsd-ruby.rb +5 -1
- data/lib/{event_machine → em_statsd}/statsd.rb +2 -11
- data/lib/em_statsd/version.rb +3 -0
- metadata +6 -6
- data/lib/event_machine/version.rb +0 -5
- /data/lib/{event_machine/em_statsd → em_statsd}/tcp_wrapper.rb +0 -0
- /data/lib/{event_machine/em_statsd → em_statsd}/udp_wrapper.rb +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aac2760f139ef0a68f08fc76985d306d87f3eba2
|
4
|
+
data.tar.gz: 0ce679e23dad878d9d80d5fd38cf24a529f08c7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 893d57627c43482f6f577556dfb32b4240368a6d341567a4253b0f133686908c53f75a18d0190e95417ac75ecfe645db01a3a724422a1ff6832b66cde3598ef2
|
7
|
+
data.tar.gz: a630023ff2b05922282d4ea3d60fe195b2eaf11998d7716065c3a8fdaa16115f2519ed765932ea84a64b06b6b90bb9f48e930eb4fdc1203be49378a01e2dc931
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
data/em-statsd-ruby.gemspec
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
lib = File.expand_path('../lib', __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require '
|
4
|
+
require 'em_statsd/version'
|
5
5
|
|
6
6
|
Gem::Specification.new do |gem|
|
7
7
|
gem.name = 'em-statsd-ruby'
|
8
|
-
gem.version =
|
8
|
+
gem.version = EMStatsd::VERSION
|
9
9
|
gem.homepage = 'https://github.com/Arugin/em-statsd-ruby'
|
10
10
|
|
11
11
|
gem.author = 'Valery Mayatsky'
|
@@ -13,8 +13,8 @@ Gem::Specification.new do |gem|
|
|
13
13
|
gem.description = 'An Event Machine wrapper around Ruby Statsd client.'
|
14
14
|
gem.summary = 'EM::Statsd is a simple async wrapper around the ruby Statsd client. It uses EventMachine Connection class to push data around.'
|
15
15
|
|
16
|
-
gem.
|
17
|
-
gem.
|
16
|
+
gem.add_dependency 'eventmachine', '~> 1.2'
|
17
|
+
gem.add_dependency 'statsd-ruby', '= 1.3.0'
|
18
18
|
gem.add_development_dependency 'bundler', '~> 1.0'
|
19
19
|
|
20
20
|
gem.license = 'MIT'
|
data/lib/em-statsd-ruby.rb
CHANGED
@@ -1,15 +1,5 @@
|
|
1
|
-
require 'eventmachine'
|
2
|
-
require 'statsd-ruby'
|
3
|
-
|
4
|
-
require 'event_machine/em_statsd/udp_wrapper'
|
5
|
-
require 'event_machine/em_statsd/tcp_wrapper'
|
6
|
-
|
7
1
|
module EventMachine
|
8
|
-
class Statsd
|
9
|
-
|
10
|
-
def initialize(*args)
|
11
|
-
super
|
12
|
-
end
|
2
|
+
class Statsd< ::Statsd
|
13
3
|
|
14
4
|
def connect
|
15
5
|
@s_mu.synchronize do
|
@@ -36,4 +26,5 @@ module EventMachine
|
|
36
26
|
end
|
37
27
|
|
38
28
|
end
|
29
|
+
|
39
30
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: em-statsd-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Valery Mayatsky
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: eventmachine
|
@@ -69,10 +69,10 @@ files:
|
|
69
69
|
- Rakefile
|
70
70
|
- em-statsd-ruby.gemspec
|
71
71
|
- lib/em-statsd-ruby.rb
|
72
|
-
- lib/
|
73
|
-
- lib/
|
74
|
-
- lib/
|
75
|
-
- lib/
|
72
|
+
- lib/em_statsd/statsd.rb
|
73
|
+
- lib/em_statsd/tcp_wrapper.rb
|
74
|
+
- lib/em_statsd/udp_wrapper.rb
|
75
|
+
- lib/em_statsd/version.rb
|
76
76
|
- spec/em_statsd_spec.rb
|
77
77
|
- spec/spec_helper.rb
|
78
78
|
homepage: https://github.com/Arugin/em-statsd-ruby
|
File without changes
|
File without changes
|