simple_spark 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/lib/simple_spark/exceptions.rb +1 -1
- data/lib/simple_spark/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e9c2da122d2d41c900d00bb0d1587fe65e3ab49
|
4
|
+
data.tar.gz: c843abe4ba0470e26e8d39ebaa2baae5ae6b8cbe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af10decced5302a6f9157a302078e902ba050d9c25b0f4b0c023bc268d0e64d3e372557777b0a191caada9267ad4668a8bb8f645fdaad9577401eb057e5bd56a
|
7
|
+
data.tar.gz: 8be7810f707c5cd4a1bc3f7c807859f88911444587c91b5207b2862e39d9d4171c5712ff31d12c423cc2d189cf5dce2758fcd172dd737eb0ecee457dc8108efd
|
data/README.md
CHANGED
@@ -16,7 +16,7 @@ module SimpleSpark
|
|
16
16
|
|
17
17
|
def self.fail_with_exception_for_status(status, errors)
|
18
18
|
exception = status_codes[status.to_s] || status_codes['default']
|
19
|
-
fail exception.new(errors), errors.map { |e| "#{e['message']}" + (e['description'] ? ": #{e['description']}" : '') }.join(', ')
|
19
|
+
fail exception.new(errors), errors.map { |e| "#{e['message']} #{status} " + (e['description'] ? ": #{e['description']}" : '') }.join(', ')
|
20
20
|
end
|
21
21
|
|
22
22
|
def self.status_codes
|
data/lib/simple_spark/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_spark
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jak Charlton
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|