odisk 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 894e016fdb7500d4c16de0066f8165943f6aba8f
4
- data.tar.gz: f88e240eaefcf75d4f16781221014af8c1940b33
3
+ metadata.gz: e47c67f5f819c4407c0abf408cfd60dbc73500f9
4
+ data.tar.gz: 5d46d912edaea7dafa30ddb77501faeacb11353b
5
5
  SHA512:
6
- metadata.gz: eadc880cf4cb6ab1f9827c9475c72e8a06542406d25e9fb873c6192780595a1867daa952059a94fe3de183446f116ebfa215515416a858e99a961d54b5464b03
7
- data.tar.gz: 60d03915af7ad91af8ad4f37a99b86037f64deb33919356cd0692789ab45f8aaedfed795092febe0ad420ca96bd29efd6cb414bde0e91cdcc982b46e8c95e721
6
+ metadata.gz: e009aef9fed7f59faec64e2c76ad2bae9dde297cf659afb22b30271dc262c455b25c9d9664cd7ad8bea8cb7c820d236ffcdd76a9524f667105aba6dd91d87f4a
7
+ data.tar.gz: a87cbd291609febc9406e6baf46dfd242b0d1f9a17cbc1d904c85d9c42a4363a4f4a393c44334894605a2ad11c5d90261e0926aa94b406560cf2090f10aa7187
data/README.md CHANGED
@@ -25,6 +25,10 @@ which utilizes an alternative approach to dealing with multiple threads.
25
25
 
26
26
  ## <a name="release">Release Notes</a>
27
27
 
28
+ ### Release 1.0.1
29
+
30
+ - Ruby time has changed so a change in time comparisons was made.
31
+
28
32
  ### Release 1.0.0
29
33
 
30
34
  - Added support for the Opee/OTerm Inspector
data/bin/odisk CHANGED
@@ -5,7 +5,7 @@
5
5
  # required. That can be set in the RUBYOPT environment variable.
6
6
  # export RUBYOPT=-w
7
7
 
8
- $VERBOSE = true
8
+ #$VERBOSE = true
9
9
 
10
10
  while (index = ARGV.index('-I'))
11
11
  _,path = ARGV.slice!(index, 2)
@@ -10,7 +10,7 @@ module ODisk
10
10
  end
11
11
 
12
12
  def eql?(o)
13
- super(o) && @size == o.size && @mtime == o.mtime
13
+ super(o) && @size == o.size && @mtime.sec == o.mtime.sec
14
14
  end
15
15
  alias == eql?
16
16
 
@@ -51,6 +51,19 @@ module ODisk
51
51
  steps[name] = Step.new(name, Step::REMOTE, Step::DIGEST)
52
52
  end
53
53
  elsif le != re # both exist but are different
54
+ # some helpful info
55
+ if le.owner != re.owner
56
+ ::Opee::Env.info("#{le.name} owner difference #{le.owner} != #{re.owner}")
57
+ elsif le.group != re.group
58
+ ::Opee::Env.info("#{le.name} group difference #{le.group} != #{re.group}")
59
+ elsif le.mode != re.mode
60
+ ::Opee::Env.info("#{le.name} mode difference #{le.mode} != #{re.mode}")
61
+ elsif le.mtime.sec != re.mtime.sec
62
+ ::Opee::Env.info("#{le.name} mtime (sec) difference #{le.mtime.sec} != #{re.mtime.sec}")
63
+ elsif le.size != re.size
64
+ ::Opee::Env.info("#{le.name} size difference #{le.size} != #{re.size}")
65
+ end
66
+
54
67
  if le.class != re.class
55
68
  ::Opee::Env.error("Conflict syncing #{ld.top_path}/#{name}. Local and remote types do not match.")
56
69
  steps[name] = Step.new(name, Step::LOCAL, Step::ERROR)
@@ -1,5 +1,5 @@
1
1
 
2
2
  module ODisk
3
3
  # Current version of the module.
4
- VERSION = '1.0.0'
4
+ VERSION = '1.0.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: odisk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Ohler
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-27 00:00:00.000000000 Z
11
+ date: 2016-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oterm
@@ -115,7 +115,9 @@ files:
115
115
  - lib/odisk/syncstarter.rb
116
116
  - lib/odisk/version.rb
117
117
  homepage: http://www.ohler.com/odisk
118
- licenses: []
118
+ licenses:
119
+ - MIT
120
+ - GPL-3.0
119
121
  metadata: {}
120
122
  post_install_message:
121
123
  rdoc_options:
@@ -135,8 +137,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
135
137
  version: '0'
136
138
  requirements: []
137
139
  rubyforge_project: odisk
138
- rubygems_version: 2.2.0
140
+ rubygems_version: 2.4.5
139
141
  signing_key:
140
142
  specification_version: 4
141
143
  summary: Remote Encrypted File Synchronization, oDisk
142
144
  test_files: []
145
+ has_rdoc: true