benchmark_methods 0.5 → 0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/benchmark_methods.gemspec +0 -2
- data/lib/benchmark_methods.rb +2 -0
- data/lib/benchmark_methods/version.rb +1 -1
- data/lib/string_ext.rb +12 -0
- metadata +2 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2805ee294f5d5f9511ca9b1e144037715ba8352
|
4
|
+
data.tar.gz: 5e29dcb77aa55ced27e903638bb46226a841127f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5669e591dc5bace7685eaead369fe78df98d4a5bf31a606b213f5ef1fba6186bc301124e30252581c5890001eeaad29a0a8dd3c5da1213b7cadf8ac1b13916d
|
7
|
+
data.tar.gz: 6a0b7659d40a7e353d3b20ea22826968f2751d6f3fa176ff34eccba6581876aaef03f72eac3353f38d1035ef9dcecaf56e7caa994875a232ff541ca4fa9199b0
|
data/benchmark_methods.gemspec
CHANGED
@@ -19,8 +19,6 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
20
|
spec.require_paths = ["lib"]
|
21
21
|
|
22
|
-
spec.add_dependency "activesupport", ">= 4.0.0"
|
23
|
-
|
24
22
|
spec.add_development_dependency "bundler", "~> 1.9"
|
25
23
|
spec.add_development_dependency "rake", "~> 10.0"
|
26
24
|
spec.add_development_dependency "activerecord", "> 0"
|
data/lib/benchmark_methods.rb
CHANGED
@@ -1,8 +1,10 @@
|
|
1
1
|
require 'securerandom'
|
2
2
|
require 'benchmark'
|
3
|
+
require_relative 'string_ext.rb'
|
3
4
|
require 'benchmark_methods/version'
|
4
5
|
|
5
6
|
module BenchmarkMethods
|
7
|
+
using StringExt
|
6
8
|
|
7
9
|
def self.included(base_klass)
|
8
10
|
unless const_defined?("#{base_klass.name.demodulize}Interceptor")
|
data/lib/string_ext.rb
ADDED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: benchmark_methods
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.6'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Igor Kasyanchuk
|
@@ -10,20 +10,6 @@ bindir: exe
|
|
10
10
|
cert_chain: []
|
11
11
|
date: 2015-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: activesupport
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 4.0.0
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: 4.0.0
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: bundler
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -145,6 +131,7 @@ files:
|
|
145
131
|
- bin/setup
|
146
132
|
- lib/benchmark_methods.rb
|
147
133
|
- lib/benchmark_methods/version.rb
|
134
|
+
- lib/string_ext.rb
|
148
135
|
homepage: https://github.com/igorkasyanchuk/benchmark_methods
|
149
136
|
licenses:
|
150
137
|
- MIT
|