lhs 15.6.0 → 15.6.1
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 +4 -4
- data/README.md +5 -3
- data/lhs.gemspec +1 -1
- data/lib/lhs/version.rb +1 -1
- metadata +10 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9511ca1ef684cea377c435b2eb41c8c85063c41705583c16020f6b51e8ac7a20
|
|
4
|
+
data.tar.gz: e746bf7da546c199bb559ef9f2b9eee449083958a60cb0f8138290916580b148
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 641c4079a479490d5af2c4b9ebbb552f1f8d6ba4509c1d5d09ef1ee2c7d41d39470779f83ec0e55739a81f05edd0ad1e86705bd1d65318b6faf36995a308362c
|
|
7
|
+
data.tar.gz: e1371c23a194e4100d3f3c72ea1d7617d19c9bc6a645695ea752fce37c861b052a55c262b6640617d60a7cb7bdea4fee75617f247a3d260dd5a8e6663004667e
|
data/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
LHS
|
|
2
2
|
===
|
|
3
3
|
|
|
4
|
+
LHS ia a Rails-Gem, providing an ActiveRecord like interface to access HTTP-JSON-Services from Rails Applications. Special features provided by this gem are: Multiple endpoint configuration per resource, active-record-like query-chains, scopes, error handling, relations, request cycle cache, batch processing, including linked resources (hypermedia), data maps (data accessing), nested-resource handling, ActiveModel like backend validation conversion, formbuilder-compatible, three types of pagination support, service configuration per resource, kaminari-support and much more.
|
|
5
|
+
|
|
4
6
|
LHS uses [LHC](//github.com/local-ch/LHC) for advanced http requests.
|
|
5
7
|
|
|
6
8
|
## Quickstart
|
|
@@ -1094,7 +1096,7 @@ Record.all
|
|
|
1094
1096
|
```
|
|
1095
1097
|
GET https://service.example.com/records?limit=100
|
|
1096
1098
|
{
|
|
1097
|
-
items: [{...}, ...]
|
|
1099
|
+
items: [{...}, ...],
|
|
1098
1100
|
total: 300,
|
|
1099
1101
|
limit: 100,
|
|
1100
1102
|
offset: 0
|
|
@@ -1127,7 +1129,7 @@ Record.all
|
|
|
1127
1129
|
```
|
|
1128
1130
|
GET https://service.example.com/records?limit=100
|
|
1129
1131
|
{
|
|
1130
|
-
items: [{...}, ...]
|
|
1132
|
+
items: [{...}, ...],
|
|
1131
1133
|
total: 300,
|
|
1132
1134
|
limit: 100,
|
|
1133
1135
|
page: 1
|
|
@@ -1161,7 +1163,7 @@ Record.all
|
|
|
1161
1163
|
```
|
|
1162
1164
|
GET https://service.example.com/records?limit=100
|
|
1163
1165
|
{
|
|
1164
|
-
items: [{...}, ...]
|
|
1166
|
+
items: [{...}, ...],
|
|
1165
1167
|
total: 300,
|
|
1166
1168
|
limit: 100,
|
|
1167
1169
|
page: 1
|
data/lhs.gemspec
CHANGED
|
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
|
|
|
11
11
|
s.email = ['web@localsearch.ch']
|
|
12
12
|
s.homepage = 'https://github.com/local-ch/lhs'
|
|
13
13
|
s.summary = 'REST services accelerator: Rails gem providing an easy, active-record-like interface for http (hypermedia) json services'
|
|
14
|
-
s.description =
|
|
14
|
+
s.description = 'LHS ia a Rails-Gem, providing an ActiveRecord like interface to access HTTP-JSON-Services from Rails Applications. Special features provided by this gem are: Multiple endpoint configuration per resource, active-record-like query-chains, scopes, error handling, relations, request cycle cache, batch processing, including linked resources (hypermedia), data maps (data accessing), nested-resource handling, ActiveModel like backend validation conversion, formbuilder-compatible, three types of pagination support, service configuration per resource, kaminari-support and much more.'
|
|
15
15
|
|
|
16
16
|
s.files = `git ls-files`.split("\n")
|
|
17
17
|
s.test_files = `git ls-files -- spec/*`.split("\n")
|
data/lib/lhs/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lhs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 15.6.
|
|
4
|
+
version: 15.6.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- https://github.com/local-ch/lhs/graphs/contributors
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-08-
|
|
11
|
+
date: 2018-08-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activemodel
|
|
@@ -178,8 +178,14 @@ dependencies:
|
|
|
178
178
|
- - ">="
|
|
179
179
|
- !ruby/object:Gem::Version
|
|
180
180
|
version: '0'
|
|
181
|
-
description: '
|
|
182
|
-
|
|
181
|
+
description: 'LHS ia a Rails-Gem, providing an ActiveRecord like interface to access
|
|
182
|
+
HTTP-JSON-Services from Rails Applications. Special features provided by this gem
|
|
183
|
+
are: Multiple endpoint configuration per resource, active-record-like query-chains,
|
|
184
|
+
scopes, error handling, relations, request cycle cache, batch processing, including
|
|
185
|
+
linked resources (hypermedia), data maps (data accessing), nested-resource handling,
|
|
186
|
+
ActiveModel like backend validation conversion, formbuilder-compatible, three types
|
|
187
|
+
of pagination support, service configuration per resource, kaminari-support and
|
|
188
|
+
much more.'
|
|
183
189
|
email:
|
|
184
190
|
- web@localsearch.ch
|
|
185
191
|
executables: []
|