mina-flowdock 0.2 → 0.2.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: dec8135ceee4e7cf2e7fcaaf3fbba8a945da7ab0
4
- data.tar.gz: 798b52b64e4c63e3e630ebf188f001cda2dbd9da
3
+ metadata.gz: 58590cc58a81d2e1b0a599cb6e8e0fd7e6d14488
4
+ data.tar.gz: b59762d082265a1cdecf5a18ce52bfd60197684f
5
5
  SHA512:
6
- metadata.gz: 92eab0d16e70f71460d8345e365fb4cd3249e6ce6e981ca1192a42b4931955757a73a1bd86f3d4198bc87f161a78f94dc71ef6d90b610f039803fd5176cd60b2
7
- data.tar.gz: 04f11372898dcc9067007a5bd8385038775b272177b5c9805d7fbc82ccd11fe1f4b215a069264f85950a66b5554f42b8faad42ebc1c65b0057d5f4cc802363e9
6
+ metadata.gz: 4562f54e8efd9b1d436d3deafbab3ee2762f539cbcca8318f9c2c80370184bf8cbe3951f1cbd4b28666831b3188ccd415891d89259daeb7f375d591dc0cd1111
7
+ data.tar.gz: 3c8b6e5e6d0f6a4eb1399f5229a76cbde0697611a52d7b3089111253b81e56f6ebd43312c4468e76115f77be24f29dcc8f45eba70a8912a17ae047d1cda2c99d
@@ -1,8 +1,12 @@
1
1
  ### 0.3 (unreleased)
2
2
 
3
+ ### 0.2.1 / 2013-12-03
4
+
5
+ * Only extend the plugin and require the task if Mina is present.
6
+
3
7
  ### 0.2 / 2013-12-02
4
8
 
5
- * Remove dependency on Grit (c extension) in favor of Ruby/Git (pure Ruby)
9
+ * Remove dependency on Grit (c extension) in favor of Ruby/Git (pure Ruby).
6
10
 
7
11
  ### 0.1 / 2013-12-02
8
12
 
@@ -1,9 +1,13 @@
1
1
  require "mina/flowdock/version"
2
2
  require "mina/flowdock/plugin"
3
3
 
4
- extend Mina::Flowdock::Plugin
4
+ if defined?(Mina) && self.respond_to?(:mina_cleanup!)
5
+ # supporting module for notify task
6
+ extend Mina::Flowdock::Plugin
5
7
 
6
- require "mina/flowdock/notify" # task
8
+ # notify task
9
+ require "mina/flowdock/notify"
7
10
 
8
- # Hook our task in after mina is done running
9
- after_mina :"flowdock:notify"
11
+ # hook notify after deploy
12
+ after_mina :"flowdock:notify"
13
+ end
@@ -15,6 +15,7 @@ set_default :flowdock_message,
15
15
  set :flowdock_deploy_tags,
16
16
  ["deploy", "#{flowdock_deploy_env}"] + flowdock_deploy_tags
17
17
 
18
+ desc "Update configured Flowdock flows after a deployment"
18
19
  namespace :flowdock do
19
20
  task :notify do
20
21
 
@@ -1,6 +1,6 @@
1
1
  module Mina
2
2
  module Flowdock
3
3
  # mina-flowdock version
4
- VERSION = "0.2"
4
+ VERSION = "0.2.1"
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mina-flowdock
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.2'
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Don Morrison