dcell 0.13.0.pre → 0.13.0
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.
- data/.coveralls.yml +1 -0
 - data/.gitignore +1 -0
 - data/.travis.yml +7 -2
 - data/CHANGES.md +2 -3
 - data/Gemfile +7 -6
 - data/README.md +3 -1
 - data/benchmarks/messaging.rb +1 -1
 - data/benchmarks/receiver.rb +1 -1
 - data/dcell.gemspec +2 -2
 - data/lib/dcell.rb +2 -2
 - data/lib/dcell/version.rb +1 -1
 - data/spec/spec_helper.rb +4 -3
 - metadata +14 -10
 
    
        data/.coveralls.yml
    ADDED
    
    | 
         @@ -0,0 +1 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            service-name: travis-pro
         
     | 
    
        data/.gitignore
    CHANGED
    
    
    
        data/.travis.yml
    CHANGED
    
    | 
         @@ -1,5 +1,8 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            before_install: sudo apt-get install libzmq3-dev
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
       1 
3 
     | 
    
         
             
            rvm:
         
     | 
| 
       2 
4 
     | 
    
         
             
              - 1.9.3
         
     | 
| 
      
 5 
     | 
    
         
            +
              - 2.0.0
         
     | 
| 
       3 
6 
     | 
    
         
             
              - ruby-head
         
     | 
| 
       4 
7 
     | 
    
         
             
              - jruby-19mode
         
     | 
| 
       5 
8 
     | 
    
         
             
              - jruby-head
         
     | 
| 
         @@ -7,8 +10,10 @@ rvm: 
     | 
|
| 
       7 
10 
     | 
    
         | 
| 
       8 
11 
     | 
    
         
             
            matrix:
         
     | 
| 
       9 
12 
     | 
    
         
             
              allow_failures:
         
     | 
| 
       10 
     | 
    
         
            -
                 
     | 
| 
       11 
     | 
    
         
            -
                - rvm:  
     | 
| 
      
 13 
     | 
    
         
            +
                - rvm: ruby-head
         
     | 
| 
      
 14 
     | 
    
         
            +
                - rvm: jruby-head
         
     | 
| 
      
 15 
     | 
    
         
            +
                - rvm: jruby-19mode
         
     | 
| 
      
 16 
     | 
    
         
            +
                - rvm: rbx-19mode # rbx seems to be losing exception messages o_O
         
     | 
| 
       12 
17 
     | 
    
         | 
| 
       13 
18 
     | 
    
         
             
            notifications:
         
     | 
| 
       14 
19 
     | 
    
         
             
              irc: "irc.freenode.org#celluloid"
         
     | 
    
        data/CHANGES.md
    CHANGED
    
    | 
         @@ -1,10 +1,9 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            0.13.0 
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
      
 1 
     | 
    
         
            +
            0.13.0
         
     | 
| 
      
 2 
     | 
    
         
            +
            ------
         
     | 
| 
       3 
3 
     | 
    
         
             
            * First semi-stable release in nearly forever! Yay!
         
     | 
| 
       4 
4 
     | 
    
         
             
            * Rip out the unstable gossip system, replace the original Zookeeper and
         
     | 
| 
       5 
5 
     | 
    
         
             
              Redis adapters.
         
     | 
| 
       6 
6 
     | 
    
         
             
            * Compatibility fixes with newer versions of the Celluloid suite
         
     | 
| 
       7 
     | 
    
         
            -
            * Switch default port to 7890 (7777 is heavily used by other programs)
         
     | 
| 
       8 
7 
     | 
    
         | 
| 
       9 
8 
     | 
    
         
             
            0.10.0
         
     | 
| 
       10 
9 
     | 
    
         
             
            ------
         
     | 
    
        data/Gemfile
    CHANGED
    
    | 
         @@ -1,13 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            source "http://rubygems.org"
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
       3 
     | 
    
         
            -
            #gem 'celluloid',     : 
     | 
| 
       4 
     | 
    
         
            -
            #gem 'celluloid-io',  : 
     | 
| 
       5 
     | 
    
         
            -
            #gem 'celluloid-zmq', : 
     | 
