lita-corporate-bs-generator 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 17690dc900cc406303a614f108810cc55481e662
4
- data.tar.gz: cc7925968447c9180369c6d3ebbbeee4a446499d
2
+ SHA256:
3
+ metadata.gz: b4d8b0dd48503b6e9a9d5f18d3ac2248f6988b50dee31eb1dafbe654414e45b1
4
+ data.tar.gz: 055d921fd960a270ed22992c4aedd74622c5b4a870c0eddd0753a5d55259c35c
5
5
  SHA512:
6
- metadata.gz: b11b38d37292a7ac68fbf91d07a8ec2217c689736147703f1c12f8941d93498986dcc018c58b3f8cca6b50231c02a322f271070ee2a27b5f75b1b767fcb1412c
7
- data.tar.gz: e5b5a400d765197e588f688f5833f4a05232a27551d32da913cd1d0821369e1ade5b5e9c68147cf46fd28ad5de0f933972a7f31b1555ad5ab21615e3af6c4b5f
6
+ metadata.gz: d525921efe1e8bf3b2728fb050e7e7e480f64930601c5632a98619210b4bc4a520c06c0166f184b92ee2f24e7b88786effe4afab489d83b9817ce5150b415a42
7
+ data.tar.gz: e385bcb1dda3f5b2c9f8f80bbbcfbdc58d0c4a42d5c4a11d03046a64b5429d5e55d38b4a702237e150cf30ffa2a1fcee08a66731befb30029f595f5dbea32f17
@@ -28,14 +28,14 @@ GEM
28
28
  rb-readline (>= 0.5.1)
29
29
  redis-namespace (>= 1.3.0)
30
30
  thor (>= 0.18.1)
31
- mini_portile (0.6.2)
31
+ mini_portile2 (2.4.0)
32
32
  multi_json (1.10.1)
33
33
  multipart-post (2.0.0)
34
- nokogiri (1.6.6.2)
35
- mini_portile (~> 0.6.0)
34
+ nokogiri (1.10.4)
35
+ mini_portile2 (~> 2.4.0)
36
36
  puma (2.11.1)
37
37
  rack (>= 1.1, < 2.0)
38
- rack (1.6.0)
38
+ rack (1.6.11)
39
39
  rake (10.4.2)
40
40
  rb-readline (0.5.2)
41
41
  redis (3.2.1)
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # lita-corporate-bs-generator
2
2
 
3
- **lita-corporate-bs-generator** is a handler that will spew some arbitrary corporate garbage at you, taken from the ever-amazing http://cbsg.sourceforge.net/cgi-bin/live .
3
+ **lita-corporate-bs-generator** is a handler that will spew some arbitrary corporate garbage at you, taken from the ever-amazing http://pasta.phyrama.com:8083/cgi-bin/live.exe .
4
4
 
5
5
  Inspired heavily by (more or less copy-pasted from) [lita-pugbomb](https://github.com/killpack/lita-pugbomb).
6
6
 
@@ -14,3 +14,5 @@ gem "lita-corporate-bs-generator"
14
14
  ### Usage
15
15
  `Lita: corporate bs` - display some corporate garbage
16
16
 
17
+ `> Insights technically empower the stakeholders. A centralized brand pyramid structures global measures.`
18
+
@@ -6,13 +6,13 @@ module Lita
6
6
  class CorporateBsGenerator < Handler
7
7
  route(/\bcorporate bs( please)?/i, :bs, :command => true, :help => { "corporate bs (please)" => "Spew some corporate garbage" })
8
8
 
9
- BASE_URL = "http://cbsg.sourceforge.net/cgi-bin/live"
9
+ BASE_URL = "http://pasta.phyrama.com:8083/cgi-bin/live.exe"
10
10
 
11
11
  def bs(response)
12
12
  if (some_bs = redis.lpop("corporate-bs-generator"))
13
13
  response.reply some_bs
14
14
  else
15
- data = Nokogiri::HTML.parse(http.post("http://cbsg.sourceforge.net/cgi-bin/live").body)
15
+ data = Nokogiri::HTML.parse(http.post("http://pasta.phyrama.com:8083/cgi-bin/live.exe").body)
16
16
  bs_list = data.xpath("//li").map(&:children).map { |x| x.text.strip }
17
17
  redis.lpush("corporate-bs-generator", bs_list)
18
18
  response.reply redis.lpop("corporate-bs-generator")
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "lita-corporate-bs-generator"
3
- spec.version = "1.0.0"
3
+ spec.version = "1.0.1"
4
4
  spec.authors = ["Andrew Hayworth"]
5
5
  spec.email = ["ahayworth@gmail.com"]
6
6
  spec.description = %q{Lita handler to spout corporate bs}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-corporate-bs-generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Hayworth
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-02 00:00:00.000000000 Z
11
+ date: 2019-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lita
@@ -114,8 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
114
  - !ruby/object:Gem::Version
115
115
  version: '0'
116
116
  requirements: []
117
- rubyforge_project:
118
- rubygems_version: 2.4.5
117
+ rubygems_version: 3.0.6
119
118
  signing_key:
120
119
  specification_version: 4
121
120
  summary: Lita handler to spout corporate bs