civility 4 → 5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b3ade38cc74649b6ef0d584613677e929ec52591
4
- data.tar.gz: 62ee2085ff12225da1472669b0f2137fe9b267fc
3
+ metadata.gz: 4a6f0da957b7714e3146162e4a1d8ed1a5a8f42c
4
+ data.tar.gz: fa3f7430d506aa4d5003e2790ec245b28f4f7692
5
5
  SHA512:
6
- metadata.gz: ae6071278cab83b336f81f1bdc5125a47c9f60b7305b67d7bb0180b4a9ab369015c4fefdaf0254a802897d18d54b1e982d081ebecf8413aef8f19a08dfeae78e
7
- data.tar.gz: dcad9e61fbd760a2fc1cf3cf80484f608ce248810e89e82207793f80fee172f5939e51c9dcef133ae1de8e6583c648ec7f0e05fa1a5463f06e2492dd730f6bf5
6
+ metadata.gz: eb419a0a1d77a02227efc1d42233773254e00be81094f2ca21d683c4fd0671110caba65f4d509fa336e2fdad50d41d8eb34aa5a422877a9078337cd97d63e554
7
+ data.tar.gz: cc0ba378f05412eb2900b7ef91ba449a1c55b1c89bc1be07243680e1427c15c7e89e040b45332e946f214fedb48eefbce968790a118d91409f0e27a42fa6bc96
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -5,7 +5,7 @@ require 'yaml'
5
5
  require 'thor'
6
6
 
7
7
  class Civility < Thor
8
- VERSION = '4'
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
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: civility
3
3
  version: !ruby/object:Gem::Version
4
- version: '4'
4
+ version: '5'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Abraham Williams
metadata.gz.sig CHANGED
Binary file