octoevent 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/OctoEvent.rb +0 -2
- metadata +1 -1
data/lib/OctoEvent.rb
CHANGED
@@ -59,7 +59,6 @@ class OctoEvent
|
|
59
59
|
update_target if @config_url
|
60
60
|
|
61
61
|
result = {}
|
62
|
-
puts target_array
|
63
62
|
target_array.each do |target|
|
64
63
|
events = events_for target, acceptable_events
|
65
64
|
result[target] = events unless events.empty?
|
@@ -100,7 +99,6 @@ class OctoEvent
|
|
100
99
|
page = 1
|
101
100
|
while page <= 10
|
102
101
|
result = @clnt.get(url, {client_id: @client_id, client_secret: @client_secret}, {"If-None-Match" => etag})
|
103
|
-
puts result.body
|
104
102
|
break unless result.status_code == 200
|
105
103
|
events = JSON.load result.body
|
106
104
|
if page == 1 # etag and last event should be set when querying the very first page
|