celluloid-supervision 0.20.0.pre2 → 0.20.0.pre4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bfa008308f050e20dce4874e930ec1f0d1c68233
4
- data.tar.gz: b9581d64c53fc1e78b9943b2f1eb6a64c37ad7a8
3
+ metadata.gz: f0e6c43f5246d66e3f01af4f49ab4b8cb369b2a0
4
+ data.tar.gz: 2a42933006fca99bb2496044958fe9adfc3aba0c
5
5
  SHA512:
6
- metadata.gz: cd3dc9bfce314f7d3fe0be7e92ff126f046860d088f2eb84f82294eee237e2fd63b015d115f377d3ffa37733c0267686a1131cc71baa30da67f2ef632f5dcf7f
7
- data.tar.gz: 2f99bc6d05e147f43f6ba7a39c53998b6467c491b23e48c8d00a2d8b97e46f4897584f4b9f6bd6e49f306ed621fe02cdcae7abda77aa93917fdbdac4fc09d7c9
6
+ metadata.gz: 3087bc856c7ae83ad4a6fa9b0b1bcdd86f3382171877b83030659d6dd221544117dc33b9eb39d3775131ab6b78e0b96f915a6900df25ea7e49a58054069c5486
7
+ data.tar.gz: c3b3b788967d055e93dc4a1f88fba65f9bd1b3188e188cbbf90068ec612a9231086f3c9ff1508e9754a94773ae03c35eb651836a6c8d63d70358e22c14128372
data/.travis.yml CHANGED
@@ -8,17 +8,21 @@ rvm:
8
8
  - jruby-head
9
9
  - rbx-2
10
10
 
11
+ # TODO: Put these back:
12
+ # * CELLULOID_TASK_CLASS=Fibered
13
+ # * CELLULOID_TASK_CLASS=Threaded
14
+ # For right now the imporant thing is to test BACKPORTED mode:
15
+
11
16
  matrix:
12
17
  allow_failures:
13
18
  - rvm: rbx-2
14
19
  - rvm: ruby-head
15
20
  - rvm: jruby-head
16
- - env: CELLULOID_TASK_CLASS=Threaded
21
+ - env: CELLULOID_BACKPORTED=true
17
22
 
18
23
  env:
19
24
  matrix:
20
- - CELLULOID_TASK_CLASS=Fibered
21
- - CELLULOID_TASK_CLASS=Threaded
25
+ - CELLULOID_BACKPORTED=true
22
26
  - CELLULOID_BACKPORTED=false
23
27
 
24
28
  notifications:
data/Gemfile CHANGED
@@ -1,7 +1,7 @@
1
1
  require File.expand_path("../culture/sync", __FILE__)
2
2
  source "https://rubygems.org"
3
3
 
4
- gemspec #de development_group: :gem_build_tools
4
+ gemspec # de development_group: :gem_build_tools
5
5
 
6
6
  group :development do
7
7
  gem "pry"
@@ -36,10 +36,10 @@ module Celluloid
36
36
  true
37
37
  end
38
38
 
39
- def options(args, options={})
40
- configuration = args.merge(options)
39
+ def options(config={}, options={})
40
+ configuration = config.merge(options)
41
41
  return configuration if configuration.is_a? Configuration
42
- configuration[:initialize] = Container::Behavior.configure(configuration)
42
+ configuration[:configuration] = Container::Behavior.configure(configuration)
43
43
  valid?(configuration, true)
44
44
  configuration
45
45
  end
@@ -68,8 +68,8 @@ module Celluloid
68
68
  @supervisor ||= :"Celluloid.services"
69
69
 
70
70
  if options.is_a? Hash
71
- options[:initialize] ||= Container::Behavior.configure(options)
72
- @configuration = instance_eval(&options[:initialize])
71
+ options[:configuration] ||= Container::Behavior.configure(options)
72
+ @configuration = instance_eval(&options[:configuration])
73
73
  @supervisor ||= @configuration.fetch(:supervisor, :"Celluloid.services")
74
74
  end
75
75
 
@@ -78,7 +78,6 @@ module Celluloid
78
78
 
79
79
  Configuration::INJECTIONS.each do |point|
80
80
  define_method(point) do |&injector|
81
- puts "behavioral injection #{point} for #{self}"
82
81
  behavior_injections[point] = injector
83
82
  end
84
83
  end
@@ -5,11 +5,11 @@ module Celluloid
5
5
  class << self
6
6
  def define
7
7
  super({
8
- :supervise => Celluloid.actor_system.root_configuration,
9
- :as => :root_supervisor,
10
- :accessors => [ :root ],
11
- :branch => :root,
12
- :type => self
8
+ supervise: Celluloid.actor_system.root_configuration,
9
+ as: :root_supervisor,
10
+ accessors: [:root],
11
+ branch: :root,
12
+ type: self,
13
13
  })
14
14
  end
15
15
 
@@ -1,5 +1,5 @@
1
1
  module Celluloid
2
2
  module Supervision
3
- VERSION = "0.20.0.pre2"
3
+ VERSION = "0.20.0.pre4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: celluloid-supervision
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0.pre2
4
+ version: 0.20.0.pre4
5
5
  platform: ruby
6
6
  authors:
7
7
  - digitalextremist //
8
8
  - Tony Arcieri
9
9
  - Tim Carey-Smith
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-04-30 00:00:00.000000000 Z
13
+ date: 2015-05-04 00:00:00.000000000 Z
14
14
  dependencies: []
15
15
  description: Supervisors, Supervision Groups, and Supervision Trees for Celluloid.
16
16
  email:
@@ -20,14 +20,14 @@ executables: []
20
20
  extensions: []
21
21
  extra_rdoc_files: []
22
22
  files:
23
- - .coveralls.yml
24
- - .env-ci
25
- - .env-dev
26
- - .gitignore
27
- - .gitmodules
28
- - .rspec
29
- - .rubocop.yml
30
- - .travis.yml
23
+ - ".coveralls.yml"
24
+ - ".env-ci"
25
+ - ".env-dev"
26
+ - ".gitignore"
27
+ - ".gitmodules"
28
+ - ".rspec"
29
+ - ".rubocop.yml"
30
+ - ".travis.yml"
31
31
  - CHANGES.md
32
32
  - CONDUCT.md
33
33
  - Gemfile
@@ -58,24 +58,24 @@ homepage: https://github.com/celluloid/
58
58
  licenses:
59
59
  - MIT
60
60
  metadata: {}
61
- post_install_message:
61
+ post_install_message:
62
62
  rdoc_options: []
63
63
  require_paths:
64
64
  - lib
65
65
  required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - '>='
67
+ - - ">="
68
68
  - !ruby/object:Gem::Version
69
69
  version: 1.9.2
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
- - - '>='
72
+ - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: 1.3.6
75
75
  requirements: []
76
- rubyforge_project:
76
+ rubyforge_project:
77
77
  rubygems_version: 2.4.6
78
- signing_key:
78
+ signing_key:
79
79
  specification_version: 4
80
80
  summary: Celluloid Supervision
81
81
  test_files: []