capistrano-af83 0.4.3 → 0.4.4

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: 5d7a46e55370b288475b99f32b22654d24e5f4a0
4
- data.tar.gz: f3e0e274f5ca305ca6e9fc88c759d2b4f5a4a11f
3
+ metadata.gz: ac947d3d9c13cc331da15f60b3d331aba8da2d28
4
+ data.tar.gz: 52a7e42bfec8f4f79e5103afd486bba8945279e6
5
5
  SHA512:
6
- metadata.gz: 5b45c205d4854fdf4f23d49877d4ae85a4256d8b4e710eb9ace2ef64178bcde8e911d9eda0e8d485d110c24d5d7634890372006de4fb7301dcc9ba45a6f17448
7
- data.tar.gz: 6a4df311d8276fb69b3e3b2e6a909bf26c43543ee9f425944daddb82bd7f0e02df11f31b118d0dd9523fb0923715a3565e42a01933b7febbfa657f0a5a35148d
6
+ metadata.gz: 70eb4c8c2a76e812c4a5d6367a2af9b35503eab9f3b1a29ad88b894b5e62055d33644bf3213cce7b67ef39aace26d6be053d492715b2bdf90c7374b3219ff5c7
7
+ data.tar.gz: 28a62875cd9cb209bbb66344ae43d22829a53016f624d3993843ced0a77c9c51e96fed880e3d6fe5883e590f52461a49c1ee21aadcf2969e8a1e687c0c95ef63
@@ -2,16 +2,16 @@
2
2
  namespace :bower do
3
3
  desc "Install JS/CSS assets using bower"
4
4
  task :install do
5
- run "cd #{release_path} && bower install --production"
5
+ run "cd #{release_path} && bower --no-color install --production"
6
6
  end
7
7
 
8
8
  desc 'Force install and resolve dependencies'
9
9
  task :force_install do
10
- run "cd #{release_path} && bower install --production --force-latest"
10
+ run "cd #{release_path} && bower --no-color install --production --force-latest"
11
11
  end
12
12
 
13
13
  desc 'Cache clean'
14
14
  task :cache_clean do
15
- run "cd #{release_path} && bower cache clean"
15
+ run "cd #{release_path} && bower --no-color cache clean"
16
16
  end
17
17
  end
@@ -0,0 +1,27 @@
1
+ # encoding: UTF-8
2
+ # Taken from https://gist.github.com/hrp/3337372
3
+
4
+ require 'net/http'
5
+ require 'uri'
6
+
7
+ namespace :errbit do
8
+ desc "Notify deploys to errbit"
9
+ task :notify, except: {no_release: true} do
10
+ api_key = ENV['API_KEY'] || fetch(:errbit_api_key)
11
+ user = local_user == 'hudson' ? 'Chuck Norris' : local_user
12
+ rails_env = fetch(:rails_env, "production")
13
+ host = fetch(:errbit_host, "errbit.af83.com")
14
+
15
+ params = {
16
+ 'api_key' => api_key,
17
+ 'deploy[rails_env]' => rails_env,
18
+ 'deploy[local_username]' => user,
19
+ 'deploy[scm_repository]' => repository,
20
+ 'deploy[scm_revision]' => current_revision
21
+ }
22
+
23
+ Net::HTTP.post_form(URI("http://#{host}/deploys.txt"), params)
24
+ end
25
+ end
26
+
27
+ after "deploy", "errbit:notify"
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module AF83
3
- VERSION = "0.4.3"
3
+ VERSION = "0.4.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-af83
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bruno Michel
8
+ - Laurent Arnoud
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2013-08-29 00:00:00.000000000 Z
12
+ date: 2013-09-17 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: capistrano
@@ -96,6 +97,7 @@ files:
96
97
  - lib/capistrano/af83/deploy/assets.rb
97
98
  - lib/capistrano/af83/deploy/console.rb
98
99
  - lib/capistrano/af83/dragonfly.rb
100
+ - lib/capistrano/af83/errbit.rb
99
101
  - lib/capistrano/af83/es.rb
100
102
  - lib/capistrano/af83/extensions.rb
101
103
  - lib/capistrano/af83/faye.rb
@@ -131,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
131
133
  version: '0'
132
134
  requirements: []
133
135
  rubyforge_project:
134
- rubygems_version: 2.0.2
136
+ rubygems_version: 2.1.0
135
137
  signing_key:
136
138
  specification_version: 4
137
139
  summary: Capistrano recipes for af83