convore-simple 0.0.5 → 0.0.6
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 +4 -2
- metadata +3 -3
data/convore-simple.gemspec
CHANGED
data/lib/convore-simple.rb
CHANGED
@@ -2,8 +2,10 @@
|
|
2
2
|
module ConvoreSimple
|
3
3
|
|
4
4
|
class Topic
|
5
|
-
def self.
|
6
|
-
|
5
|
+
def self.say(message)
|
6
|
+
user = `git config user.convore`
|
7
|
+
topic = `git config convore.topic`
|
8
|
+
url = "https://convore.com/api/topics/#{topic}/messages/create.json"
|
7
9
|
return `echo "#{message}" | curl -u "#{user}" -F message="<-" #{url}`
|
8
10
|
end
|
9
11
|
end
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 6
|
9
|
+
version: 0.0.6
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Micha Niskin
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-04-
|
17
|
+
date: 2011-04-18 00:00:00 -04:00
|
18
18
|
default_executable:
|
19
19
|
dependencies: []
|
20
20
|
|