pragmatic_ql 0.1.0 → 0.1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 771e0f65cd0dab969fbcceb1e6dc14080506a51f57ac2d79528f28dc5eb8e3b2
4
- data.tar.gz: 826df108ac44f83691b2bd68b092d86b6230a8badef0fdfd3936604a4ca71819
3
+ metadata.gz: abdbb2886a7918395b7cffaedfa8c48a50184f6fe0992499faa69a07577df3bb
4
+ data.tar.gz: c726d0febeceff92b9a8c1c7b5ff87c12e3e3f0496435bce65e17d466958a749
5
5
  SHA512:
6
- metadata.gz: e96dcf11d19d0313e68c65fb67bcc0b9ca5c1f93967dff1a41a4d6cbf4f0b08dad1b0d6cad3832bf19c395d2ecb5080c5a316291784778bd7fd56c9bda9ce16a
7
- data.tar.gz: 315f268340952a8c6bf14ec9fb49dee2d49b1284e7a627ab11035bb69a969639d2c19c2e6a9b83c777ae6c649dd4a2f3c16c059ab228f3b8a853f243f5956a38
6
+ metadata.gz: e11c3e951b236f2ff1539c3ddae27cb79d61bb24efc19fc49b759a109d3e159d7f13e6e89af2a6e08112bcc2efc6ee30289812d786183ff6a9d7df8791d0ae36
7
+ data.tar.gz: c3a3d6911d16e0ac9bc9e82a8e492e0869ace8904c584ba3b80298f4581b266d11137913df16e72f22737abaf7ddd482fe60745a3ffbe45b86013277de843ff1
data/README.md CHANGED
@@ -27,7 +27,7 @@ GET /students?include=student.name,student.work.title,student.work_list
27
27
 
28
28
  ```
29
29
 
30
- > So the gem tries to do what GraphQL for obtaining data but obviously gem solution is more :hankey: ...but at the same time more pragmatic.
30
+ > So the gem tries to do what GraphQL for obtaining data but obviously gem solution has less features ...but at the same time more pragmatic.
31
31
 
32
32
 
33
33
  > todo: gem is ready I'm just writing up documentation, pls come back
@@ -37,13 +37,13 @@ GET /students?include=student.name,student.work.title,student.work_list
37
37
  #### why don't you use GraphQL ?
38
38
 
39
39
  We love [GraphQL](https://graphql.org) and recommending to use it
40
- instead of [PragmaticQL](https://github.com/equivalent/pragmatic_ql).
40
+ instead of [PragmaticQL](https://github.com/Pobble/pragmatic_ql).
41
41
 
42
42
  But Sometimes you are dealing with legacy REST API and you want to slowly
43
43
  introduce query language to the application API and you don't have the luxury of switching
44
44
  the entire project to GraphQL. This is where PragmaticQL may come in handy.
45
45
  You may slowly transition your API to query/constructive based API and then maybe
46
- make it GraphQL (but I doubt it as you will end up loving this :hankey:)
46
+ make it GraphQL (but I doubt it as you will end up loving it :wink:)
47
47
 
48
48
  Another benefit of PragmaticQL is that it's job is only to help you to GET
49
49
  /retrieve data. PragmaticQL is not imposing any way how to
@@ -67,8 +67,8 @@ And then execute:
67
67
 
68
68
  This is quite comprehensive topic. Pls read up section in `/docs`:
69
69
 
70
- * [01 really simple example](https://github.com/equivalent/pragmatic_ql/blob/master/docs/01_stupid_simple_implementation.md)
71
- * [02 serializer implementation](https://github.com/equivalent/pragmatic_ql/blob/master/docs/02_serializer_example.md)
70
+ * [01 really simple example](https://github.com/Pobble/pragmatic_ql/blob/master/docs/01_stupid_simple_implementation.md)
71
+ * [02 serializer implementation](https://github.com/Pobble/pragmatic_ql/blob/master/docs/02_serializer_example.md)
72
72
 
73
73
 
74
74
 
@@ -81,7 +81,7 @@ To install this gem onto your local machine, run `bundle exec rake install`.
81
81
 
82
82
  ## Contributing
83
83
 
84
- Bug reports and pull requests are welcome on GitHub at https://github.com/equivalent/pragmatic_ql. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
84
+ Bug reports and pull requests are welcome on GitHub at https://github.com/Pobble/pragmatic_ql. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
85
85
 
86
86
  ## License
87
87
 
@@ -89,4 +89,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
89
89
 
90
90
  ## Code of Conduct
91
91
 
92
- Everyone interacting in the PragmaticQL project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/equivalent/pragmatic_ql/blob/master/CODE_OF_CONDUCT.md).
92
+ Everyone interacting in the PragmaticQL project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/Pobble/pragmatic_ql/blob/master/CODE_OF_CONDUCT.md).
@@ -42,9 +42,9 @@ This way when you query `/students/123?include=student.names,student.dob` you ge
42
42
  ```json
