capistrano-db-sync 0.0.13 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 61a00da50099a5a15b3e8c8281064a1a7f2bc759
4
- data.tar.gz: 637491ea039f1b33ed2b0a5247002a4133653725
3
+ metadata.gz: 7a795956c9a560caa468f69525d691341dd4f672
4
+ data.tar.gz: 62c6af9bba2a68319e468af30f10da95a6965421
5
5
  SHA512:
6
- metadata.gz: 2227e4376dca58e3a0a563019fb60d28f7d650dc0d0ea33e5d6fa481d38c6cfe5e07e9484fb4b750cc71f2ea5e99be4464353ef09fe3557d3b4ef1dff962bc3b
7
- data.tar.gz: 4f1c40b19b59b844d30724ecadd6683be3d0a9983e234c541b6c40a03a8148a55ed1d76036091e27806148ed12ecd1b4c63d08bbd945e5c55fa01442699e5732
6
+ metadata.gz: 895f9357d7d3729d97428ec98e35f47a1d0bcee45721b5a72dd4b7823fc38e8fa143a08aa1eadb4a4ae8a400f1b594caa26f89f793df66257a3f749a3ad3ebdc
7
+ data.tar.gz: 3c98422b7f183422df21f346193742a3441c608d5858b9795b08be0fcb724f0f20a090560abed79977c9821dbca14e9a2abfb2fe825487a024f0a07ed325b39a
data/README.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # capistrano-db-sync
2
2
 
3
+ ## Prerequisites
4
+ Install Ruby and Capistrano
5
+
6
+ ### Download and install Ruby
7
+ Download and install Ruby for windows with the RubyInstaller available at [RubyInstaller](https://rubyinstaller.org)
8
+
9
+ ### Install Capistrano
10
+ The following command will install the latest released Capistrano :
11
+
12
+ ```ruby
13
+ gem install capistrano
14
+ ```
15
+
3
16
  ## Install
4
17
 
5
18
  Download and install the gem :
@@ -16,7 +29,12 @@ require 'capistrano/db-sync'
16
29
 
17
30
  ## Available tasks
18
31
  ```
19
- db:sync:pull # Synchronize your local database using remote database
20
- db:sync:push # Synchronize your remote database using local database
32
+ db:sync:remote_to_local # Synchronize your local database using remote database
33
+ db:sync:local_to_remote # Synchronize your remote database using local database
21
34
  ```
22
35
 
36
+ ## Example
37
+
38
+ ```
39
+ cap production db:sync:remote_to_local
40
+ ```
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'capistrano-db-sync'
7
- spec.version = '0.0.13'
7
+ spec.version = '0.0.14'
8
8
  spec.date = Date.today.to_s
9
9
  spec.summary = "Capistrano synchronization databases task"
10
10
  spec.description = "Capistrano synchronization task for syncing databases between the local development environment and different multi_stage environments"
@@ -40,7 +40,7 @@ namespace :db do
40
40
  Retrieves a remote database from the selected stage environment to the local development
41
41
  environment. The database credentials will be read from your local config/database.yml file.
42
42
  DESC
43
- task :remote_to_locale do
43
+ task :remote_to_local do
44
44
  on roles(:all) do
45
45
  # Backup de la base donnée distante
46
46
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-db-sync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Albuisson Stéphane