fbomb 1.0.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/Gemfile +31 -0
- data/Gemfile.lock +93 -0
- data/README.md +130 -0
- data/Rakefile +41 -9
- data/bin/fbomb +226 -31
- data/fbomb.gemspec +51 -8
- data/images/planet/1dEzGbz.jpg +0 -0
- data/images/planet/3aASzbv.jpg +0 -0
- data/images/planet/BCfEwgl.jpg +0 -0
- data/images/planet/EPbgqjy.jpg +0 -0
- data/images/planet/FoiDgwc.jpg +0 -0
- data/images/planet/HJiUPV2.jpg +0 -0
- data/images/planet/KOcvGjw.jpg +0 -0
- data/images/planet/L5n5lPK.jpg +0 -0
- data/images/planet/MaGKipv.jpg +0 -0
- data/images/planet/QVRALtz.jpg +0 -0
- data/images/planet/W3fWkTZ.jpg +0 -0
- data/images/planet/about.md +1 -0
- data/images/planet/nWqdkF7.jpg +0 -0
- data/images/planet/w41sv1T.jpg +0 -0
- data/images/planet/xySa4GD.jpg +0 -0
- data/images/planet/yzw8pOQ.jpg +0 -0
- data/lib/fbomb.rb +99 -19
- data/lib/fbomb/campfire.rb +39 -11
- data/lib/fbomb/command.rb +52 -15
- data/lib/fbomb/commands/builtin.rb +720 -9
- data/lib/fbomb/commands/system.rb +52 -10
- data/lib/fbomb/flowdock.rb +307 -0
- data/lib/fbomb/util.rb +65 -0
- data/lib/fbomb/uuid.rb +312 -0
- data/notes/ara.txt +54 -0
- metadata +229 -113
- data/README +0 -20
data/lib/fbomb/uuid.rb
ADDED
@@ -0,0 +1,312 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# Copyright(c) 2005 URABE, Shyouhei.
|
3
|
+
#
|
4
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
5
|
+
# of this code, to deal in the code without restriction, including without
|
6
|
+
# limitation the rights to use, copy, modify, merge, publish, distribute,
|
7
|
+
# sublicense, and/or sell copies of the code, and to permit persons to whom the
|
8
|
+
# code is furnished to do so, subject to the following conditions:
|
9
|
+
#
|
10
|
+
# The above copyright notice and this permission notice shall be
|
11
|
+
# included in all copies or substantial portions of the code.
|
12
|
+
#
|
13
|
+
# THE CODE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
+
# AUTHOR OR COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
+
# OUT OF OR IN CONNECTION WITH THE CODE OR THE USE OR OTHER DEALINGS IN THE
|
19
|
+
# CODE.
|
20
|
+
|
21
|
+
%w[
|
22
|
+
digest/md5
|
23
|
+
digest/sha1
|
24
|
+
tmpdir
|
25
|
+
].each do |f|
|
26
|
+
require f
|
27
|
+
end
|
28
|
+
|
29
|
+
# Pure ruby UUID generator, which is compatible with RFC4122
|
30
|
+
class UUID
|
31
|
+
# UUID epoch is 15th Oct. 1582
|
32
|
+
UNIXEpoch = 0x01B21DD213814000 # in 100-nanoseconds resolution
|
33
|
+
|
34
|
+
private_class_method :new
|
35
|
+
|
36
|
+
private
|
37
|
+
def initialize str
|
38
|
+
tmp = str.unpack "C*"
|
39
|
+
@num = tmp.inject do |r, i|
|
40
|
+
r * 256 | i
|
41
|
+
end
|
42
|
+
@num.freeze
|
43
|
+
self.freeze
|
44
|
+
end
|
45
|
+
|
46
|
+
public
|
47
|
+
|
48
|
+
def raw_bytes
|
49
|
+
ret = String.new
|
50
|
+
tmp = @num
|
51
|
+
16.times do |i|
|
52
|
+
x, y = tmp.divmod 256
|
53
|
+
ret << y
|
54
|
+
tmp = x
|
55
|
+
end
|
56
|
+
ret.reverse!
|
57
|
+
ret
|
58
|
+
end
|
59
|
+
|
60
|
+
class << self
|
61
|
+
def mask ver, str # :nodoc:
|
62
|
+
ver = ver & 15
|
63
|
+
v = str[6].ord
|
64
|
+
v &= 0b0000_1111
|
65
|
+
v |= ver << 4
|
66
|
+
str[6] = v.chr
|
67
|
+
r = str[8].ord
|
68
|
+
r &= 0b0011_1111
|
69
|
+
r |= 0b1000_0000
|
70
|
+
str[8] = r.chr
|
71
|
+
str
|
72
|
+
end
|
73
|
+
|
74
|
+
def prand # :nodoc:
|
75
|
+
rand 0x100000000
|
76
|
+
end
|
77
|
+
|
78
|
+
private :mask, :prand
|
79
|
+
|
80
|
+
# UUID generation using SHA1. Recommended over create_md5.
|
81
|
+
# Namespace object is another UUID, some of them are pre-defined below.
|
82
|
+
def create_sha1 str, namespace
|
83
|
+
sha1 = Digest::SHA1.new
|
84
|
+
sha1.update namespace.raw_bytes
|
85
|
+
sha1.update str
|
86
|
+
sum = sha1.digest
|
87
|
+
raw = mask 5, sum[0..15]
|
88
|
+
new raw
|
89
|
+
end
|
90
|
+
|
91
|
+
# UUID generation using MD5 (for backward compat.)
|
92
|
+
def create_md5 str, namespace
|
93
|
+
md5 = Digest::MD5.new
|
94
|
+
md5.update namespace.raw_bytes
|
95
|
+
md5.update str
|
96
|
+
sum = md5.digest
|
97
|
+
raw = mask 3, sum[0..16]
|
98
|
+
new raw
|
99
|
+
end
|
100
|
+
|
101
|
+
# UUID generation using random-number generator. From it's random
|
102
|
+
# nature, there's no warranty that the created ID is really universaly
|
103
|
+
# unique.
|
104
|
+
def create_random
|
105
|
+
rnd = [prand, prand, prand, prand].pack "N4"
|
106
|
+
raw = mask 4, rnd
|
107
|
+
new raw
|
108
|
+
end
|
109
|
+
|
110
|
+
def read_state fp # :nodoc:
|
111
|
+
fp.rewind
|
112
|
+
Marshal.load fp.read
|
113
|
+
end
|
114
|
+
|
115
|
+
def write_state fp, c, m # :nodoc:
|
116
|
+
fp.rewind
|
117
|
+
str = Marshal.dump [c, m]
|
118
|
+
fp.write str
|
119
|
+
end
|
120
|
+
|
121
|
+
private :read_state, :write_state
|
122
|
+
STATE_FILE = 'ruby-uuid'
|
123
|
+
|
124
|
+
# create the "version 1" UUID with current system clock, current UTC
|
125
|
+
# timestamp, and the IEEE 802 address (so-called MAC address).
|
126
|
+
#
|
127
|
+
# Speed notice: it's slow. It writes some data into hard drive on every
|
128
|
+
# invokation. If you want to speed this up, try remounting tmpdir with a
|
129
|
+
# memory based filesystem (such as tmpfs). STILL slow? then no way but
|
130
|
+
# rewrite it with c :)
|
131
|
+
def create clock=nil, time=Time.now, mac_addr=nil
|
132
|
+
c = t = m = nil
|
133
|
+
Dir.chdir Dir.tmpdir do
|
134
|
+
unless FileTest.exist? STATE_FILE then
|
135
|
+
# Generate a pseudo MAC address because we have no pure-ruby way
|
136
|
+
# to know the MAC address of the NIC this system uses. Note
|
137
|
+
# that cheating with pseudo arresses here is completely legal:
|
138
|
+
# see Section 4.5 of RFC4122 for details.
|
139
|
+
sha1 = Digest::SHA1.new
|
140
|
+
256.times do
|
141
|
+
r = [prand].pack "N"
|
142
|
+
sha1.update r
|
143
|
+
end
|
144
|
+
ary = sha1.digest.bytes.to_a
|
145
|
+
node = ary.last 6
|
146
|
+
node[0] |= 0x01 # multicast bit
|
147
|
+
node = node.pack "C*"
|
148
|
+
k = rand 0x40000
|
149
|
+
open STATE_FILE, 'w' do |fp|
|
150
|
+
fp.flock IO::LOCK_EX
|
151
|
+
write_state fp, k, node
|
152
|
+
fp.chmod 0o777 # must be world writable
|
153
|
+
end
|
154
|
+
end
|
155
|
+
open STATE_FILE, 'r+' do |fp|
|
156
|
+
fp.flock IO::LOCK_EX
|
157
|
+
c, m = read_state fp
|
158
|
+
c += 1 # important; increment here
|
159
|
+
write_state fp, c, m
|
160
|
+
end
|
161
|
+
end
|
162
|
+
c = clock & 0b11_1111_1111_1111 if clock
|
163
|
+
m = mac_addr if mac_addr
|
164
|
+
time = Time.at time if time.is_a? Float
|
165
|
+
case time
|
166
|
+
when Time
|
167
|
+
t = time.to_i * 10_000_000 + time.tv_usec * 10 + UNIXEpoch
|
168
|
+
when Integer
|
169
|
+
t = time + UNIXEpoch
|
170
|
+
else
|
171
|
+
raise TypeError, "cannot convert ``#{time}'' into Time."
|
172
|
+
end
|
173
|
+
|
174
|
+
tl = t & 0xFFFF_FFFF
|
175
|
+
tm = t >> 32
|
176
|
+
tm = tm & 0xFFFF
|
177
|
+
th = t >> 48
|
178
|
+
th = th & 0b0000_1111_1111_1111
|
179
|
+
th = th | 0b0001_0000_0000_0000
|
180
|
+
cl = c & 0b0000_0000_1111_1111
|
181
|
+
ch = c & 0b0011_1111_0000_0000
|
182
|
+
ch = ch >> 8
|
183
|
+
ch = ch | 0b1000_0000
|
184
|
+
pack tl, tm, th, ch, cl, m
|
185
|
+
end
|
186
|
+
|
187
|
+
# A simple GUID parser: just ignores unknown characters and convert
|
188
|
+
# hexadecimal dump into 16-octet object.
|
189
|
+
def parse obj
|
190
|
+
str = obj.to_s.sub %r/\Aurn:uuid:/, ''
|
191
|
+
str.gsub! %r/[^0-9A-Fa-f]/, ''
|
192
|
+
raw = [str[0..31]].pack 'H*'
|
193
|
+
new raw
|
194
|
+
end
|
195
|
+
|
196
|
+
# The 'primitive constructor' of this class
|
197
|
+
# Note UUID.pack(uuid.unpack) == uuid
|
198
|
+
def pack tl, tm, th, ch, cl, n
|
199
|
+
raw = [tl, tm, th, ch, cl, n].pack "NnnCCa6"
|
200
|
+
new raw
|
201
|
+
end
|
202
|
+
end
|
203
|
+
|
204
|
+
# The 'primitive deconstructor', or the dual to pack.
|
205
|
+
# Note UUID.pack(uuid.unpack) == uuid
|
206
|
+
def unpack
|
207
|
+
raw_bytes.unpack "NnnCCa6"
|
208
|
+
end
|
209
|
+
|
210
|
+
# The timestamp of this UUID.
|
211
|
+
# Throws RageError if that time exceeds UNIX time range
|
212
|
+
def time
|
213
|
+
a = unpack
|
214
|
+
tl = a[0]
|
215
|
+
tm = a[1]
|
216
|
+
th = a[2] & 0x0FFF
|
217
|
+
t = tl
|
218
|
+
t += tm << 32
|
219
|
+
t += th << 48
|
220
|
+
t -= UNIXEpoch
|
221
|
+
tv_sec = t / 10_000_000
|
222
|
+
t -= tv_sec * 10_000_000
|
223
|
+
tv_usec = t / 10
|
224
|
+
Time.at tv_sec, tv_usec
|
225
|
+
end
|
226
|
+
|
227
|
+
# The version of this UUID
|
228
|
+
def version
|
229
|
+
v = unpack[2] & 0b1111_0000_0000_0000
|
230
|
+
v >> 12
|
231
|
+
end
|
232
|
+
|
233
|
+
# The clock sequence of this UUID
|
234
|
+
def clock
|
235
|
+
a = unpack
|
236
|
+
ch = a[3] & 0b0001_1111
|
237
|
+
cl = a[4]
|
238
|
+
c = cl
|
239
|
+
c += ch << 8
|
240
|
+
c
|
241
|
+
end
|
242
|
+
|
243
|
+
# The IEEE 802 address in a hexadecimal format
|
244
|
+
def node
|
245
|
+
m = unpack[5].unpack 'C*'
|
246
|
+
'%02x%02x%02x%02x%02x%02x' % m
|
247
|
+
end
|
248
|
+
alias mac_address node
|
249
|
+
alias ieee802 node
|
250
|
+
|
251
|
+
# Generate the string representation (a.k.a GUID) of this UUID
|
252
|
+
def to_s
|
253
|
+
a = unpack
|
254
|
+
a[-1] = mac_address
|
255
|
+
"%08x-%04x-%04x-%02x%02x-%s" % a
|
256
|
+
end
|
257
|
+
alias guid to_s
|
258
|
+
|
259
|
+
# Convert into a RFC4122-comforming URN representation
|
260
|
+
def to_uri
|
261
|
+
"urn:uuid:" + self.to_s
|
262
|
+
end
|
263
|
+
alias urn to_uri
|
264
|
+
alias inspect to_uri
|
265
|
+
|
266
|
+
# Convert into 128-bit unsigned integer
|
267
|
+
# Typically a Bignum instance, but can be a Fixnum.
|
268
|
+
def to_int
|
269
|
+
@num
|
270
|
+
end
|
271
|
+
alias to_i to_int
|
272
|
+
|
273
|
+
# Two UUIDs are said to be equal if and only if their (byte-order
|
274
|
+
# canonicalized) integer representations are equivallent. Refer RFC4122 for
|
275
|
+
# details.
|
276
|
+
def == other
|
277
|
+
to_i == other.to_i
|
278
|
+
end
|
279
|
+
alias eql? ==
|
280
|
+
|
281
|
+
# Two identical UUIDs should have same hash
|
282
|
+
def hash
|
283
|
+
to_i
|
284
|
+
end
|
285
|
+
|
286
|
+
include Comparable
|
287
|
+
# UUIDs are comparable (don't know what benefits are there, though).
|
288
|
+
def <=> other
|
289
|
+
to_s <=> other.to_s
|
290
|
+
end
|
291
|
+
|
292
|
+
# Pre-defined UUID Namespaces described in RFC4122 Appendix C.
|
293
|
+
NameSpace_DNS = parse "6ba7b810-9dad-11d1-80b4-00c04fd430c8"
|
294
|
+
NameSpace_URL = parse "6ba7b811-9dad-11d1-80b4-00c04fd430c8"
|
295
|
+
NameSpace_OID = parse "6ba7b812-9dad-11d1-80b4-00c04fd430c8"
|
296
|
+
NameSpace_X500 = parse "6ba7b814-9dad-11d1-80b4-00c04fd430c8"
|
297
|
+
|
298
|
+
# The Nil UUID in RFC4122 Section 4.1.7
|
299
|
+
Nil = parse "00000000-0000-0000-0000-000000000000"
|
300
|
+
end
|
301
|
+
|
302
|
+
|
303
|
+
# Local Variables:
|
304
|
+
# mode: ruby
|
305
|
+
# coding: utf-8
|
306
|
+
# indent-tabs-mode: t
|
307
|
+
# tab-width: 3
|
308
|
+
# ruby-indent-level: 3
|
309
|
+
# fill-column: 79
|
310
|
+
# default-justification: full
|
311
|
+
# End:
|
312
|
+
# vi: ts=3 sw=3
|
data/notes/ara.txt
ADDED
@@ -0,0 +1,54 @@
|
|
1
|
+
todo:
|
2
|
+
|
3
|
+
- Fbomb.debug == true
|
4
|
+
- command print to stdout
|
5
|
+
- stream reads from stdin
|
6
|
+
|
7
|
+
- debug mode vommits yaml to stdout output?
|
8
|
+
- debug streaming read from stdin input?
|
9
|
+
|
10
|
+
- mode(:debug){ }
|
11
|
+
|
12
|
+
- docs
|
13
|
+
|
14
|
+
|
15
|
+
done:
|
16
|
+
- user support
|
17
|
+
|
18
|
+
- grabbing users works
|
19
|
+
- https://user:pass@api.flowdock.com/flows/:org/:flow/messages/:message_id
|
20
|
+
- /flows/:organisation/:flow/users
|
21
|
+
- https://829ac2ae34fd4c8998cf6220d43dd3de:@api.flowdock.com/flows/dojo4/dojo4
|
22
|
+
|
23
|
+
users = Map.for(JSON.parse(`curl -s
|
24
|
+
https://829ac2ae34fd4c8998cf6220d43dd3de:@api.flowdock.com/flows/dojo4/dojo4`))
|
25
|
+
|
26
|
+
users = JSON.parse(`curl -s
|
27
|
+
https://829ac2ae34fd4c8998cf6220d43dd3de:@api.flowdock.com/flows/dojo4/dojo4`).map{|u|
|
28
|
+
Map.for(u)}
|
29
|
+
|
30
|
+
users = JSON.parse(`curl -s
|
31
|
+
https://829ac2ae34fd4c8998cf6220d43dd3de:@api.flowdock.com/flows/dojo4/dojo4/users`).map{|u|
|
32
|
+
Map.for(u)}
|
33
|
+
|
34
|
+
irb(main):028:0> users.last
|
35
|
+
=> {"id"=>76002,
|
36
|
+
"nick"=>"Miles",
|
37
|
+
"email"=>"miles@dojo4.com",
|
38
|
+
"avatar"=>
|
39
|
+
"https://d2cxspbh1aoie1.cloudfront.net/avatars/8c162037eef71fa7dd53099c794c064e/",
|
40
|
+
"name"=>"Miles Matthias",
|
41
|
+
"website"=>nil,
|
42
|
+
"disabled"=>false,
|
43
|
+
"last_activity"=>1399766456573,
|
44
|
+
"last_ping"=>1399766456573,
|
45
|
+
"in_flow"=>true,
|
46
|
+
"status"=>"into office around 10."}
|
47
|
+
|
48
|
+
, {"users"=>
|
49
|
+
[{"id"=>79899,
|
50
|
+
"nick"=>"Emily",
|
51
|
+
"email"=>"emily@dojo4.com",
|
52
|
+
"avatar"=>
|
53
|
+
"https://d2cxspbh1aoie1.cloudfront.net/avatars/aacc0074e76acdcc224ac3d733dd8b42/",
|
54
|
+
"name"=>"Emily Utz",
|
metadata
CHANGED
@@ -1,155 +1,271 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: fbomb
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 0
|
9
|
-
- 0
|
10
|
-
version: 1.0.0
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.0.0
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- Ara T. Howard
|
14
8
|
autorequire:
|
15
9
|
bindir: bin
|
16
10
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
11
|
+
date: 2014-05-12 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: flowdock
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ! '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.4.0
|
20
|
+
type: :runtime
|
22
21
|
prerelease: false
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ! '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.4.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: eventmachine
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.0.3
|
34
34
|
type: :runtime
|
35
|
-
version_requirements: *id001
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
name: main
|
38
35
|
prerelease: false
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ! '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.0.3
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: em-http-request
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ! '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 1.1.2
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 1.1.2
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: json
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.8.1
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ! '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 1.8.1
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: coerce
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ! '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.0.6
|
50
76
|
type: :runtime
|
51
|
-
|
52
|
-
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ! '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.0.6
|
83
|
+
- !ruby/object:Gem::Dependency
|
53
84
|
name: fukung
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ! '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 1.1.0
|
90
|
+
type: :runtime
|
54
91
|
prerelease: false
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
hash: 19
|
61
|
-
segments:
|
62
|
-
- 1
|
63
|
-
- 1
|
64
|
-
- 0
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ! '>='
|
95
|
+
- !ruby/object:Gem::Version
|
65
96
|
version: 1.1.0
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: main
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ! '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 4.7.6
|
66
104
|
type: :runtime
|
67
|
-
version_requirements: *id003
|
68
|
-
- !ruby/object:Gem::Dependency
|
69
|
-
name: twitter-stream
|
70
105
|
prerelease: false
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ! '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 4.7.6
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: nokogiri
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ! '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 1.5.0
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ! '>='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 1.5.0
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: google-search
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ! '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 1.0.2
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ! '>='
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 1.0.2
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: unidecode
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ! '>='
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: 1.0.0
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ! '>='
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 1.0.0
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: systemu
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ! '>='
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: 2.3.0
|
160
|
+
type: :runtime
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ! '>='
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 2.3.0
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: pry
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ! '>='
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: 0.9.6.2
|
82
174
|
type: :runtime
|
83
|
-
version_requirements: *id004
|
84
|
-
- !ruby/object:Gem::Dependency
|
85
|
-
name: yajl-ruby
|
86
175
|
prerelease: false
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ! '>='
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: 0.9.6.2
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: mechanize
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ! '>='
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: 2.7.3
|
98
188
|
type: :runtime
|
99
|
-
|
100
|
-
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ! '>='
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: 2.7.3
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: mime-types
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - ! '>='
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '1.16'
|
202
|
+
type: :runtime
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - ! '>='
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '1.16'
|
209
|
+
description: ! 'description: fbomb kicks the ass'
|
101
210
|
email: ara.t.howard@gmail.com
|
102
|
-
executables:
|
211
|
+
executables:
|
103
212
|
- fbomb
|
104
213
|
extensions: []
|
105
|
-
|
106
214
|
extra_rdoc_files: []
|
107
|
-
|
108
|
-
|
109
|
-
-
|
215
|
+
files:
|
216
|
+
- Gemfile
|
217
|
+
- Gemfile.lock
|
218
|
+
- README.md
|
110
219
|
- Rakefile
|
111
220
|
- bin/fbomb
|
112
221
|
- fbomb.gemspec
|
222
|
+
- images/planet/1dEzGbz.jpg
|
223
|
+
- images/planet/3aASzbv.jpg
|
224
|
+
- images/planet/BCfEwgl.jpg
|
225
|
+
- images/planet/EPbgqjy.jpg
|
226
|
+
- images/planet/FoiDgwc.jpg
|
227
|
+
- images/planet/HJiUPV2.jpg
|
228
|
+
- images/planet/KOcvGjw.jpg
|
229
|
+
- images/planet/L5n5lPK.jpg
|
230
|
+
- images/planet/MaGKipv.jpg
|
231
|
+
- images/planet/QVRALtz.jpg
|
232
|
+
- images/planet/W3fWkTZ.jpg
|
233
|
+
- images/planet/about.md
|
234
|
+
- images/planet/nWqdkF7.jpg
|
235
|
+
- images/planet/w41sv1T.jpg
|
236
|
+
- images/planet/xySa4GD.jpg
|
237
|
+
- images/planet/yzw8pOQ.jpg
|
113
238
|
- lib/fbomb.rb
|
114
239
|
- lib/fbomb/campfire.rb
|
115
240
|
- lib/fbomb/command.rb
|
116
241
|
- lib/fbomb/commands/builtin.rb
|
117
242
|
- lib/fbomb/commands/system.rb
|
243
|
+
- lib/fbomb/flowdock.rb
|
118
244
|
- lib/fbomb/util.rb
|
245
|
+
- lib/fbomb/uuid.rb
|
246
|
+
- notes/ara.txt
|
119
247
|
homepage: https://github.com/ahoward/fbomb
|
120
|
-
licenses:
|
121
|
-
|
248
|
+
licenses:
|
249
|
+
- Ruby
|
122
250
|
metadata: {}
|
123
|
-
|
124
251
|
post_install_message:
|
125
252
|
rdoc_options: []
|
126
|
-
|
127
|
-
require_paths:
|
253
|
+
require_paths:
|
128
254
|
- lib
|
129
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
none: false
|
140
|
-
requirements:
|
141
|
-
- - ">="
|
142
|
-
- !ruby/object:Gem::Version
|
143
|
-
hash: 3
|
144
|
-
segments:
|
145
|
-
- 0
|
146
|
-
version: "0"
|
255
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
256
|
+
requirements:
|
257
|
+
- - ! '>='
|
258
|
+
- !ruby/object:Gem::Version
|
259
|
+
version: '0'
|
260
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
261
|
+
requirements:
|
262
|
+
- - ! '>='
|
263
|
+
- !ruby/object:Gem::Version
|
264
|
+
version: '0'
|
147
265
|
requirements: []
|
148
|
-
|
149
266
|
rubyforge_project: codeforpeople
|
150
|
-
rubygems_version:
|
267
|
+
rubygems_version: 2.0.3
|
151
268
|
signing_key:
|
152
269
|
specification_version: 4
|
153
270
|
summary: fbomb
|
154
271
|
test_files: []
|
155
|
-
|