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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: db79276d371e935c975cd2d2fe7fcb3f1d985449020af0b5dfede60b36780809
4
- data.tar.gz: 7ef2e4d49b13dbc5228b420bb3f64fa948be10b9fe92cfc0782c5eb3512c11ba
3
+ metadata.gz: 576dbac84a7975420e8426cb58cfe9cc9d910d7b9dc3e450dbf989d01f35e271
4
+ data.tar.gz: 11dd438b5a53293bcbc9018cf5163b31e62bc092a1b6ad5eb1fc7d08f773de42
5
5
  SHA512:
6
- metadata.gz: f48d7c7175f2bb59d2cab9d13dca6cbeac5a217d63241741ef8e92ba32dbf89ac656e7f55b2bcebfd774117f83a74143e7535270e7d593de4ddd1987786a806b
7
- data.tar.gz: 5568cbef469f2e72f43b9c8713e850121e03a1f2039db2a023eed8a480514bb0334b17ec50a9c7b3b11946b74e696ee995bdc74fcdf4520f8d4a77aa23e8c14b
6
+ metadata.gz: 4ab66d8e8a63f4657b29929c6d437905357639428c478d1cd9d28d0df1048e7ff0c3938fb894464289a11b9cb5f7f25ec9ffaf12f03ca16fa71d8f5e2025f184
7
+ data.tar.gz: 176fd553f8b293156bcbeeef49d529656261a668fc8286612aa3ca0048915d4bddf9481c65f2b4b6a5020a53ac9a21352e9f61341919d86c46c9f0b65ce539ed
@@ -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
- relative_path = Pathname.new(File.expand_path(e))
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
@@ -1,4 +1,4 @@
1
1
  module Cnvrg
2
- VERSION = '1.6.11'
2
+ VERSION = '1.6.12'
3
3
  end
4
4
 
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.11
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.4
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.