fbomb 4.1.0 → 4.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +6 -14
  2. data/bin/fbomb +8 -1
  3. data/fbomb.gemspec +15 -15
  4. data/images/michael/Aviation-Cat-Halloween-Costume.jpg.jpg +0 -0
  5. data/images/michael/Bumblebee-Cat-Halloween-Costume.jpg.jpg +0 -0
  6. data/images/michael/Burger-Cat-Halloween-Costume.jpg.jpg +0 -0
  7. data/images/michael/Business-Cat-Halloween-Costume.png.png +0 -0
  8. data/images/michael/Cat-Batman-Halloween-Costume.jpg.jpg +0 -0
  9. data/images/michael/Cat-Dressed-as-a-Bunny-For-Halloween.jpg.jpg +0 -0
  10. data/images/michael/Cat-in-the-Hat-Halloween-Costume.jpg.jpg +0 -0
  11. data/images/michael/Fitness-Cat-Halloween-Costume.jpg.jpg +0 -0
  12. data/images/michael/Froggy-Cat-Halloween-Costume.jpg.jpg +0 -0
  13. data/images/michael/Harry-Potter-Cat-Halloween-Costume.jpg.jpg +0 -0
  14. data/images/michael/Hello-Kitty-Cat-Halloween-Costume.jpg.jpg +0 -0
  15. data/images/michael/Lion-Cat-Halloween-Costume.jpg.jpg +0 -0
  16. data/images/michael/Little-Red-Riding-Cat-Halloween-Costume.jpg.jpg +0 -0
  17. data/images/michael/Lobster-Cat-Halloween-Costume.png.png +0 -0
  18. data/images/michael/Pirate-Cat-Halloween-Costume.jpg.jpg +0 -0
  19. data/images/michael/Princess-Leia-Halloween-Cat-Costume.jpg.jpg +0 -0
  20. data/images/michael/Pumpkin-Cat-Halloween-Costume.jpg-600x400.jpg +0 -0
  21. data/images/michael/Pure-Bred-Cat-Halloween-Costume.jpg.jpg +0 -0
  22. data/images/michael/Rice-Krispies-Treat-Cat.jpg.jpg +0 -0
  23. data/images/michael/Scuba-Cat-Halloween-Costume.jpg.jpg +0 -0
  24. data/images/michael/Spider-Cat-Halloween-Costume.jpg-600x427.jpg +0 -0
  25. data/images/michael/Super-Mario-Cat-Halloween-Costume.png.png +0 -0
  26. data/images/michael/Superman-Cat-Halloween-Costume.jpg-600x525.jpg +0 -0
  27. data/images/michael/Sushi-Cat-Halloween-Costume2.jpg2.jpg +0 -0
  28. data/images/michael/Taco-Cat-Halloween-Costume.jpg.jpg +0 -0
  29. data/images/michael/Witch-Hat-Cat-Costume-For-Halloween.jpg.jpg +0 -0
  30. data/images/michael/Yoda-Cat-Halloween-Costume.png.png +0 -0
  31. data/images/planet/1dEzGbz.jpg +0 -0
  32. data/images/planet/3aASzbv.jpg +0 -0
  33. data/images/planet/BCfEwgl.jpg +0 -0
  34. data/images/planet/EPbgqjy.jpg +0 -0
  35. data/images/planet/FoiDgwc.jpg +0 -0
  36. data/images/planet/HJiUPV2.jpg +0 -0
  37. data/images/planet/KOcvGjw.jpg +0 -0
  38. data/images/planet/L5n5lPK.jpg +0 -0
  39. data/images/planet/MaGKipv.jpg +0 -0
  40. data/images/planet/QVRALtz.jpg +0 -0
  41. data/images/planet/W3fWkTZ.jpg +0 -0
  42. data/images/planet/about.md +0 -0
  43. data/images/planet/nWqdkF7.jpg +0 -0
  44. data/images/planet/w41sv1T.jpg +0 -0
  45. data/images/planet/xySa4GD.jpg +0 -0
  46. data/images/planet/yzw8pOQ.jpg +0 -0
  47. data/lib/fbomb.rb +15 -15
  48. data/lib/fbomb/flowdock.rb +1 -0
  49. metadata +62 -63
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- MTMwYWJiNjcwNmJkNWVkMjNkNzRmZGUzMmM2MWM3ZDU1YzFjYTUyMQ==
5
- data.tar.gz: !binary |-
6
- NTQwYzdiYTUyNzI4ZWNiYjg0MzgzYjlkNDcyNzViYTRkOTJjNmIwNA==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- MzUzZDRjMGZlNmI1YWYxZTIwODM4MWNiMTcwMTYyMWVmMjk0YzM1NGMxNzc4
10
- MGZjNWMwNTg4OTNkNzM5ZGI0ZTYyNzM1Y2EyZmVmZjAwNTVkYjEwMTYyMzQ4
11
- ZmYyMTQ2ZWNiNWM5MjE3NWUzYjQ5NWYxNzZmOWI1OWNjZGFmNzE=
12
- data.tar.gz: !binary |-
13
- YmVkNzJlMmUzMmRlMzc1YWE0OTg4ZTk2OTFiZjlmOWY4Zjc1ZTQ2NWM2OGY0
14
- NzU4YzQ5NzE4Yjc3MDZkMzdjNWMxODdhYTk5ZjgxMjE5YzZkYzM4NDdlZDYy
15
- MDlhYTZlNGFiY2M2MzdlZTAxOWE5MGRmYTY3YjBiYzQ0NzIwZDU=
2
+ SHA1:
3
+ metadata.gz: 3876993354f475b265300f444ca4648c8ef3107e
4
+ data.tar.gz: e521ceec365fee5496e18cfd9643b041de99c14f
5
+ SHA512:
6
+ metadata.gz: 5da51f57c562058407e0b426586f0187b056f5487584a56f38f2d914e464e50c371d69909d819d2c3b5357c7557a31724b8589ee8fa596cfa40531e6522e4355
7
+ data.tar.gz: c640903afd4c5635d8868e7671a8e60a95f9483717d773592be5b9cc8630af65ada8aef9d69b6be519758662a166210ea391741778d1b0f1965334e33b450f6d
data/bin/fbomb CHANGED
@@ -96,6 +96,8 @@ Main {
96
96
  loop do
97
97
  logging_errors do
98
98
  @flow.stream do |flow|
99
+ @flow.current = flow
100
+
99
101
  begin
100
102
  $inactive = false
101
103
  $active_at = Time.now
@@ -135,7 +137,12 @@ Main {
135
137
 
136
138
  #
137
139
  if arg =~ %r|^\s*#{ Regexp.escape(FBomb.leader) }|
138
- key = arg.strip
140
+ if arg.strip == FBomb.leader
141
+ key = "#{ FBomb.leader }#{ args.shift }"
142
+ else
143
+ key = arg.strip
144
+ end
145
+
139
146
  command = FBomb::Command.table[key]
140
147
 
141
148
  if command
@@ -3,7 +3,7 @@
3
3
 
4
4
  Gem::Specification::new do |spec|
5
5
  spec.name = "fbomb"
6
- spec.version = "4.1.0"
6
+ spec.version = "4.2.0"
7
7
  spec.platform = Gem::Platform::RUBY
8
8
  spec.summary = "fbomb"
9
9
  spec.description = "description: fbomb kicks the ass"
@@ -84,33 +84,33 @@ Gem::Specification::new do |spec|
84
84
  spec.test_files = nil
85
85
 
86
86
 
87
- spec.add_dependency(*["flowdock", ">= 0.4.0"])
87
+ spec.add_dependency(*["flowdock", "~> 0.4"])
88
88
 
89
- spec.add_dependency(*["eventmachine", ">= 1.0.3"])
89
+ spec.add_dependency(*["eventmachine", "~> 1.0"])
90
90
 
91
- spec.add_dependency(*["em-http-request", ">= 1.1.2"])
91
+ spec.add_dependency(*["em-http-request", "~> 1.1"])
92
92
 
93
- spec.add_dependency(*["json", ">= 1.8.1"])
93
+ spec.add_dependency(*["json", "~> 2.0"])
94
94
 
95
- spec.add_dependency(*["coerce", ">= 0.0.6"])
95
+ spec.add_dependency(*["coerce", "~> 0.0"])
96
96
 
97
- spec.add_dependency(*["fukung", ">= 1.1.0"])
97
+ spec.add_dependency(*["fukung", "~> 2.0"])
98
98
 
99
- spec.add_dependency(*["main", ">= 6.1.0"])
99
+ spec.add_dependency(*["main", "~> 6.1"])
100
100
 
101
- spec.add_dependency(*["nokogiri", ">= 1.5.0"])
101
+ spec.add_dependency(*["nokogiri", "~> 1.5"])
102
102
 
103
- spec.add_dependency(*["google-search", ">= 1.0.2"])
103
+ spec.add_dependency(*["google-search", "~> 1.0"])
104
104
 
105
- spec.add_dependency(*["unidecode", ">= 1.0.0"])
105
+ spec.add_dependency(*["unidecode", "~> 1.0"])
106
106
 
107
- spec.add_dependency(*["systemu", ">= 2.3.0"])
107
+ spec.add_dependency(*["systemu", "~> 2.3"])
108
108
 
109
- spec.add_dependency(*["pry", ">= 0.9.6.2"])
109
+ spec.add_dependency(*["pry", "~> 0.9"])
110
110
 
111
- spec.add_dependency(*["mechanize", ">= 2.7.3"])
111
+ spec.add_dependency(*["mechanize", "~> 2.7"])
112
112
 
113
- spec.add_dependency(*["mime-types", ">= 1.16"])
113
+ spec.add_dependency(*["mime-types", "~> 3.1"])
114
114
 
115
115
 
116
116
  spec.extensions.push(*[])
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -13,7 +13,7 @@
13
13
  # libs
14
14
  #
15
15
  module FBomb
16
- Version = '4.1.0' unless defined?(Version)
16
+ Version = '4.2.0' unless defined?(Version)
17
17
 
18
18
  def version
19
19
  FBomb::Version
@@ -21,20 +21,20 @@
21
21
 
22
22
  def dependencies
23
23
  {
24
- 'flowdock' => [ 'flowdock' , '>= 0.4.0' ] ,
25
- 'eventmachine' => [ 'eventmachine' , '>= 1.0.3' ] ,
26
- 'em-http' => [ 'em-http-request' , '>= 1.1.2' ] ,
27
- 'json' => [ 'json' , '>= 1.8.1' ] ,
28
- 'coerce' => [ 'coerce' , '>= 0.0.6' ] ,
29
- 'fukung' => [ 'fukung' , '>= 1.1.0' ] ,
30
- 'main' => [ 'main' , '>= 6.1.0' ] ,
31
- 'nokogiri' => [ 'nokogiri' , '>= 1.5.0' ] ,
32
- 'google-search' => [ 'google-search' , '>= 1.0.2' ] ,
33
- 'unidecode' => [ 'unidecode' , '>= 1.0.0' ] ,
34
- 'systemu' => [ 'systemu' , '>= 2.3.0' ] ,
35
- 'pry' => [ 'pry' , '>= 0.9.6.2' ] ,
36
- 'mechanize' => [ 'mechanize' , '>= 2.7.3' ] ,
37
- 'mime/types' => [ 'mime-types' , '>= 1.16' ]
24
+ 'flowdock' => [ 'flowdock' , '~> 0.4' ] ,
25
+ 'eventmachine' => [ 'eventmachine' , '~> 1.0' ] ,
26
+ 'em-http' => [ 'em-http-request' , '~> 1.1' ] ,
27
+ 'json' => [ 'json' , '~> 2.0' ] ,
28
+ 'coerce' => [ 'coerce' , '~> 0.0' ] ,
29
+ 'fukung' => [ 'fukung' , '~> 2.0' ] ,
30
+ 'main' => [ 'main' , '~> 6.1' ] ,
31
+ 'nokogiri' => [ 'nokogiri' , '~> 1.5' ] ,
32
+ 'google-search' => [ 'google-search' , '~> 1.0' ] ,
33
+ 'unidecode' => [ 'unidecode' , '~> 1.0' ] ,
34
+ 'systemu' => [ 'systemu' , '~> 2.3' ] ,
35
+ 'pry' => [ 'pry' , '~> 0.9' ] ,
36
+ 'mechanize' => [ 'mechanize' , '~> 2.7' ] ,
37
+ 'mime/types' => [ 'mime-types' , '~> 3.1' ]
38
38
  }
39
39
  end
40
40
 
@@ -59,6 +59,7 @@ module FBomb
59
59
 
60
60
  class Flow < Object
61
61
  fattr(:yelling){ false }
62
+ fattr(:current){ }
62
63
 
63
64
  def yell(*args)
64
65
  string = args.join(' ')
metadata CHANGED
@@ -1,212 +1,212 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fbomb
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.0
4
+ version: 4.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ara T. Howard
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-08 00:00:00.000000000 Z
11
+ date: 2018-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: flowdock
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.4.0
19
+ version: '0.4'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.4.0
26
+ version: '0.4'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: eventmachine
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>='
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.0.3
33
+ version: '1.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ! '>='
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 1.0.3
40
+ version: '1.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: em-http-request
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ! '>='
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 1.1.2
47
+ version: '1.1'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ! '>='
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 1.1.2
54
+ version: '1.1'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: json
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ! '>='
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 1.8.1
61
+ version: '2.0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ! '>='
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 1.8.1
68
+ version: '2.0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: coerce
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ! '>='
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.0.6
75
+ version: '0.0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ! '>='
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.0.6
82
+ version: '0.0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: fukung
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ! '>='
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 1.1.0
89
+ version: '2.0'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ! '>='
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 1.1.0
96
+ version: '2.0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: main
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ! '>='
101
+ - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 6.1.0
103
+ version: '6.1'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ! '>='
108
+ - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 6.1.0
110
+ version: '6.1'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: nokogiri
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ! '>='
115
+ - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 1.5.0
117
+ version: '1.5'
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ! '>='
122
+ - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: 1.5.0
124
+ version: '1.5'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: google-search
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - ! '>='
129
+ - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 1.0.2
131
+ version: '1.0'
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - ! '>='
136
+ - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 1.0.2
138
+ version: '1.0'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: unidecode
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - ! '>='
143
+ - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: 1.0.0
145
+ version: '1.0'
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - ! '>='
150
+ - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: 1.0.0
152
+ version: '1.0'
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: systemu
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - ! '>='
157
+ - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: 2.3.0
159
+ version: '2.3'
160
160
  type: :runtime
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - ! '>='
164
+ - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: 2.3.0
166
+ version: '2.3'
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: pry
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
- - - ! '>='
171
+ - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: 0.9.6.2
173
+ version: '0.9'
174
174
  type: :runtime
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
- - - ! '>='
178
+ - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: 0.9.6.2
180
+ version: '0.9'
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: mechanize
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
- - - ! '>='
185
+ - - "~>"
186
186
  - !ruby/object:Gem::Version
187
- version: 2.7.3
187
+ version: '2.7'
188
188
  type: :runtime
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
- - - ! '>='
192
+ - - "~>"
193
193
  - !ruby/object:Gem::Version
194
- version: 2.7.3
194
+ version: '2.7'
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: mime-types
197
197
  requirement: !ruby/object:Gem::Requirement
198
198
  requirements:
199
- - - ! '>='
199
+ - - "~>"
200
200
  - !ruby/object:Gem::Version
201
- version: '1.16'
201
+ version: '3.1'
202
202
  type: :runtime
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
- - - ! '>='
206
+ - - "~>"
207
207
  - !ruby/object:Gem::Version
208
- version: '1.16'
209
- description: ! 'description: fbomb kicks the ass'
208
+ version: '3.1'
209
+ description: 'description: fbomb kicks the ass'
210
210
  email: ara.t.howard@gmail.com
211
211
  executables:
212
212
  - fbomb
@@ -281,19 +281,18 @@ require_paths:
281
281
  - lib
282
282
  required_ruby_version: !ruby/object:Gem::Requirement
283
283
  requirements:
284
- - - ! '>='
284
+ - - ">="
285
285
  - !ruby/object:Gem::Version
286
286
  version: '0'
287
287
  required_rubygems_version: !ruby/object:Gem::Requirement
288
288
  requirements:
289
- - - ! '>='
289
+ - - ">="
290
290
  - !ruby/object:Gem::Version
291
291
  version: '0'
292
292
  requirements: []
293
293
  rubyforge_project: codeforpeople
294
- rubygems_version: 2.0.3
294
+ rubygems_version: 2.6.14
295
295
  signing_key:
296
296
  specification_version: 4
297
297
  summary: fbomb
298
298
  test_files: []
299
- has_rdoc: