socketlock 0.5.8 → 0.5.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. data/README.md +2 -2
  2. data/Rakefile +0 -16
  3. data/lib/socketlock.rb +1 -16
  4. metadata +4 -4
data/README.md CHANGED
@@ -2,10 +2,10 @@
2
2
 
3
3
  A gem for doing concurrency locks using a TCP port.
4
4
 
5
- ## Contributing/Development
5
+ # Contributing/Development
6
6
 
7
7
 
8
- ### Requirements
8
+ # Requirements
9
9
 
10
10
 
11
11
  # License
data/Rakefile CHANGED
@@ -1,18 +1,3 @@
1
- #
2
- # License:: Apache License, Version 2.0
3
- #
4
- # Licensed under the Apache License, Version 2.0 (the "License");
5
- # you may not use this file except in compliance with the License.
6
- # You may obtain a copy of the License at
7
- #
8
- # http://www.apache.org/licenses/LICENSE-2.0
9
- #
10
- # Unless required by applicable law or agreed to in writing, software
11
- # distributed under the License is distributed on an "AS IS" BASIS,
12
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- # See the License for the specific language governing permissions and
14
- # limitations under the License.
15
- #
16
1
 
17
2
  require File.dirname(__FILE__) + '/lib/socketlock'
18
3
 
@@ -20,7 +5,6 @@ require 'rubygems'
20
5
  require 'rubygems/package_task'
21
6
  require 'rdoc/task'
22
7
  require 'rake/clean'
23
- # require './tasks/rspec.rb'
24
8
 
25
9
  GEM_NAME = 'socketlock'
26
10
 
@@ -1,18 +1,3 @@
1
- #
2
- # Apache License, Version 2.0
3
- #
4
- # Licensed under the Apache License, Version 2.0 (the "License");
5
- # you may not use this file except in compliance with the License.
6
- # You may obtain a copy of the License at
7
- #
8
- # http://www.apache.org/licenses/LICENSE-2.0
9
- #
10
- # Unless required by applicable law or agreed to in writing, software
11
- # distributed under the License is distributed on an "AS IS" BASIS,
12
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- # See the License for the specific language governing permissions and
14
- # limitations under the License.
15
- #
16
1
 
17
2
  require 'timeout'
18
3
  require 'monitor'
@@ -21,7 +6,7 @@ require 'uri'
21
6
 
22
7
  class SocketLock
23
8
  SOCKETLOCK_ROOT = File.dirname(File.expand_path(File.dirname(__FILE__)))
24
- VERSION = '0.5.8'
9
+ VERSION = '0.5.9'
25
10
 
26
11
  def initialize port, interface = '127.0.0.1', lock_timeout = 15 * 60
27
12
  @port = port
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: socketlock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.8
4
+ version: 0.5.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-02-05 00:00:00.000000000 Z
13
+ date: 2013-02-11 00:00:00.000000000 Z
14
14
  dependencies: []
15
15
  description: A gem for doing concurrency locks using a TCP port.
16
16
  email:
@@ -40,7 +40,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
40
40
  version: '0'
41
41
  segments:
42
42
  - 0
43
- hash: -3136826463171579913
43
+ hash: 2795296364707238126
44
44
  required_rubygems_version: !ruby/object:Gem::Requirement
45
45
  none: false
46
46
  requirements:
@@ -49,7 +49,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
49
49
  version: '0'
50
50
  segments:
51
51
  - 0
52
- hash: -3136826463171579913
52
+ hash: 2795296364707238126
53
53
  requirements: []
54
54
  rubyforge_project:
55
55
  rubygems_version: 1.8.25