backy 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/backy/version.rb +1 -1
- data/lib/backy.rb +1 -1
- data/lib/tasks/backy.rake +5 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c722c0dea6c5dabab228ff15c733fc40d38fad6b
|
4
|
+
data.tar.gz: dcabec3a8253ac5466929e08209016352cec96de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6243f13b6042a47013c4d875846aeec35096dd47ea3c7858ade7e34f700f8ca4eaf46368f9370d1fedcc3b736ec35d5671b6b6dd40c829bf3396728035f170df
|
7
|
+
data.tar.gz: f047c2129ec1cc6b24682a097d46fb634528aa25ae36e2a9e67d45aa2d819e3cc1c23fa8cf73e32dd2cf5fbc0093ffd5d96a0e38cf2aeab365f0c991ed765be7
|
data/lib/backy/version.rb
CHANGED
data/lib/backy.rb
CHANGED
data/lib/tasks/backy.rake
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
namespace :backy do
|
2
2
|
|
3
|
-
config = Rails.configuration.database_configuration
|
4
|
-
@host = config[Rails.env]["host"]
|
5
|
-
@database = config[Rails.env]["database"]
|
6
|
-
@username = config[Rails.env]["username"]
|
7
|
-
@password = config[Rails.env]["password"]
|
3
|
+
@config = Rails.configuration.database_configuration
|
4
|
+
@host = @config[Rails.env]["host"]
|
5
|
+
@database = @config[Rails.env]["database"]
|
6
|
+
@username = @config[Rails.env]["username"]
|
7
|
+
@password = @config[Rails.env]["password"]
|
8
8
|
|
9
9
|
desc 'dumps database into db/backy.sql file'
|
10
10
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: backy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Konrad Strojny
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-03-
|
11
|
+
date: 2014-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|