solano_notify_and_deploy 0.0.4.1 → 0.0.4.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8d1adc5e2b4bf21e6924fde2c3ae6be615a8c6cb
4
- data.tar.gz: 325d7142a8c1d8dea231ebdaddfd0268e71fe982
3
+ metadata.gz: d6f25f9af568a973adcf8a758342b2354dfd20f7
4
+ data.tar.gz: 2dd9f37674edaf3b41c8d862aa73b523345e7b7b
5
5
  SHA512:
6
- metadata.gz: 7dfee3905508cad82b0a6721f6d9ea04bed15110612ccc6b8c7c412778c8b0196ea7214abcaaae3d1e36e6ecdaea003080bd954d74c508ef2835647cbbef53d7
7
- data.tar.gz: 3ea534a5188f5c9fcccef201b309e68f57b5e2d5ab7af29316d011e2e4ff2f4ad099ad39fc7f8005b4ab60046a3157bd268de85765667eefddbf9b2a7de65e71
6
+ metadata.gz: 7dd8014221924920d85e2da4008ae63b040b1e04fb79c8b94b7798e155c95e1e5153b8a2b7649d8682d43ad47a35cc1d226d544b5722d4995390789f42a13ff9
7
+ data.tar.gz: 66ad8d2c113e721205e75677c780d7206815870628fa10fa16db80c0ff3055dc834d28358f15b0b7f702ad757b5690918395eafbe1ff250ba49f0873698c4be9
data/README.md CHANGED
@@ -1,4 +1,15 @@
1
1
  solano_notify_and_deploy
2
2
  ========================
3
3
 
4
- Solano labs build notifications and optional deploys of Rails applications
4
+ Solano labs build notifications to hipchat and optional deploys of Rails applications
5
+
6
+ Generator
7
+ ========
8
+
9
+ The gem includes a rails generator which will create a solano.yml file
10
+ in the root of your rails app. It also configures a set of rake tasks (which live at lib/tasks/solano/deploy.rake).
11
+
12
+ Usage:
13
+ rails g solano HIPCHAT_API_KEY HIPCHAT_ROOM_ID DEPLOY_HOOK_URL
14
+
15
+ Run the generator and commit the solano.yml and rake tasks file. Solano labs will pick these up and the hooks configured in the solano.yml will trigger notifications and deploy events.
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  :hooks:
3
3
  :worker_setup: RAILS_ENV=test bundle exec rake db:test:prepare
4
- :pre_setup: bundle exec rake solano:notify:build_start
4
+ :early: bundle exec rake solano:notify:build_start
5
5
  <%- if deploy_hook_url.nil? %>
6
6
  :post_build: bundle exec rake solano:notify:build_complete
7
7
  <%- else %>
@@ -1,3 +1,3 @@
1
1
  module SolanoNotifyAndDeploy
2
- VERSION = '0.0.4.1'
2
+ VERSION = '0.0.4.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solano_notify_and_deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4.1
4
+ version: 0.0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nic Pillinger