capones_recipes 0.13.1 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/capones_recipes.gemspec +5 -2
- data/lib/recipes/airbrake/setup.rb +13 -0
- data/lib/recipes/airbrake/templates/airbrake.rb +3 -0
- data/lib/recipes/airbrake.rb +1 -0
- metadata +6 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.14.0
|
data/capones_recipes.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{capones_recipes}
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.14.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Roman Simecek", "Simon Hürlimann"]
|
12
|
-
s.date = %q{2011-09-
|
12
|
+
s.date = %q{2011-09-26}
|
13
13
|
s.description = %q{A collection of useful capistrano recipes used by CyT GmbH and others.}
|
14
14
|
s.email = %q{roman.simecek@cyt.ch}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -33,6 +33,9 @@ Gem::Specification.new do |s|
|
|
33
33
|
"lib/cookbook/rails.rb",
|
34
34
|
"lib/cookbook/rails31.rb",
|
35
35
|
"lib/cookbook/wikisigns.rb",
|
36
|
+
"lib/recipes/airbrake.rb",
|
37
|
+
"lib/recipes/airbrake/setup.rb",
|
38
|
+
"lib/recipes/airbrake/templates/airbrake.rb",
|
36
39
|
"lib/recipes/bookyt.rb",
|
37
40
|
"lib/recipes/bookyt/setup.rb",
|
38
41
|
"lib/recipes/bookyt/templates/bookyt.rb",
|
@@ -0,0 +1,13 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../utilities')
|
2
|
+
|
3
|
+
Capistrano::Configuration.instance(true).load do
|
4
|
+
namespace :airbrake do
|
5
|
+
desc "Creates the air brake initializer with the custom API key."
|
6
|
+
task :setup do
|
7
|
+
api_key = utilities.ask('Please insert the API key.', '')
|
8
|
+
run "mkdir -p #{shared_path}/config/initializers"
|
9
|
+
initializer_template = File.expand_path(File.dirname(__FILE__) + '/templates/airbrake.rb')
|
10
|
+
utilities.init_file(initializer_template, "<%%>", api_key, "#{shared_path}/initializer/bookyt.rb")
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
Dir.glob(File.join(File.dirname(__FILE__), '/airbrake/*.rb')).sort.each { |f| load f }
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: capones_recipes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.
|
5
|
+
version: 0.14.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Roman Simecek
|
@@ -11,7 +11,7 @@ autorequire:
|
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
13
|
|
14
|
-
date: 2011-09-
|
14
|
+
date: 2011-09-26 00:00:00 +02:00
|
15
15
|
default_executable:
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
@@ -128,6 +128,9 @@ files:
|
|
128
128
|
- lib/cookbook/rails.rb
|
129
129
|
- lib/cookbook/rails31.rb
|
130
130
|
- lib/cookbook/wikisigns.rb
|
131
|
+
- lib/recipes/airbrake.rb
|
132
|
+
- lib/recipes/airbrake/setup.rb
|
133
|
+
- lib/recipes/airbrake/templates/airbrake.rb
|
131
134
|
- lib/recipes/bookyt.rb
|
132
135
|
- lib/recipes/bookyt/setup.rb
|
133
136
|
- lib/recipes/bookyt/templates/bookyt.rb
|
@@ -169,7 +172,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
169
172
|
requirements:
|
170
173
|
- - ">="
|
171
174
|
- !ruby/object:Gem::Version
|
172
|
-
hash: -
|
175
|
+
hash: -436294592306385306
|
173
176
|
segments:
|
174
177
|
- 0
|
175
178
|
version: "0"
|