octoevent 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/OctoEvent.rb +2 -2
- metadata +1 -1
data/lib/OctoEvent.rb
CHANGED
@@ -73,7 +73,7 @@ class OctoEvent
|
|
73
73
|
private
|
74
74
|
# Composed path for github
|
75
75
|
def path_for name, type
|
76
|
-
"#{type}
|
76
|
+
"#{type}/#{name}"
|
77
77
|
end
|
78
78
|
|
79
79
|
# Use json as config to make the users dynamiclly changable
|
@@ -84,7 +84,7 @@ class OctoEvent
|
|
84
84
|
obj.each do |target|
|
85
85
|
name = target["name"]
|
86
86
|
type = target["type"]
|
87
|
-
target_array <<
|
87
|
+
target_array << path_for(name, type)
|
88
88
|
end
|
89
89
|
end
|
90
90
|
|