lokalise-api-next 0.0.2 → 0.0.3
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 +1 -1
- data/lib/lokalise_api_next/concerns/paginated.rb +2 -2
- data/lib/lokalise_api_next/version.rb +1 -1
- data/lokalise-api-next.gemspec +6 -6
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 13fd5183f3750182a6d070f3e0617c770e9cbe8defc143dc48d02e6ab2724b73
|
|
4
|
+
data.tar.gz: efe75fe3adb46c7a422cb0b221906bdd5e23e922a37e5868b4570c766cc8514a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 36308edc7f800bc271c40047ebdc65083e0f848681e57338031d2becc486919249bb374c39de094790e7573b2c986fc5b6ff919d15387390aef8a0aa964c0137
|
|
7
|
+
data.tar.gz: 45ee9081ee69287456d834366469fee7b13d86ce6eef393762793130eb5a0cdfa1ce7380ab8f4b58b4bffce5837df5d21e3732dca7d9f60c762d5702dad1e12b
|
data/README.md
CHANGED
|
@@ -63,7 +63,7 @@ The SDK also supports configurable timeouts, automatic retries, proxies, and per
|
|
|
63
63
|
|
|
64
64
|
## Documentation
|
|
65
65
|
|
|
66
|
-
See
|
|
66
|
+
See **[lokalise.github.io/ruby-lokalise-api-next/](https://lokalise.github.io/ruby-lokalise-api-next/)** for usage examples, client configuration, pagination, and available API operations.
|
|
67
67
|
|
|
68
68
|
## Development and testing
|
|
69
69
|
|
|
@@ -4,14 +4,14 @@ module LokaliseApiNext
|
|
|
4
4
|
module Concerns
|
|
5
5
|
# Adds pagination metadata to API collections.
|
|
6
6
|
module Paginated
|
|
7
|
-
attr_reader :
|
|
7
|
+
attr_reader :meta_count, :cursor
|
|
8
8
|
|
|
9
9
|
def initialize(json_items, meta = nil)
|
|
10
10
|
super
|
|
11
11
|
|
|
12
12
|
raise ArgumentError, 'Pagination metadata is missing' unless meta.is_a?(Hash)
|
|
13
13
|
|
|
14
|
-
@
|
|
14
|
+
@meta_count = meta.fetch('count')
|
|
15
15
|
@cursor = meta['cursor']
|
|
16
16
|
@has_more = meta.fetch('hasMore')
|
|
17
17
|
end
|
data/lokalise-api-next.gemspec
CHANGED
|
@@ -7,9 +7,9 @@ Gem::Specification.new do |spec|
|
|
|
7
7
|
spec.version = LokaliseApiNext::VERSION
|
|
8
8
|
spec.authors = ['Elijah S. Krukowski']
|
|
9
9
|
spec.email = ['elskruk@proton.me']
|
|
10
|
-
spec.summary
|
|
11
|
-
spec.description
|
|
12
|
-
spec.homepage
|
|
10
|
+
spec.summary = 'Ruby SDK for the Lokalise API'
|
|
11
|
+
spec.description = 'A Ruby client for interacting with the Lokalise API.'
|
|
12
|
+
spec.homepage = 'https://lokalise.github.io/ruby-lokalise-api-next/'
|
|
13
13
|
spec.license = 'BSD-3-Clause'
|
|
14
14
|
spec.required_ruby_version = '>= 3.4'
|
|
15
15
|
|
|
@@ -24,8 +24,8 @@ Gem::Specification.new do |spec|
|
|
|
24
24
|
|
|
25
25
|
spec.metadata = {
|
|
26
26
|
'rubygems_mfa_required' => 'true',
|
|
27
|
-
'source_code_uri' =>
|
|
28
|
-
'bug_tracker_uri' =>
|
|
29
|
-
'documentation_uri' =>
|
|
27
|
+
'source_code_uri' => 'https://github.com/lokalise/ruby-lokalise-api-next',
|
|
28
|
+
'bug_tracker_uri' => 'https://github.com/lokalise/ruby-lokalise-api-next/issues',
|
|
29
|
+
'documentation_uri' => 'https://lokalise.github.io/ruby-lokalise-api-next/'
|
|
30
30
|
}
|
|
31
31
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lokalise-api-next
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Elijah S. Krukowski
|
|
@@ -128,14 +128,14 @@ files:
|
|
|
128
128
|
- lib/lokalise_api_next/rest_vantage.rb
|
|
129
129
|
- lib/lokalise_api_next/version.rb
|
|
130
130
|
- lokalise-api-next.gemspec
|
|
131
|
-
homepage: https://github.
|
|
131
|
+
homepage: https://lokalise.github.io/ruby-lokalise-api-next/
|
|
132
132
|
licenses:
|
|
133
133
|
- BSD-3-Clause
|
|
134
134
|
metadata:
|
|
135
135
|
rubygems_mfa_required: 'true'
|
|
136
136
|
source_code_uri: https://github.com/lokalise/ruby-lokalise-api-next
|
|
137
137
|
bug_tracker_uri: https://github.com/lokalise/ruby-lokalise-api-next/issues
|
|
138
|
-
documentation_uri: https://github.
|
|
138
|
+
documentation_uri: https://lokalise.github.io/ruby-lokalise-api-next/
|
|
139
139
|
rdoc_options: []
|
|
140
140
|
require_paths:
|
|
141
141
|
- lib
|
|
@@ -150,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
150
150
|
- !ruby/object:Gem::Version
|
|
151
151
|
version: '0'
|
|
152
152
|
requirements: []
|
|
153
|
-
rubygems_version: 4.0.
|
|
153
|
+
rubygems_version: 4.0.24
|
|
154
154
|
specification_version: 4
|
|
155
155
|
summary: Ruby SDK for the Lokalise API
|
|
156
156
|
test_files: []
|