tractive 1.0.6 → 1.0.7

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: fdbed889bbd1a1727140d2f1a537141b67199f956448952df2b6ac6ebf8976ca
4
- data.tar.gz: 3e211800b03fc1b8eeeb268c9198de662e8ef3cba0a3301231b278bee15e400f
3
+ metadata.gz: 55fc3cea20d6e9afb060ab67f70582da9e5940a58b8b5c3a2e8e52612a2f3c8b
4
+ data.tar.gz: 6b86875665351d16687fdc2c12dfca715fb7ec340c2d4d2e7f9fc98ecd7df460
5
5
  SHA512:
6
- metadata.gz: fd5f9acbc163d4509d2b75a61d64071cfee00c6167e6c709710f66999ece41e3d343fa0664c192a427a85fde02666d41a14f9618557fac1781acf26d8dd11349
7
- data.tar.gz: '081c6dc2373891c5190a6e43f93822174082990e37e253e110ccba0ed9801e13b425ec2e188ef512a75a0de0d955e96134946c7a6ae55f0331aa3f53cd88fdfd'
6
+ metadata.gz: 0f584eaf4348c98152368e9dfbd38090b136e52ac334f1755f5fda6b944a374775ef97acab214aa87a8a2228f86a1363e8a7230e6851760517a40449f3424572
7
+ data.tar.gz: 8fe4530ec8f978e9742c9f7e6f1b06c1b2ea17efc6a25f4c9db497dffb26733b267b6e4a2d3b079f99ea7b7af9e3b39e4c55bc58c7ca763b1e28cbbbcac9560c
@@ -204,7 +204,16 @@ module Migrator
204
204
  def create_labels_on_github(labels)
205
205
  return if labels.nil? || labels.empty?
206
206
 
207
- existing_labels = @client.labels(@repo, per_page: 100).map { |label| label["name"] }
207
+ page = 1
208
+ existing_labels = []
209
+ result = @client.labels(@repo, per_page: 100, page: page).map { |label| label["name"] }
210
+
211
+ until result.empty?
212
+ existing_labels += result
213
+ page += 1
214
+ result = @client.labels(@repo, per_page: 100, page: page).map { |label| label["name"] }
215
+ end
216
+
208
217
  new_labels = labels.reject { |label| existing_labels.include?(label["name"]&.strip) }
209
218
 
210
219
  new_labels.each do |label|
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Tractive
4
- VERSION = "1.0.6"
4
+ VERSION = "1.0.7"
5
5
  end
data/tractive.gemspec CHANGED
@@ -16,6 +16,7 @@ Gem::Specification.new do |spec|
16
16
  spec.metadata["homepage_uri"] = spec.homepage
17
17
  spec.metadata["source_code_uri"] = "https://github.com/ietf-ribose/tractive"
18
18
  spec.metadata["changelog_uri"] = "https://github.com/ietf-ribose/tractive"
19
+ spec.metadata["rubygems_mfa_required"] = "true"
19
20
 
20
21
  # Specify which files should be added to the gem when it is released.
21
22
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tractive
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-11-01 00:00:00.000000000 Z
11
+ date: 2021-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mysql2
@@ -170,6 +170,7 @@ metadata:
170
170
  homepage_uri: https://github.com/ietf-ribose/tractive
171
171
  source_code_uri: https://github.com/ietf-ribose/tractive
172
172
  changelog_uri: https://github.com/ietf-ribose/tractive
173
+ rubygems_mfa_required: 'true'
173
174
  post_install_message:
174
175
  rdoc_options: []
175
176
  require_paths: