opal-drb 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 59cfd003694ff3b5cea5b36890115827c3e5021e
4
- data.tar.gz: f1b1ee0b120661e1d119191604d13d6cbc99563e
3
+ metadata.gz: e13b968103c3abf0b12a8470ed92fd1752383cce
4
+ data.tar.gz: 12c63e4be210d0b344c4f0372194ad4032c89eab
5
5
  SHA512:
6
- metadata.gz: 6d56f0b90def3126209f8d0dbd88bf60d45d0a0ab535787ad26e4b995f9c8ca373ef37261feb6bdb3034837a3a331cbba3d74f044d18aa41956a1c35b6f03d57
7
- data.tar.gz: d6a81db3890e07923af570a169103fd82aa83461def8f972af5fcbabe22e95e2b78b3574e3b19278e611038c794d48dc488d3b106d18df672507cb782dd2aab2
6
+ metadata.gz: 41caf09bea96de9e666a3471c12c08205d22e2f677d6e02a18d39731e1a3c107ec9ff21ef68b40489ae53ed75f8f0f8e75cf1f2fec4a5bc75286c400b991b324
7
+ data.tar.gz: f558277c7d4aa49f464167be145df963a2b47df57fc523060f9ed57c931c46da19f75f086a435f60fa9331b5d400058ed9fa79e0277db1ba8d97c2827985b6ea
@@ -1,5 +1,5 @@
1
1
  module Opal
2
2
  module DRb
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
data/lib/opal/drb.rb CHANGED
@@ -1,15 +1,17 @@
1
- module DRb
2
- class DRbError < RuntimeError; end
3
- class DRbConnError < DRbError; end
4
- class DRbServerNotFound < DRbError; end
5
- class DRbBadURI < DRbError; end
6
- class DRbBadScheme < DRbError; end
7
- end
1
+ if RUBY_ENGINE == 'opal'
2
+ module DRb
3
+ class DRbError < RuntimeError; end
4
+ class DRbConnError < DRbError; end
5
+ class DRbServerNotFound < DRbError; end
6
+ class DRbBadURI < DRbError; end
7
+ class DRbBadScheme < DRbError; end
8
+ end
8
9
 
9
- require 'opal/drb/version'
10
- require 'opal/drb/websocket'
11
- require 'opal/drb/drb_protocol'
12
- require 'opal/drb/drb_conn'
13
- require 'opal/drb/drb_object'
14
- require 'opal/drb/drb_message'
15
- require 'opal/drb/drb'
10
+ require 'opal/drb/version'
11
+ require 'opal/drb/websocket'
12
+ require 'opal/drb/drb_protocol'
13
+ require 'opal/drb/drb_conn'
14
+ require 'opal/drb/drb_object'
15
+ require 'opal/drb/drb_message'
16
+ require 'opal/drb/drb'
17
+ end
data/opal-drb.gemspec CHANGED
@@ -20,6 +20,7 @@ Gem::Specification.new do |spec|
20
20
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
21
  spec.require_paths = ["lib"]
22
22
 
23
+ spec.add_dependency "opal"
23
24
  spec.add_development_dependency "bundler", "~> 1.14"
24
25
  spec.add_development_dependency "rake", "~> 10.0"
25
26
  spec.add_development_dependency "rspec", "~> 3.0"
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opal-drb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - youchan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-07-25 00:00:00.000000000 Z
11
+ date: 2017-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: opal
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: bundler
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -84,7 +98,6 @@ files:
84
98
  - lib/opal/drb/version.rb
85
99
  - lib/opal/drb/websocket.rb
86
100
  - opal-drb.gemspec
87
- - proc.rb
88
101
  homepage: https://github.com/youchan/opal-drb
89
102
  licenses: []
90
103
  metadata: {}
data/proc.rb DELETED
@@ -1,2 +0,0 @@
1
- f = 1
2
- p Proc.new { x }.call