dbsync 1.0.0.beta3 → 1.0.0.beta4

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/README.md CHANGED
@@ -49,6 +49,8 @@ Dbsync.db_config = {
49
49
  }
50
50
  ```
51
51
 
52
+ You can place this anywhere you want. If a `dbsync_setup.rb` or `config/dbsync_setup.rb` file exist in the root of your project, they will automatically be loaded. This is a good place to put your dbsync setup. It is recommneded that you do not keep this file in source control, because it probably contains sensitive information.
53
+
52
54
  ### The server
53
55
 
54
56
  Now just make sure you have something on the remote server updating that dumpfile. I recommend a cronjob:
@@ -75,7 +77,7 @@ rake dbsync:reset # Drop and Create the database, then load the dump file
75
77
 
76
78
 
77
79
  ### Download strategies
78
- `curl` and `rsync` are currently the only two supported options. You can pass a `strategy` option to the dbsync config (`:curl` or `:rsync`) to explicitly specify which strategy to use, or Dbsync will try to infer the strategy. Right now the strategy inference is a little dodgy, so it's best to just specify explicitly.
80
+ `curl` and `rsync` are currently the only two supported options. You can pass a `strategy` option to the dbsync config (`:curl` or `:rsync`) to explicitly specify which strategy to use, or Dbsync will try to infer the strategy. Right now the strategy inference is a little dodgy (relying on string matching), so it's best to just specify explicitly.
79
81
 
80
82
  ```ruby
81
83
  config.dbsync = {
@@ -14,7 +14,7 @@ module Dbsync
14
14
  if defined?(Rails)
15
15
  class Railtie < Rails::Railtie
16
16
  rake_tasks do
17
- load File.expand_path("dbsync/rake_tasks.rb", __FILE__)
17
+ load File.expand_path("../dbsync/rake_tasks.rb", __FILE__)
18
18
  end
19
19
  end
20
20
  end
@@ -1,3 +1,3 @@
1
1
  module Dbsync
2
- VERSION = "1.0.0.beta3"
2
+ VERSION = "1.0.0.beta4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dbsync
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.beta3
4
+ version: 1.0.0.beta4
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-08-20 00:00:00.000000000 Z
12
+ date: 2014-08-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cocaine
@@ -102,7 +102,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
102
102
  version: '0'
103
103
  segments:
104
104
  - 0
105
- hash: 1925122086461519938
105
+ hash: -94913612682962409
106
106
  required_rubygems_version: !ruby/object:Gem::Requirement
107
107
  none: false
108
108
  requirements: