octoevent 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/OctoEvent.rb +2 -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}s/#{name}"
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 << "#{type}s/#{name}"
87
+ target_array << path_for(name, type)
88
88
  end
89
89
  end
90
90
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octoevent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: