cloud_backup 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/cloud_backup +6 -0
- data/lib/cloud_backup/cli.rb +1 -1
- data/lib/cloud_backup/dumper.rb +2 -1
- data/lib/cloud_backup/version.rb +1 -1
- metadata +5 -4
- data/lib/cloud_backup.rb +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dba0c7f461d2aae4b37c0e42f2b2db21f912d4f5
|
4
|
+
data.tar.gz: 68e912eca56fc4611b9832a1cd4c7944b85c8dc0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c38df4f723d7d970e1e38078ad5d6b8a9dade60c39e86307ca3f98fa231737008b3277e4aab7ab60886cef3b51d835bb7f39cfbc54ff3e51d6a9019d981ab351
|
7
|
+
data.tar.gz: 36ca656f59be3219e202f9b4e636d6802ef0b4216311efc30660052d60b7b3588d38fed951c4a0fafbbe4cc2cd4b2cf6c4da5a1230d80e3248eff3f29c48afcf
|
data/bin/cloud_backup
ADDED
data/lib/cloud_backup/cli.rb
CHANGED
data/lib/cloud_backup/dumper.rb
CHANGED
@@ -4,7 +4,8 @@ require 'yaml'
|
|
4
4
|
class Dumper
|
5
5
|
|
6
6
|
def initialize
|
7
|
-
|
7
|
+
settings_path = File.join(File.dirname(__FILE__), '../settings.yml')
|
8
|
+
settings = YAML.load_file(settings_path)
|
8
9
|
@app_key = settings['dropbox']['app_key']
|
9
10
|
@app_secret = settings['dropbox']['app_secret']
|
10
11
|
@db_name = settings['database']['db_name']
|
data/lib/cloud_backup/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloud_backup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Serdar Dogruyol
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-07-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dropbox-sdk
|
@@ -69,7 +69,8 @@ dependencies:
|
|
69
69
|
description: Backup files and database dumps to Cloud.
|
70
70
|
email:
|
71
71
|
- dogruyolserdar@gmail.com
|
72
|
-
executables:
|
72
|
+
executables:
|
73
|
+
- cloud_backup
|
73
74
|
extensions: []
|
74
75
|
extra_rdoc_files: []
|
75
76
|
files:
|
@@ -78,8 +79,8 @@ files:
|
|
78
79
|
- LICENSE.txt
|
79
80
|
- README.md
|
80
81
|
- Rakefile
|
82
|
+
- bin/cloud_backup
|
81
83
|
- cloud_backup.gemspec
|
82
|
-
- lib/cloud_backup.rb
|
83
84
|
- lib/cloud_backup/cli.rb
|
84
85
|
- lib/cloud_backup/dumper.rb
|
85
86
|
- lib/cloud_backup/version.rb
|