git_sync 0.0.3 → 0.0.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 742eb32b897225a33dbb6ca602f7fd1c530f722a
4
- data.tar.gz: d9c1b39402c56eac3ab876e5fe4372dac81cba75
3
+ metadata.gz: 297e098854e1493040cdeecc569e052dfc42587f
4
+ data.tar.gz: 503b23e0027036182a3d3c399539c12f49a06693
5
5
  SHA512:
6
- metadata.gz: 3c19d41ff9d3536c65fe7831353672e9712fc92f1e48f61c0c105d55e2f8e7bbb3c059d27e03c3a34e4d9d09a12b41613f812c02ca31100071f83204ac37fc44
7
- data.tar.gz: ad98e0dfb07b1704a8c8886e24a007742d83d52dd2ec611c4a8db5bfa9207c3cfb35c96793f3398a64d5796b6ddd4cad3152eeec69a65d8ebb0d70c014064f91
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
 
@@ -1,3 +1,3 @@
1
1
  module GitSync
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -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 `#{command}`
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 `#{command}`
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.3
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: 2014-11-21 00:00:00.000000000 Z
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.2.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