slather 1.8 → 1.8.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 +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +42 -0
- data/lib/slather/version.rb +1 -1
- data/slather.gemspec +2 -2
- data/spec/slather/cocoapods_plugin_spec.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fac517dd878eb5bce60aab2496af9a66e559aa65
|
4
|
+
data.tar.gz: e1738148431be3032b3071ff1401454d3eb1144c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 076afcb5a6290f350808eb3d5e7f82ff140ef063f103c97dddca0a300f5ecca92a2ef7f3a4c35c6e9596860525a3da8692e12d97a3a506fc2a78a45fa7fed664
|
7
|
+
data.tar.gz: 590e5c5eed3b6148b8baf39328de21cb9a2f3b2f5647d66ed207e33a3d0df917dbe7b480cdcd472bd0a473d750da9581972d5b96e344b4ee57d0a5aaa0bad209
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,12 @@
|
|
2
2
|
|
3
3
|
## master
|
4
4
|
|
5
|
+
## v1.8.1
|
6
|
+
* Fixed dependency conflict with CocoaPods v0.38
|
7
|
+
* Updated usage of cocoapods plugin API since it has changed in v0.38
|
8
|
+
[Julian Krumow](https://github.com/tarbrain)
|
9
|
+
[#95](https://github.com/venmo/slather/pull/95)
|
10
|
+
|
5
11
|
## v1.7.0
|
6
12
|
* Objective-C++ support
|
7
13
|
[ben-ng](https://github.com/ben-ng)
|
data/README.md
CHANGED
@@ -49,6 +49,47 @@ To verify you're ready to generate test coverage, run your test suite on your pr
|
|
49
49
|
$ slather coverage -s path/to/project.xcodeproj
|
50
50
|
```
|
51
51
|
|
52
|
+
### Usage with Codecov
|
53
|
+
|
54
|
+
Login to [Codecov](https://codecov.io/) (no need to activate a repository, this happens automatically). Right now, `slather` supports Codecov via **all** supported CI providers [listed here](https://github.com/codecov/codecov-bash#ci-providers).
|
55
|
+
|
56
|
+
Make a `.slather.yml` file:
|
57
|
+
|
58
|
+
```yml
|
59
|
+
# .slather.yml
|
60
|
+
|
61
|
+
coverage_service: cobertura_xml
|
62
|
+
xcodeproj: path/to/project.xcodeproj
|
63
|
+
source_directory: path/to/sources/to/include
|
64
|
+
output_directory: path/to/xml_report
|
65
|
+
ignore:
|
66
|
+
- ExamplePodCode/*
|
67
|
+
- ProjectTestsGroup/*
|
68
|
+
```
|
69
|
+
|
70
|
+
And then in your `.travis.yml`, `circle.yml` (or after test commands in other CI providers), call `slather` after a successful build:
|
71
|
+
|
72
|
+
```yml
|
73
|
+
# .travis.yml
|
74
|
+
|
75
|
+
before_install: rvm use $RVM_RUBY_VERSION
|
76
|
+
install: bundle install --without=documentation --path ../travis_bundle_dir
|
77
|
+
after_success:
|
78
|
+
- slather
|
79
|
+
- bash <(curl -s https://codecov.io/bash)
|
80
|
+
```
|
81
|
+
|
82
|
+
```yml
|
83
|
+
# circle.yml
|
84
|
+
|
85
|
+
test:
|
86
|
+
post:
|
87
|
+
- bundle exec slather
|
88
|
+
- bash <(curl -s https://codecov.io/bash)
|
89
|
+
```
|
90
|
+
|
91
|
+
> Private repo? Add `-t :uuid-repo-token` to the codecov uploader. Read more about uploading report to Codecov [here](https://github.com/codecov/codecov-bash)
|
92
|
+
|
52
93
|
### Usage with Coveralls
|
53
94
|
|
54
95
|
Login to [Coveralls](https://coveralls.io/) and enable your repository. Right now, `slather` supports Coveralls via [Travis CI](https://travis-ci.org) and [CircleCI](https://circleci.com).
|
@@ -163,3 +204,4 @@ Please make sure to follow our general coding style and add test coverage for ne
|
|
163
204
|
* [@ayanonagon](https://github.com/ayanonagon) and [@kylef](https://github.com/kylef), feedback and testing.
|
164
205
|
* [@jhersh](https://github.com/jhersh), CircleCI support.
|
165
206
|
* [@ixnixnixn](https://github.com/ixnixnixn), html support.
|
207
|
+
* [@tarbrain](https://github.com/tarbrain), Cobertura support and bugfixing.
|
data/lib/slather/version.rb
CHANGED
data/slather.gemspec
CHANGED
@@ -22,11 +22,11 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.add_development_dependency "rake", "~> 10.3"
|
23
23
|
spec.add_development_dependency "rspec", "~> 2.14"
|
24
24
|
spec.add_development_dependency "pry", "~> 0.9"
|
25
|
-
spec.add_development_dependency "cocoapods", "~> 0.
|
25
|
+
spec.add_development_dependency "cocoapods", "~> 0.38.0"
|
26
26
|
spec.add_development_dependency "json_spec", "~> 1.1.4"
|
27
27
|
spec.add_development_dependency "equivalent-xml", "~> 0.5.1"
|
28
28
|
|
29
29
|
spec.add_dependency "clamp", "~> 0.6"
|
30
|
-
spec.add_dependency "xcodeproj", "~> 0.
|
30
|
+
spec.add_dependency "xcodeproj", "~> 0.26.2"
|
31
31
|
spec.add_dependency "nokogiri", "~> 1.6.3"
|
32
32
|
end
|
@@ -13,7 +13,7 @@ describe Slather do
|
|
13
13
|
# Execute the post_install hook via CocoaPods
|
14
14
|
sandbox_root = 'Pods'
|
15
15
|
sandbox = Pod::Sandbox.new(sandbox_root)
|
16
|
-
context = Pod::Installer::
|
16
|
+
context = Pod::Installer::PostInstallHooksContext.generate(sandbox, [])
|
17
17
|
Pod::HooksManager.run(:post_install, context, {'slather' => nil})
|
18
18
|
end
|
19
19
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slather
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Larsen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.
|
89
|
+
version: 0.38.0
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.
|
96
|
+
version: 0.38.0
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: json_spec
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -142,14 +142,14 @@ dependencies:
|
|
142
142
|
requirements:
|
143
143
|
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 0.
|
145
|
+
version: 0.26.2
|
146
146
|
type: :runtime
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: 0.
|
152
|
+
version: 0.26.2
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: nokogiri
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|