tipjar 0.1.19 → 0.1.171
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/bitbot/plugin.rb +7 -21
- data/lib/bitbot/plugin/version.rb +1 -1
- data/tipjar.gemspec +1 -2
- metadata +3 -4
data/lib/bitbot/plugin.rb
CHANGED
|
@@ -43,38 +43,24 @@ class Bitbot::Plugin
|
|
|
43
43
|
set :prefix, ""
|
|
44
44
|
|
|
45
45
|
#
|
|
46
|
-
# Private messages
|
|
46
|
+
# Private messages
|
|
47
47
|
#
|
|
48
48
|
match /^help(.*)$/, :method => :on_help, :react_on => :private
|
|
49
49
|
match /^balance$/, :method => :on_balance, :react_on => :private
|
|
50
50
|
match /^history$/, :method => :on_history, :react_on => :private
|
|
51
51
|
match /^withdraw(.*)$/, :method => :on_withdraw, :react_on => :private
|
|
52
52
|
match /^deposit$/, :method => :on_deposit, :react_on => :private
|
|
53
|
-
match
|
|
53
|
+
match /^\+tip\s+(\w+)\s+([\d.]+)\s+?(.*)/, :method => :on_tip, :react_on => :private
|
|
54
54
|
# match /^\+prize\s+(\w+)\s+([\d.]+)\s+?(.*)/, :method => :on_prize, :react_on => :private
|
|
55
55
|
|
|
56
56
|
#
|
|
57
|
-
#
|
|
58
|
-
#
|
|
59
|
-
match /^\+tip\s+(\w+)\s+([\d.]+)\s+?(.*)/, :method => :on_tip, :react_on => :channel
|
|
60
|
-
|
|
61
|
-
#
|
|
62
|
-
# Channel messages ~ replies sent via channel
|
|
57
|
+
# Channel messages
|
|
63
58
|
#
|
|
64
59
|
match /^\+help(.*)$/, :method => :on_help, :react_on => :channel
|
|
65
60
|
match /^\+tipstats$/, :method => :on_tipstats, :react_on => :channel
|
|
66
61
|
match /^\+tip\s+(\w+)\s+([\d.]+)\s+?(.*)/, :method => :on_tip, :react_on => :channel
|
|
67
|
-
match /^\+doc$/, :method => :
|
|
68
|
-
match /^\+ticker$/, :method => :
|
|
69
|
-
match /^\+txfee$/, :method => :on_txfee, :react_on => :channel
|
|
70
|
-
match /^\+version$/, :method => :on_version, :react_on => :channel
|
|
71
|
-
|
|
72
|
-
#
|
|
73
|
-
# Channel messages ~ replies sent via PRIVMSG
|
|
74
|
-
#
|
|
75
|
-
match /^\+balance$/, :method => :on_balance, :react_on => :private
|
|
76
|
-
match /^\+help$/, :method => :on_help, :react_on => :private
|
|
77
|
-
match /^\+history$/, :method => :on_history, :react_on => :private
|
|
62
|
+
match /^\+doc$/, :method => :on_tipstats, :react_on => :channel
|
|
63
|
+
match /^\+ticker$/, :method => :on_tipstats, :react_on => :channel
|
|
78
64
|
|
|
79
65
|
#
|
|
80
66
|
# Timer jobs
|
|
@@ -88,7 +74,7 @@ class Bitbot::Plugin
|
|
|
88
74
|
#
|
|
89
75
|
listen_to :connect, :method => :on_update_exchange_rates
|
|
90
76
|
listen_to :connect, :method => :on_update_addresses
|
|
91
|
-
|
|
92
|
-
|
|
77
|
+
listen_to :connect, :method => :on_online
|
|
78
|
+
listen_to :connect, :method => :on_doc
|
|
93
79
|
|
|
94
80
|
end
|
data/tipjar.gemspec
CHANGED
|
@@ -2,14 +2,13 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = %q{tipjar}
|
|
5
|
-
s.version = "0.1.
|
|
5
|
+
s.version = "0.1.171"
|
|
6
6
|
s.platform = Gem::Platform::RUBY
|
|
7
7
|
s.authors = ["WeirdThall", "Zach Wily"]
|
|
8
8
|
s.email = ["weirdthall@gmail.com", "zach@zwily.com"]
|
|
9
9
|
s.homepage = %q{http://github.com/weirdthall/TipJar}
|
|
10
10
|
s.summary = %q{Bitcoin IRC Tip Bot}
|
|
11
11
|
s.description = ["A Bitcoin IRC Tip Bot on freenode"]
|
|
12
|
-
s.license = "MIT"
|
|
13
12
|
|
|
14
13
|
s.files = `git ls-files`.split("\n")
|
|
15
14
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tipjar
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.171
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2013-11-
|
|
13
|
+
date: 2013-11-06 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: cinch
|
|
@@ -147,8 +147,7 @@ files:
|
|
|
147
147
|
- lib/ircstring.rb
|
|
148
148
|
- tipjar.gemspec
|
|
149
149
|
homepage: http://github.com/weirdthall/TipJar
|
|
150
|
-
licenses:
|
|
151
|
-
- MIT
|
|
150
|
+
licenses: []
|
|
152
151
|
post_install_message:
|
|
153
152
|
rdoc_options: []
|
|
154
153
|
require_paths:
|