fuci-travis 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +5 -4
- data/fuci-travis.gemspec +1 -1
- data/lib/fuci/travis.rb +2 -0
- data/lib/fuci/travis/version.rb +1 -1
- data/spec/lib/fuci/travis_spec.rb +5 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 52c16956d93c1b78d2c58ae5dca4b644583c8f6c
|
4
|
+
data.tar.gz: 3c4c0704cdcf59f4fb5b652d191d3f89fdaadf54
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a293e1fc99c22c79ade6bf07be60190c2ca5a7b1dde7f1faa9b92208686e8812a2b56245feee0a2421b9e0602cc81a9244768c106094a77f3a5a61312d119a4
|
7
|
+
data.tar.gz: 1ae126dfa8432b4c180fe413c120937104baf1db4543927723cafdc85dc3d45ba6d23bd4f959a46650e7166d4bac084e2a7018ff53d78e9ca42aee4b2caccf21
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -98,7 +98,7 @@ end
|
|
98
98
|
Fuci tester plugins should return two things: Whether a failed build has
|
99
99
|
failed with a specific testing framework (e.g. RSpec, Cucumber) and the
|
100
100
|
command-line command that runs those specific failures. As of now, Fuci
|
101
|
-
ships with
|
101
|
+
ships with RSpec and Cucumber tester plugins. If you want to add custom
|
102
102
|
testers, add them in the configuration:
|
103
103
|
```ruby
|
104
104
|
Fuci::Travis.configure do |fu|
|
@@ -107,12 +107,13 @@ Fuci::Travis.configure do |fu|
|
|
107
107
|
end
|
108
108
|
```
|
109
109
|
|
110
|
-
See the
|
110
|
+
See the
|
111
|
+
[base Fuci repo](https://github.com/davejachimiak/fuci#creating-tester-extensions)
|
112
|
+
for more information on custom testers.
|
111
113
|
|
112
114
|
## Usage
|
113
115
|
|
114
|
-
See the
|
115
|
-
[base Fuci repo](https://github.com/davejachimiak/fuci#native-command-line-options)
|
116
|
+
See the [base Fuci repo](https://github.com/davejachimiak/fuci#native-command-line-options)
|
116
117
|
for command-line options native to Fuci.
|
117
118
|
|
118
119
|
Run your latest ci failures locally:
|
data/fuci-travis.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_dependency 'fuci', '~> 0.4'
|
21
|
+
spec.add_dependency 'fuci', '~> 0.4.2'
|
22
22
|
spec.add_dependency 'travis', '~> 1.4'
|
23
23
|
spec.add_development_dependency "bundler", "~> 1.3"
|
24
24
|
spec.add_development_dependency "minitest-spec-expect", "~> 0.1"
|
data/lib/fuci/travis.rb
CHANGED
@@ -32,11 +32,13 @@ module Fuci
|
|
32
32
|
def self.repo
|
33
33
|
return @repo if @repo
|
34
34
|
puts 'Finding repo...'
|
35
|
+
puts remote_repo_name
|
35
36
|
@repo = client::Repository.find remote_repo_name
|
36
37
|
puts "Using repo: #{remote_repo_name}"
|
37
38
|
@repo
|
38
39
|
rescue
|
39
40
|
puts "#{remote_repo_name} repo could not be found on Travis."
|
41
|
+
exit
|
40
42
|
end
|
41
43
|
|
42
44
|
def self.pro
|
data/lib/fuci/travis/version.rb
CHANGED
@@ -31,6 +31,7 @@ describe Fuci::Travis do
|
|
31
31
|
end
|
32
32
|
Fuci::Travis.stubs(:client).returns Client
|
33
33
|
Fuci::Travis.expects(:puts).with 'Finding repo...'
|
34
|
+
Fuci::Travis.expects(:puts).with 'dj/fuci'
|
34
35
|
end
|
35
36
|
|
36
37
|
describe 'if the repo can be found' do
|
@@ -48,12 +49,13 @@ describe Fuci::Travis do
|
|
48
49
|
|
49
50
|
describe 'if the repo cannot be found' do
|
50
51
|
before do
|
51
|
-
Client::Repository.stubs(:find).raises
|
52
|
-
Fuci::Travis.expects(:puts).
|
53
|
-
with "#{@repo_name} repo could not be found on Travis."
|
54
52
|
end
|
55
53
|
|
56
54
|
it "logs that the repo couldn't be found and exits" do
|
55
|
+
Client::Repository.stubs(:find).raises
|
56
|
+
Fuci::Travis.expects(:puts).
|
57
|
+
with "#{@repo_name} repo could not be found on Travis."
|
58
|
+
Fuci::Travis.expects(:exit)
|
57
59
|
Fuci::Travis.repo
|
58
60
|
end
|
59
61
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fuci-travis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dave Jachimiak
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fuci
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.4.2
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 0.4.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: travis
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|