shaddox 0.0.28 → 0.0.29

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d59b021bd1708d0354bdacebb46d31bff97ad9e5
4
- data.tar.gz: 5775aaf92ba995a645cccbb1abd741e53b5eb2ca
3
+ metadata.gz: 6f78ab4e745b69fe2265b3a1214f2dda3179a253
4
+ data.tar.gz: dee8c3eba659eaa0d75b775aeb0ec270016db42c
5
5
  SHA512:
6
- metadata.gz: 3c047c92ca6f6ccd142afe0a88ba66f86dd8151498d7dbe306c27fc5112650c2904410f9b12a1c6d8a8ca5608a143e1127a96a3a79e433c817f7d88c98e8d9d9
7
- data.tar.gz: 48569294f88dc6b5e0fe170c329e357a5a06ea3ca5a76a6fe9525d4594bcb82695ade9c74ff4e4ae7926b7cedca884aae757c162af5cb13c3f2407a1d59c5a1f
6
+ metadata.gz: 744ab53e7b03a218f3468dfe08cf7383c758dc6f17ba499cb06dcab831c52af57b850b3064adcbf7df1c71d87ed62e0b323845abdb7a7b7c16a5cadfbd65b8b1
7
+ data.tar.gz: d0d3a7d661c1186791a1ac827e12829d4e7ee31ebe96ad2b99c2e50d72f6270dc3e0a92e90dd9efbdbd792740ea53b22672e593a7dde357683ae9c771f86fce1
data/Doxfile CHANGED
@@ -22,7 +22,9 @@ task :foobar => :foo do
22
22
  end
23
23
 
24
24
  task :install do
25
- repo_deploy :profile, "~/repo_test/profile"
25
+ repo_deploy :profile, "~/repo_test/profile" do
26
+ ln_s './current', '/var/www/profile'
27
+ end
26
28
  end
27
29
 
28
30
  task :broken => :foo do
@@ -78,7 +78,7 @@ module Shaddox
78
78
  end
79
79
  end
80
80
 
81
- def repo_deploy(repo_key, deploy_path, opts ={})
81
+ def repo_deploy(repo_key, deploy_path, opts ={}, &in_deploy_path_block)
82
82
  keep_releases = opts[:keep_releases] || 5
83
83
  repo = @repos[repo_key]
84
84
 
@@ -122,6 +122,8 @@ module Shaddox
122
122
  info 'Linking current to latest release', 1 if @debug
123
123
  ln_s release_path, './current'
124
124
  end
125
+
126
+ cd deploy_path, &in_deploy_path_block if block_given?
125
127
  end
126
128
 
127
129
  def install(package)
@@ -1,3 +1,3 @@
1
1
  module Shaddox
2
- VERSION = "0.0.28"
2
+ VERSION = "0.0.29"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shaddox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.28
4
+ version: 0.0.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - joshglendenning