reek 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +5 -0
- data/lib/reek/options.rb +1 -0
- data/lib/reek/version.rb +1 -1
- data/spec/integration_spec.rb +10 -0
- metadata +2 -2
data/History.txt
CHANGED
data/lib/reek/options.rb
CHANGED
data/lib/reek/version.rb
CHANGED
data/spec/integration_spec.rb
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
require File.dirname(__FILE__) + '/spec_helper.rb'
|
2
2
|
|
3
|
+
require 'reek/version'
|
4
|
+
|
5
|
+
describe 'Reek version number' do
|
6
|
+
it 'should reprot the correct value' do
|
7
|
+
actual = `ruby -Ilib bin/reek --version`.split
|
8
|
+
actual[0].should == 'reek'
|
9
|
+
actual[1].should == Reek::VERSION::STRING
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
3
13
|
describe 'Integration test:' do
|
4
14
|
Dir['spec/samples/*.rb'].each do |source|
|
5
15
|
describe source do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: reek
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Rutherford
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-09-
|
12
|
+
date: 2008-09-15 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|