fuci-travis 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1f7e493d8a1dea111d9811bcc53e1b79dc87a916
4
- data.tar.gz: 95b08893160aa928b86745900087e4a10e0d1801
3
+ metadata.gz: 52c16956d93c1b78d2c58ae5dca4b644583c8f6c
4
+ data.tar.gz: 3c4c0704cdcf59f4fb5b652d191d3f89fdaadf54
5
5
  SHA512:
6
- metadata.gz: b1dd58e01d516d8cda22e1a355dc497c9e80d301f3702f95ae990f18e1a7e15b5a1bfb05bf7369491e2b860633c794c2a8ed85160b9c9c3ff8f2baf61897f6c7
7
- data.tar.gz: b11ffcc5fae05f2a6cfa6f6b6073e6216e33b96fa80c284337530cb212d49e953e772752941dcf7caabd00a43fd416ab09feb304f7c67c93d79acba732330575
6
+ metadata.gz: 2a293e1fc99c22c79ade6bf07be60190c2ca5a7b1dde7f1faa9b92208686e8812a2b56245feee0a2421b9e0602cc81a9244768c106094a77f3a5a61312d119a4
7
+ data.tar.gz: 1ae126dfa8432b4c180fe413c120937104baf1db4543927723cafdc85dc3d45ba6d23bd4f959a46650e7166d4bac084e2a7018ff53d78e9ca42aee4b2caccf21
@@ -1,3 +1,7 @@
1
+ ### version 0.4.1 *December 14, 2013*
2
+ * Updates to Fuci 0.4.2, which fetches the remote branch's name
3
+ * Adds more logging for repo name
4
+
1
5
  ### version 0.4.0 *August 11, 2013*
2
6
  * Updates to Fuci 0.4.0 which adds native Cucumber tester plugin
3
7
 
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 only an RSpec tester plugin. If you want to add custom
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 base Fuci repo for more information on custom testers.
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:
@@ -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"
@@ -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
@@ -1,5 +1,5 @@
1
1
  module Fuci
2
2
  module Travis
3
- VERSION = '0.4.0'
3
+ VERSION = '0.4.1'
4
4
  end
5
5
  end
@@ -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.0
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-08-11 00:00:00.000000000 Z
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: '0.4'
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: '0.4'
26
+ version: 0.4.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: travis
29
29
  requirement: !ruby/object:Gem::Requirement