deis_deploy_redant 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +21 -0
  3. data/README.md +3 -1
  4. data/lib/tasks/deis.rake +1 -1
  5. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cf48822738c9d4f9626f9d5f466efa288df8f589
4
- data.tar.gz: 6bb09027fd34960522d4d8ce4cfaf6daf0a48cb2
3
+ metadata.gz: 963acaeedebe9d49f54f3686ff07e7cc3794f1bb
4
+ data.tar.gz: 31c1bc8dbf12ef6b22b431a7dec86f3b8202fbd2
5
5
  SHA512:
6
- metadata.gz: 82357639ced4a40844ca7b91efa734043f2c8512eacf64407e811018db38c815dd72a4b1b4b14ef9b4f17ab2717dd0e9a0dbfda069b3327c48dd4b2fa04dc737
7
- data.tar.gz: 942caac7ef5799fed7ac03b79f9cdef9a12dea20179fbc953d12cc05750efcbc46f50e019dd019c46bad9cc86c3379c57e689c7123f242a4ed9febe00c4ccfa8
6
+ metadata.gz: b608ce355df76da0bb039b266cdc90bc8f6458749bc740132c93ef6e336f5bbab58c9aa53a84fe19b076af90d27d06ecee26b40b4eb4616e8bd222a5d6bb9da5
7
+ data.tar.gz: 0958f8918536ad4c27f7ef774358ede5f90550ec8411c123693240ea6ad6abf68db2988f5c7626854490de172a4cf01b4056a2f51d488c4e80427fb5c5c04628
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2016 Red Ant Design Pty Ltd
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  Deis Deploy Ruby
2
2
  ================
3
3
 
4
+ [![Gem Version](https://badge.fury.io/rb/deis_deploy_redant.svg)](https://badge.fury.io/rb/deis_deploy_redant)
5
+
4
6
  This gem allows you to deploy and notify your deploy to the Red Ant Deis cluster.
5
7
 
6
8
  If you're not a developer at Red Ant this gem will not be immediately useful but may be a nice starting point for Deis deploy notifications.
@@ -42,7 +44,7 @@ $ bundle exec rails deis:deploy[REMOTE_NAME]
42
44
  Or to notify without pushing a new deploy
43
45
 
44
46
  ```bash
45
- $ bundle exec rails deis:notify[REMOTE_NAME]
47
+ $ bundle exec rails deis:report[REMOTE_NAME]
46
48
  ```
47
49
 
48
50
  Tests
data/lib/tasks/deis.rake CHANGED
@@ -35,7 +35,7 @@ def report_deis_deploy(git_remote)
35
35
  current_git_sha = `git rev-parse HEAD`
36
36
 
37
37
  deploy_message = ''
38
- if previous_git_sha.empty?
38
+ if previous_git_sha.nil? || previous_git_sha.empty?
39
39
  deploy_message = 'Initial commit, see github for full change list'
40
40
  elsif DeisDeployRedant.configuration.deploy_message_merges
41
41
  # Get merges between releases
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deis_deploy_redant
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Davies
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-11 00:00:00.000000000 Z
11
+ date: 2016-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -59,6 +59,7 @@ executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
+ - LICENSE
62
63
  - README.md
63
64
  - lib/deis_deploy_redant.rb
64
65
  - lib/deis_deploy_redant/configuration.rb