remoteling-ruby 0.0.1 → 0.0.2
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/Manifest +1 -0
- data/README.rdoc +8 -9
- data/Rakefile +1 -1
- data/lib/remoteling.rb +1 -3
- data/remoteling-ruby.gemspec +2 -2
- metadata +2 -2
data/Manifest
CHANGED
data/README.rdoc
CHANGED
@@ -8,16 +8,15 @@ This is the Ruby gem for [Remoteling][website].
|
|
8
8
|
Synopsis:
|
9
9
|
======
|
10
10
|
|
11
|
-
require 'remoteling-ruby'
|
12
|
-
|
13
|
-
@remoteling = Remoteling.new('adrian@pikeapps.com','password')
|
14
|
-
@remoteling.set('example','value')
|
15
|
-
@remoteling.get('example')
|
16
|
-
@remoteling.push('queue1','value')
|
17
|
-
@remoteling.pop('queue1')
|
18
|
-
@remoteling.run('proc_name','variables_to_send')
|
19
|
-
@remoteling.run_serialized('p "foo"','more_variables_to_send')
|
11
|
+
* require 'remoteling-ruby'
|
20
12
|
|
13
|
+
* @remoteling = Remoteling.new('adrian@pikeapps.com','password')
|
14
|
+
* @remoteling.set('example','value')
|
15
|
+
* @remoteling.get('example')
|
16
|
+
* @remoteling.push('queue1','value')
|
17
|
+
* @remoteling.pop('queue1')
|
18
|
+
* @remoteling.run('proc_name','variables_to_send')
|
19
|
+
* @remoteling.run_serialized('p "foo"','more_variables_to_send')
|
21
20
|
|
22
21
|
Copyright (c) 2009 Pike Engineering, released under the MIT license
|
23
22
|
|
data/Rakefile
CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
|
|
2
2
|
require 'rake'
|
3
3
|
require 'echoe'
|
4
4
|
|
5
|
-
Echoe.new('remoteling-ruby', '0.0.
|
5
|
+
Echoe.new('remoteling-ruby', '0.0.2') do |p|
|
6
6
|
p.description = "Ruby gem for working with Remoteling (http://remoteling.com)"
|
7
7
|
p.url = "http://github.com/adrianpike/remoteling-ruby"
|
8
8
|
p.author = "Adrian Pike"
|
data/lib/remoteling.rb
CHANGED
@@ -2,7 +2,6 @@ require 'yaml'
|
|
2
2
|
require 'uri'
|
3
3
|
require 'net/http'
|
4
4
|
require 'cgi'
|
5
|
-
require 'ruby2ruby'
|
6
5
|
|
7
6
|
class Remoteling
|
8
7
|
class OurBad < Exception; end
|
@@ -11,8 +10,7 @@ class Remoteling
|
|
11
10
|
|
12
11
|
CONFIG = {
|
13
12
|
:timeout => 2,
|
14
|
-
|
15
|
-
:remoteling_host => 'http://localhost:3000/'
|
13
|
+
:remoteling_host => 'http://remoteling.com/'
|
16
14
|
}
|
17
15
|
|
18
16
|
def initialize(login,password)
|
data/remoteling-ruby.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{remoteling-ruby}
|
5
|
-
s.version = "0.0.
|
5
|
+
s.version = "0.0.2"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Adrian Pike"]
|
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
|
|
10
10
|
s.description = %q{Ruby gem for working with Remoteling (http://remoteling.com)}
|
11
11
|
s.email = %q{adrian@pikeapps.com}
|
12
12
|
s.extra_rdoc_files = ["README.rdoc", "lib/remoteling.rb"]
|
13
|
-
s.files = ["Manifest", "README.rdoc", "Rakefile", "lib/remoteling.rb", "
|
13
|
+
s.files = ["Manifest", "README.rdoc", "Rakefile", "lib/remoteling.rb", "remoteling-ruby.gemspec", "test/remoteling_test.rb"]
|
14
14
|
s.homepage = %q{http://github.com/adrianpike/remoteling-ruby}
|
15
15
|
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Remoteling-ruby", "--main", "README.rdoc"]
|
16
16
|
s.require_paths = ["lib"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: remoteling-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adrian Pike
|
@@ -27,8 +27,8 @@ files:
|
|
27
27
|
- README.rdoc
|
28
28
|
- Rakefile
|
29
29
|
- lib/remoteling.rb
|
30
|
-
- test/remoteling_test.rb
|
31
30
|
- remoteling-ruby.gemspec
|
31
|
+
- test/remoteling_test.rb
|
32
32
|
has_rdoc: true
|
33
33
|
homepage: http://github.com/adrianpike/remoteling-ruby
|
34
34
|
licenses: []
|