postrest 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -13
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 40fd6caf0d6ff35d3fe76d780f0df632482d4471
4
- data.tar.gz: 8f1c2e8c45afb4bd0565d233d5b119c93deb5b15
3
+ metadata.gz: 62e2ac88e73d725684a65f9e73c0e7ee7188dba8
4
+ data.tar.gz: 51ae79cbbaf9acb9dc9d61a9302ede68699b9a70
5
5
  SHA512:
6
- metadata.gz: ebf343e1af2a6eaade7f66b6f36e6304e66da78857fecbcdd36cb927580a07c95196a102f1e12af801b4623eff4a2bf0945784cff70576911332059b425742bf
7
- data.tar.gz: 576ea67b31ee9185eb4ba836c64b72421fe0473dfa40d420b014943731b5ff9ac196bfc98eba7945f061196413adc020f1e5cebfcb89ba1de6b7212267468e85
6
+ metadata.gz: 30630b1cdf962a9d2b713f94fb41cd7597354402d922f09dbe0f3730d4a55c3e8c4ee0dba7c5566eb9ef00d9b73f8b6b0f7382781f2f65cfc0728df6c63b82c0
7
+ data.tar.gz: d91608d76c9219dcf5f63374359c68eade2695b60b164ad75f23839fa4ae032b3ec3e0d0014e22a1cb565294db4922901408adb68b54d388b4b492debe339e8f
data/README.md CHANGED
@@ -4,13 +4,12 @@
4
4
  Have a different way to interact with data from your [postgresal] database.
5
5
 
6
6
  You can either interact with the data via your browser,
7
- ```
8
- http://localhost:3000/
9
- ```
7
+
8
+ http://localhost:4567/
9
+
10
10
  or hit the rest interface directly.
11
- ```
12
- http://localhost:3000/:env/:tbl
13
- ```
11
+
12
+ http://localhost:4567/:env/:tbl
14
13
 
15
14
  # How
16
15
 
@@ -19,12 +18,8 @@ Connection strings are provided as environment variables.
19
18
 
20
19
  # What
21
20
 
22
- ```BASH
23
- DB=postgres://localhost:5432/test postrest
24
- ```
21
+ $ DB=pgsql://postgrest_test_user:postgrest_test_pass@localhost:5432/postgrest_test postrest
25
22
 
26
- ```WWW
27
- http://localhost:3000/DB/test_tbl?field1=value1&field2=value2
23
+ http://localhost:4567/DB/test_tbl?field1=value1&field2=value2
28
24
  or
29
- http://localhost:3000/:env/:tbl?field1=value1&field2=value2
30
- ```
25
+ http://localhost:4567/:db/:tbl?field1=value1&field2=value2
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: postrest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guy Irvine