poundie-wozzeck 0.0.1 → 0.0.2

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/poundie-wozzeck.rb +2 -1
  2. metadata +5 -5
@@ -2,7 +2,8 @@ class PoundieWozzeck < Poundie::Plugin
2
2
  register :poundie_wozzeck
3
3
 
4
4
  prefix %r/poundie wozzeck\s+/ do |term|
5
- speak "POUNDIE WOZZECK COMING SOON!"
5
+ response = `curl -d "melody[lyrics]=#{term}" http://wozzeck.me/melodies`
6
+ speak response.scan(/http:\/\/[^"]*/).first
6
7
  end
7
8
  end
8
9
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: poundie-wozzeck
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Michael "Bad Dog" Haddad
@@ -33,7 +33,7 @@ dependencies:
33
33
  version: 0.0.3
34
34
  type: :runtime
35
35
  version_requirements: *id001
36
- description: A Poundie plugin for integrating WOZZECK wit your Campfire
36
+ description: A Poundie plugin for integrating WOZZECK wit your Campfire.
37
37
  email:
38
38
  executables: []
39
39
 
@@ -75,6 +75,6 @@ rubyforge_project:
75
75
  rubygems_version: 1.8.2
76
76
  signing_key:
77
77
  specification_version: 3
78
- summary: A Poundie plugin for integrating WOZZECK wit your Campfire
78
+ summary: A Poundie plugin for integrating WOZZECK wit your Campfire.
79
79
  test_files: []
80
80