lita 4.4.0 → 4.4.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
2
  SHA1:
3
- metadata.gz: f9215364634b3989e49830b555b053790f05cea4
4
- data.tar.gz: beb555742378d6644ae0f0f907d16e44051441ff
3
+ metadata.gz: 9748761bfa32c6c6222b9efb641526bbeea252bf
4
+ data.tar.gz: 28cfb9a3586637f3cf335d87731f3b7b63829678
5
5
  SHA512:
6
- metadata.gz: c5f9eff256a23b5e9888427f2f91cedc37e2560948db164b103a118da49cf8232f17dc1c8b0c96d05d9156da2af57a8bb040fa2c0ed9b57475b36e05007891da
7
- data.tar.gz: a1258925bedd819e2af1e6742abb3b555b23e596829e7cfa4df5baa4bd6253488be406704054d24cc54d113b360a22cb9f21bf903e52bd9454a6eb7bc5ecd455
6
+ metadata.gz: 41eeb51d98b67949a6938be319bdcf143ff6be47a853137a05c822a1ee85df3f8ad9f5e90af093bcc020e0d653a79a6e892097f803d6c2ae250edbcbca126c31
7
+ data.tar.gz: 90be4a7d2dd20bfbdfaa5abcab9a98eacc9012e9d4e48b9020e3f0c391e626b7536333055b1aab30082f85f1c6ce643b0226027c041c4a652e656ed945326afc
@@ -39,7 +39,10 @@ module Lita
39
39
  # @!method mention_format(name)
40
40
  # @see Lita::Adapter#mention_format
41
41
  # @since 4.4.0
42
- def_delegators :adapter, :mention_format
42
+ # @!method roster(room)
43
+ # @see Lita::Adapter#roster
44
+ # @since 4.4.1
45
+ def_delegators :adapter, :mention_format, :roster
43
46
 
44
47
  # @param registry [Lita::Registry] The registry for the robot's configuration and plugins.
45
48
  def initialize(registry = Lita)
@@ -1,4 +1,4 @@
1
1
  module Lita
2
2
  # The current version of Lita.
3
- VERSION = "4.4.0"
3
+ VERSION = "4.4.1"
4
4
  end
@@ -38,6 +38,12 @@ describe Lita::Robot, lita: true do
38
38
  expect(subject.mention_format(subject.mention_name)).to eq("Lita:")
39
39
  end
40
40
 
41
+ it "exposes Adapter#roster" do
42
+ expect_any_instance_of(Lita::Adapters::Shell).to receive(:roster)
43
+
44
+ subject.roster(instance_double("Lita::Room"))
45
+ end
46
+
41
47
  context "with registered handlers" do
42
48
  let(:handler1) { Class.new(Lita::Handler) { namespace :test } }
43
49
  let(:handler2) { Class.new(Lita::Handler) { namespace :test } }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.4.0
4
+ version: 4.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jimmy Cuadra