celluloid-lock-detection 0.0.1.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: f247da9aa8316293e4b3720ab238d1101a8408d8
4
+ data.tar.gz: 091b8c2f63108cbcfc7fabd1da76a8bc1a1ffbc8
5
+ SHA512:
6
+ metadata.gz: 5050805634f39f20b2562a39458eb1db826f18ed533d241667524d4cfc81c01a0928d7fbcc1b06a9aa3b04c7283f0da57ef4a2b9dbe72a1b40fb6cf3d0cd4b69
7
+ data.tar.gz: aa0044806cea33829065c330ccf5a37e5ffe0b4f079b427d4a168d108dacabddf56c0c235658219a4bbe1da4c33cc41dfd007d482231e0324b18da6c8fb9cdfd
data/.gitignore ADDED
@@ -0,0 +1,4 @@
1
+ Gemfile.lock
2
+ pkg/
3
+ *.pkg
4
+ .DS_Store
data/Gemfile ADDED
@@ -0,0 +1,14 @@
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
+
11
+ group :test do
12
+ gem 'rake'
13
+ gem 'rspec', '~> 3.2'
14
+ 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,5 @@
1
+ # celluloid-lock-detection
2
+
3
+ > Lock detection for managed Celluloid actors.
4
+
5
+ Detect and announce locked tasks for threaded and fibered actors.
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,19 @@
1
+ # coding: utf-8
2
+
3
+ Gem::Specification.new do |spec|
4
+ spec.name = "celluloid-lock-detection"
5
+ spec.version = "0.0.1.pre"
6
+ spec.authors = ["Dilum Navanjana", "Donovan Keme"]
7
+ spec.email = ["dilumnavanjana@gmail.com", "code@extremist.digital"]
8
+
9
+ spec.summary = "Lock detection for managed Celluloid actors."
10
+ spec.description = "Detect and announce locked tasks for threaded and fibered actors."
11
+ spec.homepage = "http://github.com/celluloid/celluloid-lock-detection"
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
+ end
@@ -0,0 +1,2 @@
1
+ #de Extract from Unlocker as a seperate Celluloid::Actor::Manager module.
2
+ #de Use later as Unlocker gem dependency, as an additional module.
@@ -0,0 +1 @@
1
+ require 'celluloid/actor/lock_detection.rb'
metadata ADDED
@@ -0,0 +1,82 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: celluloid-lock-detection
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1.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
+ description: Detect and announce locked tasks for threaded and fibered actors.
43
+ email:
44
+ - dilumnavanjana@gmail.com
45
+ - code@extremist.digital
46
+ executables: []
47
+ extensions: []
48
+ extra_rdoc_files: []
49
+ files:
50
+ - ".gitignore"
51
+ - Gemfile
52
+ - LICENSE.txt
53
+ - README.md
54
+ - Rakefile
55
+ - celluloid-lock-detection.gemspec
56
+ - lib/celluloid/actor/lock_detection.rb
57
+ - lib/celluloid/lock_detection.rb
58
+ homepage: http://github.com/celluloid/celluloid-lock-detection
59
+ licenses:
60
+ - MIT
61
+ metadata: {}
62
+ post_install_message:
63
+ rdoc_options: []
64
+ require_paths:
65
+ - lib
66
+ required_ruby_version: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ version: '0'
71
+ required_rubygems_version: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">"
74
+ - !ruby/object:Gem::Version
75
+ version: 1.3.1
76
+ requirements: []
77
+ rubyforge_project:
78
+ rubygems_version: 2.4.8
79
+ signing_key:
80
+ specification_version: 4
81
+ summary: Lock detection for managed Celluloid actors.
82
+ test_files: []