vvlad-rack_ext_direct 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/CHANGELOG +3 -0
- data/README +39 -0
- data/TODO +7 -0
- metadata +90 -0
data/CHANGELOG
ADDED
data/README
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
Rack::Ext::Direct
|
|
2
|
+
=================
|
|
3
|
+
|
|
4
|
+
Rack::Ext::Direct it's an implementation of Ext.Direct specification draft (see links) and a client component that is able to talk Ext.Direct's protocol for RPC communication.
|
|
5
|
+
|
|
6
|
+
The current implementation support JSON communication Form specifications it's not implemented yet.
|
|
7
|
+
|
|
8
|
+
Installation
|
|
9
|
+
------------
|
|
10
|
+
From remote repository
|
|
11
|
+
$sudo gem install vvlad-rack_ext_direct --source http://gems.github.com
|
|
12
|
+
From local version:
|
|
13
|
+
rake package && sudo rake install
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
Basic Usage
|
|
17
|
+
-----------
|
|
18
|
+
|
|
19
|
+
In a Rack environment:
|
|
20
|
+
|
|
21
|
+
require 'rack/ext/direct'
|
|
22
|
+
use Rack::Ext::Direct::Remoting,
|
|
23
|
+
:service_root => "app/services",
|
|
24
|
+
:remoting_path => /^\/services$/,
|
|
25
|
+
:report_errors => (ENV["RACK_ENV"] == "development")
|
|
26
|
+
|
|
27
|
+
run app
|
|
28
|
+
|
|
29
|
+
In a Rails environment add in `config/environment.rb' the following lines:
|
|
30
|
+
config.middleware.use Rack::Ext::Direct::Remoting,
|
|
31
|
+
:service_root => "app/services",
|
|
32
|
+
:remoting_path => /^\/services$/,
|
|
33
|
+
:report_errors => (ENV["RAILS_ENV"] == "development")
|
|
34
|
+
|
|
35
|
+
Links
|
|
36
|
+
------
|
|
37
|
+
Ext.Direct specification draft:
|
|
38
|
+
http://rubyforge.org/docman/view.php/7639/9465/Ext.Direct-pre-alpha.pdf
|
|
39
|
+
|
data/TODO
ADDED
metadata
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: vvlad-rack_ext_direct
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.2
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Verestiuc Vlad Ovidiu
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
|
|
12
|
+
date: 2009-08-21 00:00:00 -07:00
|
|
13
|
+
default_executable:
|
|
14
|
+
dependencies:
|
|
15
|
+
- !ruby/object:Gem::Dependency
|
|
16
|
+
name: activesupport
|
|
17
|
+
type: :runtime
|
|
18
|
+
version_requirement:
|
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
20
|
+
requirements:
|
|
21
|
+
- - ">="
|
|
22
|
+
- !ruby/object:Gem::Version
|
|
23
|
+
version: "0"
|
|
24
|
+
version:
|
|
25
|
+
- !ruby/object:Gem::Dependency
|
|
26
|
+
name: json
|
|
27
|
+
type: :runtime
|
|
28
|
+
version_requirement:
|
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - ">="
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: "0"
|
|
34
|
+
version:
|
|
35
|
+
- !ruby/object:Gem::Dependency
|
|
36
|
+
name: rack
|
|
37
|
+
type: :runtime
|
|
38
|
+
version_requirement:
|
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
40
|
+
requirements:
|
|
41
|
+
- - ">="
|
|
42
|
+
- !ruby/object:Gem::Version
|
|
43
|
+
version: 1.0.0
|
|
44
|
+
version:
|
|
45
|
+
description: Rack::Ext::Direct it's an implementation of Ext.Direct specification draft for Rack and a ruby client for making remoting calls.
|
|
46
|
+
email: verestiuc.vlad@gmail.com
|
|
47
|
+
executables: []
|
|
48
|
+
|
|
49
|
+
extensions: []
|
|
50
|
+
|
|
51
|
+
extra_rdoc_files:
|
|
52
|
+
- README
|
|
53
|
+
files:
|
|
54
|
+
- README
|
|
55
|
+
- TODO
|
|
56
|
+
- CHANGELOG
|
|
57
|
+
has_rdoc: true
|
|
58
|
+
homepage: http://dot.ipages.ro/projects/rack-ext-direct
|
|
59
|
+
licenses:
|
|
60
|
+
post_install_message:
|
|
61
|
+
rdoc_options:
|
|
62
|
+
- --line-numbers
|
|
63
|
+
- --inline-source
|
|
64
|
+
- --title
|
|
65
|
+
- Rack::Ext::Direct
|
|
66
|
+
- --main
|
|
67
|
+
- Rack::Ext::Direct
|
|
68
|
+
require_paths:
|
|
69
|
+
- lib
|
|
70
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
71
|
+
requirements:
|
|
72
|
+
- - ">="
|
|
73
|
+
- !ruby/object:Gem::Version
|
|
74
|
+
version: "0"
|
|
75
|
+
version:
|
|
76
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
77
|
+
requirements:
|
|
78
|
+
- - ">="
|
|
79
|
+
- !ruby/object:Gem::Version
|
|
80
|
+
version: "0"
|
|
81
|
+
version:
|
|
82
|
+
requirements: []
|
|
83
|
+
|
|
84
|
+
rubyforge_project:
|
|
85
|
+
rubygems_version: 1.3.5
|
|
86
|
+
signing_key:
|
|
87
|
+
specification_version: 2
|
|
88
|
+
summary: Simple implementation of Ext.Direct specifications
|
|
89
|
+
test_files: []
|
|
90
|
+
|