capistrano-ash 1.1.15 → 1.1.16

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.
data/CHANGELOG.rdoc CHANGED
@@ -1,3 +1,6 @@
1
+ == 1.1.16
2
+ * FIXED: added missing function to make "db" migration tasks work correctly
3
+
1
4
  == 1.1.13
2
5
  * FIXED: syntax error in lib/ash/drupal.rb
3
6
  * cleaned up some mis-indented lines in lib/ash/drupal.rb
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.15
1
+ 1.1.16
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{capistrano-ash}
8
- s.version = "1.1.11"
8
+ s.version = "1.1.15"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = [%q{August Ash}]
@@ -34,7 +34,7 @@ Gem::Specification.new do |s|
34
34
  ]
35
35
  s.homepage = %q{https://github.com/augustash/capistrano-ash}
36
36
  s.require_paths = [%q{lib}]
37
- s.rubygems_version = %q{1.8.6}
37
+ s.rubygems_version = %q{1.8.11}
38
38
  s.summary = %q{Useful task libraries for August Ash recipes for Capistrano}
39
39
 
40
40
  if s.respond_to? :specification_version then
data/lib/ash/common.rb CHANGED
@@ -16,6 +16,16 @@ def text_prompt(prompt="Value: ")
16
16
  Capistrano::CLI.ui.ask(prompt) { |q| q.echo = true }
17
17
  end
18
18
 
19
+ # Check if a file exists by providing the full path to the expected file location
20
+ def local_file_exists?(full_path)
21
+ File.exists?(full_path)
22
+ end
23
+
24
+ # Check if a directory exists by providing the full path to the expected location
25
+ def local_dir_exists?(full_path)
26
+ File.directory?(full_path)
27
+ end
28
+
19
29
  # Test to see if a file exists by providing
20
30
  # the full path to the expected file location
21
31
  def remote_file_exists?(full_path)
data/lib/ash/drupal.rb CHANGED
@@ -196,8 +196,8 @@ configuration.load do
196
196
  end
197
197
 
198
198
  desc <<-DESC
199
- Stubbed: Moves downloadable files from the public directory (Drupal root)
200
- to the shared directories
199
+ Moves downloadable files from the public directory (Drupal root) to the shared
200
+ directories
201
201
 
202
202
  Example:
203
203
  sites/abc/files/ubercart/products
@@ -230,8 +230,8 @@ configuration.load do
230
230
  end
231
231
 
232
232
  desc <<-DESC
233
- Stubbed: Moves encryption key files from the public directory (Drupal root)
234
- to the shared directories
233
+ Moves encryption key files from the public directory (Drupal root) to the shared
234
+ directories
235
235
 
236
236
  Example:
237
237
  sites/abc/files/ubercart/keys
@@ -252,7 +252,6 @@ configuration.load do
252
252
  run "#{drush_bin} -l #{url} -r #{latest_release} vset --yes uc_credit_encryption_path ../../shared/#{url}/#{uc_root}/#{uc_encryption_keys_root}"
253
253
  end
254
254
  end
255
-
256
255
  end
257
256
  end
258
257
  end
metadata CHANGED
@@ -1,27 +1,23 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: capistrano-ash
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.1.16
4
5
  prerelease:
5
- version: 1.1.15
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - August Ash
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-10-10 00:00:00 Z
12
+ date: 2011-10-13 00:00:00.000000000Z
14
13
  dependencies: []
15
-
16
14
  description: August Ash recipes for Capistrano
17
15
  email: code@augustash.com
18
16
  executables: []
19
-
20
17
  extensions: []
21
-
22
- extra_rdoc_files:
18
+ extra_rdoc_files:
23
19
  - README.textile
24
- files:
20
+ files:
25
21
  - CHANGELOG.rdoc
26
22
  - README.textile
27
23
  - Rakefile
@@ -39,30 +35,26 @@ files:
39
35
  - lib/ash/zend_doctrine_shared_hosting.rb
40
36
  homepage: https://github.com/augustash/capistrano-ash
41
37
  licenses: []
42
-
43
38
  post_install_message:
44
39
  rdoc_options: []
45
-
46
- require_paths:
40
+ require_paths:
47
41
  - lib
48
- required_ruby_version: !ruby/object:Gem::Requirement
42
+ required_ruby_version: !ruby/object:Gem::Requirement
49
43
  none: false
50
- requirements:
51
- - - ">="
52
- - !ruby/object:Gem::Version
53
- version: "0"
54
- required_rubygems_version: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ! '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ required_rubygems_version: !ruby/object:Gem::Requirement
55
49
  none: false
56
- requirements:
57
- - - ">="
58
- - !ruby/object:Gem::Version
59
- version: "0"
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
60
54
  requirements: []
61
-
62
55
  rubyforge_project:
63
- rubygems_version: 1.8.11
56
+ rubygems_version: 1.8.10
64
57
  signing_key:
65
58
  specification_version: 3
66
59
  summary: Useful task libraries for August Ash recipes for Capistrano
67
60
  test_files: []
68
-