git_sync 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/git_sync/version.rb +1 -1
- data/lib/tasks/git_sync_tasks.rake +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 297e098854e1493040cdeecc569e052dfc42587f
|
4
|
+
data.tar.gz: 503b23e0027036182a3d3c399539c12f49a06693
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7761e2a9b3e06651e1a63fbb6663039aa96a71b305080439041f214f2d9ca72d8d9f52baa23d1fbcdfc69ec8457e4ebbc7098cb7961f4efee06e4b2f3b0677e1
|
7
|
+
data.tar.gz: f0de698397081a7818e76a81af839a93bd8690573924565b26eccaa759bfd23d2e35a135a4e991160d68933ae4fef760240a663139512e751b6149775d7caec7
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# GitSync
|
2
2
|
|
3
|
-
GitSync is a ridiculously simple gem that simplifies the process of transferring your content managed files.
|
3
|
+
GitSync is a ridiculously simple gem for Rails that simplifies the process of transferring your content managed files.
|
4
4
|
|
5
5
|
Suppose you are using [Paperclip](https://github.com/thoughtbot/paperclip) to store your file uploads under `public/system`. Like a good developer you have added this directory to your `.gitignore` file, because content doesn't belong in the repo. So you have a bunch of avatars or documents in one place and you need to get them somewhere else. What do you do? Rsync to the rescue!
|
6
6
|
|
data/lib/git_sync/version.rb
CHANGED
@@ -29,7 +29,7 @@ private
|
|
29
29
|
if remote_url
|
30
30
|
command = "rsync -ruzv public/system #{remote_url}/public/"
|
31
31
|
logger.info "Running command: #{command}"
|
32
|
-
logger.info
|
32
|
+
IO.popen(command).each{ |output| logger.info(output.chomp) }
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
@@ -38,7 +38,7 @@ private
|
|
38
38
|
if remote_url
|
39
39
|
command = "rsync -ruzv #{remote_url}/public/system public/"
|
40
40
|
logger.info "Running command: #{command}"
|
41
|
-
logger.info
|
41
|
+
IO.popen(command).each{ |output| logger.info(output.chomp) }
|
42
42
|
end
|
43
43
|
end
|
44
44
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git_sync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Westlake Design
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
92
92
|
version: '0'
|
93
93
|
requirements: []
|
94
94
|
rubyforge_project:
|
95
|
-
rubygems_version: 2.
|
95
|
+
rubygems_version: 2.4.6
|
96
96
|
signing_key:
|
97
97
|
specification_version: 4
|
98
98
|
summary: Easily push and pull your public/system assets on remote servers
|