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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7cf6c6bbc27006385cfcb4914c9a9046bfb648b6
4
- data.tar.gz: 2f7a0a544a2f9ff09dd5d1aa56a5e6ba788ae968
3
+ metadata.gz: aac2760f139ef0a68f08fc76985d306d87f3eba2
4
+ data.tar.gz: 0ce679e23dad878d9d80d5fd38cf24a529f08c7a
5
5
  SHA512:
6
- metadata.gz: 588c14ae7c8119846086786ed6da7cd8b279840df39e0d35f55da20d5b811aa433f661d0fe788cb6927938a2d0f264aa04e938983aad5cdbae765cfaf64db755
7
- data.tar.gz: 0ac7740c61581d6bf8bd749377515760e33d6217ea59a3c955f10217461695e7a61a94d920be8c6f8055ad2d58d7570455d25cef9ddf60ce8fc8d88a192a4f30
6
+ metadata.gz: 893d57627c43482f6f577556dfb32b4240368a6d341567a4253b0f133686908c53f75a18d0190e95417ac75ecfe645db01a3a724422a1ff6832b66cde3598ef2
7
+ data.tar.gz: a630023ff2b05922282d4ea3d60fe195b2eaf11998d7716065c3a8fdaa16115f2519ed765932ea84a64b06b6b90bb9f48e930eb4fdc1203be49378a01e2dc931
data/Gemfile CHANGED
@@ -1,6 +1,7 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  gem 'rake'
4
+ gem 'yard'
4
5
  gem 'coveralls', require: false
5
6
 
6
7
  group :test do
data/Gemfile.lock CHANGED
@@ -56,6 +56,7 @@ GEM
56
56
  unf (0.1.4)
57
57
  unf_ext
58
58
  unf_ext (0.0.7.2)
59
+ yard (0.8.7.6)
59
60
 
60
61
  PLATFORMS
61
62
  ruby
@@ -67,6 +68,7 @@ DEPENDENCIES
67
68
  rake
68
69
  rspec
69
70
  simplecov
71
+ yard
70
72
 
71
73
  BUNDLED WITH
72
74
  1.11.2
@@ -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 'event_machine/version'
4
+ require 'em_statsd/version'
5
5
 
6
6
  Gem::Specification.new do |gem|
7
7
  gem.name = 'em-statsd-ruby'
8
- gem.version = EventMachine::Statsd::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.add_runtime_dependency 'eventmachine', '~> 1.2'
17
- gem.add_runtime_dependency 'statsd-ruby', '= 1.3.0'
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'
@@ -1 +1,5 @@
1
- require 'event_machine/statsd'
1
+ require 'eventmachine'
2
+ require 'statsd-ruby'
3
+ require 'em_statsd/udp_wrapper'
4
+ require 'em_statsd/tcp_wrapper'
5
+ require 'em_statsd/statsd'
@@ -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 < ::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
@@ -0,0 +1,3 @@
1
+ module EMStatsd
2
+ VERSION = '1.0.1'
3
+ 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.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-27 00:00:00.000000000 Z
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/event_machine/em_statsd/tcp_wrapper.rb
73
- - lib/event_machine/em_statsd/udp_wrapper.rb
74
- - lib/event_machine/statsd.rb
75
- - lib/event_machine/version.rb
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
@@ -1,5 +0,0 @@
1
- module EventMachine
2
- class Statsd
3
- VERSION = '1.0.0'
4
- end
5
- end