syncoku 0.0.5 → 0.0.6
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.
- checksums.yaml +4 -4
- data/lib/syncoku/capture_backup.rb +2 -1
- data/lib/syncoku/git.rb +8 -0
- data/lib/syncoku/remote.rb +2 -1
- data/lib/syncoku/version.rb +1 -1
- data/lib/syncoku.rb +1 -0
- 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: 8f8b9fffe969e9ee7c3af090f432905389bbddc3
|
4
|
+
data.tar.gz: cf3a8cb3c0d8fa6056c5ba5eef1e0ccb70ab4156
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d05acec9101f75a5d77d7d044fc10e7659aadd874dff9f5e9319a785048924abab66ca80c2291d01c627dcc1611de722a1e00bca8f1aa459be02c67140986204
|
7
|
+
data.tar.gz: 56bfc98a76661cc88141b4eb72d2c3a276651f17a89d9e6e088dd93d45c10f624fc37a06253a82ed2597595788283544df2a4a4528f0d315b04a3c7505011c19
|
@@ -1,6 +1,7 @@
|
|
1
1
|
module Syncoku
|
2
2
|
module CaptureBackup
|
3
3
|
include Runnable
|
4
|
+
include Git
|
4
5
|
|
5
6
|
def capture
|
6
7
|
puts "Capturing #{production_app_name} backup..."
|
@@ -14,7 +15,7 @@ module Syncoku
|
|
14
15
|
|
15
16
|
|
16
17
|
def production_app_name
|
17
|
-
@production_app_name ||=
|
18
|
+
@production_app_name ||= extract_app_name 'production'
|
18
19
|
end
|
19
20
|
|
20
21
|
end
|
data/lib/syncoku/git.rb
ADDED
data/lib/syncoku/remote.rb
CHANGED
@@ -3,6 +3,7 @@ module Syncoku
|
|
3
3
|
# Responsible for syncing to a remote app
|
4
4
|
class Remote
|
5
5
|
include Runnable
|
6
|
+
include Git
|
6
7
|
|
7
8
|
attr_reader :remote
|
8
9
|
|
@@ -28,7 +29,7 @@ module Syncoku
|
|
28
29
|
end
|
29
30
|
|
30
31
|
def app_name
|
31
|
-
@app_name ||=
|
32
|
+
@app_name ||= extract_app_name remote
|
32
33
|
end
|
33
34
|
|
34
35
|
end
|
data/lib/syncoku/version.rb
CHANGED
data/lib/syncoku.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: syncoku
|
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
|
- Bill Horsman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-12-
|
11
|
+
date: 2016-12-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -69,6 +69,7 @@ files:
|
|
69
69
|
- lib/syncoku.rb
|
70
70
|
- lib/syncoku/capture_backup.rb
|
71
71
|
- lib/syncoku/control.rb
|
72
|
+
- lib/syncoku/git.rb
|
72
73
|
- lib/syncoku/local.rb
|
73
74
|
- lib/syncoku/local_db.rb
|
74
75
|
- lib/syncoku/remote.rb
|