markbates-distribunaut 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. metadata +5 -6
  2. data/README +0 -43
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: markbates-distribunaut
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - markbates
@@ -53,13 +53,13 @@ dependencies:
53
53
  version: "0"
54
54
  version:
55
55
  description: "distribunaut was developed by: markbates"
56
- email: ""
56
+ email: mark@mackframework.com
57
57
  executables:
58
58
  - distribunaut_ring_server
59
59
  extensions: []
60
60
 
61
- extra_rdoc_files:
62
- - README
61
+ extra_rdoc_files: []
62
+
63
63
  files:
64
64
  - lib/distribunaut/distributable.rb
65
65
  - lib/distribunaut/distributed.rb
@@ -68,10 +68,9 @@ files:
68
68
  - lib/distribunaut/utils/rinda.rb
69
69
  - lib/distribunaut.rb
70
70
  - lib/distribunaut_tasks.rb
71
- - README
72
71
  - bin/distribunaut_ring_server
73
72
  has_rdoc: true
74
- homepage: ""
73
+ homepage: http://www.mackframework.com
75
74
  post_install_message:
76
75
  rdoc_options: []
77
76
 
data/README DELETED
@@ -1,43 +0,0 @@
1
- === Example #1
2
-
3
- # 'Server' application
4
- require 'distribunaut'
5
-
6
- configatron.distribunaut.app_name = :user_app
7
- configatron.distribunaut.share_objects = true
8
-
9
- class User
10
- include Distribunaut::Distributable
11
-
12
- attr_accessor :username
13
-
14
- def self.hi
15
- 'hello!!!'
16
- end
17
-
18
- def save
19
- puts "Saving: #{self.inspect}"
20
- end
21
-
22
- end
23
-
24
- DRb.thread.join
25
-
26
- # 'Client' application
27
- require 'distribunaut'
28
-
29
- puts Distribunaut::Distributed::User.hi
30
-
31
- User = Distribunaut::Distributed::User
32
-
33
- puts User.hi
34
-
35
- user = User.new
36
-
37
- puts user.inspect
38
-
39
- user.username = 'markbates'
40
-
41
- puts user.inspect
42
-
43
- user.save