lita-debug-queue 0.1.0 → 0.1.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eaf323f4fe47b1aeb6cc87e98a4dc1cfd64a22a3
4
- data.tar.gz: ebed6e0928f033f06802ee945d664cedeabeb63e
3
+ metadata.gz: 07d3467b72d42050bc85638eb4efcc6b237e6122
4
+ data.tar.gz: 3a9914697cdc2065ae953673ab7db7ab93433888
5
5
  SHA512:
6
- metadata.gz: 3411f4a18feb9f082080bc3f7a87e59bdb8bec8a271309be6bcc09283864b0bbff001669b9c143a71a0bcc1284972a105b8eddc0e71e3b0bc613cf11995b07c4
7
- data.tar.gz: 5f96eef0287d91c3933e32128ad499c267559bd445499cc2e33feae7ca02129dc0f58edce6acb9702bc0fcca543523db5cd1cab313b33d43a372f18db8aee539
6
+ metadata.gz: acbbbbd4a746c67c08950c69fe0fd41a92d0a55114737c41fe39cd9e3150b32aacd28dcf8b77183a3368d16050eae19ceab5cc7e4fc907b22c592a990d9eacb9
7
+ data.tar.gz: fdc199e5e42b1757eada62cd1d6e3a23aefaecc77ff33f4b4d1ec3c089e7f235820b01f6ff0016c40b84d51a6a8e97dfa19cf4c0aa2c4f2f141cc17042cf01d7
data/NEWS.md ADDED
@@ -0,0 +1,9 @@
1
+ ## News
2
+
3
+ ### 0.1.1 (2015-08-28)
4
+
5
+ * Quick workaround for issue #44 in lita-slack.
6
+
7
+ ### 0.1.0 (2015-08-28)
8
+
9
+ * Initial release. Undocumented.
@@ -69,7 +69,9 @@ module Lita
69
69
 
70
70
  private
71
71
  def check_room!(response)
72
- @room = response.message.source.room
72
+ # KLUDGE: The following is a gross hack as the current room_object is incorrect.
73
+ # See lita-slack Issue #44
74
+ @room = Lita::Room.find_by_id(response.message.source.room).name
73
75
  response.reply_privately("You must be in the class channel to send this message.") unless @room
74
76
  @room
75
77
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "lita-debug-queue"
3
- spec.version = "0.1.0"
3
+ spec.version = "0.1.1"
4
4
  spec.authors = ["Brit Butler"]
5
5
  spec.email = ["brit@kingcons.io"]
6
6
  spec.description = "Queue tracking of users who need debugging help with per-channel management"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-debug-queue
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brit Butler
@@ -104,6 +104,7 @@ files:
104
104
  - ".gitignore"
105
105
  - Gemfile
106
106
  - LICENSE
107
+ - NEWS.md
107
108
  - README.md
108
109
  - Rakefile
109
110
  - lib/lita-debug-queue.rb