shiny-sdk 0.3.0 → 0.3.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: fc54e31691c419ab93135609400836155d1a6f67
4
- data.tar.gz: e72912a21ec1780f067580620a8da5d44ea280c7
3
+ metadata.gz: 48b861be49698a8283dd9a8ed81c3694fe04d770
4
+ data.tar.gz: 40fa1f2ad62acda23da5853693d8b26d86b6d64a
5
5
  SHA512:
6
- metadata.gz: d7eb2dfd017ee1b0fb492afcec9a10787cd4da720a1f169e228523d04b1d4ea4f6b3ac95e093d493d7f4ea12e7c7c3b5999b782db50a40ada8a9f30fa0dfe65c
7
- data.tar.gz: 7e0e9233fff780e5450a2da8e82f69c9cbe02a12678feccfc1036299d24849930d5beff2a0cf860158516332cdcd43c47f220b6158dbbed5cc1460f0c7701c6a
6
+ metadata.gz: e33284869c50491e2ff1a8da961b3cc02b0facb012583042e825fa7eb128d767407eba1118e6e8fe458fc4c1b928793cb210f96b494aa86b08eb51212f0f6615
7
+ data.tar.gz: d36edc651185e1d5cf13fc9747f2fa64ac0602678bb4dcec998a3aaf91fb9ca357cbe3f69d705e566ba11d208c23720aa3c02458eeb816cefb7f2d9b6f4c6087
data/lib/shiny-sdk.rb CHANGED
@@ -66,7 +66,7 @@ class Shiny
66
66
  if response.code == '200'
67
67
  return JSON.parse(response.body)
68
68
  else
69
- raise ShinyError.new('Network error:' + response.code)
69
+ raise ShinyError.new("HTTP Code: #{response.code}, Body: #{JSON.parse(response.body)}.")
70
70
  end
71
71
  end
72
72
  end
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.0'
3
+ s.version = '0.3.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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shiny-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Koell
@@ -40,7 +40,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
40
40
  version: '0'
41
41
  requirements: []
42
42
  rubyforge_project:
43
- rubygems_version: 2.5.1
43
+ rubygems_version: 2.6.13
44
44
  signing_key:
45
45
  specification_version: 4
46
46
  summary: Shiny SDK