43
43
  {
44
44
  "id": 123,
45
- "first_name": "Tomas",
46
- "last_name": "Valent",
47
- "date_of_birth": "..some value..",
45
+ "first_name": "Johnny",
46
+ "last_name": "Bravo",
47
+ "date_of_birth": "1995-03-26",
48
48
  }
49
49
  ```
50
50
 
@@ -221,9 +221,9 @@ This way when you query `/students/123?include=student.name,student.dob` you get
221
221
  ```json
222
222
  {
223
223
  "id": 123,
224
- "first_name": "Tomas",
225
- "last_name": "Valent",
226
- "date_of_birth": "..some value..",
224
+ "first_name": "Johnny",
225
+ "last_name": "Bravo",
226
+ "date_of_birth": "1995-03-26",
227
227
  }
228
228
  ```
229
229
 
@@ -243,8 +243,8 @@ When you query `/students/123?include=student.name,student.work_list`
243
243
  ```json
244
244
  {
245
245
  "id": 123,
246
- "first_name": "Tomas",
247
- "last_name": "Valent",
246
+ "first_name": "Johnny",
247
+ "last_name": "Bravo",
248
248
  "work_list": [
249
249
  { "id": 111 },
250
250
  { "id": 222 },
@@ -260,8 +260,8 @@ When you query `/students/123?include=student.name,student.work_list,student.wor
260
260
  ```json
261
261
  {
262
262
  "id": 123,
263
- "first_name": "Tomas",
264
- "last_name": "Valent",
263
+ "first_name": "Johnny",
264
+ "last_name": "Bravo",
265
265
  "work_list": [
266
266
  {
267
267
  "id": 111,
@@ -280,8 +280,8 @@ When you query `/students/123?include=student.name,student.work_list,student.wor
280
280
  ```json
281
281
  {
282
282
  "id": 123,
283
- "first_name": "Tomas",
284
- "last_name": "Valent",
283
+ "first_name": "Johnny",
284
+ "last_name": "Bravo",
285
285
  "work_list": [
286
286
  {
287
287
  "id": 111,
@@ -1,3 +1,3 @@
1
1
  module PragmaticQL
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.0.1"
3
3
  end
@@ -6,7 +6,7 @@ require "pragmatic_ql/version"
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "pragmatic_ql"
8
8
  spec.version = PragmaticQL::VERSION
9
- spec.authors = ["Tomas Valent", "Charlie Tarr", "Rene Ivanov", "Anas Alaoui", "Alexander Sidorenko" ]
9
+ spec.authors = ["Tomas Valent", "Charlie Tarr", "Rene Ivanov", "Anas Alaoui", "Alexander Sidorenko", "Matthijs Hovelynck"]
10
10
  spec.email = ["equivalent@eq8.eu"]
11
11
 
12
12
  spec.summary = %q{Simple query language for JSON based APIs}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pragmatic_ql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomas Valent
@@ -9,6 +9,7 @@ authors:
9
9
  - Rene Ivanov
10
10
  - Anas Alaoui
11
11
  - Alexander Sidorenko
12
+ - Matthijs Hovelynck
12
13
  autorequire:
13
14
  bindir: exe
14
15
  cert_chain: []