goat 0.3.24 → 0.3.25

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 (3) hide show
  1. data/goat.gemspec +1 -1
  2. data/lib/goat/goat.js +2 -0
  3. metadata +3 -3
data/goat.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  spec = Gem::Specification.new do |s|
2
2
  s.name = 'goat'
3
- s.version = '0.3.24'
3
+ s.version = '0.3.25'
4
4
  s.summary = 'Pre-release beta version of Goat'
5
5
  s.author = 'Patrick Collison'
6
6
  s.email = 'patrick@collison.ie'
data/lib/goat/goat.js CHANGED
@@ -270,6 +270,8 @@ Goat.RPC = Class.extend({
270
270
  },
271
271
 
272
272
  rpcFailure: function() {
273
+ console.error("RPC error: couldn't load " + this.name);
274
+ alert("An error was encountered connecting to the server. This could be because of a problem with your internet connection, or with the server itself. You should try refreshing this page.");
273
275
  if(this.rpcError) this.rpcError(this);
274
276
  },
275
277
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: goat
3
3
  version: !ruby/object:Gem::Version
4
- hash: 35
4
+ hash: 33
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 24
10
- version: 0.3.24
9
+ - 25
10
+ version: 0.3.25
11
11
  platform: ruby
12
12
  authors:
13
13
  - Patrick Collison