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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 88d19476ec7711330333098331e5bbd057920c239025dc9b45b923afb52c8cef
4
- data.tar.gz: c84aecdefed351e4765c94fede0643d3d4544b00233d31a29e4546c5c26e2b1c
3
+ metadata.gz: 13fd5183f3750182a6d070f3e0617c770e9cbe8defc143dc48d02e6ab2724b73
4
+ data.tar.gz: efe75fe3adb46c7a422cb0b221906bdd5e23e922a37e5868b4570c766cc8514a
5
5
  SHA512:
6
- metadata.gz: 271601532dc476a927aa53a50b57f7d41680910fb7d5c1fa999218ecc46413560357348f63d66193a024d574eb82d333477d592d1dff7cca35a18af58e9f211e
7
- data.tar.gz: 3ca355127c47a4cb54e83781fc069b6996ce5febb5d05cf3896bc607140b79042b90fc63b81c16682a94f5065af5cb578c47ac7f6b329f11fa69828817fc6e37
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 the **[GitHub Wiki](../../wiki)** for usage examples, client configuration, pagination, and available API operations.
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 :page_count, :cursor
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
- @page_count = meta.fetch('count')
14
+ @meta_count = meta.fetch('count')
15
15
  @cursor = meta['cursor']
16
16
  @has_more = meta.fetch('hasMore')
17
17
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LokaliseApiNext
4
- VERSION = '0.0.2'
4
+ VERSION = '0.0.3'
5
5
  end
@@ -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 = 'Ruby SDK for the Lokalise API'
11
- spec.description = 'A Ruby client for interacting with the Lokalise API.'
12
- spec.homepage = 'https://github.com/lokalise/ruby-lokalise-api-next'
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' => spec.homepage,
28
- 'bug_tracker_uri' => "#{spec.homepage}/issues",
29
- 'documentation_uri' => "#{spec.homepage}#readme"
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.2
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.com/lokalise/ruby-lokalise-api-next
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.com/lokalise/ruby-lokalise-api-next#readme
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.23
153
+ rubygems_version: 4.0.24
154
154
  specification_version: 4
155
155
  summary: Ruby SDK for the Lokalise API
156
156
  test_files: []