shiny-sdk 0.3.1 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/shiny-sdk.rb +1 -1
  3. data/shiny-sdk.gemspec +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 48b861be49698a8283dd9a8ed81c3694fe04d770
4
- data.tar.gz: 40fa1f2ad62acda23da5853693d8b26d86b6d64a
3
+ metadata.gz: a6d1b97900a1b2245973fe3c5f00255dadea263f
4
+ data.tar.gz: 9837bf65b3d32e43af4abcc2816d69ea8146505c
5
5
  SHA512:
6
- metadata.gz: e33284869c50491e2ff1a8da961b3cc02b0facb012583042e825fa7eb128d767407eba1118e6e8fe458fc4c1b928793cb210f96b494aa86b08eb51212f0f6615
7
- data.tar.gz: d36edc651185e1d5cf13fc9747f2fa64ac0602678bb4dcec998a3aaf91fb9ca357cbe3f69d705e566ba11d208c23720aa3c02458eeb816cefb7f2d9b6f4c6087
6
+ metadata.gz: 1c5e9f0857640458551443e82de8e757e605a7728d42026da565471ce936f04c2aa85c4e9713eb65dbf23775a5d2886b520291d8ac7471222637e4eaec12b1ce
7
+ data.tar.gz: f21a4449183bcf2315a005f910f54c5722187b9aedf6f4b43309c2a8dc9f2ce58be7804bf265bb3a66506f44e0cdd2907b5d6cd9cb069a8a0e3836169e0fa5f8
data/lib/shiny-sdk.rb CHANGED
@@ -50,7 +50,7 @@ class Shiny
50
50
  if response.code == '200'
51
51
  return JSON.parse(response.body)
52
52
  else
53
- raise ShinyError.new('Network error:' + response.code)
53
+ raise ShinyError.new("HTTP Code: #{response.code}, Body: #{JSON.parse(response.body)}.")
54
54
  end
55
55
  end
56
56
 
data/shiny-sdk.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'shiny-sdk'
3
- s.version = '0.3.1'
3
+ s.version = '0.4.1'
4
4
  s.date = `git log --pretty="%ai" -n 1`.split(" ").first
5
5
  s.summary = "Shiny SDK"
6
6
  s.description = "Shiny Ruby SDK"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shiny-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Koell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-01 00:00:00.000000000 Z
11
+ date: 2017-12-28 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Shiny Ruby SDK
14
14
  email: i@wug.moe