synchrotron 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/lib/synchrotron/version.rb +1 -1
- data/lib/synchrotron.rb +6 -2
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
MWRiZTk4ZTQ2Y2Q2NjllYTFkMjRiNzZkZmIxNjBjOGRhNGM4MWVmNA==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
NDVlOGZiYWRkYmFlMTQxZGQxODEyZThkYWRlZGYwZGQwZTFmNzI1Mw==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
NGI3NTc5NjNjZWY4YmY1ZTE4MjBkZmFkYmQ2NjNjYmY3MWJlNGQ1MjFiZGYx
|
10
|
+
MjY1NmU5ZTMwMWJkYWRmMGQ5MWIwMTFiMjE4M2EyNjU3ZTkzYzQ5MWMwYzZl
|
11
|
+
NTZmNGQ3YWY2NTEzYjNjNDU2Y2Q5YWQwYzIxZmYzYzk5Nzk4Y2M=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
NTNjZTgxOGYxZDFmZWM0ZjgzNDVmMmI2YmE2N2FlNjMyNDNhZDk2YTI4OTNl
|
14
|
+
ZWJiMTU4ZTUyM2MwZDYwYTIwYmFjMmQ2ZWFiMGM3NjliZDhmNGI0ZGY4MWRl
|
15
|
+
ZDE5ODM2YjA0M2QzNjFjNGZhZmQ1NjRiOGI0Zjg5ODMwNDg0NDU=
|
data/lib/synchrotron/version.rb
CHANGED
data/lib/synchrotron.rb
CHANGED
@@ -113,10 +113,14 @@ module Synchrotron; class << self
|
|
113
113
|
|
114
114
|
lines = 0
|
115
115
|
`#{rsync_cmd}`.each_line {|line| @log.info line; lines = lines + 1 }
|
116
|
-
|
116
|
+
|
117
117
|
if @config[:notify] && lines > 0
|
118
118
|
require 'terminal-notifier'
|
119
|
-
|
119
|
+
|
120
|
+
TerminalNotifier.notify("Synced #{lines} files to #{rsync_remote}",
|
121
|
+
:title => 'Synchrotron',
|
122
|
+
:sender => 'com.apple.Terminal',
|
123
|
+
:group => Process.pid)
|
120
124
|
end
|
121
125
|
end
|
122
126
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: synchrotron
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Grove
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-10-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rb-fsevent
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
33
|
+
version: 1.5.1
|
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: 1.
|
40
|
+
version: 1.5.1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: trollop
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -75,19 +75,20 @@ require_paths:
|
|
75
75
|
- lib
|
76
76
|
required_ruby_version: !ruby/object:Gem::Requirement
|
77
77
|
requirements:
|
78
|
-
- - '>='
|
78
|
+
- - ! '>='
|
79
79
|
- !ruby/object:Gem::Version
|
80
80
|
version: 1.8.7
|
81
81
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
82
82
|
requirements:
|
83
|
-
- - '>='
|
83
|
+
- - ! '>='
|
84
84
|
- !ruby/object:Gem::Version
|
85
85
|
version: 1.2.0
|
86
86
|
requirements: []
|
87
87
|
rubyforge_project:
|
88
|
-
rubygems_version: 2.
|
88
|
+
rubygems_version: 2.1.3
|
89
89
|
signing_key:
|
90
90
|
specification_version: 4
|
91
91
|
summary: Synchrotron monitors a local directory tree and performs nearly instantaneous
|
92
92
|
one-way synchronization of changes to a remote directory using rsync.
|
93
93
|
test_files: []
|
94
|
+
has_rdoc:
|