cnvrg 1.6.11 → 1.6.12
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/lib/cnvrg/project.rb +1 -6
- data/lib/cnvrg/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 576dbac84a7975420e8426cb58cfe9cc9d910d7b9dc3e450dbf989d01f35e271
|
|
4
|
+
data.tar.gz: 11dd438b5a53293bcbc9018cf5163b31e62bc092a1b6ad5eb1fc7d08f773de42
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4ab66d8e8a63f4657b29929c6d437905357639428c478d1cd9d28d0df1048e7ff0c3938fb894464289a11b9cb5f7f25ec9ffaf12f03ca16fa71d8f5e2025f184
|
|
7
|
+
data.tar.gz: 176fd553f8b293156bcbeeef49d529656261a668fc8286612aa3ca0048915d4bddf9481c65f2b4b6a5020a53ac9a21352e9f61341919d86c46c9f0b65ce539ed
|
data/lib/cnvrg/project.rb
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
require 'fileutils'
|
|
2
|
-
require 'pathname'
|
|
3
|
-
|
|
4
|
-
|
|
5
2
|
module Cnvrg
|
|
6
3
|
class Project
|
|
7
4
|
attr_reader :slug, :owner, :title, :local_path, :working_dir, :is_git, :is_branch, :machines
|
|
@@ -429,10 +426,8 @@ module Cnvrg
|
|
|
429
426
|
end
|
|
430
427
|
list_ignore_new = list_ignore.map{|x| x.gsub("//","/")} rescue []
|
|
431
428
|
# list.each do |e|
|
|
432
|
-
project_root = Pathname.new(self.local_path)
|
|
433
429
|
Parallel.map(list, in_threads: IDXParallelThreads) do |e|
|
|
434
|
-
|
|
435
|
-
label = relative_path.relative_path_from(project_root)
|
|
430
|
+
label = e.sub(self.local_path + "/", "")
|
|
436
431
|
if not Cnvrg::Files.valid_file_name?(label)
|
|
437
432
|
raise StandardError.new("#{label} is not a valid file name")
|
|
438
433
|
end
|
data/lib/cnvrg/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cnvrg
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.6.
|
|
4
|
+
version: 1.6.12
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yochay Ettun
|
|
@@ -477,7 +477,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
477
477
|
- !ruby/object:Gem::Version
|
|
478
478
|
version: '0'
|
|
479
479
|
requirements: []
|
|
480
|
-
rubygems_version: 3.0.
|
|
480
|
+
rubygems_version: 3.0.3
|
|
481
481
|
signing_key:
|
|
482
482
|
specification_version: 4
|
|
483
483
|
summary: A CLI tool for interacting with cnvrg.io.
|