data_sync 1.0.1 → 1.0.2

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: fc111c6646e46d6c074290c6adc95f6a8ca1b276
4
+ data.tar.gz: 68e6e174410fdc782a4f9c1590f77dd01e375c91
5
+ SHA512:
6
+ metadata.gz: 1e8de3f82ea5d7b47c7c6ba465ad84c0ca895cfd39027282dc2ebfe3597204aecbe60b5fb558da2eab19a03fe8c12618025cee9d926ec325600d889076cd4685
7
+ data.tar.gz: 8784de503a7448b232ad8292444d1dba24dd147e889a7b6b261614aa4c2738bb4726be7bfb3691f25b451c42759c25b35375ceaccd118ec1ae1977f1be80a5a7
@@ -1,10 +1,10 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'data_sync'
3
- s.version = '1.0.1'
4
- s.date = '2012-12-10'
3
+ s.version = '1.0.2'
4
+ s.date = '2013-12-11'
5
5
  s.summary = "Data sync rake tasks."
6
6
  s.description = "Rake tasks to sync data between development and production environments (servers)."
7
- s.authors = ["Tomislav Car", "Nikica Kapraljević", "Josip Bišćan"]
7
+ s.authors = ["Tomislav Car", "Nikola Kapraljević", "Josip Bišćan"]
8
8
  s.email = ["tomislav@infinum.hr", "nikola@infinum.hr", "josip@infinum.hr"]
9
9
  s.homepage = 'https://github.com/infinum/data_sync'
10
10
 
@@ -52,7 +52,7 @@ Capistrano::Configuration.instance.load do
52
52
  desc "Downloads the files in public/system"
53
53
  task :download_files, :roles => :db, :only => { :primary => true } do
54
54
  `mkdir -p public/system`
55
- execute_on_servers(options) do |servers|
55
+ execute_on_servers do |servers|
56
56
  logger.info "Pulling public/system via rsync"
57
57
  `rsync --delete -r #{user}@#{servers.first}:#{deploy_to}/#{current_dir}/public/system/* public/system`
58
58
  end
@@ -75,7 +75,7 @@ namespace :db do
75
75
  mysql_dump_command << " < production_data.sql"
76
76
  commands << mysql_dump_command.join(' ')
77
77
 
78
- commands << "rm -fr #{Rails.root.join('db', 'production_data.tar.bz2')} #{Rails.root.join('db', 'production_data.sql')}"
78
+ commands << "rm -fr #{Rails.root.join('db', 'production_data.tar.bz2')}"
79
79
 
80
80
  `#{commands.join(' && ')}`
81
81
  elsif databases[Rails.env]["adapter"] == 'mongodb'
metadata CHANGED
@@ -1,32 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: data_sync
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
5
- prerelease:
4
+ version: 1.0.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Tomislav Car
9
- - Nikica Kapraljević
8
+ - Nikola Kapraljević
10
9
  - Josip Bišćan
11
10
  autorequire:
12
11
  bindir: bin
13
12
  cert_chain: []
14
- date: 2012-12-10 00:00:00.000000000 Z
13
+ date: 2013-12-11 00:00:00.000000000 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: capistrano
18
17
  requirement: !ruby/object:Gem::Requirement
19
- none: false
20
18
  requirements:
21
- - - ! '>='
19
+ - - '>='
22
20
  - !ruby/object:Gem::Version
23
21
  version: '0'
24
22
  type: :runtime
25
23
  prerelease: false
26
24
  version_requirements: !ruby/object:Gem::Requirement
27
- none: false
28
25
  requirements:
29
- - - ! '>='
26
+ - - '>='
30
27
  - !ruby/object:Gem::Version
31
28
  version: '0'
32
29
  description: Rake tasks to sync data between development and production environments
@@ -49,26 +46,25 @@ files:
49
46
  - lib/tasks/data_sync.rake
50
47
  homepage: https://github.com/infinum/data_sync
51
48
  licenses: []
49
+ metadata: {}
52
50
  post_install_message:
53
51
  rdoc_options: []
54
52
  require_paths:
55
53
  - lib
56
54
  required_ruby_version: !ruby/object:Gem::Requirement
57
- none: false
58
55
  requirements:
59
- - - ! '>='
56
+ - - '>='
60
57
  - !ruby/object:Gem::Version
61
58
  version: '0'
62
59
  required_rubygems_version: !ruby/object:Gem::Requirement
63
- none: false
64
60
  requirements:
65
- - - ! '>='
61
+ - - '>='
66
62
  - !ruby/object:Gem::Version
67
63
  version: '0'
68
64
  requirements: []
69
65
  rubyforge_project:
70
- rubygems_version: 1.8.24
66
+ rubygems_version: 2.0.3
71
67
  signing_key:
72
- specification_version: 3
68
+ specification_version: 4
73
69
  summary: Data sync rake tasks.
74
70
  test_files: []