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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZTk4ZmFkNzBlZDBlZmIwNzkxMjVmYzY5Nzg1NGQ5N2IyMGIzODRiYg==
4
+ NDdjMTY3Yjk5NjVmOTFkYmU3ZTBkZGVjZWE1Yjk4ZmFlZjc3MGIwOQ==
5
5
  data.tar.gz: !binary |-
6
- OGU3NDBlZDE3OWRhZmZmNThhN2YxM2Q4YTk5Mjk3NmRmMDI3Mzk1Yw==
6
+ NTBjYzJhYjFiNTFjMDIxODEzODE5OTYxOTQ3ZTVlM2YwZjA1MDM3YQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NDRmZDgzY2NkNzFiYzk1MjUyNTkyMTVkYzcyNzZmZjcyN2UwNDI1NWIwZjJk
10
- ZjYzYjU2ZDFkZDNiMWRlZGMwYmM0Y2VlMzg0ZWFjMDcxMjQyNDhjMDU3MDVj
11
- MDA5MGM2NmRiN2Q2MDNjYTgxYjc2MzhhZTU5ZDIxYzNlMDYzN2I=
9
+ NThkMzMxNjliNDY4MjNmNzg4ZTVmZmExZjEyMDA5ZDgyZThhZmYwZTU0OTgx
10
+ MmYwMmM0MzI3MTg1ODFhZmE2MmUxMWJjMjdhODQ3OWFjNzFlZmIwMTEzZmRh
11
+ MDJjNTAxYmZmYTg1MjI3OTVmZGY0NjkyZDE0NzlmYzhhYTkxNzI=
12
12
  data.tar.gz: !binary |-
13
- MGM4N2Y2MGU1MDMwNDk4MDJlMjE2MzZhODQ5Y2MxMDRjY2E2YmE0ZTYwYzQ4
14
- M2JiODdhMDRkNzFjYjgwNTQxN2Y0ODJmNTlhOTZjNTFjYTJlNWZmMmE2NjQ0
15
- NGJkZThmMTNkNzRmNGI4Y2U5YzcyYjExYWMwYmE3NTlkNjdmM2Q=
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
- You can check this example and more [here](https://github.com/vizcay/RestfulObjectsRubyExamples).
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
@@ -1,12 +1,12 @@
1
1
  require 'restful_objects'
2
2
 
3
- if ARGV.first.nil? then
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.first
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
 
@@ -1,3 +1,3 @@
1
1
  module RestfulObjects
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
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.3
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-08-29 00:00:00.000000000 Z
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: