hubba 1.0.1 → 1.0.2

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
  SHA256:
3
- metadata.gz: 931ab3ccbc1b2a8ce51eb11b56371bbcb81e0a74fd7072a3a0bf30606f4c2392
4
- data.tar.gz: 218fa3616853ba3bed20fdbf149ecea67daf1e7d57fa458a4e6a1aa11f68ea98
3
+ metadata.gz: 165a93604772533f7e51823364362fb8ab3b7d319052f9b5cfbb25249ee71f7e
4
+ data.tar.gz: f9f8b119f54f0346b1baf0b6308deb6811cb2dd6cecdc6f706f307e181c46cd9
5
5
  SHA512:
6
- metadata.gz: fec60446a92b16c4e6540ee22892508aad4b14e888639fb46bbd4d2bf25c37cbe1e798142a71d95bf7c66be246c8e0734d91f59ee3f02fe9921a038a16d58243
7
- data.tar.gz: b443caa9328aaad4e9a41dd4fcfe91f8ce6a6f2379ec9aa2a98e7b6fd1f92e2bc9c1ad90c47d4cf61e89935da00a810639dece7518dc6672fe44c3f02d5ea6ec
6
+ metadata.gz: 91cc82fcce1d8bc2540be790b0b2b437ff81ba07f204611bfbc1753ee388f3520921895d7b1561a436686f4b2ddf930634ba46d9c585025fb25fc5c9e04d9f62
7
+ data.tar.gz: 20a54a58ac84ca57dff2b8b4106eec72fd0dd3cc476a44e253c1564079228d230a8d5589386cab011ce7e8399aba8e9ada2bf2eae90d0b4133d83f188ba77545
data/CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
- ### 1.0.1
1
+ ### 1.0.2
2
2
  ### 0.0.1 / 2015-11-10
3
3
 
4
4
  * Everything is new. First release.
data/lib/hubba/github.rb CHANGED
@@ -202,7 +202,10 @@ def get( request_uri, preview: nil )
202
202
  else
203
203
  puts "!! HTTP ERROR: #{res.status.code} #{res.status.message}:"
204
204
  pp res.raw
205
- exit 1
205
+
206
+ ## todo/fix:
207
+ ## improve HttpError - add status_code and status_message and so on - why? why not!!!
208
+ raise HttpError, "#{res.status.code} #{res.status.message}"
206
209
  end
207
210
  end # method get
208
211
 
data/lib/hubba/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module Hubba
2
2
  MAJOR = 1 ## todo: namespace inside version or something - why? why not??
3
3
  MINOR = 0
4
- PATCH = 1
4
+ PATCH = 2
5
5
  VERSION = [MAJOR,MINOR,PATCH].join('.')
6
6
 
7
7
  def self.version
data/lib/hubba.rb CHANGED
@@ -21,6 +21,12 @@ end
21
21
 
22
22
  # our own code
23
23
  require 'hubba/version' # note: let version always go first
24
+
25
+ module Hubba
26
+ class HttpError < StandardError
27
+ end
28
+ end
29
+
24
30
  require 'hubba/config'
25
31
  require 'hubba/github'
26
32
  require 'hubba/reposet'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hubba
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gerald Bauer