capistrano-base_helper 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.3
1
+ 0.0.4
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "capistrano-base_helper"
8
- s.version = "0.0.3"
8
+ s.version = "0.0.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Leif Ringstad"]
@@ -24,10 +24,10 @@ Gem::Specification.new do |s|
24
24
  "Rakefile",
25
25
  "VERSION",
26
26
  "capistrano-base_helper.gemspec",
27
- "capistrano-base_helper.rb",
28
- "capistrano-base_helper/base_helper.rb",
29
- "capistrano-base_helper/monit_base.rb",
30
- "capistrano-base_helper/runit_base.rb",
27
+ "lib/capistrano/base_helper.rb",
28
+ "lib/capistrano/base_helper/base_helper.rb",
29
+ "lib/capistrano/base_helper/monit_base.rb",
30
+ "lib/capistrano/base_helper/runit_base.rb",
31
31
  "templates/monit/app_include.conf.erb",
32
32
  "templates/monit/monitrc.erb",
33
33
  "templates/runit/finish.erb",
@@ -0,0 +1,11 @@
1
+ def try_require(library)
2
+ begin
3
+ require "#{library}"
4
+ rescue LoadError => e
5
+ puts "Capistrano / Base Helper: Cannot load library: #{library} Error: #{e}"
6
+ end
7
+ end
8
+
9
+ try_require 'capistrano/base_helper/base_helper'
10
+ try_require 'capistrano/base_helper/runit_base'
11
+ try_require 'capistrano/base_helper/monit_base'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-base_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -75,10 +75,10 @@ files:
75
75
  - Rakefile
76
76
  - VERSION
77
77
  - capistrano-base_helper.gemspec
78
- - capistrano-base_helper.rb
79
- - capistrano-base_helper/base_helper.rb
80
- - capistrano-base_helper/monit_base.rb
81
- - capistrano-base_helper/runit_base.rb
78
+ - lib/capistrano/base_helper.rb
79
+ - lib/capistrano/base_helper/base_helper.rb
80
+ - lib/capistrano/base_helper/monit_base.rb
81
+ - lib/capistrano/base_helper/runit_base.rb
82
82
  - templates/monit/app_include.conf.erb
83
83
  - templates/monit/monitrc.erb
84
84
  - templates/runit/finish.erb
@@ -99,7 +99,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
99
99
  version: '0'
100
100
  segments:
101
101
  - 0
102
- hash: 2652667416411912074
102
+ hash: -2573387590493266997
103
103
  required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  none: false
105
105
  requirements:
@@ -1,11 +0,0 @@
1
- def try_require(library)
2
- begin
3
- require "#{library}"
4
- rescue LoadError => e
5
- puts "Capistrano-Base Helper: Cannot load library: #{library} Error: #{e}"
6
- end
7
- end
8
-
9
- try_require 'capistrano-base_helper/base_helper'
10
- try_require 'capistrano-base_helper/runit_base'
11
- try_require 'capistrano-base_helper/monit_base'