thunder_punch 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.mdown CHANGED
@@ -1,3 +1,6 @@
1
+ == 0.1.4 (Jul 15, 2015)
2
+ * add a task to honeybadger recipes to support the new honeybadger cli way of deployment notification via ENV variables
3
+
1
4
  == 0.1.3 (Jan 7, 2015)
2
5
  * update call to script/runner to be prefixed with ./ (compatibility for old rails and new ruby)
3
6
  * add Gemfile for development usage
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'jeweler'
data/Gemfile.lock ADDED
@@ -0,0 +1,54 @@
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ addressable (2.3.6)
5
+ builder (3.2.2)
6
+ descendants_tracker (0.0.4)
7
+ thread_safe (~> 0.3, >= 0.3.1)
8
+ faraday (0.9.1)
9
+ multipart-post (>= 1.2, < 3)
10
+ git (1.2.8)
11
+ github_api (0.12.2)
12
+ addressable (~> 2.3)
13
+ descendants_tracker (~> 0.0.4)
14
+ faraday (~> 0.8, < 0.10)
15
+ hashie (>= 3.3)
16
+ multi_json (>= 1.7.5, < 2.0)
17
+ nokogiri (~> 1.6.3)
18
+ oauth2
19
+ hashie (3.3.2)
20
+ highline (1.6.21)
21
+ jeweler (2.0.1)
22
+ builder
23
+ bundler (>= 1.0)
24
+ git (>= 1.2.5)
25
+ github_api
26
+ highline (>= 1.6.15)
27
+ nokogiri (>= 1.5.10)
28
+ rake
29
+ rdoc
30
+ json (1.8.1)
31
+ jwt (1.2.0)
32
+ mini_portile (0.6.2)
33
+ multi_json (1.10.1)
34
+ multi_xml (0.5.5)
35
+ multipart-post (2.0.0)
36
+ nokogiri (1.6.5)
37
+ mini_portile (~> 0.6.0)
38
+ oauth2 (1.0.0)
39
+ faraday (>= 0.8, < 0.10)
40
+ jwt (~> 1.0)
41
+ multi_json (~> 1.3)
42
+ multi_xml (~> 0.5)
43
+ rack (~> 1.2)
44
+ rack (1.6.0)
45
+ rake (10.4.2)
46
+ rdoc (4.2.0)
47
+ json (~> 1.4)
48
+ thread_safe (0.3.4)
49
+
50
+ PLATFORMS
51
+ ruby
52
+
53
+ DEPENDENCIES
54
+ jeweler
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.3
1
+ 0.1.4
@@ -6,4 +6,17 @@ Capistrano::Configuration.instance(:must_exist).load do
6
6
  run "cd #{current_path} && #{rake} honeybadger:deploy RAILS_ENV=#{rails_env} TO=#{branch} USER=#{honeybadger_user} REVISION=#{real_revision} REPO=#{repository}"
7
7
  end
8
8
  end
9
+
10
+ namespace :honeybadger_cli do
11
+ task :notify_deploy, :roles => honeybadger_roles do
12
+ api_key = fetch(:honeybadger_api_key_var, "$HONEYBADGER_API_KEY")
13
+ precommand = fetch(:honeybadger_cli_precommand, "")
14
+
15
+ cmds = ["cd #{current_path}"]
16
+ cmds << precommand if precommand != ""
17
+ cmds << "bundle exec honeybadger deploy -e #{rails_env} -r #{repository} -s #{real_revision} -u #{honeybadger_user} -k #{api_key}"
18
+
19
+ run "#{cmds.join(' && ')}"
20
+ end
21
+ end
9
22
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "thunder_punch"
8
- s.version = "0.1.3"
8
+ s.version = "0.1.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Bob Burbach"]
12
- s.date = "2015-01-07"
12
+ s.date = "2015-07-15"
13
13
  s.description = "Collection of capistano recipes for deployment and server tasks"
14
14
  s.email = "info@criticaljuncture.org"
15
15
  s.extra_rdoc_files = [
@@ -18,6 +18,8 @@ Gem::Specification.new do |s|
18
18
  s.files = [
19
19
  ".document",
20
20
  "CHANGELOG.mdown",
21
+ "Gemfile",
22
+ "Gemfile.lock",
21
23
  "MIT-LICENSE",
22
24
  "Manifest",
23
25
  "README.mdown",
@@ -57,7 +59,7 @@ Gem::Specification.new do |s|
57
59
  ]
58
60
  s.homepage = "http://github.com/critical/thunder_punch"
59
61
  s.require_paths = ["lib"]
60
- s.rubygems_version = "1.8.29"
62
+ s.rubygems_version = "1.8.11"
61
63
  s.summary = "Collection of capistano recipes for deployment and server tasks"
62
64
 
63
65
  if s.respond_to? :specification_version then
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thunder_punch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-01-07 00:00:00.000000000 Z
12
+ date: 2015-07-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jeweler
16
- requirement: !ruby/object:Gem::Requirement
16
+ requirement: &70318702008900 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,15 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: '0'
24
+ version_requirements: *70318702008900
30
25
  - !ruby/object:Gem::Dependency
31
26
  name: thoughtbot-shoulda
32
- requirement: !ruby/object:Gem::Requirement
27
+ requirement: &70318702008220 !ruby/object:Gem::Requirement
33
28
  none: false
34
29
  requirements:
35
30
  - - ! '>='
@@ -37,15 +32,10 @@ dependencies:
37
32
  version: '0'
38
33
  type: :development
39
34
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: '0'
35
+ version_requirements: *70318702008220
46
36
  - !ruby/object:Gem::Dependency
47
37
  name: capistrano
48
- requirement: !ruby/object:Gem::Requirement
38
+ requirement: &70318702007640 !ruby/object:Gem::Requirement
49
39
  none: false
50
40
  requirements:
51
41
  - - ! '>='
@@ -53,12 +43,7 @@ dependencies:
53
43
  version: 2.5.5
54
44
  type: :runtime
55
45
  prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ! '>='
60
- - !ruby/object:Gem::Version
61
- version: 2.5.5
46
+ version_requirements: *70318702007640
62
47
  description: Collection of capistano recipes for deployment and server tasks
63
48
  email: info@criticaljuncture.org
64
49
  executables: []
@@ -68,6 +53,8 @@ extra_rdoc_files:
68
53
  files:
69
54
  - .document
70
55
  - CHANGELOG.mdown
56
+ - Gemfile
57
+ - Gemfile.lock
71
58
  - MIT-LICENSE
72
59
  - Manifest
73
60
  - README.mdown
@@ -116,6 +103,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
116
103
  - - ! '>='
117
104
  - !ruby/object:Gem::Version
118
105
  version: '0'
106
+ segments:
107
+ - 0
108
+ hash: -374408597647062636
119
109
  required_rubygems_version: !ruby/object:Gem::Requirement
120
110
  none: false
121
111
  requirements:
@@ -124,7 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
124
114
  version: '0'
125
115
  requirements: []
126
116
  rubyforge_project:
127
- rubygems_version: 1.8.29
117
+ rubygems_version: 1.8.11
128
118
  signing_key:
129
119
  specification_version: 3
130
120
  summary: Collection of capistano recipes for deployment and server tasks