equalizer 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +32 -21
- data/equalizer.gemspec +3 -3
- data/lib/equalizer/version.rb +4 -1
- data/spec/support/config_alias.rb +2 -0
- data/tasks/metrics/ci.rake +1 -1
- metadata +16 -16
- data/tasks/metrics/reek.rake +0 -21
data/Gemfile
CHANGED
@@ -9,26 +9,26 @@ group :yard do
|
|
9
9
|
end
|
10
10
|
|
11
11
|
group :guard do
|
12
|
-
gem 'guard', '~> 1.
|
12
|
+
gem 'guard', '~> 1.6.2'
|
13
13
|
gem 'guard-bundler', '~> 1.0.0'
|
14
14
|
gem 'guard-rspec', '~> 1.2.1'
|
15
|
-
end
|
16
15
|
|
17
|
-
|
18
|
-
gem '
|
19
|
-
|
16
|
+
# file system change event handling
|
17
|
+
gem 'rb-fchange', '~> 0.0.6', :require => false
|
18
|
+
gem 'rb-fsevent', '~> 0.9.3', :require => false
|
19
|
+
gem 'rb-inotify', '~> 0.9.0', :require => false
|
20
20
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
21
|
+
# notification handling
|
22
|
+
gem 'libnotify', '~> 0.8.0', :require => false
|
23
|
+
gem 'rb-notifu', '~> 0.0.4', :require => false
|
24
|
+
gem 'terminal-notifier-guard', '~> 1.5.3', :require => false
|
25
25
|
end
|
26
26
|
|
27
27
|
group :metrics do
|
28
28
|
gem 'flay', '~> 1.4.3'
|
29
29
|
gem 'flog', '~> 2.5.3'
|
30
|
-
gem 'roodi', '~> 2.
|
31
|
-
gem 'yardstick', '~> 0.9.
|
30
|
+
gem 'roodi', '~> 2.2.0'
|
31
|
+
gem 'yardstick', '~> 0.9.2'
|
32
32
|
|
33
33
|
platforms :ruby_18, :ruby_19 do
|
34
34
|
# this indirectly depends on ffi which does not build on ruby-head
|
@@ -36,18 +36,19 @@ group :metrics do
|
|
36
36
|
end
|
37
37
|
|
38
38
|
platforms :mri_18 do
|
39
|
-
gem 'arrayfields',
|
40
|
-
gem 'fattr',
|
41
|
-
gem 'heckle',
|
42
|
-
gem 'json',
|
43
|
-
gem 'map',
|
44
|
-
gem 'metric_fu',
|
45
|
-
gem 'mspec',
|
46
|
-
gem '
|
47
|
-
gem '
|
39
|
+
gem 'arrayfields', '~> 4.7.4' # for metric_fu
|
40
|
+
gem 'fattr', '~> 2.2.0' # for metric_fu
|
41
|
+
gem 'heckle', '~> 1.4.3'
|
42
|
+
gem 'json', '~> 1.7.7' # for metric_fu rake task
|
43
|
+
gem 'map', '~> 6.3.0' # for metric_fu
|
44
|
+
gem 'metric_fu', '~> 2.1.1'
|
45
|
+
gem 'mspec', '~> 1.5.17'
|
46
|
+
gem 'rails_best_practices', '= 1.13.3' # for metric_fu
|
47
|
+
gem 'rcov', '~> 1.0.0'
|
48
|
+
gem 'ruby2ruby', '= 1.2.2' # for heckle
|
48
49
|
end
|
49
50
|
|
50
|
-
platforms :
|
51
|
+
platforms :mri_19 do
|
51
52
|
gem 'simplecov', '~> 0.7.1'
|
52
53
|
end
|
53
54
|
|
@@ -55,3 +56,13 @@ group :metrics do
|
|
55
56
|
gem 'pelusa', '~> 0.2.2'
|
56
57
|
end
|
57
58
|
end
|
59
|
+
|
60
|
+
group :benchmarks do
|
61
|
+
gem 'rbench', '~> 0.2.3'
|
62
|
+
end
|
63
|
+
|
64
|
+
platform :jruby do
|
65
|
+
group :jruby do
|
66
|
+
gem 'jruby-openssl', '~> 0.8.2'
|
67
|
+
end
|
68
|
+
end
|
data/equalizer.gemspec
CHANGED
@@ -16,10 +16,10 @@ Gem::Specification.new do |gem|
|
|
16
16
|
gem.test_files = `git ls-files -- {spec}/*`.split($/)
|
17
17
|
gem.extra_rdoc_files = %w[LICENSE README.md TODO]
|
18
18
|
|
19
|
-
gem.add_runtime_dependency('backports', '~> 2.
|
20
|
-
gem.add_runtime_dependency('adamantium', '~> 0.0.
|
19
|
+
gem.add_runtime_dependency('backports', '~> 2.8.2')
|
20
|
+
gem.add_runtime_dependency('adamantium', '~> 0.0.6')
|
21
21
|
|
22
22
|
gem.add_development_dependency('rake', '~> 10.0.3')
|
23
23
|
gem.add_development_dependency('rspec', '~> 1.3.2')
|
24
|
-
gem.add_development_dependency('yard', '~> 0.8.
|
24
|
+
gem.add_development_dependency('yard', '~> 0.8.4.1')
|
25
25
|
end
|
data/lib/equalizer/version.rb
CHANGED
data/tasks/metrics/ci.rake
CHANGED
@@ -5,5 +5,5 @@ task :ci => %w[ ci:metrics metrics:heckle ]
|
|
5
5
|
|
6
6
|
namespace :ci do
|
7
7
|
desc 'Run metrics (except heckle) and spec'
|
8
|
-
task :metrics => %w[ spec metrics:verify_measurements metrics:flog metrics:flay metrics:
|
8
|
+
task :metrics => %w[ spec metrics:verify_measurements metrics:flog metrics:flay metrics:roodi metrics:all ]
|
9
9
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: equalizer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 4
|
10
|
+
version: 0.0.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Dan Kubb
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2013-
|
19
|
+
date: 2013-02-16 00:00:00 Z
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
name: backports
|
@@ -26,12 +26,12 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
hash:
|
29
|
+
hash: 43
|
30
30
|
segments:
|
31
31
|
- 2
|
32
|
-
-
|
33
|
-
-
|
34
|
-
version: 2.
|
32
|
+
- 8
|
33
|
+
- 2
|
34
|
+
version: 2.8.2
|
35
35
|
type: :runtime
|
36
36
|
version_requirements: *id001
|
37
37
|
- !ruby/object:Gem::Dependency
|
@@ -42,12 +42,12 @@ dependencies:
|
|
42
42
|
requirements:
|
43
43
|
- - ~>
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
hash:
|
45
|
+
hash: 19
|
46
46
|
segments:
|
47
47
|
- 0
|
48
48
|
- 0
|
49
|
-
-
|
50
|
-
version: 0.0.
|
49
|
+
- 6
|
50
|
+
version: 0.0.6
|
51
51
|
type: :runtime
|
52
52
|
version_requirements: *id002
|
53
53
|
- !ruby/object:Gem::Dependency
|
@@ -90,12 +90,13 @@ dependencies:
|
|
90
90
|
requirements:
|
91
91
|
- - ~>
|
92
92
|
- !ruby/object:Gem::Version
|
93
|
-
hash:
|
93
|
+
hash: 29
|
94
94
|
segments:
|
95
95
|
- 0
|
96
96
|
- 8
|
97
|
-
-
|
98
|
-
|
97
|
+
- 4
|
98
|
+
- 1
|
99
|
+
version: 0.8.4.1
|
99
100
|
type: :development
|
100
101
|
version_requirements: *id005
|
101
102
|
description: Module to define equality, equivalence and inspection methods
|
@@ -145,7 +146,6 @@ files:
|
|
145
146
|
- tasks/metrics/flog.rake
|
146
147
|
- tasks/metrics/heckle.rake
|
147
148
|
- tasks/metrics/metric_fu.rake
|
148
|
-
- tasks/metrics/reek.rake
|
149
149
|
- tasks/metrics/roodi.rake
|
150
150
|
- tasks/metrics/yardstick.rake
|
151
151
|
- tasks/spec.rake
|
@@ -179,7 +179,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
179
179
|
requirements: []
|
180
180
|
|
181
181
|
rubyforge_project:
|
182
|
-
rubygems_version: 1.8.
|
182
|
+
rubygems_version: 1.8.25
|
183
183
|
signing_key:
|
184
184
|
specification_version: 3
|
185
185
|
summary: Module to define equality, equivalence and inspection methods
|
data/tasks/metrics/reek.rake
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
|
3
|
-
begin
|
4
|
-
require 'reek/rake/task'
|
5
|
-
|
6
|
-
RBX_18_MODE = RUBY_VERSION < '1.9' && defined?(RUBY_ENGINE) && RUBY_ENGINE == 'rbx'
|
7
|
-
|
8
|
-
namespace :metrics do
|
9
|
-
Reek::Rake::Task.new do |t|
|
10
|
-
# reek has some problems under rbx in 1.8 mode that cause the underlying
|
11
|
-
# script to raise an exception. Rather than halt the "rake ci" process due
|
12
|
-
# to one bug, we choose to ignore it in this specific case until reek can be
|
13
|
-
# fixed.
|
14
|
-
t.fail_on_error = ! RBX_18_MODE # always true, except under rbx 18 mode
|
15
|
-
end
|
16
|
-
end
|
17
|
-
rescue LoadError
|
18
|
-
task :reek do
|
19
|
-
$stderr.puts 'Reek is not available. In order to run reek, you must: gem install reek'
|
20
|
-
end
|
21
|
-
end
|