| 
       6 
     | 
    
         
            -
            #gem 'reel',          : 
     | 
| 
      
 3 
     | 
    
         
            +
            #gem 'celluloid',     github: 'celluloid/celluloid'
         
     | 
| 
      
 4 
     | 
    
         
            +
            #gem 'celluloid-io',  github: 'celluloid/celluloid-io'
         
     | 
| 
      
 5 
     | 
    
         
            +
            #gem 'celluloid-zmq', github: 'celluloid/celluloid-zmq'
         
     | 
| 
      
 6 
     | 
    
         
            +
            #gem 'reel',          github: 'celluloid/reel'
         
     | 
| 
       7 
7 
     | 
    
         | 
| 
       8 
     | 
    
         
            -
            #gem 'ffi-rzmq', : 
     | 
| 
      
 8 
     | 
    
         
            +
            #gem 'ffi-rzmq', github: 'chuckremes/ffi-rzmq'
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
            gem 'jruby-openssl', : 
     | 
| 
      
 10 
     | 
    
         
            +
            gem 'jruby-openssl', platform: :jruby
         
     | 
| 
      
 11 
     | 
    
         
            +
            gem 'coveralls',     require: false
         
     | 
| 
       11 
12 
     | 
    
         | 
| 
       12 
13 
     | 
    
         
             
            # Specify your gem's dependencies in dcell.gemspec
         
     | 
| 
       13 
14 
     | 
    
         
             
            gemspec
         
     | 
    
        data/README.md
    CHANGED
    
    | 
         @@ -1,8 +1,10 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            
         
     | 
| 
       2 
2 
     | 
    
         
             
            =====
         
     | 
