content_server 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
data/bin/backup_server CHANGED
File without changes
data/bin/content_server CHANGED
File without changes
@@ -71,7 +71,7 @@ module BBFS
71
71
 
72
72
  # Copy file if ack (does not exists on backup and not too much time passed)
73
73
  if ack && (Time.now.to_i - timestamp < Params['ack_timeout'])
74
- if !@copy_prepare.key?(checksum) || @copy_prepare[instance.checksum][1]
74
+ if !@copy_prepare.key?(checksum) || @copy_prepare[checksum][1]
75
75
  Log.warning("File was aborted, copied, or started copy just now: #{checksum}")
76
76
  else
77
77
  path = @copy_prepare[checksum][0]
@@ -1,5 +1,5 @@
1
1
  module BBFS
2
2
  module ContentServer
3
- VERSION = "0.0.9"
3
+ VERSION = "0.0.10"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: content_server
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-13 00:00:00.000000000 Z
12
+ date: 2012-12-02 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: content_data
16
- requirement: !ruby/object:Gem::Requirement
16
+ requirement: &16909160 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,15 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: '0'
24
+ version_requirements: *16909160
30
25
  - !ruby/object:Gem::Dependency
31
26
  name: file_indexing
32
- requirement: !ruby/object:Gem::Requirement
27
+ requirement: &16908640 !ruby/object:Gem::Requirement
33
28
  none: false
34
29
  requirements:
35
30
  - - ! '>='
@@ -37,15 +32,10 @@ dependencies:
37
32
  version: '0'
38
33
  type: :runtime
39
34
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: '0'
35
+ version_requirements: *16908640
46
36
  - !ruby/object:Gem::Dependency
47
37
  name: file_monitoring
48
- requirement: !ruby/object:Gem::Requirement
38
+ requirement: &16908120 !ruby/object:Gem::Requirement
49
39
  none: false
50
40
  requirements:
51
41
  - - ! '>='
@@ -53,15 +43,10 @@ dependencies:
53
43
  version: '0'
54
44
  type: :runtime
55
45
  prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ! '>='
60
- - !ruby/object:Gem::Version
61
- version: '0'
46
+ version_requirements: *16908120
62
47
  - !ruby/object:Gem::Dependency
63
48
  name: log
64
- requirement: !ruby/object:Gem::Requirement
49
+ requirement: &16907640 !ruby/object:Gem::Requirement
65
50
  none: false
66
51
  requirements:
67
52
  - - ! '>='
@@ -69,15 +54,10 @@ dependencies:
69
54
  version: '0'
70
55
  type: :runtime
71
56
  prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ! '>='
76
- - !ruby/object:Gem::Version
77
- version: '0'
57
+ version_requirements: *16907640
78
58
  - !ruby/object:Gem::Dependency
79
59
  name: networking
80
- requirement: !ruby/object:Gem::Requirement
60
+ requirement: &16907220 !ruby/object:Gem::Requirement
81
61
  none: false
82
62
  requirements:
83
63
  - - ! '>='
@@ -85,15 +65,10 @@ dependencies:
85
65
  version: '0'
86
66
  type: :runtime
87
67
  prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - ! '>='
92
- - !ruby/object:Gem::Version
93
- version: '0'
68
+ version_requirements: *16907220
94
69
  - !ruby/object:Gem::Dependency
95
70
  name: params
96
- requirement: !ruby/object:Gem::Requirement
71
+ requirement: &16906580 !ruby/object:Gem::Requirement
97
72
  none: false
98
73
  requirements:
99
74
  - - ! '>='
@@ -101,15 +76,10 @@ dependencies:
101
76
  version: '0'
102
77
  type: :runtime
103
78
  prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - ! '>='
108
- - !ruby/object:Gem::Version
109
- version: '0'
79
+ version_requirements: *16906580
110
80
  - !ruby/object:Gem::Dependency
111
81
  name: run_in_background
112
- requirement: !ruby/object:Gem::Requirement
82
+ requirement: &16905880 !ruby/object:Gem::Requirement
113
83
  none: false
114
84
  requirements:
115
85
  - - ! '>='
@@ -117,12 +87,7 @@ dependencies:
117
87
  version: '0'
118
88
  type: :runtime
119
89
  prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
- requirements:
123
- - - ! '>='
124
- - !ruby/object:Gem::Version
125
- version: '0'
90
+ version_requirements: *16905880
126
91
  description: Monitor and Index a directory and back it up to backup server.
127
92
  email: kolmanv@gmail.com
128
93
  executables:
@@ -132,12 +97,12 @@ extensions: []
132
97
  extra_rdoc_files: []
133
98
  files:
134
99
  - lib/content_server.rb
135
- - lib/content_server/content_receiver.rb
136
100
  - lib/content_server/file_streamer.rb
137
101
  - lib/content_server/queue_copy.rb
138
- - lib/content_server/queue_indexer.rb
102
+ - lib/content_server/content_receiver.rb
139
103
  - lib/content_server/remote_content.rb
140
104
  - lib/content_server/version.rb
105
+ - lib/content_server/queue_indexer.rb
141
106
  - spec/content_server/content_server_spec.rb
142
107
  - spec/content_server/file_streamer_spec.rb
143
108
  - bin/content_server
@@ -162,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
162
127
  version: '0'
163
128
  requirements: []
164
129
  rubyforge_project:
165
- rubygems_version: 1.8.24
130
+ rubygems_version: 1.8.10
166
131
  signing_key:
167
132
  specification_version: 3
168
133
  summary: Servers for backing up content.