opencpu 0.10.0 → 0.11.0

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: 5070269fee0cea90489369a6c10b7df8f9a4d946
4
- data.tar.gz: 2f4c0996615c1febdf2f69af2f3a3e88fb3e0d30
3
+ metadata.gz: dc0cb7f76b0607da16e88af4cb940c9a375f1827
4
+ data.tar.gz: 3902dd515a91c14a537729eb1ba016bfdf2374f6
5
5
  SHA512:
6
- metadata.gz: b9e5ef651e28801b06f0df1aaf4a55c716425f67c7f850915a3bbb4f98621f72a70c22af851ca0cec2c1e5fe95595a485420b22879aa0d97178e4c92a66fc06c
7
- data.tar.gz: a15e61815b1e2803704c77768359e9b3376575c321615bc983136dd85b44c7e76e163b26bb0adc97207a31a1a5ab91b472d97e9f659f7927b645db403247c43d
6
+ metadata.gz: c6a36ef083a0bd623b818ca07b1824738e6406fe175710a59df13d838384a5b84b2143a2c5443c859c4fe8b6d1c9483e56aa478e39039e613fcb6868ebf9d3e4
7
+ data.tar.gz: 96ef4c14dd1cfd2dc9a547d6a6ab46db1f498abe6b0ad17d782d75d4db90c7ebe0330b1e80f1f034dabe7f0c55af8cc2bd29f84625e9aa7e4b206113636da49b
@@ -1,7 +1,11 @@
1
+ # 0.11.0
2
+
3
+ * BREAKING CHANGE: on unknown failure, it raises OpenCPUError instead of UnknownError
4
+
1
5
  # 0.10.0
2
6
 
3
7
  * BREAKING CHANGE: on request failure, it raises a specific error (BadRequest, InternalServerError or Unknown Error)
4
- instead of StandardError
8
+ instead of RuntimeError
5
9
 
6
10
  # 0.9.2
7
11
 
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # OpenCPU gem
2
2
 
3
3
  [![Build Status](https://travis-ci.org/roqua/opencpu.svg?branch=master)](https://travis-ci.org/roqua/opencpu)
4
- [![Build Status](https://circleci.com/gh/roqua/opencpu.svg?style=shield&circle-token=4689df66bef26cd4aff65a4893c25400795b408a)](https://circleci.com/gh/roqua/roqua/tree/master)
4
+ [![CircleCI](https://circleci.com/gh/roqua/opencpu.svg?style=svg&circle-token=4689df66bef26cd4aff65a4893c25400795b408a)](https://circleci.com/gh/roqua/opencpu)
5
5
  [![Code Climate](https://codeclimate.com/github/roqua/opencpu.png)](https://codeclimate.com/github/roqua/opencpu)
6
6
  [![Dependency Status](https://gemnasium.com/roqua/opencpu.svg)](https://gemnasium.com/roqua/opencpu)
7
7
 
@@ -81,7 +81,7 @@ module OpenCPU
81
81
  when 500..599
82
82
  InternalServerError
83
83
  else
84
- UnknownError
84
+ OpenCPUError
85
85
  end
86
86
  end
87
87
 
@@ -4,6 +4,5 @@ module OpenCPU
4
4
  class BadRequest < OpenCPUError; end
5
5
  class InternalServerError < OpenCPUError; end
6
6
  class AccessDenied < OpenCPUError; end
7
- class UnknownError < OpenCPUError; end
8
7
  end
9
8
  end
@@ -1,6 +1,6 @@
1
1
  module OpenCPU
2
2
  MAJOR = 0
3
- MINOR = 10
3
+ MINOR = 11
4
4
  TINY = 0
5
5
  VERSION = [MAJOR, MINOR, TINY].join('.')
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opencpu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Malykh