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 +4 -4
- data/lib/tractive/migrator/converter/trac_to_github.rb +10 -1
- data/lib/tractive/version.rb +1 -1
- data/tractive.gemspec +1 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55fc3cea20d6e9afb060ab67f70582da9e5940a58b8b5c3a2e8e52612a2f3c8b
|
4
|
+
data.tar.gz: 6b86875665351d16687fdc2c12dfca715fb7ec340c2d4d2e7f9fc98ecd7df460
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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|
|
data/lib/tractive/version.rb
CHANGED
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.
|
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-
|
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:
|