twiddla 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -50,7 +50,7 @@ module Twiddla
50
50
  { username: @username, password: @password }
51
51
  end
52
52
 
53
- LEADING_NEGATIVE_INTEGER = /-\d/
53
+ LEADING_NEGATIVE_INTEGER = /^-\d/
54
54
  def check_for_errors_and_return(response_body)
55
55
  raise APIError.new(response_body) if response_body.match(LEADING_NEGATIVE_INTEGER)
56
56
  response_body
@@ -1,3 +1,3 @@
1
1
  module Twiddla
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twiddla
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: