celluloid-unlocker 0.0.0.pre

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 33901e59412b2eb1ed0af40342fa9723e073cd70
4
+ data.tar.gz: 2540cb93a708ad802817422bbd859e88c08bae17
5
+ SHA512:
6
+ metadata.gz: 117d67db2b0cb39a936993017be7473e19cbc85b7cda5cec1d69ff4447479d0f32e62a8dec68b16393818a635e2cb16cca021edf4b91af3a58a7a107809f983a
7
+ data.tar.gz: b6da4d02de5e4e17a31752d707d51f8d56384c6ccbb7e0570c36b50d8bc4509821c0d3e110fd48d9d4b8a2a4fde92549aaf04aad716e7f571a70bce95417b7de
data/.gitignore ADDED
@@ -0,0 +1,4 @@
1
+ Gemfile.lock
2
+ pkg/
3
+ *.pkg
4
+ .DS_Store
data/Gemfile ADDED
@@ -0,0 +1,15 @@
1
+ source "https://rubygems.org"
2
+
3
+ gemspec
4
+
5
+ #de Thse duplicate listings alongside the gemspec listings, and yet *after* the gemspec call above
6
+ #de are purely to allow the local-override of these gems ( bundle config local.celluloid /path ),
7
+ #de for purposes of development alongside... otherwise this can be omitted at time of release:
8
+ gem 'celluloid', github: 'celluloid/celluloid', branch: 'master', submodules: true
9
+ gem 'celluloid-manager', github: 'celluloid/celluloid-manager', branch: 'master'
10
+ gem 'celluloid-lock-detection', github: 'celluloid/celluloid-lock-detection', branch: 'master'
11
+
12
+ group :test do
13
+ gem 'rake'
14
+ gem 'rspec', '~> 3.2'
15
+ end
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Dilum Navanjana, Donovan Keme
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,7 @@
1
+ # celluloid-unlocker
2
+
3
+ **Development begun during Google Summer of Code, 2015**
4
+
5
+ > Unlock deadlocked managed actors in Celluloid.
6
+
7
+ Once deadlocked actor tasks are detected, gracefully and automatically unlock them.
data/Rakefile ADDED
@@ -0,0 +1,8 @@
1
+ require "bundler/gem_tasks"
2
+ require 'rspec/core/rake_task'
3
+
4
+ RSpec::Core::RakeTask.new(:spec) do |spec|
5
+ spec.pattern = 'spec/**/*_spec.rb'
6
+ spec.rspec_opts = ['--color --format documentation']
7
+ end
8
+ task :default => :spec
@@ -0,0 +1,20 @@
1
+ # coding: utf-8
2
+
3
+ Gem::Specification.new do |spec|
4
+ spec.name = "celluloid-unlocker"
5
+ spec.version = "0.0.0.pre"
6
+ spec.authors = ["Dilum Navanjana", "Donovan Keme"]
7
+ spec.email = ["dilumnavanjana@gmail.com", "code@extremist.digital"]
8
+
9
+ spec.summary = "Unlock deadlocked managed actors in Celluloid."
10
+ spec.description = "Once deadlocked actor tasks are detected, gracefully and automatically unlock them."
11
+ spec.homepage = "http://github.com/celluloid/celluloid-unlocker"
12
+ spec.license = "MIT"
13
+
14
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|examples|spec|features)/}) }
15
+ spec.require_paths = ["lib"]
16
+
17
+ spec.add_runtime_dependency "celluloid", "~> 0.17.0"
18
+ spec.add_runtime_dependency "celluloid-manager", ">= 0"
19
+ spec.add_runtime_dependency "celluloid-lock-detection", ">= 0"
20
+ end
@@ -0,0 +1 @@
1
+ #de TODO: Extract and complete from GSoC 2015 project code.
@@ -0,0 +1 @@
1
+ require 'celluloid/actor/unlocker.rb'
metadata ADDED
@@ -0,0 +1,97 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: celluloid-unlocker
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0.pre
5
+ platform: ruby
6
+ authors:
7
+ - Dilum Navanjana
8
+ - Donovan Keme
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2015-08-17 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: celluloid
16
+ type: :runtime
17
+ prerelease: false
18
+ requirement: !ruby/object:Gem::Requirement
19
+ requirements:
20
+ - - "~>"
21
+ - !ruby/object:Gem::Version
22
+ version: 0.17.0
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: 0.17.0
28
+ - !ruby/object:Gem::Dependency
29
+ name: celluloid-manager
30
+ type: :runtime
31
+ prerelease: false
32
+ requirement: !ruby/object:Gem::Requirement
33
+ requirements:
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: '0'
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ version: '0'
42
+ - !ruby/object:Gem::Dependency
43
+ name: celluloid-lock-detection
44
+ type: :runtime
45
+ prerelease: false
46
+ requirement: !ruby/object:Gem::Requirement
47
+ requirements:
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ version: '0'
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ description: Once deadlocked actor tasks are detected, gracefully and automatically
57
+ unlock them.
58
+ email:
59
+ - dilumnavanjana@gmail.com
60
+ - code@extremist.digital
61
+ executables: []
62
+ extensions: []
63
+ extra_rdoc_files: []
64
+ files:
65
+ - ".gitignore"
66
+ - Gemfile
67
+ - LICENSE.txt
68
+ - README.md
69
+ - Rakefile
70
+ - celluloid-unlocker.gemspec
71
+ - lib/celluloid/actor/unlocker.rb
72
+ - lib/celluloid/unlocker.rb
73
+ homepage: http://github.com/celluloid/celluloid-unlocker
74
+ licenses:
75
+ - MIT
76
+ metadata: {}
77
+ post_install_message:
78
+ rdoc_options: []
79
+ require_paths:
80
+ - lib
81
+ required_ruby_version: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ required_rubygems_version: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - ">"
89
+ - !ruby/object:Gem::Version
90
+ version: 1.3.1
91
+ requirements: []
92
+ rubyforge_project:
93
+ rubygems_version: 2.4.8
94
+ signing_key:
95
+ specification_version: 4
96
+ summary: Unlock deadlocked managed actors in Celluloid.
97
+ test_files: []