xcpretty-travis-formatter 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/lib/travis_formatter.rb +6 -1
  4. metadata +17 -17
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 871979916c4bf2d87e96fb3f6250f44d046c0868
4
- data.tar.gz: ffc5ceb5e2f9174b26401da146c1bbb7894bc9a6
3
+ metadata.gz: 093ae59694551d82412d919f4a4bc6c71b0b3c0b
4
+ data.tar.gz: e61c97f5f8998e2376d0382e27acda92da4365e4
5
5
  SHA512:
6
- metadata.gz: d75a68238ca422040a7792219428f92e4bcdd6b22d0b5761366eac16a9faa36df8c64349f442676966f9fa4e95ca23e8322dfe36b8d213f9d561e7878b8406ed
7
- data.tar.gz: 98887aa7be0372514a80aca660cfb88741bea498c15393f88c5fcf14b6803618c04a9739aab917f1c118dab0e7cdf81b39cce61d9be58175540814ed77437d4a
6
+ metadata.gz: 8abb6f5d8461ce37475e4de330bce645fa2add5bcac4e9b994272ecac9badf7433df20504e0a17fa44c1701c468c8f04a316fcb65e62167c6366247474a2b882
7
+ data.tar.gz: 8ff493dd6ad199e4181b9917c59a2dc217bc4a18692b5d501ff34360d002b427b889c84a344b4d491f0afa33c6b499e83eb9cdf4ee144dd87d10cd7a8125690c
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # XCPretty TravisCI Formatter
2
2
 
3
- Custom formatter for [xcpretty](https://github.com/supermarin/xcpretty) with some syntactic sugar for presentation on TravisCI.
3
+ Custom formatter for [xcpretty](https://github.com/supermarin/xcpretty) with some syntactic sugar for presentation on TravisCI. [Here is some sample output](https://travis-ci.org/kattrali/xcpretty-travis-formatter/jobs/52970340). The "Build", "Clean", and test phase sections are folded separately, though the final completion message and failing tests are presented clearly, for faster scanning.
4
4
 
5
5
  ## Installation
6
6
 
@@ -20,4 +20,4 @@ xcodebuild | xcpretty -f `xcpretty-travis-formatter`
20
20
 
21
21
  ## How it works
22
22
 
23
- The `--formatter` option takes a file path as an argument, which is returned by the `xcpretty-travis-formatter` binary. It must be evaluated before the xcpretty arguments are evaluated, hence the backtick wrapping. The specified file must return a Ruby subclass of `XCPretty::Formatter`, which will then receive `formatter_*` method invocations as the build output is parsed.
23
+ The `--formatter` option takes a file path as an argument, which is returned by the `xcpretty-travis-formatter` binary. It must be evaluated before the xcpretty arguments are evaluated, hence the backtick wrapping. The specified file must return a Ruby subclass of `XCPretty::Formatter`, which will then receive `formatter_*` method invocations as the build output is parsed.
@@ -18,7 +18,12 @@ class TravisFormatter < XCPretty::Simple
18
18
  super
19
19
  end
20
20
 
21
- def format_clean_target(project, target, configuration)
21
+ def format_analyze_target(target, project, configuration)
22
+ open_fold("Analyze")
23
+ super
24
+ end
25
+
26
+ def format_clean_target(target, project, configuration)
22
27
  open_fold("Clean")
23
28
  super
24
29
  end
metadata CHANGED
@@ -1,75 +1,75 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xcpretty-travis-formatter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Delisa Mason
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-03 00:00:00.000000000 Z
11
+ date: 2015-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xcpretty
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0.1'
20
- - - ">="
20
+ - - '>='
21
21
  - !ruby/object:Gem::Version
22
22
  version: 0.0.7
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - "~>"
27
+ - - ~>
28
28
  - !ruby/object:Gem::Version
29
29
  version: '0.1'
30
- - - ">="
30
+ - - '>='
31
31
  - !ruby/object:Gem::Version
32
32
  version: 0.0.7
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: bundler
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - "~>"
37
+ - - ~>
38
38
  - !ruby/object:Gem::Version
39
39
  version: '1.3'
40
40
  type: :development
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
- - - "~>"
44
+ - - ~>
45
45
  - !ruby/object:Gem::Version
46
46
  version: '1.3'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rake
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - ">="
51
+ - - '>='
52
52
  - !ruby/object:Gem::Version
53
53
  version: '0'
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
- - - ">="
58
+ - - '>='
59
59
  - !ruby/object:Gem::Version
60
60
  version: '0'
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: bacon
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
- - - "~>"
65
+ - - ~>
66
66
  - !ruby/object:Gem::Version
67
67
  version: '1.2'
68
68
  type: :development
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
- - - "~>"
72
+ - - ~>
73
73
  - !ruby/object:Gem::Version
74
74
  version: '1.2'
75
75
  description: "\n Formatter for xcpretty customized to provide pretty output on TravisCI\n
@@ -81,10 +81,10 @@ executables:
81
81
  extensions: []
82
82
  extra_rdoc_files: []
83
83
  files:
84
- - LICENSE
85
84
  - README.md
86
- - bin/xcpretty-travis-formatter
85
+ - LICENSE
87
86
  - lib/travis_formatter.rb
87
+ - bin/xcpretty-travis-formatter
88
88
  homepage: https://github.com/kattrali/xcpretty-travis-formatter
89
89
  licenses:
90
90
  - MIT
@@ -95,17 +95,17 @@ require_paths:
95
95
  - lib
96
96
  required_ruby_version: !ruby/object:Gem::Requirement
97
97
  requirements:
98
- - - ">="
98
+ - - '>='
99
99
  - !ruby/object:Gem::Version
100
100
  version: '0'
101
101
  required_rubygems_version: !ruby/object:Gem::Requirement
102
102
  requirements:
103
- - - ">="
103
+ - - '>='
104
104
  - !ruby/object:Gem::Version
105
105
  version: '0'
106
106
  requirements: []
107
107
  rubyforge_project:
108
- rubygems_version: 2.2.2
108
+ rubygems_version: 2.0.14
109
109
  signing_key:
110
110
  specification_version: 4
111
111
  summary: xcpretty custom formatter for TravisCI