convore-simple 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/convore-simple.gemspec +1 -1
- data/lib/convore-simple.rb +5 -2
- metadata +2 -2
data/convore-simple.gemspec
CHANGED
data/lib/convore-simple.rb
CHANGED
@@ -2,8 +2,11 @@
|
|
2
2
|
module ConvoreSimple
|
3
3
|
|
4
4
|
class Topic
|
5
|
-
def self.announce
|
6
|
-
|
5
|
+
def self.announce(topic_id, messsage)
|
6
|
+
user = `git config user.convore`
|
7
|
+
return nil unless (user)
|
8
|
+
return "asdf"
|
9
|
+
#`echo "#{message}" | curl -u $(git config user.convore) -F message="<-" https://convore.com/api/topics/19590/messages/create.json`
|
7
10
|
end
|
8
11
|
end
|
9
12
|
|