vlad-push 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.txt +5 -3
  2. data/Rakefile +7 -0
  3. data/lib/vlad/push.rb +3 -2
  4. metadata +14 -12
data/README.txt CHANGED
@@ -1,10 +1,11 @@
1
- = vlad-push
1
+ = vlad-push {<img src="https://secure.travis-ci.org/jmervine/vlad-push.png?branch=master" alt="Build Status" />}[http://travis-ci.org/jmervine/vlad-push]
2
2
 
3
3
  * http://github.com/jmervine/vlad-push
4
+ * http://www.rubyops.net/2012/05/31/vlad-push
4
5
 
5
6
  == DESCRIPTION:
6
7
 
7
- Adds support to Vlad for pushing files to a remote server without SCM. (Really, pre 1.x didn't work as expected.)
8
+ Adds support to Vlad for pushing files to a remote server without SCM.
8
9
 
9
10
 
10
11
  == FEATURES/PROBLEMS:
@@ -33,6 +34,7 @@ Adds support to Vlad for pushing files to a remote server without SCM. (Really,
33
34
 
34
35
  set :deploy_to, "/web/root"
35
36
  set :repository, "/push/root"
37
+ set :extract_dir, "/tmp/repo"
36
38
  set :extract_file, "#{application}-#{release_name}.tgz"
37
39
 
38
40
  == REQUIREMENTS:
@@ -47,7 +49,7 @@ Adds support to Vlad for pushing files to a remote server without SCM. (Really,
47
49
 
48
50
  repository:: Vlad config param, should be set to a directory location
49
51
  to use as repo on remote server(s)
50
- <tt>:repository => "/tmp/repo"</tt>
52
+ :repository => "/tmp/repo"
51
53
  extract_file:: Name of tarball that vlad-push will generate, we suggest changing this
52
54
  extract_dir:: Path to a directory that we will create the extract in, defaults to "/tmp"
53
55
  domain:: See remote_task :domain variable
data/Rakefile CHANGED
@@ -8,4 +8,11 @@ Hoe.spec 'vlad-push' do
8
8
  extra_deps << ['vlad', '~> 2.0']
9
9
  end
10
10
 
11
+ begin
12
+ require 'vlad'
13
+ Vlad.load :scm => :push
14
+ rescue LoadError
15
+ # do nothing
16
+ end
17
+
11
18
  # vim: syntax=ruby
@@ -1,10 +1,11 @@
1
1
  require 'vlad'
2
+ include Rake::DSL
2
3
 
3
- # @author Joshua P. Mervine <jmervine@mervine.net>
4
+ # @author Joshua P. Mervine <joshua@mervine.net>
4
5
  #
5
6
  # Please see {file:lib/vlad/push.rb Vlad::Push Source} for Rake task documentation.
6
7
  class Vlad::Push
7
- VERSION = "1.1.1"
8
+ VERSION = "1.1.2"
8
9
 
9
10
  # @attribute[rw]
10
11
  # init Vlad::Push
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vlad-push
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-02 00:00:00.000000000Z
12
+ date: 2012-05-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: vlad
16
- requirement: &70325218998820 !ruby/object:Gem::Requirement
16
+ requirement: &8692060 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '2.0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70325218998820
24
+ version_requirements: *8692060
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rdoc
27
- requirement: &70325218998280 !ruby/object:Gem::Requirement
27
+ requirement: &8689920 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '3.10'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70325218998280
35
+ version_requirements: *8689920
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: hoe
38
- requirement: &70325218997760 !ruby/object:Gem::Requirement
38
+ requirement: &8705940 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,9 +43,8 @@ dependencies:
43
43
  version: '2.13'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70325218997760
46
+ version_requirements: *8705940
47
47
  description: Adds support to Vlad for pushing files to a remote server without SCM.
48
- (Really, pre 1.x didn't work as expected.)
49
48
  email:
50
49
  - joshua@mervine.net
51
50
  executables: []
@@ -77,18 +76,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
77
76
  version: '0'
78
77
  segments:
79
78
  - 0
80
- hash: 2321986802396206083
79
+ hash: 4252439929757962993
81
80
  required_rubygems_version: !ruby/object:Gem::Requirement
82
81
  none: false
83
82
  requirements:
84
83
  - - ! '>='
85
84
  - !ruby/object:Gem::Version
86
85
  version: '0'
86
+ segments:
87
+ - 0
88
+ hash: 4252439929757962993
87
89
  requirements: []
88
90
  rubyforge_project: vlad-push
89
- rubygems_version: 1.8.10
91
+ rubygems_version: 1.8.11
90
92
  signing_key:
91
93
  specification_version: 3
92
- summary: Adds support to Vlad for pushing files to a remote server without SCM
94
+ summary: Adds support to Vlad for pushing files to a remote server without SCM.
93
95
  test_files:
94
96
  - test/test_vlad_push.rb