rbfs 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/lib/rbfs/futures.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Rbfs
2
- class Future < BasicObject
2
+ class Future
3
3
  def initialize(&callable)
4
4
  @thread ||= ::Thread.new { callable.call }
5
5
  end
data/lib/rbfs/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Rbfs
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -0,0 +1,7 @@
1
+ require 'rbfs/futures'
2
+
3
+ describe Rbfs::Future do
4
+ it "should be creatable" do
5
+ Rbfs::Future.new.should be_kind_of(Object)
6
+ end
7
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbfs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2013-07-18 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
16
- requirement: &15800280 !ruby/object:Gem::Requirement
16
+ requirement: &8151000 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '1.3'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *15800280
24
+ version_requirements: *8151000
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rake
27
- requirement: &15799780 !ruby/object:Gem::Requirement
27
+ requirement: &8149920 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *15799780
35
+ version_requirements: *8149920
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rspec
38
- requirement: &15799280 !ruby/object:Gem::Requirement
38
+ requirement: &8149380 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *15799280
46
+ version_requirements: *8149380
47
47
  description: Ruby File Sync
48
48
  email:
49
49
  - jbussdieker@gmail.com
@@ -69,6 +69,7 @@ files:
69
69
  - lib/rbfs/rsync.rb
70
70
  - lib/rbfs/version.rb
71
71
  - rbfs.gemspec
72
+ - spec/rbfs/futures_spec.rb
72
73
  - spec/rbfs/host_parser_spec.rb
73
74
  - spec/rbfs/host_spec.rb
74
75
  - spec/rbfs/rsync_spec.rb
@@ -97,6 +98,7 @@ signing_key:
97
98
  specification_version: 3
98
99
  summary: Ruby File Sync
99
100
  test_files:
101
+ - spec/rbfs/futures_spec.rb
100
102
  - spec/rbfs/host_parser_spec.rb
101
103
  - spec/rbfs/host_spec.rb
102
104
  - spec/rbfs/rsync_spec.rb