degica 1.0.1 → 1.0.2

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: b431e8ccf4e2fa5d3000f72e51e2930d841110c5
4
- data.tar.gz: 363792a8aa64f0346f00afeb7d719c691a384d89
3
+ metadata.gz: 0ce734241c8610fe29ea4e219281c6e00083ba54
4
+ data.tar.gz: 277ccdc127b46257ac4e7c68fdba0770b9338b6e
5
5
  SHA512:
6
- metadata.gz: 8883fe90bfe7701018c27c839ed645ff9e38e76a7780a589bcf1c7011076a709ad5e074fd632f320a523cf06584f63f32e8b439113ce5e7dd4c0598203aaf6f9
7
- data.tar.gz: 830053c3b3a4f30a066eafa40eaa08cf8b50ed974963a9f4399080358034cb41ed08d08c54a3eb9de502f8454b7d6c763c515467d4fa455ff194a37345b6584d
6
+ metadata.gz: ea23d006b053aaec8b619fdeb41efc5d71132023cfc36e86c8d4f0882dc16f649945631f1b881ae1d603433d39d9825eb2011250cc69b521c540220e866c65e1
7
+ data.tar.gz: ab1f7eb564022a81512a69889ff14a9ba9f9074b528cfb5ababf747cb024809480930e8058e4c409a8f05defd574adcdfdab8db405c46f3dbaea00ec403b6e2a
@@ -28,7 +28,11 @@ module Degica
28
28
  puts "Please enter a username:"
29
29
 
30
30
  username = Readline.readline("> ", true)
31
- RestClient.post "https://meio9thjhi.execute-api.ap-northeast-1.amazonaws.com/production", {username: username}.to_json unless ENV['SKIP']
31
+ begin
32
+ RestClient.post "https://meio9thjhi.execute-api.ap-northeast-1.amazonaws.com/production", {username: username}.to_json unless ENV['SKIP']
33
+ rescue SocketError
34
+ nil
35
+ end
32
36
 
33
37
  puts "Welcome (#{username})! An epic adventure awaits you.\n".highlight
34
38
  puts "\n" + @actor.describe + "\n"
@@ -1,3 +1,3 @@
1
1
  module Degica
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: degica
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Salzberg