blavosync 0.5.0 → 0.5.1
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/Blavosync.gemspec +2 -2
- data/VERSION +1 -1
- data/lib/blavosync/recipes/content_rsync.rb +4 -2
- data/lib/blavosync.rb +1 -1
- metadata +39 -21
data/Blavosync.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{blavosync}
|
|
8
|
-
s.version = "0.5.
|
|
8
|
+
s.version = "0.5.1"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["jayronc"]
|
|
12
|
-
s.date = %q{
|
|
12
|
+
s.date = %q{2013-08-27}
|
|
13
13
|
s.description = %q{Sync a remote db and rsync content to your development environment. Useful for small teams and developers who are not able to do this manually.}
|
|
14
14
|
s.email = %q{jerrodblavos@mac.com}
|
|
15
15
|
s.extra_rdoc_files = [
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.5.
|
|
1
|
+
0.5.1
|
|
@@ -15,8 +15,10 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
|
15
15
|
if exists?(:user)
|
|
16
16
|
remote_user = fetch(:user)
|
|
17
17
|
end
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
if exists?(:port)
|
|
19
|
+
remote_port = "-p #{fetch(:user)}"
|
|
20
|
+
end
|
|
21
|
+
system("rsync -avz -e 'ssh #{remote_port}' '#{[remote_user, remote_domain].join("@")}:#{content_path}' '#{rails_root}/tmp/'")
|
|
20
22
|
end
|
|
21
23
|
|
|
22
24
|
desc <<-DESC
|
data/lib/blavosync.rb
CHANGED
metadata
CHANGED
|
@@ -1,26 +1,34 @@
|
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: blavosync
|
|
3
|
-
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
hash: 9
|
|
5
5
|
prerelease:
|
|
6
|
+
segments:
|
|
7
|
+
- 0
|
|
8
|
+
- 5
|
|
9
|
+
- 1
|
|
10
|
+
version: 0.5.1
|
|
6
11
|
platform: ruby
|
|
7
|
-
authors:
|
|
12
|
+
authors:
|
|
8
13
|
- jayronc
|
|
9
14
|
autorequire:
|
|
10
15
|
bindir: bin
|
|
11
16
|
cert_chain: []
|
|
12
|
-
|
|
17
|
+
|
|
18
|
+
date: 2013-08-27 00:00:00 -04:00
|
|
13
19
|
default_executable:
|
|
14
20
|
dependencies: []
|
|
15
|
-
|
|
16
|
-
for small teams and developers who are not able to do this manually.
|
|
21
|
+
|
|
22
|
+
description: Sync a remote db and rsync content to your development environment. Useful for small teams and developers who are not able to do this manually.
|
|
17
23
|
email: jerrodblavos@mac.com
|
|
18
24
|
executables: []
|
|
25
|
+
|
|
19
26
|
extensions: []
|
|
20
|
-
|
|
27
|
+
|
|
28
|
+
extra_rdoc_files:
|
|
21
29
|
- LICENSE
|
|
22
30
|
- README.rdoc
|
|
23
|
-
files:
|
|
31
|
+
files:
|
|
24
32
|
- Blavosync.gemspec
|
|
25
33
|
- History.txt
|
|
26
34
|
- LICENSE
|
|
@@ -42,26 +50,36 @@ files:
|
|
|
42
50
|
has_rdoc: true
|
|
43
51
|
homepage: http://github.com/indierockmedia/Blavosync
|
|
44
52
|
licenses: []
|
|
53
|
+
|
|
45
54
|
post_install_message:
|
|
46
55
|
rdoc_options: []
|
|
47
|
-
|
|
56
|
+
|
|
57
|
+
require_paths:
|
|
48
58
|
- lib
|
|
49
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
|
59
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
50
60
|
none: false
|
|
51
|
-
requirements:
|
|
52
|
-
- -
|
|
53
|
-
- !ruby/object:Gem::Version
|
|
54
|
-
|
|
55
|
-
|
|
61
|
+
requirements:
|
|
62
|
+
- - ">="
|
|
63
|
+
- !ruby/object:Gem::Version
|
|
64
|
+
hash: 3
|
|
65
|
+
segments:
|
|
66
|
+
- 0
|
|
67
|
+
version: "0"
|
|
68
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
56
69
|
none: false
|
|
57
|
-
requirements:
|
|
58
|
-
- -
|
|
59
|
-
- !ruby/object:Gem::Version
|
|
60
|
-
|
|
70
|
+
requirements:
|
|
71
|
+
- - ">="
|
|
72
|
+
- !ruby/object:Gem::Version
|
|
73
|
+
hash: 3
|
|
74
|
+
segments:
|
|
75
|
+
- 0
|
|
76
|
+
version: "0"
|
|
61
77
|
requirements: []
|
|
78
|
+
|
|
62
79
|
rubyforge_project:
|
|
63
|
-
rubygems_version: 1.5.
|
|
80
|
+
rubygems_version: 1.5.2
|
|
64
81
|
signing_key:
|
|
65
82
|
specification_version: 3
|
|
66
83
|
summary: Sync a remote db and rsync content to your development environment.
|
|
67
84
|
test_files: []
|
|
85
|
+
|