crossroads_capistrano 1.4.13 → 1.4.14

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.
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "crossroads_capistrano"
6
- s.version = "1.4.13"
6
+ s.version = "1.4.14"
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ["Steve Kenworthy", "Ben Tillman", "Nathan Broadbent"]
9
9
  s.email = ["it_dept@crossroads.org.hk"]
@@ -4,10 +4,10 @@
4
4
 
5
5
  # Recipes
6
6
  # ---------------------------------------------------------
7
+ load File.join(File.dirname(__FILE__), "core_ext.rb")
7
8
  load File.join(File.dirname(__FILE__), "helper_methods.rb")
8
9
  load File.join(File.dirname(__FILE__), "config.rb")
9
10
 
10
-
11
11
  # Settings
12
12
  # ---------------------------------------------------------
13
13
  set :default_stage, "preview"
@@ -0,0 +1,11 @@
1
+ String.class_eval do
2
+ def blank?
3
+ self == ""
4
+ end
5
+ end
6
+ NilClass.class_eval do
7
+ def blank?
8
+ true
9
+ end
10
+ end
11
+
@@ -7,7 +7,6 @@ namespace :deploy do
7
7
  if ARGV.include?("-n")
8
8
  puts "\n ** Dry run, not notifying Hoptoad.\n\n"
9
9
  else
10
- require 'active_support/core_ext/string' if rails_version == 3
11
10
  require 'hoptoad_notifier'
12
11
  require File.join(rails_root,'config','initializers','hoptoad')
13
12
  require 'hoptoad_tasks'
metadata CHANGED
@@ -1,8 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crossroads_capistrano
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 1.4.13
4
+ hash: 27
5
+ prerelease: false
6
+ segments:
7
+ - 1
8
+ - 4
9
+ - 14
10
+ version: 1.4.14
6
11
  platform: ruby
7
12
  authors:
8
13
  - Steve Kenworthy
@@ -35,6 +40,7 @@ files:
35
40
  - lib/crossroads_capistrano/recipes/base.rb
36
41
  - lib/crossroads_capistrano/recipes/cache.rb
37
42
  - lib/crossroads_capistrano/recipes/config.rb
43
+ - lib/crossroads_capistrano/recipes/core_ext.rb
38
44
  - lib/crossroads_capistrano/recipes/delayed_job.rb
39
45
  - lib/crossroads_capistrano/recipes/helper_methods.rb
40
46
  - lib/crossroads_capistrano/recipes/hoptoad.rb
@@ -65,17 +71,23 @@ required_ruby_version: !ruby/object:Gem::Requirement
65
71
  requirements:
66
72
  - - ">="
67
73
  - !ruby/object:Gem::Version
74
+ hash: 3
75
+ segments:
76
+ - 0
68
77
  version: "0"
69
78
  required_rubygems_version: !ruby/object:Gem::Requirement
70
79
  none: false
71
80
  requirements:
72
81
  - - ">="
73
82
  - !ruby/object:Gem::Version
83
+ hash: 3
84
+ segments:
85
+ - 0
74
86
  version: "0"
75
87
  requirements: []
76
88
 
77
89
  rubyforge_project: crossroads_capistrano
78
- rubygems_version: 1.6.0
90
+ rubygems_version: 1.3.7
79
91
  signing_key:
80
92
  specification_version: 3
81
93
  summary: Crossroads capistrano recipes