gsd-cli 0.1.39 → 0.1.40

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: 7f63083cd5b8d265941eb98bc7d015101ed1168f9a04953cd32fedbf883abd88
4
- data.tar.gz: 47705f05da2f10c015f279a3f28ecbd72a13090c194096b5687171c0e83ee9d9
3
+ metadata.gz: dc342edae0d179122cde867ab7ecb3af7d766e4cc7f605cbf95b5d5fecf3d295
4
+ data.tar.gz: 237a59f63593efc2f4af2ffc4ea37d376dbd485a7effdcea8d40b1ff80791bf1
5
5
  SHA512:
6
- metadata.gz: 9c4330bcc1dba2c9fb4c5c21e21fcc49aeef4c4c096c3e72f8e0fadc93a4358d19a7c56bfbdb3fdda795896568b6e02380a9e50ebbd073020ba9f8500f703edd
7
- data.tar.gz: 21c970cec7c74cdae5f58032dec24df921b57a01c5a8641d7bacc7099d548254402e2856562820aaad7e93ab658c6eacbe0e63f25f6d23fef4f856097580df15
6
+ metadata.gz: ad0702cd98b88d40806508eae35a4ecc9d8467333bd831cb26bb3f39d747b694360ceb29f535a94225b58dbb37a2243ab77a33ce3c89ca233fbef83596f7f3b5
7
+ data.tar.gz: 18059bbdd4d2b68a12d4f4d9811cb2cd28cf19b66c491775fb6e4e3fa554c2e8ba2d66e740cd6c47579eba4b31dda361857a03ca51f84d1655b21d19b88b09bb
data/lib/cli/install.rb CHANGED
@@ -19,11 +19,11 @@ command :install do |c|
19
19
  end
20
20
 
21
21
  def install(game, path, steam_user, steam_password)
22
- puts "Beginning to install dedicated server for #{game}. This may take a while...".blue
22
+ puts "Beginning to install dedicated server for #{game.name}. This may take a while...".blue
23
23
  system("rm -f #{"/tmp/#{game.name}.service"}")
24
24
  system("rm -f /etc/systemd/system/#{game.name}.service")
25
25
  GameTemplate.new(game)
26
26
  .install(Helpers.get_install_path(path, game.name),
27
27
  Helpers.get_steamcmd_login(steam_user, steam_password))
28
- puts "Dedicated server installation for #{game} complete. Check the output for messages or warnings.".green
28
+ puts "Dedicated server installation for #{game.name} complete. Check the output for messages or warnings.".green
29
29
  end
data/lib/cli/update.rb CHANGED
@@ -23,11 +23,11 @@ end
23
23
  # Servers installed via steamcmd are simply "reinstalled" to update them
24
24
  # Non-steamcmd servers are not supported at this point (thats a 0.3.0 thing)
25
25
  def update(game, path, steam_user, steam_password)
26
- puts "Beginning #{game} server update. This may take a while...".blue
26
+ puts "Beginning #{game.name} server update. This may take a while...".blue
27
27
  system("rm -f #{"/tmp/#{game.name}.service"}")
28
28
  system("rm -f /etc/systemd/system/#{game.name}.service")
29
29
  GameTemplate.new(game)
30
30
  .install(Helpers.get_install_path(path, game.name),
31
31
  Helpers.get_steamcmd_login(steam_user, steam_password))
32
- puts "#{game} server update complete. Check the output for messages or warnings.".green
32
+ puts "#{game.name} server update complete. Check the output for messages or warnings.".green
33
33
  end
data/lib/cli.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  require "commander/import"
4
4
 
5
5
  program :name, "gsd-cli"
6
- program :version, "0.1.39"
6
+ program :version, "0.1.40"
7
7
  program :description, "A cli tool to deploy & manage dedicated game servers on Linux"
8
8
 
9
9
  require "cli/install"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gsd-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.39
4
+ version: 0.1.40
5
5
  platform: ruby
6
6
  authors:
7
7
  - Egee