capper 0.8.1 → 0.8.3

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.
@@ -1,24 +1,22 @@
1
1
  # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "capper/version"
2
4
 
3
5
  Gem::Specification.new do |s|
4
6
  s.name = "capper"
5
- s.version = "0.8.1"
6
- s.platform = Gem::Platform::RUBY
7
- s.licenses = ["MIT"]
7
+ s.version = Capper::VERSION
8
8
  s.authors = ["Benedikt Böhm"]
9
9
  s.email = ["bb@xnull.de"]
10
10
  s.homepage = "http://github.com/zenops/capper"
11
11
  s.summary = %q{Capper is a collection of opinionated Capistrano recipes}
12
12
  s.description = %q{Capper is a collection of opinionated Capistrano recipes}
13
13
 
14
- s.add_dependency "erubis"
15
- s.add_dependency "capistrano"
16
- s.add_dependency "capistrano_colors"
17
-
18
- s.add_development_dependency "bundler", "~> 1.0.0"
19
-
20
14
  s.files = `git ls-files`.split("\n")
21
15
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
22
16
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
23
17
  s.require_paths = ["lib"]
18
+
19
+ s.add_dependency "erubis"
20
+ s.add_dependency "capistrano"
21
+ s.add_dependency "capistrano_colors"
24
22
  end
@@ -1,3 +1,5 @@
1
+ require "capper/version"
2
+
1
3
  # mixin various helpers
2
4
  require 'capper/utils/templates'
3
5
  include Capper::Utils::Templates
@@ -22,15 +22,17 @@ timeout <%= unicorn_timeout %>
22
22
  # know what you are doing.
23
23
  pid "<%= shared_path %>/pids/unicorn.pid"
24
24
 
25
- # try using Syslogger and fall back to file-based logging
25
+ # use syslogger if available
26
26
  begin
27
27
  require "syslogger"
28
28
  logger Syslogger.new("<%= application %>-unicorn", Syslog::LOG_PID, Syslog::LOG_LOCAL1)
29
29
  rescue
30
- stderr_path "<%= shared_path %>/log/unicorn.stderr.log"
31
- stdout_path "<%= shared_path %>/log/unicorn.stdout.log"
32
30
  end
33
31
 
32
+ # these do not seem to support syslog
33
+ stderr_path "<%= shared_path %>/log/unicorn.stderr.log"
34
+ stdout_path "<%= shared_path %>/log/unicorn.stdout.log"
35
+
34
36
  # combine REE with "preload_app true" for memory savings
35
37
  # http://rubyenterpriseedition.com/faq.html#adapt_apps_for_cow
36
38
  preload_app true
@@ -1,4 +1,4 @@
1
- class Capper
1
+ module Capper
2
2
  module Utils
3
3
  module Monit
4
4
 
@@ -1,4 +1,4 @@
1
- class Capper
1
+ module Capper
2
2
  module Utils
3
3
  module Multistage
4
4
 
@@ -1,6 +1,6 @@
1
1
  require "erubis"
2
2
 
3
- class Capper
3
+ module Capper
4
4
  module Utils
5
5
  module Templates
6
6
 
@@ -0,0 +1,3 @@
1
+ module Capper
2
+ VERSION = "0.8.3"
3
+ end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: capper
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.8.1
5
+ version: 0.8.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - "Benedikt B\xC3\xB6hm"
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-10-23 00:00:00 +02:00
13
+ date: 2011-10-28 00:00:00 +02:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -46,17 +46,6 @@ dependencies:
46
46
  version: "0"
47
47
  type: :runtime
48
48
  version_requirements: *id003
49
- - !ruby/object:Gem::Dependency
50
- name: bundler
51
- prerelease: false
52
- requirement: &id004 !ruby/object:Gem::Requirement
53
- none: false
54
- requirements:
55
- - - ~>
56
- - !ruby/object:Gem::Version
57
- version: 1.0.0
58
- type: :development
59
- version_requirements: *id004
60
49
  description: Capper is a collection of opinionated Capistrano recipes
61
50
  email:
62
51
  - bb@xnull.de
@@ -98,11 +87,12 @@ files:
98
87
  - lib/capper/utils/monit.rb
99
88
  - lib/capper/utils/multistage.rb
100
89
  - lib/capper/utils/templates.rb
90
+ - lib/capper/version.rb
101
91
  - lib/capper/whenever.rb
102
92
  has_rdoc: true
103
93
  homepage: http://github.com/zenops/capper
104
- licenses:
105
- - MIT
94
+ licenses: []
95
+
106
96
  post_install_message:
107
97
  rdoc_options: []
108
98