gsd-cli 0.1.17 → 0.1.18

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cli.rb +2 -2
  3. data/lib/game_template.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c0516ec34682b016ec4d89c1e19b28c74884ca43fdccf962acb741fd41cf5f1e
4
- data.tar.gz: 13c36ad59bb5b77f4cc862b9e082907eb5c33c2e7256fe26b0faeb83a4a7d70a
3
+ metadata.gz: 6d1a31f90f342471685a6e85aaa123b9eb064520916ab8a6abf3d78e0259f132
4
+ data.tar.gz: c196300ae58823463d79f68bb6500073dc5b042d2b7877dcb60d6bb2295f699c
5
5
  SHA512:
6
- metadata.gz: e07b86688048a19c0a281ce6da40290822cb39a96068b384c2e8a3b7d14074eb2e01a10685197f802686d916aef7495734cd2a4ae4355b299e3c7987e3fba5e8
7
- data.tar.gz: 613eb50cb5019fde9ee84cc14e850a31a9db2539de4f93aa44136b42f11c485776837c30ad9ffa46171056d76cf028922dd2cae8b01388cf843c4d7d9261a3b4
6
+ metadata.gz: 15f562f04ac811106aa30bd48d4bae526525bc752711b2870f4d01a25eeb8053154b69d04c209a25e5aa935ef2f71f156ed5f993511656fd3ba914ed66671303
7
+ data.tar.gz: 15ffe083278801437e0e18c125816416c5d83fe815391fb27b7bbfc6a16d8194f29af4e9924c219b1082f8c06b692722bbc30a9b23c03b9d3aefcfdc7b3b8ab2
data/lib/cli.rb CHANGED
@@ -31,7 +31,7 @@ end
31
31
  @games = userdata
32
32
 
33
33
  program :name, "gsd-cli"
34
- program :version, "0.1.17"
34
+ program :version, "0.1.18"
35
35
  program :description, "A cli tool to deploy & manage dedicated game servers on Linux"
36
36
 
37
37
  command :install do |c|
@@ -56,7 +56,7 @@ command :run do |c|
56
56
  c.description = "Runs an installed dedicated game server as a new process. This command is used by the daemon and is not designed to be run manually."
57
57
  c.option "--path STRING", String, "Path that the game server will be installed to."
58
58
  c.action do |args, options|
59
- GameTemplate.new(@games[args.first()], options.path).run()
59
+ GameTemplate.new(@games[args.first()]).run(options.path)
60
60
  end
61
61
  end
62
62
 
data/lib/game_template.rb CHANGED
@@ -41,7 +41,7 @@ class GameTemplate
41
41
  system("sudo -p 'sudo password: ' systemctl disable #{@game.name}")
42
42
  end
43
43
 
44
- def run
44
+ def run(install_path)
45
45
  exec(@game.launch(install_path))
46
46
  end
47
47
 
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.17
4
+ version: 0.1.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Egee