oura 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 783edce22b066d3dcb80e10b2810f3ca03a0aefaae930cf277e61fcfa0b9fc5b
4
- data.tar.gz: 5f5d102515b93be77bcfcfd42b1d1dee0cb6ac2d60c3638dba2f5af171e5bd0c
3
+ metadata.gz: 6bb64991b4c93dd5d9c57825ebed7359e86986e2bc7924b92fc2d71c14eee92a
4
+ data.tar.gz: dc2399633a4234fcef41d15836e38833dbd6f31dc21461ea9255f7946f11c9ec
5
5
  SHA512:
6
- metadata.gz: 953110bf72173af479109806ba5902f38430f30754eb4e375bb11d944fa9f8d2dba0d7f89bfa9f096fd963972d3152077e07829b4a35f8e3f424b619e591fdba
7
- data.tar.gz: 6518c4193289f469ad8da714bf3c67118ef7dadf8bdfd033b9127fe31aa18e33e35be34502b1fc4459a1b96ec0524fe84f00022bf7cbe096cfc0d8c25aa6583f
6
+ metadata.gz: 0fa640e2f36abcbddab23a88388d7e3e4767f9c3aca5273e0e3e738945925ed03b05fc9eb2be741169a1a91dcff7d59bd1a3164076ab298a9f4dae54cabf971f
7
+ data.tar.gz: 2be56751ef9e3819432eb7e6548f091ae4da59289edcf0bc6ca8a2e668c0b680c094255dfa9853611c22927cd74c5867d8820d6a0a5c1b77f9345c6b33ed3bcb
@@ -2,6 +2,8 @@ defaults: &defaults
2
2
  working_directory: ~/repo
3
3
  environment:
4
4
  - CIRCLE_ARTIFACTS: "/tmp/test-results"
5
+ orbs:
6
+ slack: circleci/slack@3.2.0
5
7
  executors:
6
8
  default_container:
7
9
  docker:
@@ -25,6 +27,25 @@ commands:
25
27
  root: .
26
28
  paths:
27
29
  - .
30
+ notify-slack:
31
+ parameters:
32
+ message:
33
+ type: string
34
+ default: ""
35
+ title:
36
+ type: string
37
+ default: "$CIRCLE_JOB"
38
+ author_link:
39
+ type: string
40
+ default: ""
41
+ steps:
42
+ - slack/notify:
43
+ author_name: "Release Link"
44
+ author_link: << parameters.author_link >>
45
+ color: "good"
46
+ message: << parameters.message >>
47
+ title: << parameters.title >>
48
+ webhook: $SLACK_WEBHOOK_URL
28
49
  version: 2.1
29
50
  jobs:
30
51
  prepare:
@@ -70,6 +91,14 @@ jobs:
70
91
  name: Run danger
71
92
  command: |
72
93
  bundle exec danger --fail-on-errors=true
94
+ notify-release:
95
+ <<: *defaults
96
+ executor: default_container
97
+ steps:
98
+ - checkout
99
+ - notify-slack:
100
+ message: ":+1: released"
101
+ author_link: $TITLE_LINK
73
102
  workflows:
74
103
  integration:
75
104
  jobs:
@@ -80,3 +109,11 @@ workflows:
80
109
  - danger:
81
110
  requires:
82
111
  - prepare
112
+ released:
113
+ jobs:
114
+ - notify-release:
115
+ filters:
116
+ tags:
117
+ only: /^v\d+\.\d+\.\d+$/
118
+ branches:
119
+ ignore: /.*/
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Oura
4
- VERSION = '0.1.5'
4
+ VERSION = '0.1.6'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oura
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryota Ikezawa
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-05-28 00:00:00.000000000 Z
11
+ date: 2019-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oauth2