restful_objects 0.0.3 → 0.0.4
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.
- checksums.yaml +8 -8
- data/README.md +3 -1
- data/bin/restful_server.rb +3 -3
- data/lib/restful_objects/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NDdjMTY3Yjk5NjVmOTFkYmU3ZTBkZGVjZWE1Yjk4ZmFlZjc3MGIwOQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NTBjYzJhYjFiNTFjMDIxODEzODE5OTYxOTQ3ZTVlM2YwZjA1MDM3YQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NThkMzMxNjliNDY4MjNmNzg4ZTVmZmExZjEyMDA5ZDgyZThhZmYwZTU0OTgx
|
10
|
+
MmYwMmM0MzI3MTg1ODFhZmE2MmUxMWJjMjdhODQ3OWFjNzFlZmIwMTEzZmRh
|
11
|
+
MDJjNTAxYmZmYTg1MjI3OTVmZGY0NjkyZDE0NzlmYzhhYTkxNzI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MjM2NWJkYTZiZDliMzJkMGYyNGFmMzViMTYxYWNlNGJiZjJiMGNlZjU2ZjNh
|
14
|
+
ZWMzMDA5MDliY2VlODE1MTQyYTdlMWY3ZDQ3MTg2NTA0Y2RiZDhkMzZmNTVh
|
15
|
+
YWQ5ZmZjNjg0NzliNDkyOWMyMWJiYWJiMWU0ZmQ3ZmViYmI0ZDM=
|
data/README.md
CHANGED
@@ -44,7 +44,9 @@ class Graph
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
```
|
47
|
-
|
47
|
+
|
48
|
+
### Examples
|
49
|
+
- [Topological Sort Restful Objects server](https://github.com/vizcay/ro_topological_sort)
|
48
50
|
|
49
51
|
### How to install it?
|
50
52
|
Run
|
data/bin/restful_server.rb
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
require 'restful_objects'
|
2
2
|
|
3
|
-
if ARGV.
|
3
|
+
if ARGV[0].nil? then
|
4
4
|
puts 'You must provide the script path to load: "restful_server script.rb"'
|
5
5
|
exit(1)
|
6
6
|
end
|
7
7
|
|
8
|
-
load ARGV
|
8
|
+
load ARGV[0]
|
9
9
|
|
10
|
-
RestfulObjects::DomainModel.current.base_url = 'http://localhost:4567'
|
10
|
+
RestfulObjects::DomainModel.current.base_url = ARGV[1] || 'http://localhost:4567'
|
11
11
|
RestfulObjects::Server.run!
|
12
12
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: restful_objects
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pablo Vizcay
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -178,3 +178,4 @@ test_files:
|
|
178
178
|
- spec/unit/object_spec.rb
|
179
179
|
- spec/unit/type_list_spec.rb
|
180
180
|
- spec/unit/object_actions_spec.rb
|
181
|
+
has_rdoc:
|