fortytwoish 0.1.0 → 0.1.1

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: fed3b7beae7a15061d431550d5fd6fb401bd0529
4
- data.tar.gz: 18ca605c4b53712562eb70a0d3d5d47e1db1c847
3
+ metadata.gz: 93a785eade4f47119581b5fb512e542ba17638a8
4
+ data.tar.gz: 425c93d885d87faee7e387810d397e6c4f985082
5
5
  SHA512:
6
- metadata.gz: 289bb5a76e5e9014204da096796b00457cc81092f6c7677d1c7575181421d054d321679222d8904211a86625aed5eebf64f9c8e7ab40585b85b4eef9e2445f43
7
- data.tar.gz: 8c99c77b77a69b9afc64348d873be76b935c84b876d905641556bdafbc0a8a20b4e6d725c513e4a1f49018603bc77b3513951f5c1c15e5ded44550d5978ee2a1
6
+ metadata.gz: 0a087c6998eef86a68e6e22dfb3d06a2871fdf336f6dd9fde19c591065ea0ee06394471fb36ff9f520400352e0041c74a5bfc6a497cd5a01e5ec736f49ac901d
7
+ data.tar.gz: d0826f7e800e5c3647d9397b8bc3e5de39dc5c9d1cab00c01c82681e69b35b1d9e70bdf1244f7d0bd02d66e7c3cc23ff2bb08893c5a31f815ee8a2aabc83c588
@@ -3,8 +3,6 @@ require 'fortytwoish/client'
3
3
  require 'fortytwoish/configuration'
4
4
 
5
5
  module Fortytwoish
6
- class FortytwoRuntimeError < StandardError; end
7
-
8
6
  def self.configuration
9
7
  @configuration ||= Configuration.new
10
8
  end
@@ -10,9 +10,7 @@ module Fortytwoish
10
10
 
11
11
  def send
12
12
  response = send_message
13
-
14
- raise FortytwoRuntimeError, "Fortytwo error: #{response.message}" unless response.code == '200'
15
- true
13
+ response.code
16
14
  end
17
15
 
18
16
  private
@@ -1,3 +1,3 @@
1
1
  module Fortytwoish
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fortytwoish
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Davor Babić
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-03-29 00:00:00.000000000 Z
11
+ date: 2018-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler