blavosync 0.4.0 → 0.4.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 +23 -29
- data/README.rdoc +3 -2
- data/Rakefile +5 -7
- data/VERSION +1 -1
- data/lib/blavosync/recipes/local.rb +1 -1
- data/lib/blavosync.rb +1 -1
- metadata +26 -33
data/Blavosync.gemspec
CHANGED
|
@@ -1,56 +1,50 @@
|
|
|
1
1
|
# Generated by jeweler
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{blavosync}
|
|
8
|
-
s.version = "0.4.
|
|
8
|
+
s.version = "0.4.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{2012-09-17}
|
|
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 = [
|
|
16
16
|
"LICENSE",
|
|
17
|
-
|
|
17
|
+
"README.rdoc"
|
|
18
18
|
]
|
|
19
19
|
s.files = [
|
|
20
20
|
"Blavosync.gemspec",
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
21
|
+
"History.txt",
|
|
22
|
+
"LICENSE",
|
|
23
|
+
"Manifest.txt",
|
|
24
|
+
"README.rdoc",
|
|
25
|
+
"Rakefile",
|
|
26
|
+
"VERSION",
|
|
27
|
+
"lib/blavosync.rb",
|
|
28
|
+
"lib/blavosync/lib/ey_logger.rb",
|
|
29
|
+
"lib/blavosync/lib/ey_logger_hooks.rb",
|
|
30
|
+
"lib/blavosync/recipes.rb",
|
|
31
|
+
"lib/blavosync/recipes/content_rsync.rb",
|
|
32
|
+
"lib/blavosync/recipes/content_tar.rb",
|
|
33
|
+
"lib/blavosync/recipes/database.rb",
|
|
34
|
+
"lib/blavosync/recipes/local.rb",
|
|
35
|
+
"lib/blavosync/recipes/util.rb",
|
|
36
|
+
"test/test_blavosync.rb",
|
|
37
|
+
"test/test_helper.rb"
|
|
38
38
|
]
|
|
39
39
|
s.homepage = %q{http://github.com/indierockmedia/Blavosync}
|
|
40
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
|
41
40
|
s.require_paths = ["lib"]
|
|
42
|
-
s.rubygems_version = %q{1.3
|
|
41
|
+
s.rubygems_version = %q{1.5.3}
|
|
43
42
|
s.summary = %q{Sync a remote db and rsync content to your development environment.}
|
|
44
|
-
s.test_files = [
|
|
45
|
-
"test/test_blavosync.rb",
|
|
46
|
-
"test/test_helper.rb"
|
|
47
|
-
]
|
|
48
43
|
|
|
49
44
|
if s.respond_to? :specification_version then
|
|
50
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
|
51
45
|
s.specification_version = 3
|
|
52
46
|
|
|
53
|
-
if Gem::Version.new(Gem::
|
|
47
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
|
54
48
|
else
|
|
55
49
|
end
|
|
56
50
|
else
|
data/README.rdoc
CHANGED
|
@@ -52,13 +52,14 @@ Wrapper for *local:backup_db* and *local:restore\_db*.
|
|
|
52
52
|
== Variables
|
|
53
53
|
|
|
54
54
|
set :content_directory, 'not_system_because_i_roll_non_standard_style'
|
|
55
|
+
set :exclude_tables, [:sessions, :large_useless_table] # excludes data but still fetches schema
|
|
55
56
|
|
|
56
|
-
For subcommands try
|
|
57
|
+
For subcommands try
|
|
57
58
|
|
|
58
59
|
cap -T local
|
|
59
60
|
|
|
60
61
|
==== Note on Patches/Pull Requests
|
|
61
|
-
|
|
62
|
+
|
|
62
63
|
* Fork the project.
|
|
63
64
|
* Make your feature addition or bug fix.
|
|
64
65
|
* Add tests for it. This is important so I don't break it in a
|
data/Rakefile
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
require 'rubygems'
|
|
2
2
|
require 'rake'
|
|
3
3
|
|
|
4
|
-
begin
|
|
4
|
+
# begin
|
|
5
5
|
require 'jeweler'
|
|
6
6
|
Jeweler::Tasks.new do |gem|
|
|
7
7
|
gem.name = "blavosync"
|
|
@@ -14,9 +14,9 @@ begin
|
|
|
14
14
|
|
|
15
15
|
end
|
|
16
16
|
Jeweler::GemcutterTasks.new
|
|
17
|
-
rescue LoadError
|
|
18
|
-
|
|
19
|
-
end
|
|
17
|
+
# rescue LoadError
|
|
18
|
+
# puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
|
|
19
|
+
# end
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
require 'rake/testtask'
|
|
@@ -39,11 +39,9 @@ rescue LoadError
|
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
task :test => :check_dependencies
|
|
43
|
-
|
|
44
42
|
task :default => :test
|
|
45
43
|
|
|
46
|
-
require '
|
|
44
|
+
require 'rdoc/task'
|
|
47
45
|
Rake::RDocTask.new do |rdoc|
|
|
48
46
|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
|
49
47
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.4.
|
|
1
|
+
0.4.1
|
|
@@ -125,7 +125,7 @@ Capistrano::Configuration.instance(:must_exist).load do |configuration|
|
|
|
125
125
|
|
|
126
126
|
def generate_remote_db_backup
|
|
127
127
|
run "mysqldump --opt --no-data #{mysql_connection_for(from_env)} > #{db_schema_backup_file}"
|
|
128
|
-
run "mysqldump --no-create-info #{exlude_table_command} #{mysql_connection_for(from_env)} > #{db_backup_file}"
|
|
128
|
+
run "mysqldump --opt --no-create-info #{exlude_table_command} #{mysql_connection_for(from_env)} > #{db_backup_file}"
|
|
129
129
|
run "rm -f #{db_backup_zip_file} && #{zip} #{db_backup_file} && rm -f #{db_backup_file}"
|
|
130
130
|
run "rm -f #{db_schema_backup_zip_file} && #{zip} #{db_schema_backup_file} && rm -f #{db_schema_backup_file}"
|
|
131
131
|
end
|
data/lib/blavosync.rb
CHANGED
metadata
CHANGED
|
@@ -1,28 +1,26 @@
|
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: blavosync
|
|
3
|
-
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.4.1
|
|
5
|
+
prerelease:
|
|
5
6
|
platform: ruby
|
|
6
|
-
authors:
|
|
7
|
+
authors:
|
|
7
8
|
- jayronc
|
|
8
9
|
autorequire:
|
|
9
10
|
bindir: bin
|
|
10
11
|
cert_chain: []
|
|
11
|
-
|
|
12
|
-
date: 2010-03-19 00:00:00 -04:00
|
|
12
|
+
date: 2012-09-17 00:00:00.000000000 -04:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies: []
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
description: Sync a remote db and rsync content to your development environment. Useful
|
|
16
|
+
for small teams and developers who are not able to do this manually.
|
|
17
17
|
email: jerrodblavos@mac.com
|
|
18
18
|
executables: []
|
|
19
|
-
|
|
20
19
|
extensions: []
|
|
21
|
-
|
|
22
|
-
extra_rdoc_files:
|
|
20
|
+
extra_rdoc_files:
|
|
23
21
|
- LICENSE
|
|
24
22
|
- README.rdoc
|
|
25
|
-
files:
|
|
23
|
+
files:
|
|
26
24
|
- Blavosync.gemspec
|
|
27
25
|
- History.txt
|
|
28
26
|
- LICENSE
|
|
@@ -44,31 +42,26 @@ files:
|
|
|
44
42
|
has_rdoc: true
|
|
45
43
|
homepage: http://github.com/indierockmedia/Blavosync
|
|
46
44
|
licenses: []
|
|
47
|
-
|
|
48
45
|
post_install_message:
|
|
49
|
-
rdoc_options:
|
|
50
|
-
|
|
51
|
-
require_paths:
|
|
46
|
+
rdoc_options: []
|
|
47
|
+
require_paths:
|
|
52
48
|
- lib
|
|
53
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
49
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
50
|
+
none: false
|
|
51
|
+
requirements:
|
|
52
|
+
- - ! '>='
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: '0'
|
|
55
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
56
|
+
none: false
|
|
57
|
+
requirements:
|
|
58
|
+
- - ! '>='
|
|
59
|
+
- !ruby/object:Gem::Version
|
|
60
|
+
version: '0'
|
|
65
61
|
requirements: []
|
|
66
|
-
|
|
67
62
|
rubyforge_project:
|
|
68
|
-
rubygems_version: 1.3
|
|
63
|
+
rubygems_version: 1.5.3
|
|
69
64
|
signing_key:
|
|
70
65
|
specification_version: 3
|
|
71
66
|
summary: Sync a remote db and rsync content to your development environment.
|
|
72
|
-
test_files:
|
|
73
|
-
- test/test_blavosync.rb
|
|
74
|
-
- test/test_helper.rb
|
|
67
|
+
test_files: []
|