dumper 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -0
- data/lib/dumper/database/mysql.rb +1 -1
- data/lib/dumper/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc67a3551d6fadb7312bad9ee2dbddd219c2dc3b
|
4
|
+
data.tar.gz: 1d4ffa897a99ea3e7ca95e879ac4c820171b298c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31dc3678e4ac56809d993a15934275f611ac7300b6f2ac9e050bbaf9b08201025632b1f08335a4a01775b67d5942b6c90019d4882b8380685cdc55ca25878471
|
7
|
+
data.tar.gz: 6b0e5347236dcd7ec5745c14c2261bf8c87a8d7116e4b14771d75d8e5900478cd0b97574ab204d0f6805010d6d297144c25b248d7ec9120f8d251b00a70264a2
|
data/README.md
CHANGED
@@ -20,6 +20,13 @@ Add the following line to your Rails project Gemfile:
|
|
20
20
|
gem 'dumper'
|
21
21
|
```
|
22
22
|
|
23
|
+
If your database is larger than 300MB, it is recommended to also include `aws-sdk` gem for maximum stability.
|
24
|
+
|
25
|
+
```ruby
|
26
|
+
gem 'aws-sdk', '>= 1.8.1.2'
|
27
|
+
gem 'dumper'
|
28
|
+
```
|
29
|
+
|
23
30
|
then create `config/initializers/dumper.rb` and add the following line:
|
24
31
|
|
25
32
|
```ruby
|
@@ -23,7 +23,7 @@ module Dumper
|
|
23
23
|
return unless defined?(ActiveRecord::Base) &&
|
24
24
|
ActiveRecord::Base.configurations &&
|
25
25
|
(config = ActiveRecord::Base.configurations[rails_env]) &&
|
26
|
-
%w(mysql mysql2).include?(config['adapter'])
|
26
|
+
%w(mysql mysql2 mysql2spatial).include?(config['adapter'])
|
27
27
|
|
28
28
|
@config = {
|
29
29
|
:host => config['host'],
|
data/lib/dumper/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dumper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kenn Ejima
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multi_json
|
@@ -195,3 +195,4 @@ summary: The Dumper Agent for Rails
|
|
195
195
|
test_files:
|
196
196
|
- spec/dumper_spec.rb
|
197
197
|
- spec/spec_helper.rb
|
198
|
+
has_rdoc:
|