patches 2.4.0 → 2.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.buildkite/pipeline.yml +24 -0
- data/.rspec +1 -1
- data/CHANGELOG.md +18 -0
- data/Dockerfile +9 -0
- data/LICENSE.md +3 -1
- data/README.md +8 -4
- data/docker-compose.yml +11 -0
- data/lib/patches/version.rb +1 -1
- data/patches.gemspec +2 -3
- metadata +8 -19
- data/.travis.yml +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a726ce30a4830757598e3c8e1a418ae177496782f61b2863709389be96c4d086
|
4
|
+
data.tar.gz: 83c927ddd30bf534d0925c9962faea4a1b8ae384ed0f726997eb0c595a0f8312
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ca1c096b455735c6ac1dd2b2bd246126fb1fc45d0d253d099234b3fd4bc3f22f13dec67d1c2708efea16afdbe7d25d4b57c61743540803c9bb7097122e7d8f4
|
7
|
+
data.tar.gz: e6495c336cc87c106e7943ec7fbd2798aaa8010bda3a024357f7bbf4b4fcac1b5c703db81e166fc3451bac96e699614118eda1027306dfb4462b97540700d21c
|
@@ -0,0 +1,24 @@
|
|
1
|
+
steps:
|
2
|
+
- label: ':hammer: Tests'
|
3
|
+
plugins:
|
4
|
+
docker-compose:
|
5
|
+
run: app
|
6
|
+
command: 'bundle exec rspec'
|
7
|
+
agents:
|
8
|
+
queue: docker-heavy
|
9
|
+
artifact_paths: 'coverage/.resultset.json'
|
10
|
+
|
11
|
+
- wait
|
12
|
+
|
13
|
+
- command: "Report CodeClimate Coverage"
|
14
|
+
label: ":codeclimate: Report coverage"
|
15
|
+
plugins:
|
16
|
+
jobready/codeclimate-test-reporter#v2.0:
|
17
|
+
prefix: /app
|
18
|
+
artifact: "coverage/.resultset*.json"
|
19
|
+
input_type: simplecov
|
20
|
+
parts: 1
|
21
|
+
env:
|
22
|
+
CC_TEST_REPORTER_ID:
|
23
|
+
agents:
|
24
|
+
queue: docker-heavy
|
data/.rspec
CHANGED
data/CHANGELOG.md
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
# Changelog
|
2
|
+
All notable changes to this project will be documented in this file.
|
3
|
+
|
4
|
+
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
5
|
+
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
6
|
+
|
7
|
+
## [Unreleased]
|
8
|
+
|
9
|
+
## [2.4.1] - 2018-09-19
|
10
|
+
### Changed
|
11
|
+
- Corrected gem ownership and authors.
|
12
|
+
### Added
|
13
|
+
- Changelog
|
14
|
+
- Dockerfile and BuildKite pipeline config
|
15
|
+
|
16
|
+
## [2.4.0] - 2018-09-17
|
17
|
+
### Added
|
18
|
+
- Added slack notification configurability
|
data/Dockerfile
ADDED
data/LICENSE.md
CHANGED
@@ -16,4 +16,6 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
16
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
17
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
18
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
19
|
-
THE SOFTWARE.
|
19
|
+
THE SOFTWARE.
|
20
|
+
|
21
|
+
https://opensource.org/licenses/MIT
|
data/README.md
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
# Patches
|
2
2
|
[![Build status](https://badge.buildkite.com/4f3df3f3458bcc933dc44cab6c136af5c3bbdd9f761f1a99ff.svg)](https://buildkite.com/jobready/patches)
|
3
|
-
[![
|
4
|
-
[![Test Coverage](https://codeclimate.com/
|
3
|
+
[![Maintainability](https://api.codeclimate.com/v1/badges/39d142050017ffeb2564/maintainability)](https://codeclimate.com/repos/557f93b76956807f81000001/maintainability)
|
4
|
+
[![Test Coverage](https://api.codeclimate.com/v1/badges/39d142050017ffeb2564/test_coverage)](https://codeclimate.com/repos/557f93b76956807f81000001/test_coverage)
|
5
|
+
[![Gem Version](https://badge.fury.io/rb/patches.svg)](https://badge.fury.io/rb/patches)
|
5
6
|
|
6
7
|
![patches](docs/patches.jpg)
|
7
8
|
|
@@ -35,9 +36,12 @@ see `docs/usage.md`
|
|
35
36
|
|
36
37
|
## Development
|
37
38
|
|
38
|
-
|
39
|
+
```
|
40
|
+
docker-compose build
|
41
|
+
docker-compose run app bundle exec rspec
|
42
|
+
```
|
39
43
|
|
40
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
44
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org/gems/patches).
|
41
45
|
|
42
46
|
## Contributing
|
43
47
|
|
data/docker-compose.yml
ADDED
data/lib/patches/version.rb
CHANGED
data/patches.gemspec
CHANGED
@@ -6,8 +6,8 @@ require 'patches/version'
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "patches"
|
8
8
|
spec.version = Patches::VERSION
|
9
|
-
spec.authors = ["
|
10
|
-
spec.email = ["
|
9
|
+
spec.authors = ["JobReady"]
|
10
|
+
spec.email = ["ruby_gems@jobready.com.au"]
|
11
11
|
|
12
12
|
spec.licenses = ['MIT']
|
13
13
|
spec.summary = %q{A simple gem for one off tasks}
|
@@ -32,7 +32,6 @@ Gem::Specification.new do |spec|
|
|
32
32
|
spec.add_development_dependency "factory_girl", "~> 4.5.0"
|
33
33
|
spec.add_development_dependency "timecop", "~> 0.7.0"
|
34
34
|
spec.add_development_dependency "database_cleaner", "~> 1.3.0"
|
35
|
-
spec.add_development_dependency "codeclimate-test-reporter", "~> 0.4"
|
36
35
|
spec.add_development_dependency "pry"
|
37
36
|
spec.add_development_dependency "sidekiq", "~> 3.4.1"
|
38
37
|
spec.add_development_dependency "hipchat"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: patches
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- JobReady
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -178,20 +178,6 @@ dependencies:
|
|
178
178
|
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: 1.3.0
|
181
|
-
- !ruby/object:Gem::Dependency
|
182
|
-
name: codeclimate-test-reporter
|
183
|
-
requirement: !ruby/object:Gem::Requirement
|
184
|
-
requirements:
|
185
|
-
- - "~>"
|
186
|
-
- !ruby/object:Gem::Version
|
187
|
-
version: '0.4'
|
188
|
-
type: :development
|
189
|
-
prerelease: false
|
190
|
-
version_requirements: !ruby/object:Gem::Requirement
|
191
|
-
requirements:
|
192
|
-
- - "~>"
|
193
|
-
- !ruby/object:Gem::Version
|
194
|
-
version: '0.4'
|
195
181
|
- !ruby/object:Gem::Dependency
|
196
182
|
name: pry
|
197
183
|
requirement: !ruby/object:Gem::Requirement
|
@@ -264,14 +250,16 @@ dependencies:
|
|
264
250
|
version: '0'
|
265
251
|
description: A simple gem for one off tasks for example database patches
|
266
252
|
email:
|
267
|
-
-
|
253
|
+
- ruby_gems@jobready.com.au
|
268
254
|
executables: []
|
269
255
|
extensions: []
|
270
256
|
extra_rdoc_files: []
|
271
257
|
files:
|
258
|
+
- ".buildkite/pipeline.yml"
|
272
259
|
- ".gitignore"
|
273
260
|
- ".rspec"
|
274
|
-
-
|
261
|
+
- CHANGELOG.md
|
262
|
+
- Dockerfile
|
275
263
|
- Gemfile
|
276
264
|
- LICENSE.md
|
277
265
|
- README.md
|
@@ -279,6 +267,7 @@ files:
|
|
279
267
|
- bin/console
|
280
268
|
- bin/setup
|
281
269
|
- db/migrate/201506011700_create_patch.rb
|
270
|
+
- docker-compose.yml
|
282
271
|
- docs/patches.jpg
|
283
272
|
- docs/usage.md
|
284
273
|
- lib/generators/patches.rb
|
data/.travis.yml
DELETED