db_backups 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/bin/db_backups +6 -3
- data/db_backups.gemspec +1 -1
- data/lib/db_backups/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b8d7579f62b5d40e73c071e4052901aa9bf87264
|
4
|
+
data.tar.gz: 8862446550adb30fbddedec039500b5f373de7de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9bf444e4a79e19504669b621edd447b07b208eb8ec00fbeb4d73451f02dc63082a410ad1197158e81b0f8a2617d0cf52f403d90435fddc1a6514d5050a029058
|
7
|
+
data.tar.gz: 07f9faec4be081e530b6f19faaf8b2c82f3b370b4cd71e142c7394bed805c4096a53921a14fb0b0bd583e7de0652ce0a07f036295b3d147c840eb7b4b5e12f33
|
data/CHANGELOG.md
ADDED
data/bin/db_backups
CHANGED
@@ -88,13 +88,16 @@ class DbBackups::CLI < Optitron::CLI
|
|
88
88
|
end
|
89
89
|
end
|
90
90
|
|
91
|
-
def
|
92
|
-
@
|
91
|
+
def app_dir
|
92
|
+
@app_dir ||= begin
|
93
|
+
pwd = `basename $(pwd)`.strip
|
94
|
+
pwd = `basename $(cd ..; pwd)`.strip if pwd == 'current'
|
95
|
+
end
|
93
96
|
end
|
94
97
|
|
95
98
|
def app
|
96
99
|
# TODO - fix the yuk :(
|
97
|
-
@app ||=
|
100
|
+
@app ||= app_dir == 'travel_management_platform' ? 'tmp' : app_dir
|
98
101
|
end
|
99
102
|
|
100
103
|
def environment
|
data/db_backups.gemspec
CHANGED
data/lib/db_backups/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: db_backups
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: optitron
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '1.14'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '1.14'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: terminal-table
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -75,6 +75,7 @@ extensions: []
|
|
75
75
|
extra_rdoc_files: []
|
76
76
|
files:
|
77
77
|
- .gitignore
|
78
|
+
- CHANGELOG.md
|
78
79
|
- Gemfile
|
79
80
|
- README.md
|
80
81
|
- Rakefile
|