fudge 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/fudge/build.rb +25 -10
- data/lib/fudge/cli.rb +1 -0
- data/lib/fudge/rspec/matchers.rb +54 -49
- data/lib/fudge/runner.rb +1 -0
- data/lib/fudge/tasks/composite_task.rb +6 -4
- data/lib/fudge/tasks/each_directory.rb +1 -1
- data/lib/fudge/tasks/in_directory.rb +1 -1
- data/lib/fudge/tasks/shell.rb +1 -1
- data/lib/fudge/tasks/task.rb +5 -0
- data/lib/fudge/version.rb +1 -1
- data/spec/lib/fudge/build_spec.rb +19 -4
- data/spec/lib/fudge/cli_spec.rb +16 -16
- data/spec/lib/fudge/description_spec.rb +43 -42
- data/spec/lib/fudge/exceptions_spec.rb +17 -7
- data/spec/lib/fudge/formatters/simple_spec.rb +15 -15
- data/spec/lib/fudge/output_checker_spec.rb +2 -2
- data/spec/lib/fudge/parser_spec.rb +3 -3
- data/spec/lib/fudge/runner_spec.rb +9 -9
- data/spec/lib/fudge/tasks/brakeman_spec.rb +7 -7
- data/spec/lib/fudge/tasks/bundler_spec.rb +5 -5
- data/spec/lib/fudge/tasks/cane_spec.rb +8 -8
- data/spec/lib/fudge/tasks/composite_task_spec.rb +16 -15
- data/spec/lib/fudge/tasks/each_directory_spec.rb +9 -9
- data/spec/lib/fudge/tasks/flay_spec.rb +8 -8
- data/spec/lib/fudge/tasks/flog_spec.rb +13 -13
- data/spec/lib/fudge/tasks/in_directory_spec.rb +4 -4
- data/spec/lib/fudge/tasks/rake_spec.rb +5 -5
- data/spec/lib/fudge/tasks/rspec_spec.rb +16 -16
- data/spec/lib/fudge/tasks/shell_spec.rb +14 -14
- data/spec/lib/fudge/tasks/sub_process_spec.rb +3 -3
- data/spec/lib/fudge/tasks/task_spec.rb +1 -1
- data/spec/lib/fudge/tasks/yard_spec.rb +10 -10
- data/spec/lib/fudge/tasks_spec.rb +4 -4
- data/spec/lib/fudge/with_directory_spec.rb +2 -2
- metadata +145 -107
- checksums.yaml +0 -7
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
3
|
describe Fudge::Tasks::Flay do
|
4
|
-
it {
|
4
|
+
it { is_expected.to be_registered_as :flay }
|
5
5
|
|
6
6
|
it_should_behave_like 'bundle aware'
|
7
7
|
|
@@ -18,9 +18,9 @@ Total score (lower is better) = 100
|
|
18
18
|
EOF
|
19
19
|
end
|
20
20
|
|
21
|
-
describe
|
21
|
+
describe '#run' do
|
22
22
|
it "runs flay on the codebase" do
|
23
|
-
subject.
|
23
|
+
expect(subject).to run_command "flay --diff `find . | grep --color=never -e '\\.rb$'`"
|
24
24
|
end
|
25
25
|
|
26
26
|
context 'with :exclude => pattern' do
|
@@ -29,20 +29,20 @@ EOF
|
|
29
29
|
# Test doesn't check result :(
|
30
30
|
it "filters out the pattern" do
|
31
31
|
cmd = "flay --diff `find . | grep --color=never -e '\\.rb$' | grep --color=never -v -E 'spec/'`"
|
32
|
-
subject.
|
32
|
+
expect(subject).to run_command cmd
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
36
|
-
it {
|
37
|
-
it {
|
36
|
+
it { is_expected.not_to succeed_with_output output_bad }
|
37
|
+
it { is_expected.to succeed_with_output output_good }
|
38
38
|
|
39
39
|
context 'when :max score is supplied' do
|
40
40
|
it 'fails when score is higher than max' do
|
41
41
|
task = described_class.new :max => 99
|
42
|
-
task.
|
42
|
+
expect(task).not_to succeed_with_output output_bad
|
43
43
|
|
44
44
|
task = described_class.new :max => 100
|
45
|
-
task.
|
45
|
+
expect(task).to succeed_with_output output_bad
|
46
46
|
end
|
47
47
|
end
|
48
48
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
3
|
describe Fudge::Tasks::Flog do
|
4
|
-
it {
|
4
|
+
it { is_expected.to be_registered_as :flog }
|
5
5
|
|
6
6
|
it_should_behave_like 'bundle aware'
|
7
7
|
|
@@ -45,9 +45,9 @@ EOF
|
|
45
45
|
EOF
|
46
46
|
end
|
47
47
|
|
48
|
-
describe
|
48
|
+
describe '#run' do
|
49
49
|
it "runs flog on the codebase" do
|
50
|
-
subject.
|
50
|
+
expect(subject).to run_command "flog `find . | grep --color=never -e '\\.rb$'`"
|
51
51
|
end
|
52
52
|
|
53
53
|
context 'with :exclude => pattern' do
|
@@ -56,7 +56,7 @@ EOF
|
|
56
56
|
# Test doesn't check result :(
|
57
57
|
it "filters out the pattern" do
|
58
58
|
with_pattern = "flog `find . | grep --color=never -e '\\.rb$' | grep --color=never -v -E 'spec/'`"
|
59
|
-
subject.
|
59
|
+
expect(subject).to run_command with_pattern
|
60
60
|
end
|
61
61
|
end
|
62
62
|
|
@@ -65,32 +65,32 @@ EOF
|
|
65
65
|
|
66
66
|
it "runs with methods only flag" do
|
67
67
|
with_pattern = "flog -m `find . | grep --color=never -e '\\.rb$'`"
|
68
|
-
subject.
|
68
|
+
expect(subject).to run_command with_pattern
|
69
69
|
end
|
70
70
|
end
|
71
71
|
|
72
|
-
it {
|
73
|
-
it {
|
74
|
-
it {
|
75
|
-
it {
|
72
|
+
it { is_expected.not_to succeed_with_output output_good_average_bad_max }
|
73
|
+
it { is_expected.not_to succeed_with_output output_bad_average_good_max }
|
74
|
+
it { is_expected.to succeed_with_output output_good }
|
75
|
+
it { is_expected.to succeed_with_output output_perfect }
|
76
76
|
|
77
77
|
context 'when :max score is supplied' do
|
78
78
|
it 'fails when score is higher than max' do
|
79
79
|
task = described_class.new :max => 9.9
|
80
|
-
task.
|
80
|
+
expect(task).not_to succeed_with_output output_good
|
81
81
|
|
82
82
|
task = described_class.new :max => 10.0
|
83
|
-
task.
|
83
|
+
expect(task).to succeed_with_output output_good
|
84
84
|
end
|
85
85
|
end
|
86
86
|
|
87
87
|
context 'when :average score is supplied' do
|
88
88
|
it 'fails when average is higher than :average' do
|
89
89
|
task = described_class.new :average => 4.9
|
90
|
-
task.
|
90
|
+
expect(task).not_to succeed_with_output output_good
|
91
91
|
|
92
92
|
task = described_class.new :average => 5.0
|
93
|
-
task.
|
93
|
+
expect(task).to succeed_with_output output_good
|
94
94
|
end
|
95
95
|
end
|
96
96
|
end
|
@@ -14,15 +14,15 @@ Fudge::Tasks.register(TestInDirectoryTask)
|
|
14
14
|
|
15
15
|
describe Fudge::Tasks::InDirectory do
|
16
16
|
subject { described_class.new 'spec' }
|
17
|
-
it {
|
17
|
+
it { is_expected.to be_registered_as :in_directory }
|
18
18
|
|
19
|
-
describe
|
19
|
+
describe '#initialize' do
|
20
20
|
it "should take a directory as first argument" do
|
21
21
|
expect { described_class.new }.to raise_error ArgumentError
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
25
|
-
describe
|
25
|
+
describe '#run' do
|
26
26
|
let(:task) { TestInDirectoryTask.new }
|
27
27
|
let(:path) { File.expand_path('spec', FileUtils.pwd) }
|
28
28
|
|
@@ -33,7 +33,7 @@ describe Fudge::Tasks::InDirectory do
|
|
33
33
|
it "should change to the given directory and run child tasks" do
|
34
34
|
subject.run
|
35
35
|
|
36
|
-
task.pwd.
|
36
|
+
expect(task.pwd).to eq(path)
|
37
37
|
end
|
38
38
|
end
|
39
39
|
end
|
@@ -1,18 +1,18 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
3
|
describe Fudge::Tasks::Rake do
|
4
|
-
it {
|
5
|
-
it {
|
4
|
+
it { is_expected.to be_registered_as :rake }
|
5
|
+
it { is_expected.to be_a Fudge::Tasks::Shell }
|
6
6
|
|
7
|
-
describe
|
7
|
+
describe '#run' do
|
8
8
|
it "should be rake by default" do
|
9
|
-
subject.
|
9
|
+
expect(subject).to run_command 'rake '
|
10
10
|
end
|
11
11
|
|
12
12
|
it_should_behave_like 'bundle aware'
|
13
13
|
|
14
14
|
it "should add any arguments given" do
|
15
|
-
described_class.new('db:migrate').
|
15
|
+
expect(described_class.new('db:migrate')).to run_command 'rake db:migrate'
|
16
16
|
end
|
17
17
|
end
|
18
18
|
end
|
@@ -1,41 +1,41 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
3
|
describe Fudge::Tasks::Rspec do
|
4
|
-
it {
|
4
|
+
it { is_expected.to be_registered_as :rspec }
|
5
5
|
|
6
|
-
describe
|
6
|
+
describe '#run' do
|
7
7
|
it "should turn on color if not specified" do
|
8
|
-
subject.
|
8
|
+
expect(subject).to run_command /--tty/
|
9
9
|
end
|
10
10
|
|
11
11
|
it "should turn off color if specified" do
|
12
|
-
described_class.new(:color => false).
|
12
|
+
expect(described_class.new(:color => false)).not_to run_command /--tty/
|
13
13
|
end
|
14
14
|
|
15
15
|
it "should append any arguments passed in" do
|
16
16
|
task = described_class.new('foobar', :color => false)
|
17
|
-
task.
|
17
|
+
expect(task).to run_command 'rspec foobar'
|
18
18
|
end
|
19
19
|
|
20
20
|
it "should default the arguments to spec/" do
|
21
|
-
described_class.new(:color => false).
|
21
|
+
expect(described_class.new(:color => false)).to run_command 'rspec spec/'
|
22
22
|
end
|
23
23
|
|
24
24
|
end
|
25
25
|
|
26
26
|
it_should_behave_like 'bundle aware'
|
27
27
|
|
28
|
-
describe
|
28
|
+
describe '#coverage' do
|
29
29
|
subject { described_class.new :coverage => 99 }
|
30
30
|
|
31
|
-
it {
|
32
|
-
it {
|
33
|
-
it {
|
34
|
-
it {
|
35
|
-
it {
|
36
|
-
it {
|
37
|
-
it {
|
38
|
-
it {
|
39
|
-
it {
|
31
|
+
it { is_expected.not_to succeed_with_output 'some dummy output with no coverage' }
|
32
|
+
it { is_expected.not_to succeed_with_output '98.99999%) covered' }
|
33
|
+
it { is_expected.not_to succeed_with_output '0.00%) covered' }
|
34
|
+
it { is_expected.to succeed_with_output '99.99999%) covered' }
|
35
|
+
it { is_expected.to succeed_with_output '100.0%) covered' }
|
36
|
+
it { is_expected.to succeed_with_output "\n0 examples, 0 failures"}
|
37
|
+
it { is_expected.to succeed_with_output "No examples found.\n\n\nFinished in 0.00006 seconds\n\e[32m0 examples, 0 failures\e[0m\n"}
|
38
|
+
it { is_expected.to succeed_with_output "Finished in 0.1 seconds\n70 examples, 0 failures\n700 / 700 LOC (100.0%) covered."}
|
39
|
+
it { is_expected.not_to succeed_with_output "Finished in 0.6 seconds\n70 examples, 0 failures\n384 / 700 LOC (54.86%) covered."}
|
40
40
|
end
|
41
41
|
end
|
@@ -1,21 +1,21 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
3
|
describe Fudge::Tasks::Shell do
|
4
|
-
describe
|
4
|
+
describe '#run' do
|
5
5
|
it "should take a command and run it" do
|
6
|
-
described_class.new(:ls).
|
6
|
+
expect(described_class.new(:ls)).to run_command 'ls'
|
7
7
|
end
|
8
8
|
|
9
9
|
it "should add any arguments given" do
|
10
|
-
described_class.new(:ls, '-l', '-a').
|
10
|
+
expect(described_class.new(:ls, '-l', '-a')).to run_command 'ls -l -a'
|
11
11
|
end
|
12
12
|
|
13
13
|
it "should return false for an unsuccessful command" do
|
14
|
-
described_class.new(:ls, '--newnre').run.
|
14
|
+
expect(described_class.new(:ls, '--newnre').run).to be_falsey
|
15
15
|
end
|
16
16
|
|
17
17
|
it "should return true for a successful command" do
|
18
|
-
described_class.new(:ls).run.
|
18
|
+
expect(described_class.new(:ls).run).to be_truthy
|
19
19
|
end
|
20
20
|
|
21
21
|
context "when there is an formatter passed to run" do
|
@@ -28,25 +28,25 @@ describe Fudge::Tasks::Shell do
|
|
28
28
|
|
29
29
|
subject.run :formatter => formatter
|
30
30
|
|
31
|
-
output.string.
|
32
|
-
output.string.
|
31
|
+
expect(output.string).not_to be_empty
|
32
|
+
expect(output.string).to include "foo"
|
33
33
|
end
|
34
34
|
|
35
35
|
it 'uses the formatter when reporting checks on build result' do
|
36
36
|
checker = double.as_null_object
|
37
|
-
Fudge::OutputChecker.
|
37
|
+
expect(Fudge::OutputChecker).to receive(:new).with(anything, formatter) { checker }
|
38
38
|
subject.run :formatter => formatter
|
39
39
|
end
|
40
40
|
|
41
41
|
end
|
42
42
|
end
|
43
43
|
|
44
|
-
describe
|
44
|
+
describe '#check_for' do
|
45
45
|
context "with no callable to check the matches" do
|
46
46
|
subject { described_class.new(:ls, :check_for => /4 files found/) }
|
47
47
|
|
48
|
-
it {
|
49
|
-
it {
|
48
|
+
it { is_expected.to succeed_with_output "Hello there were 4 files found." }
|
49
|
+
it { is_expected.not_to succeed_with_output "Hellow there were 5 files found." }
|
50
50
|
end
|
51
51
|
|
52
52
|
context "with a callable to check the matches" do
|
@@ -56,9 +56,9 @@ describe Fudge::Tasks::Shell do
|
|
56
56
|
:check_for => [/(\d+) files found/, file_count_matcher]
|
57
57
|
end
|
58
58
|
|
59
|
-
it {
|
60
|
-
it {
|
61
|
-
it {
|
59
|
+
it { is_expected.not_to succeed_with_output "Hello there were 3 files found." }
|
60
|
+
it { is_expected.to succeed_with_output "Hello there were 4 files found." }
|
61
|
+
it { is_expected.to succeed_with_output "Hellow there were 5 files found." }
|
62
62
|
end
|
63
63
|
end
|
64
64
|
end
|
@@ -5,7 +5,7 @@ describe Fudge::Tasks::SubProcess do
|
|
5
5
|
let(:output) { StringIO.new }
|
6
6
|
let(:formatter) { Fudge::Formatters::Simple.new(output) }
|
7
7
|
|
8
|
-
describe
|
8
|
+
describe '#run' do
|
9
9
|
it "takes a command and runs it" do
|
10
10
|
expect(described_class.new(:ls)).to run_command [{}, 'ls', {}]
|
11
11
|
end
|
@@ -15,11 +15,11 @@ describe Fudge::Tasks::SubProcess do
|
|
15
15
|
end
|
16
16
|
|
17
17
|
it "returns false for an unsuccessful command" do
|
18
|
-
expect(described_class.new(:ls, '--newnre').run).to
|
18
|
+
expect(described_class.new(:ls, '--newnre').run).to be_falsey
|
19
19
|
end
|
20
20
|
|
21
21
|
it "returns true for a successful command" do
|
22
|
-
expect(described_class.new(:ls).run).to
|
22
|
+
expect(described_class.new(:ls).run).to be_truthy
|
23
23
|
end
|
24
24
|
|
25
25
|
context "when given environment variables" do
|
@@ -3,28 +3,28 @@ require 'spec_helper'
|
|
3
3
|
describe Fudge::Tasks::Yard do
|
4
4
|
subject { described_class.new }
|
5
5
|
|
6
|
-
it {
|
6
|
+
it { is_expected.to be_registered_as :yard }
|
7
7
|
|
8
|
-
describe
|
8
|
+
describe '#run' do
|
9
9
|
it "runs stats with undocumented by default" do
|
10
|
-
subject.
|
10
|
+
expect(subject).to run_command 'yard stats --list-undoc'
|
11
11
|
end
|
12
12
|
|
13
13
|
it "should run yard with any arguments passed in" do
|
14
14
|
task = described_class.new('-r YardREADME.md')
|
15
|
-
task.
|
15
|
+
expect(task).to run_command 'yard -r YardREADME.md'
|
16
16
|
end
|
17
17
|
end
|
18
18
|
|
19
19
|
it_should_behave_like 'bundle aware'
|
20
20
|
|
21
|
-
describe
|
21
|
+
describe '#coverage' do
|
22
22
|
subject { described_class.new :coverage => 99 }
|
23
23
|
|
24
|
-
it {
|
25
|
-
it {
|
26
|
-
it {
|
27
|
-
it {
|
28
|
-
it {
|
24
|
+
it { is_expected.not_to succeed_with_output 'some dummy output with no coverage' }
|
25
|
+
it { is_expected.not_to succeed_with_output '98.99999% documented' }
|
26
|
+
it { is_expected.not_to succeed_with_output '0.00% documented' }
|
27
|
+
it { is_expected.to succeed_with_output '99.99999% documented' }
|
28
|
+
it { is_expected.to succeed_with_output '100.0% documented' }
|
29
29
|
end
|
30
30
|
end
|
@@ -10,19 +10,19 @@ describe Fudge::Tasks do
|
|
10
10
|
describe "Class Methods" do
|
11
11
|
subject { described_class }
|
12
12
|
|
13
|
-
describe
|
13
|
+
describe '#register' do
|
14
14
|
it "should register a task for a given symbol" do
|
15
15
|
subject.register(TestTask)
|
16
16
|
|
17
|
-
subject.discover(:foo).
|
17
|
+
expect(subject.discover(:foo)).to eq(TestTask)
|
18
18
|
end
|
19
19
|
end
|
20
20
|
|
21
|
-
describe
|
21
|
+
describe '#discover' do
|
22
22
|
it "should return the registered class for the given symbol" do
|
23
23
|
subject.register(TestTask)
|
24
24
|
|
25
|
-
subject.discover(:foo).
|
25
|
+
expect(subject.discover(:foo)).to eq(TestTask)
|
26
26
|
end
|
27
27
|
|
28
28
|
it "should raise an exception if the task is not found" do
|
@@ -8,11 +8,11 @@ describe Fudge::WithDirectory do
|
|
8
8
|
|
9
9
|
describe "#inside" do
|
10
10
|
it "outputs the directory change, yielding the block" do
|
11
|
-
Dir.
|
11
|
+
expect(Dir).to receive(:chdir).with('/some/dir').and_yield
|
12
12
|
subject.inside do
|
13
13
|
end
|
14
14
|
|
15
|
-
output.string.
|
15
|
+
expect(output.string).to match /In directory.*\/some\/dir/
|
16
16
|
end
|
17
17
|
end
|
18
18
|
end
|
metadata
CHANGED
@@ -1,265 +1,302 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fudge
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Sage One team
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2014-
|
12
|
+
date: 2014-06-17 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: thor
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
|
-
- -
|
19
|
+
- - ! '>='
|
18
20
|
- !ruby/object:Gem::Version
|
19
21
|
version: '0'
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
|
-
- -
|
27
|
+
- - ! '>='
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: '0'
|
27
30
|
- !ruby/object:Gem::Dependency
|
28
31
|
name: activesupport
|
29
32
|
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
30
34
|
requirements:
|
31
|
-
- -
|
35
|
+
- - ! '>='
|
32
36
|
- !ruby/object:Gem::Version
|
33
37
|
version: '0'
|
34
38
|
type: :runtime
|
35
39
|
prerelease: false
|
36
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
37
42
|
requirements:
|
38
|
-
- -
|
43
|
+
- - ! '>='
|
39
44
|
- !ruby/object:Gem::Version
|
40
45
|
version: '0'
|
41
46
|
- !ruby/object:Gem::Dependency
|
42
47
|
name: json
|
43
48
|
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
44
50
|
requirements:
|
45
|
-
- -
|
51
|
+
- - ! '>='
|
46
52
|
- !ruby/object:Gem::Version
|
47
53
|
version: '0'
|
48
54
|
type: :runtime
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
51
58
|
requirements:
|
52
|
-
- -
|
59
|
+
- - ! '>='
|
53
60
|
- !ruby/object:Gem::Version
|
54
61
|
version: '0'
|
55
62
|
- !ruby/object:Gem::Dependency
|
56
63
|
name: redcarpet
|
57
64
|
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
58
66
|
requirements:
|
59
|
-
- -
|
67
|
+
- - ! '>='
|
60
68
|
- !ruby/object:Gem::Version
|
61
69
|
version: '0'
|
62
70
|
type: :development
|
63
71
|
prerelease: false
|
64
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
65
74
|
requirements:
|
66
|
-
- -
|
75
|
+
- - ! '>='
|
67
76
|
- !ruby/object:Gem::Version
|
68
77
|
version: '0'
|
69
78
|
- !ruby/object:Gem::Dependency
|
70
79
|
name: rspec
|
71
80
|
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
72
82
|
requirements:
|
73
|
-
- -
|
83
|
+
- - ! '>='
|
74
84
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
85
|
+
version: 3.0.0
|
76
86
|
type: :development
|
77
87
|
prerelease: false
|
78
88
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
79
90
|
requirements:
|
80
|
-
- -
|
91
|
+
- - ! '>='
|
81
92
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
93
|
+
version: 3.0.0
|
83
94
|
- !ruby/object:Gem::Dependency
|
84
95
|
name: guard-rspec
|
85
96
|
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
86
98
|
requirements:
|
87
|
-
- -
|
99
|
+
- - ! '>='
|
88
100
|
- !ruby/object:Gem::Version
|
89
101
|
version: '0'
|
90
102
|
type: :development
|
91
103
|
prerelease: false
|
92
104
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
93
106
|
requirements:
|
94
|
-
- -
|
107
|
+
- - ! '>='
|
95
108
|
- !ruby/object:Gem::Version
|
96
109
|
version: '0'
|
97
110
|
- !ruby/object:Gem::Dependency
|
98
111
|
name: rb-fsevent
|
99
112
|
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
100
114
|
requirements:
|
101
|
-
- -
|
115
|
+
- - ! '>='
|
102
116
|
- !ruby/object:Gem::Version
|
103
117
|
version: '0'
|
104
118
|
type: :development
|
105
119
|
prerelease: false
|
106
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
107
122
|
requirements:
|
108
|
-
- -
|
123
|
+
- - ! '>='
|
109
124
|
- !ruby/object:Gem::Version
|
110
125
|
version: '0'
|
111
126
|
- !ruby/object:Gem::Dependency
|
112
127
|
name: yard
|
113
128
|
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
114
130
|
requirements:
|
115
|
-
- -
|
131
|
+
- - ! '>='
|
116
132
|
- !ruby/object:Gem::Version
|
117
133
|
version: '0'
|
118
134
|
type: :development
|
119
135
|
prerelease: false
|
120
136
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
121
138
|
requirements:
|
122
|
-
- -
|
139
|
+
- - ! '>='
|
123
140
|
- !ruby/object:Gem::Version
|
124
141
|
version: '0'
|
125
142
|
- !ruby/object:Gem::Dependency
|
126
143
|
name: cane
|
127
144
|
requirement: !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
128
146
|
requirements:
|
129
|
-
- -
|
147
|
+
- - ! '>='
|
130
148
|
- !ruby/object:Gem::Version
|
131
149
|
version: '0'
|
132
150
|
type: :development
|
133
151
|
prerelease: false
|
134
152
|
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
135
154
|
requirements:
|
136
|
-
- -
|
155
|
+
- - ! '>='
|
137
156
|
- !ruby/object:Gem::Version
|
138
157
|
version: '0'
|
139
158
|
- !ruby/object:Gem::Dependency
|
140
159
|
name: flog
|
141
160
|
requirement: !ruby/object:Gem::Requirement
|
161
|
+
none: false
|
142
162
|
requirements:
|
143
|
-
- -
|
163
|
+
- - ! '>='
|
144
164
|
- !ruby/object:Gem::Version
|
145
165
|
version: '0'
|
146
166
|
type: :development
|
147
167
|
prerelease: false
|
148
168
|
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
none: false
|
149
170
|
requirements:
|
150
|
-
- -
|
171
|
+
- - ! '>='
|
151
172
|
- !ruby/object:Gem::Version
|
152
173
|
version: '0'
|
153
174
|
- !ruby/object:Gem::Dependency
|
154
175
|
name: flay
|
155
176
|
requirement: !ruby/object:Gem::Requirement
|
177
|
+
none: false
|
156
178
|
requirements:
|
157
|
-
- -
|
179
|
+
- - ! '>='
|
158
180
|
- !ruby/object:Gem::Version
|
159
181
|
version: '0'
|
160
182
|
type: :development
|
161
183
|
prerelease: false
|
162
184
|
version_requirements: !ruby/object:Gem::Requirement
|
185
|
+
none: false
|
163
186
|
requirements:
|
164
|
-
- -
|
187
|
+
- - ! '>='
|
165
188
|
- !ruby/object:Gem::Version
|
166
189
|
version: '0'
|
167
190
|
- !ruby/object:Gem::Dependency
|
168
191
|
name: ruby2ruby
|
169
192
|
requirement: !ruby/object:Gem::Requirement
|
193
|
+
none: false
|
170
194
|
requirements:
|
171
|
-
- -
|
195
|
+
- - ! '>='
|
172
196
|
- !ruby/object:Gem::Version
|
173
197
|
version: '0'
|
174
198
|
type: :development
|
175
199
|
prerelease: false
|
176
200
|
version_requirements: !ruby/object:Gem::Requirement
|
201
|
+
none: false
|
177
202
|
requirements:
|
178
|
-
- -
|
203
|
+
- - ! '>='
|
179
204
|
- !ruby/object:Gem::Version
|
180
205
|
version: '0'
|
181
206
|
- !ruby/object:Gem::Dependency
|
182
207
|
name: RedCloth
|
183
208
|
requirement: !ruby/object:Gem::Requirement
|
209
|
+
none: false
|
184
210
|
requirements:
|
185
|
-
- -
|
211
|
+
- - ! '>='
|
186
212
|
- !ruby/object:Gem::Version
|
187
213
|
version: '0'
|
188
214
|
type: :development
|
189
215
|
prerelease: false
|
190
216
|
version_requirements: !ruby/object:Gem::Requirement
|
217
|
+
none: false
|
191
218
|
requirements:
|
192
|
-
- -
|
219
|
+
- - ! '>='
|
193
220
|
- !ruby/object:Gem::Version
|
194
221
|
version: '0'
|
195
222
|
- !ruby/object:Gem::Dependency
|
196
223
|
name: simplecov
|
197
224
|
requirement: !ruby/object:Gem::Requirement
|
225
|
+
none: false
|
198
226
|
requirements:
|
199
|
-
- -
|
227
|
+
- - ! '>='
|
200
228
|
- !ruby/object:Gem::Version
|
201
229
|
version: '0'
|
202
230
|
type: :development
|
203
231
|
prerelease: false
|
204
232
|
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
none: false
|
205
234
|
requirements:
|
206
|
-
- -
|
235
|
+
- - ! '>='
|
207
236
|
- !ruby/object:Gem::Version
|
208
237
|
version: '0'
|
209
238
|
- !ruby/object:Gem::Dependency
|
210
239
|
name: rb-inotify
|
211
240
|
requirement: !ruby/object:Gem::Requirement
|
241
|
+
none: false
|
212
242
|
requirements:
|
213
|
-
- -
|
243
|
+
- - ! '>='
|
214
244
|
- !ruby/object:Gem::Version
|
215
245
|
version: '0'
|
216
246
|
type: :development
|
217
247
|
prerelease: false
|
218
248
|
version_requirements: !ruby/object:Gem::Requirement
|
249
|
+
none: false
|
219
250
|
requirements:
|
220
|
-
- -
|
251
|
+
- - ! '>='
|
221
252
|
- !ruby/object:Gem::Version
|
222
253
|
version: '0'
|
223
254
|
- !ruby/object:Gem::Dependency
|
224
255
|
name: libnotify
|
225
256
|
requirement: !ruby/object:Gem::Requirement
|
257
|
+
none: false
|
226
258
|
requirements:
|
227
|
-
- -
|
259
|
+
- - ! '>='
|
228
260
|
- !ruby/object:Gem::Version
|
229
261
|
version: '0'
|
230
262
|
type: :development
|
231
263
|
prerelease: false
|
232
264
|
version_requirements: !ruby/object:Gem::Requirement
|
265
|
+
none: false
|
233
266
|
requirements:
|
234
|
-
- -
|
267
|
+
- - ! '>='
|
235
268
|
- !ruby/object:Gem::Version
|
236
269
|
version: '0'
|
237
270
|
- !ruby/object:Gem::Dependency
|
238
271
|
name: pry
|
239
272
|
requirement: !ruby/object:Gem::Requirement
|
273
|
+
none: false
|
240
274
|
requirements:
|
241
|
-
- -
|
275
|
+
- - ! '>='
|
242
276
|
- !ruby/object:Gem::Version
|
243
277
|
version: '0'
|
244
278
|
type: :development
|
245
279
|
prerelease: false
|
246
280
|
version_requirements: !ruby/object:Gem::Requirement
|
281
|
+
none: false
|
247
282
|
requirements:
|
248
|
-
- -
|
283
|
+
- - ! '>='
|
249
284
|
- !ruby/object:Gem::Version
|
250
285
|
version: '0'
|
251
286
|
- !ruby/object:Gem::Dependency
|
252
287
|
name: rake
|
253
288
|
requirement: !ruby/object:Gem::Requirement
|
289
|
+
none: false
|
254
290
|
requirements:
|
255
|
-
- -
|
291
|
+
- - ! '>='
|
256
292
|
- !ruby/object:Gem::Version
|
257
293
|
version: '0'
|
258
294
|
type: :development
|
259
295
|
prerelease: false
|
260
296
|
version_requirements: !ruby/object:Gem::Requirement
|
297
|
+
none: false
|
261
298
|
requirements:
|
262
|
-
- -
|
299
|
+
- - ! '>='
|
263
300
|
- !ruby/object:Gem::Version
|
264
301
|
version: '0'
|
265
302
|
description: Fudge Continuous Integration Server
|
@@ -269,119 +306,120 @@ executables:
|
|
269
306
|
extensions: []
|
270
307
|
extra_rdoc_files: []
|
271
308
|
files:
|
272
|
-
- bin/fudge
|
273
309
|
- lib/fudge.rb
|
274
|
-
- lib/fudge/build.rb
|
275
310
|
- lib/fudge/cli.rb
|
276
|
-
- lib/fudge/
|
277
|
-
- lib/fudge/exceptions.rb
|
278
|
-
- lib/fudge/file_finder.rb
|
311
|
+
- lib/fudge/output_checker.rb
|
279
312
|
- lib/fudge/formatters.rb
|
280
|
-
- lib/fudge/
|
281
|
-
- lib/fudge/
|
313
|
+
- lib/fudge/build.rb
|
314
|
+
- lib/fudge/version.rb
|
282
315
|
- lib/fudge/helpers.rb
|
283
|
-
- lib/fudge/helpers/bundle_aware.rb
|
284
|
-
- lib/fudge/output_checker.rb
|
285
|
-
- lib/fudge/parser.rb
|
286
|
-
- lib/fudge/rspec/matchers.rb
|
287
|
-
- lib/fudge/runner.rb
|
288
|
-
- lib/fudge/task_dsl.rb
|
289
|
-
- lib/fudge/tasks.rb
|
290
|
-
- lib/fudge/tasks/brakeman.rb
|
291
|
-
- lib/fudge/tasks/cane.rb
|
292
|
-
- lib/fudge/tasks/clean_bundler_env.rb
|
293
|
-
- lib/fudge/tasks/composite_task.rb
|
294
|
-
- lib/fudge/tasks/each_directory.rb
|
295
|
-
- lib/fudge/tasks/flay.rb
|
296
|
-
- lib/fudge/tasks/flog.rb
|
297
|
-
- lib/fudge/tasks/in_directory.rb
|
298
316
|
- lib/fudge/tasks/rake.rb
|
317
|
+
- lib/fudge/tasks/brakeman.rb
|
299
318
|
- lib/fudge/tasks/rspec.rb
|
300
319
|
- lib/fudge/tasks/shell.rb
|
320
|
+
- lib/fudge/tasks/each_directory.rb
|
301
321
|
- lib/fudge/tasks/sub_process.rb
|
302
|
-
- lib/fudge/tasks/
|
322
|
+
- lib/fudge/tasks/clean_bundler_env.rb
|
323
|
+
- lib/fudge/tasks/flog.rb
|
303
324
|
- lib/fudge/tasks/yard.rb
|
304
|
-
- lib/fudge/
|
325
|
+
- lib/fudge/tasks/task.rb
|
326
|
+
- lib/fudge/tasks/cane.rb
|
327
|
+
- lib/fudge/tasks/flay.rb
|
328
|
+
- lib/fudge/tasks/composite_task.rb
|
329
|
+
- lib/fudge/tasks/in_directory.rb
|
330
|
+
- lib/fudge/runner.rb
|
331
|
+
- lib/fudge/parser.rb
|
332
|
+
- lib/fudge/tasks.rb
|
333
|
+
- lib/fudge/generator.rb
|
334
|
+
- lib/fudge/description.rb
|
335
|
+
- lib/fudge/formatters/simple.rb
|
336
|
+
- lib/fudge/helpers/bundle_aware.rb
|
337
|
+
- lib/fudge/file_finder.rb
|
338
|
+
- lib/fudge/exceptions.rb
|
339
|
+
- lib/fudge/rspec/matchers.rb
|
305
340
|
- lib/fudge/with_directory.rb
|
306
|
-
-
|
307
|
-
- spec/
|
308
|
-
- spec/
|
341
|
+
- lib/fudge/task_dsl.rb
|
342
|
+
- spec/support/dummy_task.rb
|
343
|
+
- spec/support/output.rb
|
344
|
+
- spec/support/tmpdir.rb
|
345
|
+
- spec/spec_helper.rb
|
309
346
|
- spec/lib/fudge/exceptions_spec.rb
|
310
|
-
- spec/lib/fudge/
|
311
|
-
- spec/lib/fudge/output_checker_spec.rb
|
312
|
-
- spec/lib/fudge/parser_spec.rb
|
347
|
+
- spec/lib/fudge/build_spec.rb
|
313
348
|
- spec/lib/fudge/runner_spec.rb
|
314
|
-
- spec/lib/fudge/
|
315
|
-
- spec/lib/fudge/tasks/bundler_spec.rb
|
316
|
-
- spec/lib/fudge/tasks/cane_spec.rb
|
317
|
-
- spec/lib/fudge/tasks/composite_task_spec.rb
|
318
|
-
- spec/lib/fudge/tasks/each_directory_spec.rb
|
349
|
+
- spec/lib/fudge/parser_spec.rb
|
319
350
|
- spec/lib/fudge/tasks/flay_spec.rb
|
351
|
+
- spec/lib/fudge/tasks/bundler_spec.rb
|
320
352
|
- spec/lib/fudge/tasks/flog_spec.rb
|
321
|
-
- spec/lib/fudge/tasks/
|
322
|
-
- spec/lib/fudge/tasks/
|
323
|
-
- spec/lib/fudge/tasks/
|
353
|
+
- spec/lib/fudge/tasks/each_directory_spec.rb
|
354
|
+
- spec/lib/fudge/tasks/cane_spec.rb
|
355
|
+
- spec/lib/fudge/tasks/yard_spec.rb
|
324
356
|
- spec/lib/fudge/tasks/shell_spec.rb
|
325
357
|
- spec/lib/fudge/tasks/sub_process_spec.rb
|
358
|
+
- spec/lib/fudge/tasks/brakeman_spec.rb
|
359
|
+
- spec/lib/fudge/tasks/composite_task_spec.rb
|
360
|
+
- spec/lib/fudge/tasks/rspec_spec.rb
|
326
361
|
- spec/lib/fudge/tasks/task_spec.rb
|
327
|
-
- spec/lib/fudge/tasks/
|
362
|
+
- spec/lib/fudge/tasks/rake_spec.rb
|
363
|
+
- spec/lib/fudge/tasks/in_directory_spec.rb
|
364
|
+
- spec/lib/fudge/formatters/simple_spec.rb
|
365
|
+
- spec/lib/fudge/cli_spec.rb
|
328
366
|
- spec/lib/fudge/tasks_spec.rb
|
329
367
|
- spec/lib/fudge/with_directory_spec.rb
|
330
|
-
- spec/
|
331
|
-
- spec/
|
332
|
-
-
|
333
|
-
- spec/support/tmpdir.rb
|
368
|
+
- spec/lib/fudge/output_checker_spec.rb
|
369
|
+
- spec/lib/fudge/description_spec.rb
|
370
|
+
- bin/fudge
|
334
371
|
homepage: http://github.com/Sage/fudge
|
335
372
|
licenses:
|
336
373
|
- MIT
|
337
|
-
metadata: {}
|
338
374
|
post_install_message:
|
339
375
|
rdoc_options: []
|
340
376
|
require_paths:
|
341
377
|
- lib
|
342
378
|
required_ruby_version: !ruby/object:Gem::Requirement
|
379
|
+
none: false
|
343
380
|
requirements:
|
344
|
-
- -
|
381
|
+
- - ! '>='
|
345
382
|
- !ruby/object:Gem::Version
|
346
383
|
version: '0'
|
347
384
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
385
|
+
none: false
|
348
386
|
requirements:
|
349
|
-
- -
|
387
|
+
- - ! '>='
|
350
388
|
- !ruby/object:Gem::Version
|
351
389
|
version: '0'
|
352
390
|
requirements: []
|
353
391
|
rubyforge_project:
|
354
|
-
rubygems_version:
|
392
|
+
rubygems_version: 1.8.23.2
|
355
393
|
signing_key:
|
356
|
-
specification_version:
|
394
|
+
specification_version: 3
|
357
395
|
summary: Fudge CI Server
|
358
396
|
test_files:
|
397
|
+
- spec/support/dummy_task.rb
|
359
398
|
- spec/support/output.rb
|
360
399
|
- spec/support/tmpdir.rb
|
361
|
-
- spec/
|
362
|
-
- spec/lib/fudge/
|
363
|
-
- spec/lib/fudge/
|
364
|
-
- spec/lib/fudge/
|
365
|
-
- spec/lib/fudge/
|
366
|
-
- spec/lib/fudge/tasks/
|
400
|
+
- spec/spec_helper.rb
|
401
|
+
- spec/lib/fudge/exceptions_spec.rb
|
402
|
+
- spec/lib/fudge/build_spec.rb
|
403
|
+
- spec/lib/fudge/runner_spec.rb
|
404
|
+
- spec/lib/fudge/parser_spec.rb
|
405
|
+
- spec/lib/fudge/tasks/flay_spec.rb
|
406
|
+
- spec/lib/fudge/tasks/bundler_spec.rb
|
407
|
+
- spec/lib/fudge/tasks/flog_spec.rb
|
408
|
+
- spec/lib/fudge/tasks/each_directory_spec.rb
|
367
409
|
- spec/lib/fudge/tasks/cane_spec.rb
|
368
|
-
- spec/lib/fudge/tasks/
|
410
|
+
- spec/lib/fudge/tasks/yard_spec.rb
|
369
411
|
- spec/lib/fudge/tasks/shell_spec.rb
|
412
|
+
- spec/lib/fudge/tasks/sub_process_spec.rb
|
413
|
+
- spec/lib/fudge/tasks/brakeman_spec.rb
|
370
414
|
- spec/lib/fudge/tasks/composite_task_spec.rb
|
371
|
-
- spec/lib/fudge/tasks/each_directory_spec.rb
|
372
|
-
- spec/lib/fudge/tasks/yard_spec.rb
|
373
|
-
- spec/lib/fudge/tasks/flog_spec.rb
|
374
415
|
- spec/lib/fudge/tasks/rspec_spec.rb
|
416
|
+
- spec/lib/fudge/tasks/task_spec.rb
|
417
|
+
- spec/lib/fudge/tasks/rake_spec.rb
|
375
418
|
- spec/lib/fudge/tasks/in_directory_spec.rb
|
376
|
-
- spec/lib/fudge/
|
377
|
-
- spec/lib/fudge/
|
378
|
-
- spec/lib/fudge/
|
379
|
-
- spec/lib/fudge/build_spec.rb
|
380
|
-
- spec/lib/fudge/description_spec.rb
|
381
|
-
- spec/lib/fudge/parser_spec.rb
|
382
|
-
- spec/lib/fudge/exceptions_spec.rb
|
419
|
+
- spec/lib/fudge/formatters/simple_spec.rb
|
420
|
+
- spec/lib/fudge/cli_spec.rb
|
421
|
+
- spec/lib/fudge/tasks_spec.rb
|
383
422
|
- spec/lib/fudge/with_directory_spec.rb
|
384
423
|
- spec/lib/fudge/output_checker_spec.rb
|
385
|
-
- spec/lib/fudge/
|
386
|
-
- spec/spec_helper.rb
|
424
|
+
- spec/lib/fudge/description_spec.rb
|
387
425
|
has_rdoc:
|