rbsync 0.0.0 → 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.0
1
+ 0.0.1
data/lib/rbsync.rb CHANGED
@@ -263,6 +263,3 @@ class RbSync
263
263
  end
264
264
 
265
265
 
266
- require 'tmpdir'
267
- require 'find'
268
- require 'pp'
data/rbsync.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rbsync}
8
- s.version = "0.0.0"
8
+ s.version = "0.0.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["takuya"]
data/test/test_rbsync.rb CHANGED
@@ -76,7 +76,7 @@ class TestRbsync < Test::Unit::TestCase
76
76
  Dir.mkdir("old")
77
77
  Dir.mkdir("new")
78
78
  open("./old/test.txt", "w+"){|f| 1000.times{f.puts("test")}}
79
- open("./new/test.txt", "w+"){|f| 1000.times{f.puts("test")}}
79
+ open("./new/test.txt", "w+"){|f| 1000.times{f.puts("tests")}}
80
80
  rsync = RbSync.new
81
81
  rsync.sync("old","new",{:check_hash=>true,:hash_limit_size=>1024})
82
82
  assert FileUtils.cmp("old/test.txt","new/test.txt")
@@ -92,7 +92,7 @@ class TestRbsync < Test::Unit::TestCase
92
92
  open("./new/test.txt", "w+"){|f| 2048.times{f.write("a")}}
93
93
  rsync = RbSync.new
94
94
  rsync.sync("old","new",{:check_hash=>true,:hash_limit_size=>1024})
95
- assert FileUtils.cmp("old/test.txt","new/test.txt") == false
95
+ assert FileUtils.cmp("old/test.txt","new/test.txt") == false
96
96
  end
97
97
  end
98
98
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbsync
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 0
10
- version: 0.0.0
9
+ - 1
10
+ version: 0.0.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - takuya