grape_odata 0.0.0

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.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/grape_odata.rb +13 -0
  3. metadata +46 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 05d38ea202ef30e72b989f0d35b67efb6cf848af
4
+ data.tar.gz: 890ead500543a1691b5cc71983d3de9cfacc90a0
5
+ SHA512:
6
+ metadata.gz: b84c391cbcd2e71acc36cfe4ed57818c728ac8c72f41c58fa8b8c05bf8dc25aaae6eb42e05d7af12acc894039cbbab62bfa4ed6b17a05eb329f9f82574286faa
7
+ data.tar.gz: 3311d2da6117827513e9858ef961724638745cff81e54b8b0deb242ca88a3d5c88e6b4bb5f0ca0ba5c4c5ad1a755cebaa321a2d6529181322a83e89abf11ebef
@@ -0,0 +1,13 @@
1
+ ## This library allows individual Grape Routes to adhere to the ODATA Pattern
2
+ ## this library follows the standards laid out in the following URL
3
+ ## http://docs.oasis-open.org/odata/odata-json-format/v4.0/odata-json-format-v4.0.html
4
+ # require 'odata_v4/json_format_validation.rb'
5
+
6
+ class GRAPE_ODATA
7
+ ## include GRAPE_ODATA.enabled! inside the first line of your individual
8
+ ## ODATA route that needs to adhere to the ODATA Pattern
9
+ def self.enabled!
10
+ ## Are any Params included in the request? Validate the Params format
11
+ puts 'hello world'
12
+ end
13
+ end
metadata ADDED
@@ -0,0 +1,46 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: grape_odata
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Aron Lilland
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-09-08 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: The ODATA query pattern allows API's to talk to clients like Microsoft
14
+ Excel, and other very popular client applications in a uniform way. If HTTP REST
15
+ is the protocol, ODATA is a specific pattern that API's follow.
16
+ email: adlilland@gmail.com
17
+ executables: []
18
+ extensions: []
19
+ extra_rdoc_files: []
20
+ files:
21
+ - lib/grape_odata.rb
22
+ homepage: https://github.com/aronlmin/grape_odata
23
+ licenses:
24
+ - MIT
25
+ metadata: {}
26
+ post_install_message:
27
+ rdoc_options: []
28
+ require_paths:
29
+ - lib
30
+ required_ruby_version: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: '0'
35
+ required_rubygems_version: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ requirements: []
41
+ rubyforge_project:
42
+ rubygems_version: 2.6.13
43
+ signing_key:
44
+ specification_version: 4
45
+ summary: Enable Grape API Framework to use the ODATA pattern
46
+ test_files: []