liquid-ext 2.0.1 → 2.0.2

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: 7be3beca252011c19b3efed045e2e59bdb9f9aed
4
- data.tar.gz: d2c66f794a5e65b2465ff5054729908dd3aace05
3
+ metadata.gz: 8aa7b84c68a7498ea4647ee80ea58cdbef4f3901
4
+ data.tar.gz: 1020c2f7b1a6eb24aa620d5cf5a42e0b87bb0754
5
5
  SHA512:
6
- metadata.gz: d45fea5e756f575b6eff5d23610dbac886b2307845d826a9e294d3ca11647229ae32fbec30fda9923636b60de616fd6f7bafae6a3b2e07d7dcb3c665aa791cdf
7
- data.tar.gz: 6ceb9f6a8374396eeedec90b2bf41f39ec7ccbbba37042ebbe8814f0f2482e7e99907df8ac69d8b51af874e20fb8bd6a83feee3622e3f0a2cba2b224d07bd50e
6
+ metadata.gz: 3a4a529f887f6b64e570fa053da747a8203284f7aabd5d0dd3f41344d05b7777c8f6b265da8709cec2c680d8d185c732096241a9c95f734e5a801578bf0e8a60
7
+ data.tar.gz: d69120e65caeaffb0d5cecff3152228a5bb7dbf130e94acd2b55cec941b8d68817972548061fbf840356a86f1eb3252dd285e85fbcd4cf73dc4095ab9dd361a5
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- liquid-ext (2.0.1)
4
+ liquid-ext (2.0.2)
5
5
  activesupport
6
6
  erubis
7
7
  liquid-logging (>= 2.0.0)
data/lib/liquid/boot.rb CHANGED
@@ -1,6 +1,9 @@
1
1
  # encoding: utf-8
2
2
 
3
- $:.unshift(ROOT) if defined?(ROOT)
3
+ if defined?(ROOT)
4
+ $:.unshift(File.join(ROOT, 'lib'))
5
+ $:.unshift(ROOT)
6
+ end
4
7
 
5
8
  # load java dependencies
6
9
  if RUBY_PLATFORM == 'java'
@@ -1,10 +1,15 @@
1
1
  require 'singleton'
2
2
 
3
+ java_import 'com.codahale.metrics.Histogram'
3
4
  java_import 'com.codahale.metrics.MetricRegistry'
4
5
  java_import 'com.codahale.metrics.JmxReporter'
5
6
 
6
7
  require 'liquid/metrics/logger_reporter'
7
8
 
9
+ class Histogram
10
+ java_alias :update_long, :update, [Java::long]
11
+ end
12
+
8
13
  module Metrics
9
14
 
10
15
  @@registry = MetricRegistry.new
data/liquid-ext.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "liquid-ext"
5
- spec.version = "2.0.1"
5
+ spec.version = "2.0.2"
6
6
  spec.authors = ["LiquidM, Inc."]
7
7
  spec.email = ["opensource@liquidm.com"]
8
8
  spec.description = %q{Ruby core extensions and helper libraries}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: liquid-ext
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - LiquidM, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-31 00:00:00.000000000 Z
11
+ date: 2014-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport