muzang-plugins 1.1.4 → 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/muzang-plugins.rb +2 -0
- data/lib/muzang-plugins/.muzang-rubygems.rb.swp +0 -0
- data/lib/muzang-plugins/muzang-eval.rb +46 -41
- data/lib/muzang-plugins/muzang-google.rb +24 -0
- data/lib/muzang-plugins/muzang-grep.rb +107 -0
- data/lib/muzang-plugins/muzang-grep/wrttn_in.rb +28 -0
- data/lib/muzang-plugins/muzang-livereload.rb +16 -12
- data/lib/muzang-plugins/muzang-meme.rb +95 -84
- data/lib/muzang-plugins/muzang-motd.rb +18 -14
- data/lib/muzang-plugins/muzang-nerdpursuit.rb +79 -75
- data/lib/muzang-plugins/muzang-plusone.rb +40 -36
- data/lib/muzang-plugins/muzang-reddit.rb +29 -25
- data/lib/muzang-plugins/muzang-rubygems.rb +73 -55
- data/lib/muzang-plugins/muzang-soupirc.rb +16 -12
- data/lib/muzang-plugins/version.rb +1 -1
- data/muzang-plugins.gemspec +7 -3
- data/spec/livereload_spec.rb +18 -16
- data/spec/meme_spec.rb +59 -31
- data/spec/motd_spec.rb +13 -12
- data/spec/muzang-eval_spec.rb +32 -30
- data/spec/nerdpursuit_spec.rb +56 -54
- data/spec/plusone_spec.rb +43 -41
- data/spec/reddit_spec.rb +34 -32
- data/spec/rubygems_spec.rb +90 -60
- data/spec/soupirc_spec.rb +16 -14
- metadata +125 -27
data/spec/plusone_spec.rb
CHANGED
@@ -1,55 +1,57 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
require 'muzang-plugins/muzang-plusone'
|
3
3
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
4
|
+
module Muzang::Plugins
|
5
|
+
describe "PlusOne" do
|
6
|
+
before(:each) do
|
7
|
+
@bot = stub
|
8
|
+
@plusone = PlusOne.new(@bot)
|
9
|
+
@plusone.stats = { "LTe" => 1, "ruby" => 1 }
|
10
|
+
@connection = stub(:msg => true)
|
11
|
+
@message = OpenStruct.new({ :channel => "#test", :message => "LTe: +1 for great irc bot", :nick => "LTe"})
|
12
|
+
end
|
12
13
|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
14
|
+
it "should not add plus one for myself" do
|
15
|
+
@connection.should_receive(:msg).with("#test", "LTe write in PHP")
|
16
|
+
@plusone.call(@connection, @message)
|
17
|
+
@plusone.stats["LTe"].should == 1
|
18
|
+
end
|
18
19
|
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
20
|
+
it "should not allow to add plus one for new user" do
|
21
|
+
@message.nick = "new_user"
|
22
|
+
@connection.should_receive(:msg).with("#test", "new_user write in PHP")
|
23
|
+
@plusone.call(@connection, @message)
|
24
|
+
@plusone.stats["LTe"].should == 1
|
25
|
+
end
|
25
26
|
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
27
|
+
it "should print stats" do
|
28
|
+
@message.message = "!stats"; @message.nick = "LTe"
|
29
|
+
@connection.should_receive(:msg).once
|
30
|
+
@plusone.call(@connection, @message)
|
31
|
+
end
|
31
32
|
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
33
|
+
[
|
34
|
+
"LTe: +1 for great irc bot",
|
35
|
+
"LTe +1 for grat bot",
|
36
|
+
"LTe +1"
|
37
|
+
].each do |m|
|
38
|
+
it "should react on message #{m}" do
|
39
|
+
proper_plus_one(m)
|
40
|
+
end
|
39
41
|
end
|
40
|
-
end
|
41
42
|
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
43
|
+
[
|
44
|
+
"LTe: +1",
|
45
|
+
"LTe: plus (+1) feature is great",
|
46
|
+
"I think +1 is great",
|
47
|
+
"LTe: great +1"
|
48
|
+
].each do |m|
|
49
|
+
it "should not react on message #{m}" do
|
50
|
+
invalid_plus_one(m)
|
51
|
+
end
|
50
52
|
end
|
51
|
-
end
|
52
53
|
|
54
|
+
end
|
53
55
|
end
|
54
56
|
|
55
57
|
def invalid_plus_one(message)
|
data/spec/reddit_spec.rb
CHANGED
@@ -1,45 +1,47 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
require 'muzang-plugins/muzang-reddit'
|
3
3
|
|
4
|
-
|
5
|
-
|
6
|
-
|
4
|
+
module Muzang::Plugins
|
5
|
+
class Reddit
|
6
|
+
def period
|
7
|
+
0.1
|
8
|
+
end
|
7
9
|
end
|
8
|
-
end
|
9
10
|
|
10
|
-
describe "Reddit" do
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
11
|
+
describe "Reddit" do
|
12
|
+
before do
|
13
|
+
@bot = stub
|
14
|
+
@reddit = Reddit.new(@bot)
|
15
|
+
@connection = ConnectionMock.new(:nick => "DRUG-bot")
|
16
|
+
@message = OpenStruct.new({ :command => :join, :channel => "#test", :nick => "DRUG-bot" })
|
17
|
+
@file = File.expand_path('../support/responses/reddit.response', __FILE__)
|
18
|
+
EventMachine::MockHttpRequest.pass_through_requests = false
|
19
|
+
EventMachine::MockHttpRequest.register_file('http://www.reddit.com:80/r/ruby/.rss', :get, @file)
|
20
|
+
EventMachine::MockHttpRequest.activate!
|
21
|
+
end
|
21
22
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
23
|
+
it "should call reddit and print all articles" do
|
24
|
+
@reddit.last_update = Time.new 2010
|
25
|
+
EM.run do
|
26
|
+
@reddit.call(@connection, @message)
|
27
|
+
eventually(25) { @connection.message_count }
|
28
|
+
end
|
27
29
|
end
|
28
|
-
end
|
29
30
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
31
|
+
it "should print only one message" do
|
32
|
+
@reddit.last_update = (DateTime.parse "Thu, 29 Sep 2011 00:47:00 +0200").to_time
|
33
|
+
EM.run do
|
34
|
+
@reddit.call(@connection, @message)
|
35
|
+
eventually(1, :every => 0.1, :total => 20) { @connection.message_count }
|
36
|
+
end
|
35
37
|
end
|
36
|
-
end
|
37
38
|
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
39
|
+
it "should not print message" do
|
40
|
+
@reddit.last_update = Time.now
|
41
|
+
EM.run do
|
42
|
+
@reddit.call(@connection, @message)
|
43
|
+
eventually(0) { @connection.message_count }
|
44
|
+
end
|
43
45
|
end
|
44
46
|
end
|
45
47
|
end
|
data/spec/rubygems_spec.rb
CHANGED
@@ -1,86 +1,116 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
require 'muzang-plugins/muzang-rubygems'
|
3
3
|
|
4
|
-
|
5
|
-
|
6
|
-
|
4
|
+
module Muzang::Plugins
|
5
|
+
class RubyGems
|
6
|
+
def period
|
7
|
+
0.1
|
8
|
+
end
|
7
9
|
end
|
8
|
-
end
|
9
10
|
|
10
|
-
describe "RubyGems" do
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
11
|
+
describe "RubyGems" do
|
12
|
+
before do
|
13
|
+
@bot = stub
|
14
|
+
@rubygems = RubyGems.new(@bot)
|
15
|
+
@connection = ConnectionMock.new(:nick => "DRUG-bot")
|
16
|
+
@message = OpenStruct.new({ :command => :prvmsg, :channel => "#test", :nick => "DRUG-bot" })
|
17
|
+
@gem = File.expand_path('../support/responses/acts-as-messageable.response', __FILE__)
|
18
|
+
@gem2 = File.expand_path('../support/responses/acts-as-messageable2.response', __FILE__)
|
19
|
+
EventMachine::MockHttpRequest.pass_through_requests = true
|
20
|
+
EventMachine::MockHttpRequest.register_file('http://rubygems.org:80/api/v1/gems/acts-as-messageable.json', :get, @gem)
|
21
|
+
EventMachine::MockHttpRequest.register_file('http://rubygems.org:80/api/v1/gems/acts-as-messageable2.json', :get, @gem2)
|
22
|
+
EventMachine::MockHttpRequest.activate!
|
23
|
+
end
|
23
24
|
|
24
|
-
|
25
|
-
|
26
|
-
|
25
|
+
after do
|
26
|
+
FileUtils.rm("#{ENV["HOME"]}/.muzang/muzang.rubygems")
|
27
|
+
end
|
27
28
|
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
29
|
+
it "should add gem to watching list with watch! command" do
|
30
|
+
@message.message = "!watch acts-as-messageable"
|
31
|
+
EM.run do
|
32
|
+
@rubygems.call(@connection, @message)
|
33
|
+
eventually(true, :times => 10) do
|
34
|
+
@connection.messages.include? "I added gem acts-as-messageable to watchlist" and
|
35
|
+
@connection.messages.include? "Current version: acts-as-messageable (0.4.2)"
|
36
|
+
end
|
35
37
|
end
|
36
38
|
end
|
37
|
-
end
|
38
39
|
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
@connection
|
40
|
+
it "should remove gem from watching list" do
|
41
|
+
@message.message = "!watch acts-as-messageable"
|
42
|
+
EM.run do
|
43
|
+
@rubygems.call(@connection, @message)
|
44
|
+
@message.message = "!unwatch acts-as-messageable"
|
45
|
+
@rubygems.call(@connection, @message)
|
46
|
+
|
47
|
+
eventually(true, :times => 10) do
|
48
|
+
@connection.messages.include? "I removed gem acts-as-messageable from watchlist"
|
49
|
+
end
|
45
50
|
end
|
46
51
|
end
|
47
|
-
end
|
48
52
|
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
53
|
+
it "should raise error" do
|
54
|
+
@message.message = "!watch acts-as-messageable2"
|
55
|
+
EM.run do
|
56
|
+
@rubygems.call(@connection, @message)
|
57
|
+
eventually(true) do
|
58
|
+
@connection.messages.include? "Gem name is incorrect"
|
59
|
+
end
|
55
60
|
end
|
56
61
|
end
|
57
|
-
end
|
58
62
|
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
@rubygems.store[:gems]["acts-as-messageable2"] == nil
|
63
|
+
it "should not add gem twice to store" do
|
64
|
+
@message.message = "!watch acts-as-messageable"
|
65
|
+
EM.run do
|
66
|
+
2.times{ @rubygems.call(@connection, @message) }
|
67
|
+
eventually(true) do
|
68
|
+
@connection.messages.include? "Gem acts-as-messageable is already observed"
|
66
69
|
end
|
67
70
|
end
|
68
71
|
end
|
69
|
-
end
|
70
72
|
|
71
|
-
|
72
|
-
|
73
|
-
|
73
|
+
it "should remove gem from storage" do
|
74
|
+
@message.message = "!watch acts-as-messageable2"
|
75
|
+
EM.run do
|
76
|
+
@rubygems.call(@connection, @message)
|
77
|
+
eventually(true) do
|
78
|
+
@rubygems.store.transaction do
|
79
|
+
@rubygems.store[:gems]["acts-as-messageable2"] == nil
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
it "should notice about new version of gem" do
|
86
|
+
@message.message = ""
|
87
|
+
@message.command = :join
|
88
|
+
|
89
|
+
EM.run do
|
90
|
+
@rubygems.call(@connection, @message)
|
91
|
+
@message.message = "!watch acts-as-messageable"
|
92
|
+
@rubygems.call(@connection, @message)
|
74
93
|
|
75
|
-
|
76
|
-
@rubygems.call(@connection, @message)
|
77
|
-
@message.message = "watch! acts-as-messageable"
|
78
|
-
@rubygems.call(@connection, @message)
|
94
|
+
@rubygems.store.transaction{ @rubygems.store[:gems]["acts-as-messageable"][:version] = "0.4.1" }
|
79
95
|
|
80
|
-
|
96
|
+
eventually(true, :every => 0.1, :total => 100) do
|
97
|
+
@connection.messages.include? "New version acts-as-messageable (0.4.2)"
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
81
101
|
|
82
|
-
|
83
|
-
|
102
|
+
it "should list watched gems" do
|
103
|
+
@message.message = "!cojapacze"
|
104
|
+
@rubygems.store.transaction do
|
105
|
+
@rubygems.store[:gems]["gem1"] = { :name => "gem1" }
|
106
|
+
@rubygems.store[:gems]["gem2"] = { :name => "gem2" }
|
107
|
+
end
|
108
|
+
|
109
|
+
EM.run do
|
110
|
+
@rubygems.call(@connection, @message)
|
111
|
+
eventually(true) do
|
112
|
+
@connection.messages.include? "gem1, gem2"
|
113
|
+
end
|
84
114
|
end
|
85
115
|
end
|
86
116
|
end
|
data/spec/soupirc_spec.rb
CHANGED
@@ -1,23 +1,25 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
require 'muzang-plugins/muzang-soupirc'
|
3
3
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
4
|
+
module Muzang::Plugins
|
5
|
+
describe "Soup" do
|
6
|
+
before do
|
7
|
+
@bot = stub(:channels => ["#test"])
|
8
|
+
@soup = SoupIRC.new(@bot, ["drugpl", "super_password"])
|
9
|
+
@connection = ConnectionMock.new
|
10
|
+
@message = OpenStruct.new({:channel => "#test", :message => "!soup http://example.com/image.jpg", :nick => "LTe"})
|
10
11
|
|
11
|
-
|
12
|
+
end
|
12
13
|
|
13
|
-
|
14
|
-
|
15
|
-
|
14
|
+
it "should send image to soup" do
|
15
|
+
Soup::Client.any_instance.stub(:login)
|
16
|
+
Soup::Client.any_instance.stub(:new_image).with("http://example.com/image.jpg")
|
16
17
|
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
18
|
+
EM.run do
|
19
|
+
@soup.call(@connection, @message)
|
20
|
+
eventually(true) do
|
21
|
+
@connection.messages.include?("soup updated :) | http://drugpl.soup.io/")
|
22
|
+
end
|
21
23
|
end
|
22
24
|
end
|
23
25
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: muzang-plugins
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,33 +9,59 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-02-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: em-http-request
|
16
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
21
|
+
version: 0.3.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - '='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 0.3.0
|
25
30
|
- !ruby/object:Gem::Dependency
|
26
|
-
name:
|
27
|
-
requirement:
|
31
|
+
name: eventmachine
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ~>
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 1.0.0
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
28
41
|
none: false
|
29
42
|
requirements:
|
30
43
|
- - ~>
|
31
44
|
- !ruby/object:Gem::Version
|
32
45
|
version: 1.0.0
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: muzang
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ~>
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '1.1'
|
33
54
|
type: :runtime
|
34
55
|
prerelease: false
|
35
|
-
version_requirements:
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.1'
|
36
62
|
- !ruby/object:Gem::Dependency
|
37
63
|
name: memetron
|
38
|
-
requirement:
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
39
65
|
none: false
|
40
66
|
requirements:
|
41
67
|
- - ~>
|
@@ -43,10 +69,15 @@ dependencies:
|
|
43
69
|
version: 0.1.1
|
44
70
|
type: :runtime
|
45
71
|
prerelease: false
|
46
|
-
version_requirements:
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 0.1.1
|
47
78
|
- !ruby/object:Gem::Dependency
|
48
79
|
name: soup-client
|
49
|
-
requirement:
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
50
81
|
none: false
|
51
82
|
requirements:
|
52
83
|
- - ! '>='
|
@@ -54,10 +85,63 @@ dependencies:
|
|
54
85
|
version: '0'
|
55
86
|
type: :runtime
|
56
87
|
prerelease: false
|
57
|
-
version_requirements:
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: sqlite3
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
102
|
+
type: :runtime
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: activerecord
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
115
|
+
- - ! '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ! '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: pastie-api
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
130
|
+
requirements:
|
131
|
+
- - ! '>='
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '0'
|
134
|
+
type: :runtime
|
135
|
+
prerelease: false
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
138
|
+
requirements:
|
139
|
+
- - ! '>='
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '0'
|
58
142
|
- !ruby/object:Gem::Dependency
|
59
143
|
name: em-ventually
|
60
|
-
requirement:
|
144
|
+
requirement: !ruby/object:Gem::Requirement
|
61
145
|
none: false
|
62
146
|
requirements:
|
63
147
|
- - ~>
|
@@ -65,10 +149,15 @@ dependencies:
|
|
65
149
|
version: 0.1.2
|
66
150
|
type: :development
|
67
151
|
prerelease: false
|
68
|
-
version_requirements:
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
154
|
+
requirements:
|
155
|
+
- - ~>
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: 0.1.2
|
69
158
|
- !ruby/object:Gem::Dependency
|
70
159
|
name: rspec
|
71
|
-
requirement:
|
160
|
+
requirement: !ruby/object:Gem::Requirement
|
72
161
|
none: false
|
73
162
|
requirements:
|
74
163
|
- - ~>
|
@@ -76,10 +165,15 @@ dependencies:
|
|
76
165
|
version: 2.6.0
|
77
166
|
type: :development
|
78
167
|
prerelease: false
|
79
|
-
version_requirements:
|
168
|
+
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
none: false
|
170
|
+
requirements:
|
171
|
+
- - ~>
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: 2.6.0
|
80
174
|
- !ruby/object:Gem::Dependency
|
81
175
|
name: rake
|
82
|
-
requirement:
|
176
|
+
requirement: !ruby/object:Gem::Requirement
|
83
177
|
none: false
|
84
178
|
requirements:
|
85
179
|
- - ! '>='
|
@@ -87,7 +181,12 @@ dependencies:
|
|
87
181
|
version: '0'
|
88
182
|
type: :development
|
89
183
|
prerelease: false
|
90
|
-
version_requirements:
|
184
|
+
version_requirements: !ruby/object:Gem::Requirement
|
185
|
+
none: false
|
186
|
+
requirements:
|
187
|
+
- - ! '>='
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
version: '0'
|
91
190
|
description: Plugins for Muzang IRC bot
|
92
191
|
email:
|
93
192
|
- piotr.nielacny@gmail.com
|
@@ -102,8 +201,12 @@ files:
|
|
102
201
|
- README.md
|
103
202
|
- Rakefile
|
104
203
|
- lib/muzang-plugins.rb
|
204
|
+
- lib/muzang-plugins/.muzang-rubygems.rb.swp
|
105
205
|
- lib/muzang-plugins/helpers.rb
|
106
206
|
- lib/muzang-plugins/muzang-eval.rb
|
207
|
+
- lib/muzang-plugins/muzang-google.rb
|
208
|
+
- lib/muzang-plugins/muzang-grep.rb
|
209
|
+
- lib/muzang-plugins/muzang-grep/wrttn_in.rb
|
107
210
|
- lib/muzang-plugins/muzang-livereload.rb
|
108
211
|
- lib/muzang-plugins/muzang-meme.rb
|
109
212
|
- lib/muzang-plugins/muzang-motd.rb
|
@@ -272,7 +375,7 @@ files:
|
|
272
375
|
- spec/support/responses/meme.response
|
273
376
|
- spec/support/responses/reddit.response
|
274
377
|
- spec/support/responses/rubygems.response
|
275
|
-
homepage:
|
378
|
+
homepage: https://github.com/LTe/muzang-plugins
|
276
379
|
licenses: []
|
277
380
|
post_install_message:
|
278
381
|
rdoc_options: []
|
@@ -284,22 +387,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
284
387
|
- - ! '>='
|
285
388
|
- !ruby/object:Gem::Version
|
286
389
|
version: '0'
|
287
|
-
segments:
|
288
|
-
- 0
|
289
|
-
hash: 3504913172110565435
|
290
390
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
291
391
|
none: false
|
292
392
|
requirements:
|
293
393
|
- - ! '>='
|
294
394
|
- !ruby/object:Gem::Version
|
295
395
|
version: '0'
|
296
|
-
segments:
|
297
|
-
- 0
|
298
|
-
hash: 3504913172110565435
|
299
396
|
requirements: []
|
300
397
|
rubyforge_project:
|
301
|
-
rubygems_version: 1.8.
|
398
|
+
rubygems_version: 1.8.24
|
302
399
|
signing_key:
|
303
400
|
specification_version: 3
|
304
401
|
summary: Basic plugins for Muzang IRC bot
|
305
402
|
test_files: []
|
403
|
+
has_rdoc:
|