crep 1.0.0 → 1.0.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 +8 -10
- data/Gemfile.lock +1 -1
- data/Readme.md +19 -10
- data/crep.gemspec +1 -1
- data/lib/crep/version.rb +1 -1
- metadata +2 -7
- data/assets/logo.png +0 -0
- data/assets/logo_dark.png +0 -0
- data/assets/logo_grapefruit.png +0 -0
- data/assets/logo_small.png +0 -0
- data/assets/logo_square.png +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e68c3928d59e06f5e2ec9c38ad0b4bc85c3cfa7
|
4
|
+
data.tar.gz: 69355f2f6cdefabc28ef9b0e71d0abdc012a12a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a67197963039aeda80eea053d1c0bff6ffa20cec630223782ddfb8f3c32d3c2dba3c104e6f13c7ee74ed59c2b3dfba5d5526714a0edb398bdfd158ca0b3ef70a
|
7
|
+
data.tar.gz: d24461deb9766f4a0f3d83f33ec4257513154628601ca3492ac0465920ab74708f2e66339417477e9edf709d4f669af81e1fa81a2fb9e2789cb9e5af800c2345
|
data/Changelog.md
CHANGED
@@ -1,16 +1,18 @@
|
|
1
1
|
# Next up
|
2
2
|
|
3
|
-
|
3
|
+
### Added
|
4
4
|
|
5
|
-
|
5
|
+
### Removed
|
6
6
|
|
7
|
-
|
7
|
+
### Fixed
|
8
8
|
|
9
|
-
|
9
|
+
- Reduced the size of the gem by removing unused assets being bundled with it.
|
10
|
+
|
11
|
+
### Miscellaneous
|
10
12
|
|
11
13
|
# v1.0.0
|
12
14
|
|
13
|
-
|
15
|
+
### Added
|
14
16
|
|
15
17
|
- Added an `apps` command that shows a list of available apps.
|
16
18
|
- Added a warning when multiple versions of an app are found.
|
@@ -19,14 +21,10 @@
|
|
19
21
|
- Added the possibility to use ERB templates to generate a report layout.
|
20
22
|
- Added the ability to supply a custom template for the crash report via a command line argument, `--template`.
|
21
23
|
|
22
|
-
|
23
|
-
|
24
|
-
## Fixed
|
24
|
+
### Fixed
|
25
25
|
|
26
26
|
- Fixed an invalid identifier producing a bogus error (#46)
|
27
27
|
|
28
|
-
## Miscellaneous
|
29
|
-
|
30
28
|
# v0.1.0
|
31
29
|
|
32
30
|
- Initial release.
|
data/Gemfile.lock
CHANGED
data/Readme.md
CHANGED
@@ -8,30 +8,39 @@
|
|
8
8
|
|
9
9
|
We use Crep at [XING](https://www.xing.com) to create our Crash Newsletters for [iOS](https://www.xing.com/ios) and [Android](https://www.xing.com/android) within the _Mobile Releases Team_. It currently uses [HockeyApp](https://rink.hockeyapp.net) as a crash source, so if you are using Hockey, you should definitely give Crep a try.
|
10
10
|
|
11
|
-
In case you are creating Crash Reports and have a different crash source in mind - check out the contributing section!
|
11
|
+
In case you are creating Crash Reports and have a different crash source in mind - check out the [contributing](#contributing) section!
|
12
|
+
|
13
|
+
You can check out more about the project direction in the [vision document](/Vision.md).
|
12
14
|
|
13
15
|
## Install
|
14
16
|
|
15
|
-
Please follow our guide in the [
|
17
|
+
Please follow our guide in the [installation instructions](https://github.com/xing/crep/wiki/Install).
|
16
18
|
|
17
19
|
## Usage
|
18
20
|
|
19
|
-
|
20
|
-
|
21
|
-
`export CREP_HOCKEY_API_TOKEN='abcde'`
|
21
|
+
### Running
|
22
22
|
|
23
|
-
|
23
|
+
```bash
|
24
|
+
# Provide a `CREP_HOCKEY_API_TOKEN`:
|
25
|
+
$ export CREP_HOCKEY_API_TOKEN='abcde'
|
24
26
|
|
25
|
-
|
27
|
+
# Run Crep
|
28
|
+
$ bundle exec crep crashes --identifier='com.example.company' --version='1.23.0' --build='42' --only-unresolved
|
29
|
+
```
|
26
30
|
|
27
31
|
The `--only-unresolved` flag filters out any crashes marked as resolved.
|
28
32
|
|
33
|
+
### Report Templates
|
34
|
+
|
29
35
|
[ERB](http://www.stuartellis.name/articles/erb/) templates are used for the crash report layout.
|
30
|
-
You can either use the [supplied template](
|
36
|
+
You can either use the [supplied template](/templates/default_crash_report.txt.erb) in the templates folder
|
31
37
|
or specify your own via a command line argument.
|
32
|
-
Example: `bundle exec crep crashes --identifier .... --template=<path to your template>`
|
33
38
|
|
34
|
-
|
39
|
+
```bash
|
40
|
+
bundle exec crep crashes --identifier .... --template=<path to your template>
|
41
|
+
```
|
42
|
+
|
43
|
+
**This is what [Crep output](/spec/fixtures/report_output.txt) can look like:**
|
35
44
|
|
36
45
|
```
|
37
46
|
Reporting for YourApp (0.17.1/1114) your.bundle.identifier
|
data/crep.gemspec
CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
|
|
26
26
|
end
|
27
27
|
|
28
28
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
29
|
-
f.match(%r{^(test|spec|features)/})
|
29
|
+
f.match(%r{^(test|spec|features|assets)/})
|
30
30
|
end
|
31
31
|
spec.bindir = 'bin'
|
32
32
|
# spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
data/lib/crep/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: crep
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kim Dung-Pham
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2018-
|
13
|
+
date: 2018-08-13 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: colorize
|
@@ -163,11 +163,6 @@ files:
|
|
163
163
|
- Rakefile
|
164
164
|
- Readme.md
|
165
165
|
- Vision.md
|
166
|
-
- assets/logo.png
|
167
|
-
- assets/logo_dark.png
|
168
|
-
- assets/logo_grapefruit.png
|
169
|
-
- assets/logo_small.png
|
170
|
-
- assets/logo_square.png
|
171
166
|
- bin/console
|
172
167
|
- bin/crep
|
173
168
|
- bin/setup
|
data/assets/logo.png
DELETED
Binary file
|
data/assets/logo_dark.png
DELETED
Binary file
|
data/assets/logo_grapefruit.png
DELETED
Binary file
|
data/assets/logo_small.png
DELETED
Binary file
|
data/assets/logo_square.png
DELETED
Binary file
|