uu 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/drb/http0helper.rb +1 -1
- data/lib/uu.rb +1 -0
- data/lib/uu/remotable.rb +15 -0
- data/lib/uu/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7023bef5e1ac4552b55961c4c06ee1208176f6c98ecf229272a7838d1fb44b3
|
4
|
+
data.tar.gz: 3a87f44e5294518151735954eb095028d564ae039709e13d3b77d964d0f46506
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 587ab7cbf357afeb0f4f2d0005207f08e24623f323d6635899b74c91ed6262877d3b7d25f84858d709344f40b4acaac0307a727c14a27d582dc617f342483ce3
|
7
|
+
data.tar.gz: c80f5308e135f0a3e7b0a7ee161afc39423d91ab0992bfa21032c860edf175a104b4778bdf7cbb746a29bb59939a378440052d7a72ad2c77887679152689380c
|
data/Gemfile.lock
CHANGED
data/lib/drb/http0helper.rb
CHANGED
data/lib/uu.rb
CHANGED
data/lib/uu/remotable.rb
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'drb'
|
4
|
+
|
5
|
+
module UU
|
6
|
+
module Remotable
|
7
|
+
def self.included(mod)
|
8
|
+
mod.include(DRb::DRbUndumped) if server
|
9
|
+
end
|
10
|
+
|
11
|
+
attr_accessor :server
|
12
|
+
module_function :server, :server=
|
13
|
+
self.server = false
|
14
|
+
end
|
15
|
+
end
|
data/lib/uu/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Minwoo Lee
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -201,6 +201,7 @@ files:
|
|
201
201
|
- lib/drb/http0helper.rb
|
202
202
|
- lib/drb/http0serv.rb
|
203
203
|
- lib/uu.rb
|
204
|
+
- lib/uu/remotable.rb
|
204
205
|
- lib/uu/remote.rb
|
205
206
|
- lib/uu/remote_server.rb
|
206
207
|
- lib/uu/version.rb
|
@@ -225,7 +226,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
225
226
|
version: '0'
|
226
227
|
requirements: []
|
227
228
|
rubyforge_project:
|
228
|
-
rubygems_version: 2.7.
|
229
|
+
rubygems_version: 2.7.3
|
229
230
|
signing_key:
|
230
231
|
specification_version: 4
|
231
232
|
summary: UU
|