hockey-gerrit 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.coveralls.yml +1 -0
- data/.gitignore +2 -1
- data/README.md +38 -0
- data/bin/hockey-gerrit +4 -1
- data/hockey-gerrit.gemspec +1 -0
- data/lib/hockey_gerrit/version.rb +1 -1
- metadata +5 -5
- data/readme.md +0 -32
- data/spec_helpers.rb +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 07a91041838afc36ff2ca2eee64d09781e869267
|
4
|
+
data.tar.gz: e934833c65d2ce91cd38af2bf23f9eb6cec255d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50e9143d0dd7a10b29c64a98bf93509d21dc0f82109476fabcc090d2a8a078cabf9c6c4a1c488e6e1392e7e475e6030f65c77f3ace67328007402d97fc151f60
|
7
|
+
data.tar.gz: 5310cf82d0d5759e38754f7133a729b108f4e47c056d7f76ba5062409d347ce99b43e82daeb546e7fae2bb2df9f27076a923a715fad285c1c3c02aee25bfc500
|
data/.coveralls.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
repo_token: UVBA4cx7xZLddTu9d2a8ofOnJ1MJhUfZf
|
data/.gitignore
CHANGED
data/README.md
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
# hockey-gerrit
|
2
|
+
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/hockey-gerrit.svg)](https://rubygems.org/gems/hockey-gerrit)
|
4
|
+
[![Build Status](https://travis-ci.org/instructure/hockey-gerrit.svg?branch=master)](https://travis-ci.org/instructure/hockey-gerrit)
|
5
|
+
[![Code Climate](https://codeclimate.com/github/instructure/hockey-gerrit/badges/gpa.svg)](https://codeclimate.com/github/instructure/hockey-gerrit)
|
6
|
+
[![Coverage Status](https://coveralls.io/repos/github/instructure/hockey-gerrit/badge.svg?branch=HEAD)](https://coveralls.io/github/instructure/hockey-gerrit?branch=HEAD)
|
7
|
+
[![Dependency Status](https://gemnasium.com/badges/github.com/instructure/hockey-gerrit.svg)](https://gemnasium.com/github.com/instructure/hockey-gerrit)
|
8
|
+
|
9
|
+
The hockey-gerrit gem saves the gerrit change number, patch number, commit message and author to a file.
|
10
|
+
The file can then be used with hockeyapp's Jenkins plugin to publish release notes for a mobile app.
|
11
|
+
|
12
|
+
## Installation
|
13
|
+
|
14
|
+
```
|
15
|
+
gem install hockey-gerrit
|
16
|
+
```
|
17
|
+
|
18
|
+
## Usage
|
19
|
+
|
20
|
+
Run hockey-gerrit inside a Jenkins job's execute shell. The job must be triggered by the gerrit-trigger plugin.
|
21
|
+
|
22
|
+
## Test
|
23
|
+
|
24
|
+
This project uses [Rubocop](https://github.com/bbatsov/rubocop) for linting
|
25
|
+
and [RSpec](https://github.com/rspec/rspec) for testing.
|
26
|
+
Run `rake` to run tests.
|
27
|
+
|
28
|
+
### Test Usage
|
29
|
+
|
30
|
+
1. Export a temporary environment variable for `GERRIT_REFSPEC`.
|
31
|
+
* (eg. `export GERRIT_REFSPEC="this/is/a/test"`
|
32
|
+
2. Inside of a git repo, run `hockey-gerrit`.
|
33
|
+
3. The output will be something similar to the following: (Writes to `changelog.md`)
|
34
|
+
|
35
|
+
```
|
36
|
+
g70000,10
|
37
|
+
John Doe: Made a cool commit
|
38
|
+
```
|
data/bin/hockey-gerrit
CHANGED
data/hockey-gerrit.gemspec
CHANGED
@@ -8,6 +8,7 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.summary = 'Gets build information from gerrit to then send to hockeyapp.'
|
9
9
|
spec.description = 'Generates a change log.'
|
10
10
|
spec.license = 'Apache-2.0'
|
11
|
+
spec.homepage = 'https://github.com/instructure/hockey-gerrit'
|
11
12
|
|
12
13
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
13
14
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hockey-gerrit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Trevor Renshaw
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -159,20 +159,20 @@ extensions: []
|
|
159
159
|
extra_rdoc_files: []
|
160
160
|
files:
|
161
161
|
- ".codeclimate.yml"
|
162
|
+
- ".coveralls.yml"
|
162
163
|
- ".gitignore"
|
163
164
|
- ".rspec"
|
164
165
|
- ".rubocop.yml"
|
165
166
|
- ".travis.yml"
|
166
167
|
- Gemfile
|
167
168
|
- LICENSE
|
169
|
+
- README.md
|
168
170
|
- Rakefile
|
169
171
|
- bin/hockey-gerrit
|
170
172
|
- hockey-gerrit.gemspec
|
171
173
|
- lib/hockey_gerrit.rb
|
172
174
|
- lib/hockey_gerrit/version.rb
|
173
|
-
|
174
|
-
- spec_helpers.rb
|
175
|
-
homepage:
|
175
|
+
homepage: https://github.com/instructure/hockey-gerrit
|
176
176
|
licenses:
|
177
177
|
- Apache-2.0
|
178
178
|
metadata: {}
|
data/readme.md
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
# hockey-gerrit
|
2
|
-
|
3
|
-
The hockey-gerrit gem saves the gerrit change number, patch number, commit message and author to a file.
|
4
|
-
The file can then be used with hockeyapp's Jenkins plugin to publish release notes for a mobile app.
|
5
|
-
|
6
|
-
## Installation
|
7
|
-
|
8
|
-
```
|
9
|
-
gem install hockey-gerrit
|
10
|
-
```
|
11
|
-
|
12
|
-
## Usage
|
13
|
-
|
14
|
-
Run hockey-gerrit inside a Jenkins job's execute shell. The job must be triggered by the gerrit-trigger plugin.
|
15
|
-
|
16
|
-
## Test
|
17
|
-
|
18
|
-
This project uses [Rubocop](https://github.com/bbatsov/rubocop) for linting
|
19
|
-
and [RSpec](https://github.com/rspec/rspec) for testing.
|
20
|
-
Run `rake` to run tests.
|
21
|
-
|
22
|
-
### Test Usage
|
23
|
-
|
24
|
-
1. Inside of a git repo, run `hockey-gerrit`.
|
25
|
-
2. Export a temporary environment variable for `GERRIT_REFSPEC`.
|
26
|
-
* (eg. `export GERRIT_REFSPEC="this/is/a/test"`
|
27
|
-
3. The output will be something similar to the following: (Writes to `changelog.md`)
|
28
|
-
|
29
|
-
```
|
30
|
-
g70000,10
|
31
|
-
John Doe: Made a cool commit
|
32
|
-
```
|