prophet 1.5.4 → 1.5.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/prophet/prophet.rb +2 -2
  3. metadata +11 -17
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 0ab99f8ee6875265d10fc5d14354e3b446d15109
4
+ data.tar.gz: 9d7966ce4c43c1ed57aa301d32679f14fe353472
5
+ SHA512:
6
+ metadata.gz: 62e09e111a7d4259e3207d7572eadb8aad9cdf1053dc663d7ee522eb56c9b28f7d8fa92274aed47d9da142efe44271f1ac3c37b31942673350e25db9bbe69a07
7
+ data.tar.gz: 564a2056cf15c491bac1144c7e27bad9af3c7f735a0cd8e57d1b5b1d50587369009ce257fbb25f193d2c23ffdf53f9d81bafa2c36db852eaa0cb3208608e137a
@@ -63,9 +63,9 @@ class Prophet
63
63
  # Run specified code (i.e. tests) for the project.
64
64
  begin
65
65
  self.exec_block.call
66
- # Unless self.success has already been set manually,
66
+ # Unless self.success has already been set (to true/false) manually,
67
67
  # the success/failure is determined by the last command's return code.
68
- self.success ||= ($? && $?.exitstatus == 0)
68
+ self.success = ($? && $?.exitstatus == 0) if self.success.nil?
69
69
  rescue Exception => e
70
70
  @log.error "Execution block raised an exception: #{e}"
71
71
  self.success = false
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prophet
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.4
5
- prerelease:
4
+ version: 1.5.5
6
5
  platform: ruby
7
6
  authors:
8
7
  - Dominik Bamberger
@@ -11,38 +10,34 @@ authors:
11
10
  autorequire:
12
11
  bindir: bin
13
12
  cert_chain: []
14
- date: 2013-04-11 00:00:00.000000000 Z
13
+ date: 2013-10-28 00:00:00.000000000 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: octokit
18
17
  requirement: !ruby/object:Gem::Requirement
19
- none: false
20
18
  requirements:
21
- - - ! '>='
19
+ - - '>='
22
20
  - !ruby/object:Gem::Version
23
21
  version: '0'
24
22
  type: :runtime
25
23
  prerelease: false
26
24
  version_requirements: !ruby/object:Gem::Requirement
27
- none: false
28
25
  requirements:
29
- - - ! '>='
26
+ - - '>='
30
27
  - !ruby/object:Gem::Version
31
28
  version: '0'
32
29
  - !ruby/object:Gem::Dependency
33
30
  name: rspec
34
31
  requirement: !ruby/object:Gem::Requirement
35
- none: false
36
32
  requirements:
37
- - - ! '>='
33
+ - - '>='
38
34
  - !ruby/object:Gem::Version
39
35
  version: '0'
40
36
  type: :runtime
41
37
  prerelease: false
42
38
  version_requirements: !ruby/object:Gem::Requirement
43
- none: false
44
39
  requirements:
45
- - - ! '>='
40
+ - - '>='
46
41
  - !ruby/object:Gem::Version
47
42
  version: '0'
48
43
  description: Prophet runs custom code (i.e. your project's test suite) on open pull
@@ -62,27 +57,26 @@ files:
62
57
  - lib/prophet/prophet.rb
63
58
  homepage: http://github.com/b4mboo/prophet
64
59
  licenses: []
60
+ metadata: {}
65
61
  post_install_message:
66
62
  rdoc_options: []
67
63
  require_paths:
68
64
  - lib
69
65
  required_ruby_version: !ruby/object:Gem::Requirement
70
- none: false
71
66
  requirements:
72
- - - ! '>='
67
+ - - '>='
73
68
  - !ruby/object:Gem::Version
74
69
  version: '0'
75
70
  required_rubygems_version: !ruby/object:Gem::Requirement
76
- none: false
77
71
  requirements:
78
- - - ! '>='
72
+ - - '>='
79
73
  - !ruby/object:Gem::Version
80
74
  version: '0'
81
75
  requirements: []
82
76
  rubyforge_project:
83
- rubygems_version: 1.8.23
77
+ rubygems_version: 2.0.3
84
78
  signing_key:
85
- specification_version: 3
79
+ specification_version: 4
86
80
  summary: An easy way to loop through open pull requests and run code onthe merged
87
81
  branch.
88
82
  test_files: []