| 
      
 3 
     | 
    
         
            +
            [](http://rubygems.org/gems/dcell)
         
     | 
| 
       3 
4 
     | 
    
         
             
            [](http://travis-ci.org/celluloid/dcell)
         
     | 
| 
       4 
5 
     | 
    
         
             
            [](https://gemnasium.com/celluloid/dcell)
         
     | 
| 
       5 
     | 
    
         
            -
            [](https://codeclimate.com/github/celluloid/dcell)
         
     | 
| 
      
 7 
     | 
    
         
            +
            [](https://coveralls.io/r/celluloid/dcell)
         
     | 
| 
       6 
8 
     | 
    
         | 
| 
       7 
9 
     | 
    
         
             
            > "Objects can message objects transparently that live on other machines
         
     | 
| 
       8 
10 
     | 
    
         
             
            > over the network, and you don't have to worry about the networking gunk,
         
     | 
    
        data/benchmarks/messaging.rb
    CHANGED
    
    
    
        data/benchmarks/receiver.rb
    CHANGED
    
    
    
        data/dcell.gemspec
    CHANGED
    
    | 
         @@ -16,8 +16,8 @@ Gem::Specification.new do |gem| 
     | 
|
| 
       16 
16 
     | 
    
         
             
              gem.executables   = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
         
     | 
| 
       17 
17 
     | 
    
         
             
              gem.require_paths = ["lib"]
         
     | 
| 
       18 
18 
     | 
    
         | 
| 
       19 
     | 
    
         
            -
              gem.add_runtime_dependency "celluloid",     ">= 0.13.0 
     | 
| 
       20 
     | 
    
         
            -
              gem.add_runtime_dependency "celluloid-zmq", ">= 0.13.0 
     | 
| 
      
 19 
     | 
    
         
            +
              gem.add_runtime_dependency "celluloid",     ">= 0.13.0"
         
     | 
| 
      
 20 
     | 
    
         
            +
              gem.add_runtime_dependency "celluloid-zmq", ">= 0.13.0"
         
     | 
| 
       21 
21 
     | 
    
         
             
              gem.add_runtime_dependency "reel"
         
     | 
| 
       22 
22 
     | 
    
         
             
              gem.add_runtime_dependency "redis"
         
     | 
| 
       23 
23 
     | 
    
         
             
              gem.add_runtime_dependency "redis-namespace"
         
     | 
    
        data/lib/dcell.rb
    CHANGED
    
    | 
         @@ -27,7 +27,7 @@ require 'dcell/celluloid_ext' 
     | 
|
| 
       27 
27 
     | 
    
         
             
            module DCell
         
     | 
| 
       28 
28 
     | 
    
         
             
              class NotConfiguredError < RuntimeError; end # Not configured yet
         
     | 
| 
       29 
29 
     | 
    
         | 
| 
       30 
     | 
    
         
            -
              DEFAULT_PORT  =  
     | 
| 
      
 30 
     | 
    
         
            +
              DEFAULT_PORT  = 7777 # Default DCell port
         
     | 
| 
       31 
31 
     | 
    
         
             
              @config_lock  = Mutex.new
         
     | 
| 
       32 
32 
     | 
    
         | 
| 
       33 
33 
     | 
    
         
             
              class << self
         
     | 
| 
         @@ -36,7 +36,7 @@ module DCell 
     | 
|
| 
       36 
36 
     | 
    
         
             
                # Configure DCell with the following options:
         
     | 
| 
       37 
37 
     | 
    
         
             
                #
         
     | 
| 
       38 
38 
     | 
    
         
             
                # * id: to identify the local node, defaults to hostname
         
     | 
| 
       39 
     | 
    
         
            -
                # * addr: 0MQ address of the local node (e.g. tcp://4.3.2.1: 
     | 
| 
      
 39 
     | 
    
         
            +
                # * addr: 0MQ address of the local node (e.g. tcp://4.3.2.1:7777)
         
     | 
| 
       40 
40 
     | 
    
         
             
                # *
         
     | 
| 
       41 
41 
     | 
    
         
             
                def setup(options = {})
         
     | 
| 
       42 
42 
     | 
    
         
             
                  # Stringify keys :/
         
     | 
    
        data/lib/dcell/version.rb
    CHANGED
    
    
    
        data/spec/spec_helper.rb
    CHANGED
    
    | 
         @@ -1,6 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            require 'rubygems'
         
     | 
| 
       2 
     | 
    
         
            -
            require 'bundler'
         
     | 
| 
       3 
     | 
    
         
            -
             
     | 
| 
      
 2 
     | 
    
         
            +
            require 'bundler/setup'
         
     | 
| 
      
 3 
     | 
    
         
            +
            require 'coveralls'
         
     | 
| 
      
 4 
     | 
    
         
            +
            Coveralls.wear!
         
     | 
| 
       4 
5 
     | 
    
         | 
| 
       5 
6 
     | 
    
         
             
            require 'dcell'
         
     | 
| 
       6 
7 
     | 
    
         
             
            Dir['./spec/support/*.rb'].map { |f| require f }
         
     | 
| 
         @@ -17,4 +18,4 @@ RSpec.configure do |config| 
     | 
|
| 
       17 
18 
     | 
    
         
             
              config.after(:suite) do
         
     | 
| 
       18 
19 
     | 
    
         
             
                TestNode.stop
         
     | 
| 
       19 
20 
     | 
    
         
             
              end
         
     | 
| 
       20 
     | 
    
         
            -
            end
         
     | 
| 
      
 21 
     | 
    
         
            +
            end
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,15 +1,15 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: dcell
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0.13.0 
     | 
| 
       5 
     | 
    
         
            -
              prerelease:  
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.13.0
         
     | 
| 
      
 5 
     | 
    
         
            +
              prerelease: 
         
     | 
| 
       6 
6 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       7 
7 
     | 
    
         
             
            authors:
         
     | 
| 
       8 
8 
     | 
    
         
             
            - Tony Arcieri
         
     | 
| 
       9 
9 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       10 
10 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       11 
11 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       12 
     | 
    
         
            -
            date: 2013- 
     | 
| 
      
 12 
     | 
    
         
            +
            date: 2013-03-19 00:00:00.000000000 Z
         
     | 
| 
       13 
13 
     | 
    
         
             
            dependencies:
         
     | 
| 
       14 
14 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       15 
15 
     | 
    
         
             
              name: celluloid
         
     | 
| 
         @@ -18,7 +18,7 @@ dependencies: 
     | 
|
| 
       18 
18 
     | 
    
         
             
                requirements:
         
     | 
| 
       19 
19 
     | 
    
         
             
                - - ! '>='
         
     | 
| 
       20 
20 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       21 
     | 
    
         
            -
                    version: 0.13.0 
     | 
| 
      
 21 
     | 
    
         
            +
                    version: 0.13.0
         
     | 
| 
       22 
22 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       23 
23 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       24 
24 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
         @@ -26,7 +26,7 @@ dependencies: 
     | 
|
| 
       26 
26 
     | 
    
         
             
                requirements:
         
     | 
| 
       27 
27 
     | 
    
         
             
                - - ! '>='
         
     | 
| 
       28 
28 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       29 
     | 
    
         
            -
                    version: 0.13.0 
     | 
| 
      
 29 
     | 
    
         
            +
                    version: 0.13.0
         
     | 
| 
       30 
30 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       31 
31 
     | 
    
         
             
              name: celluloid-zmq
         
     | 
| 
       32 
32 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
         @@ -34,7 +34,7 @@ dependencies: 
     | 
|
| 
       34 
34 
     | 
    
         
             
                requirements:
         
     | 
| 
       35 
35 
     | 
    
         
             
                - - ! '>='
         
     | 
| 
       36 
36 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       37 
     | 
    
         
            -
                    version: 0.13.0 
     | 
| 
      
 37 
     | 
    
         
            +
                    version: 0.13.0
         
     | 
| 
       38 
38 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       39 
39 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       40 
40 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
         @@ -42,7 +42,7 @@ dependencies: 
     | 
|
| 
       42 
42 
     | 
    
         
             
                requirements:
         
     | 
| 
       43 
43 
     | 
    
         
             
                - - ! '>='
         
     | 
| 
       44 
44 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       45 
     | 
    
         
            -
                    version: 0.13.0 
     | 
| 
      
 45 
     | 
    
         
            +
                    version: 0.13.0
         
     | 
| 
       46 
46 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       47 
47 
     | 
    
         
             
              name: reel
         
     | 
| 
       48 
48 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
         @@ -131,6 +131,7 @@ executables: [] 
     | 
|
| 
       131 
131 
     | 
    
         
             
            extensions: []
         
     | 
| 
       132 
132 
     | 
    
         
             
            extra_rdoc_files: []
         
     | 
| 
       133 
133 
     | 
    
         
             
            files:
         
     | 
| 
      
 134 
     | 
    
         
            +
            - .coveralls.yml
         
     | 
| 
       134 
135 
     | 
    
         
             
            - .gitignore
         
     | 
| 
       135 
136 
     | 
    
         
             
            - .rspec
         
     | 
| 
       136 
137 
     | 
    
         
             
            - .travis.yml
         
     | 
| 
         @@ -209,13 +210,16 @@ required_ruby_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       209 
210 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       210 
211 
     | 
    
         
             
                  segments:
         
     | 
| 
       211 
212 
     | 
    
         
             
                  - 0
         
     | 
| 
       212 
     | 
    
         
            -
                  hash:  
     | 
| 
      
 213 
     | 
    
         
            +
                  hash: 3616164111420951130
         
     | 
| 
       213 
214 
     | 
    
         
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
       214 
215 
     | 
    
         
             
              none: false
         
     | 
| 
       215 
216 
     | 
    
         
             
              requirements:
         
     | 
| 
       216 
     | 
    
         
            -
              - - ! ' 
     | 
| 
      
 217 
     | 
    
         
            +
              - - ! '>='
         
     | 
| 
       217 
218 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       218 
     | 
    
         
            -
                  version:  
     | 
| 
      
 219 
     | 
    
         
            +
                  version: '0'
         
     | 
| 
      
 220 
     | 
    
         
            +
                  segments:
         
     | 
| 
      
 221 
     | 
    
         
            +
                  - 0
         
     | 
| 
      
 222 
     | 
    
         
            +
                  hash: 3616164111420951130
         
     | 
| 
       219 
223 
     | 
    
         
             
            requirements: []
         
     | 
| 
       220 
224 
     | 
    
         
             
            rubyforge_project: 
         
     | 
| 
       221 
225 
     | 
    
         
             
            rubygems_version: 1.8.23
         
     |