circleci_deployment_notifier 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 214c419d82d11a261c0380fd0f0431c892fb4923
4
- data.tar.gz: 9a58c249f3419846c69a220988d83dfabe529471
3
+ metadata.gz: 35da5d43b5ea74ce0d122ab2626a4150de8b8a09
4
+ data.tar.gz: 556b7b145b1ff5514e61e267f984897c488ab8d7
5
5
  SHA512:
6
- metadata.gz: 2a361d88285b294255969f8a9fd52b6b97680292512d70d761128ed8ff835b1d890f150f47b89d879170a4416dd596f72a29e6951587dd62094eaba5aed57ac7
7
- data.tar.gz: a3545c4d0505905c6e36a4af31e56ee249363900f497a43e4e079777745d15b7750c8025939a391eddcb013f7ac55b56308ad60e510c88618e76d2084b6bd378
6
+ metadata.gz: 6ac68e893bd18dcdbb25e117f0d8480a2bf3c50d63ffe2c3e29eddbf45abe941a5391d2f73c98fcb4e3b319396c2c092db44291d228d99ce5121d9781d95bd42
7
+ data.tar.gz: 41e5dfc603b75eb9700ad5503aeb3ae9ea0e21f947befc4e947eedc953a8b2eed565e43725797e2debabbb8607f7409c1f40c3e47827627f382a55c9c58e302a
data/.gitignore CHANGED
@@ -1,3 +1,4 @@
1
+ *.gem
1
2
  /.bundle/
2
3
  /.yardoc
3
4
  /Gemfile.lock
data/Gemfile CHANGED
@@ -2,3 +2,4 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in circleci_deployment_notifier.gemspec
4
4
  gemspec
5
+ gem 'codacy-coverage', require: false
data/README.md CHANGED
@@ -1,3 +1,7 @@
1
+
2
+ [![Codacy Badge](https://api.codacy.com/project/badge/Grade/b76abb83eb5449499cbe3740c147715e)](https://www.codacy.com/app/robindaugherty/circleci_deployment_notifier?utm_source=github.com&utm_medium=referral&utm_content=RobinDaugherty/circleci_deployment_notifier&utm_campaign=Badge_Grade)
3
+ [![Codacy Coverage](https://api.codacy.com/project/badge/Coverage/b76abb83eb5449499cbe3740c147715e)](https://www.codacy.com/app/robindaugherty/circleci_deployment_notifier?utm_source=github.com&utm_medium=referral&utm_content=RobinDaugherty/circleci_deployment_notifier&utm_campaign=Badge_Coverage)
4
+
1
5
  # CircleCI Deployment Notifier
2
6
 
3
7
  Sends deployment notifications based on deployments that occur on CircleCI.
@@ -22,7 +26,30 @@ gem install circleci_deployment_notifier
22
26
 
23
27
  ## Usage
24
28
 
25
- TODO: Write usage instructions here
29
+ Add the following lines to your `circle.yml` in the deployments section:
30
+
31
+ ```sh
32
+ gem install circleci_deployment_notifier
33
+ circleci_deployment_notify_slack -a "Application Name" -u "https://hooks.slack.com/services/WEBHOOK"
34
+ ```
35
+
36
+ Here's an example deployment section from `circle.yml`:
37
+ ```yml
38
+ deployment:
39
+ staging:
40
+ branch: master
41
+ commands:
42
+ - # TODO: something to deploy the application to staging
43
+ - gem install circleci_deployment_notifier
44
+ - circleci_deployment_notify_slack -a "Application Staging" -u "https://hooks.slack.com/services/WEBHOOK"
45
+ production:
46
+ tag: /v[0-9]+\.[0-9]+\.[0-9]+/
47
+ owner: MyOrganization
48
+ commands:
49
+ - # TODO: something to deploy the application to production
50
+ - gem install circleci_deployment_notifier
51
+ - circleci_deployment_notify_slack -a "Application Production" -u "https://hooks.slack.com/services/WEBHOOK"
52
+ ```
26
53
 
27
54
  ## Development
28
55
 
@@ -1,3 +1,3 @@
1
1
  module CircleciDeploymentNotifier
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: circleci_deployment_notifier
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robin Daugherty