ci-scripts 0.0.7 → 0.1.0

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
  SHA1:
3
- metadata.gz: 51f4769e9cf685b96706b9cdf50151e18ecd9946
4
- data.tar.gz: d914093b6cc461c85e5abf9d919b4f73628bb10a
3
+ metadata.gz: f74821eadea5757eeecfadff15d7c132a30244b1
4
+ data.tar.gz: 1c9505bef79cf84de546750faf2f4f72be19b38c
5
5
  SHA512:
6
- metadata.gz: b06a54e4c8eb5433671b2a58c94fcf5001b5ec2a63184f86df6717bf4c3670286d8c9d2eda5a6a6307f73b83389b485e48067008aa36036b733e30b960c00e27
7
- data.tar.gz: 1d148ac3b20f6aa074aad3bce8862f460f639cc2b3e76bd9af4565aa0caebc1d5c2e6e1b8181e721b1653afc1485165508a774187dfa0047b3aa314aa9469895
6
+ metadata.gz: 68a0d1a525b8c675921cef275ebaaacc5726b69eb5b4f98c0a0141e127cd67d5c8592b603f42dc7e1a3d87f1f3d37d6e17d60dc9495eb74f2feed0451b1b2371
7
+ data.tar.gz: 00660c8601d106cc60240b7f9f1c0662d6f3bb1c2d677d7bae6a6c96937ed43ced112ba2ce5b685bca8f3dce990240495313ac2d6abfc3c4b358bd8854508438
@@ -1,3 +1,3 @@
1
1
  module CIScripts
2
- VERSION = "0.0.7"
2
+ VERSION = "0.1.0"
3
3
  end
@@ -28,6 +28,7 @@ module Files
28
28
  return puts "#{sha_folder} does not exist" unless File.exist?(sha_folder)
29
29
 
30
30
  Dir.foreach(sha_folder) do |file|
31
+ file = File.join(sha_folder, file)
31
32
  next if File.directory?(file)
32
33
  escaped_filename = firebase_escape(file.to_s)
33
34
  shas[escaped_filename.to_sym] = sha256.file(file).hexdigest
@@ -62,7 +63,7 @@ module Files
62
63
 
63
64
  def git_url
64
65
  git_remotes = capture_command("git", "remote", "-v")
65
- url = %r{/(?:git@|https:\/\/)([^\s]+)/}.match(git_remotes)[1]
66
+ url = %r{(?:git@|https:\/\/)([^\s]+)}.match(git_remotes)[1]
66
67
  url.tr(":", "/")
67
68
  end
68
69
 
@@ -26,7 +26,8 @@ module Go
26
26
  build_command.concat(gox_args.split)
27
27
  end
28
28
 
29
- command(*build_command)
29
+ # idk why this is needed...
30
+ command(build_command.join(" "))
30
31
  end
31
32
 
32
33
  private
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ci-scripts
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin Caldwell