civility 4 → 5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/civility.rb +2 -1
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a6f0da957b7714e3146162e4a1d8ed1a5a8f42c
|
4
|
+
data.tar.gz: fa3f7430d506aa4d5003e2790ec245b28f4f7692
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb419a0a1d77a02227efc1d42233773254e00be81094f2ca21d683c4fd0671110caba65f4d509fa336e2fdad50d41d8eb34aa5a422877a9078337cd97d63e554
|
7
|
+
data.tar.gz: cc0ba378f05412eb2900b7ef91ba449a1c55b1c89bc1be07243680e1427c15c7e89e040b45332e946f214fedb48eefbce968790a118d91409f0e27a42fa6bc96
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/civility.rb
CHANGED
@@ -5,7 +5,7 @@ require 'yaml'
|
|
5
5
|
require 'thor'
|
6
6
|
|
7
7
|
class Civility < Thor
|
8
|
-
VERSION = '
|
8
|
+
VERSION = '5'
|
9
9
|
SAVE_DIRECTORY = "/Documents/Aspyr/Sid\ Meier\'s\ Civilization\ 5/Saves/hotseat/"
|
10
10
|
FILE_PREFIX = 'civility'
|
11
11
|
FILE_EXT = 'Civ5Save'
|
@@ -88,6 +88,7 @@ class Civility < Thor
|
|
88
88
|
else
|
89
89
|
game = game_by_name(game_name)
|
90
90
|
return missing_game_error(name) unless game
|
91
|
+
@config[:slack] = {} if @config[:slack].nil?
|
91
92
|
@config[:slack].merge!(
|
92
93
|
game['GameId'] => {
|
93
94
|
channel_name: channel_name,
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|