lita-wizard 1.0.2 → 1.0.3
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 +4 -4
- data/lib/lita/wizard.rb +2 -1
- data/lita-wizard.gemspec +1 -1
- data/spec/lita/integration_spec.rb +6 -0
- data/spec/spec_helper.rb +1 -0
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9939428577c147dee367c28c8d565a0465d142f9
|
4
|
+
data.tar.gz: 3c1be97d31736090a2bd433fa13608b534f1660e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89b1e41e337f9bb3369d70bc4bba60af443505cde0ef345ec0a3a33abb755aa8334fdb9b75f64ba6f12fceb7466461d162c3b69372a924299cca8e2398109604
|
7
|
+
data.tar.gz: 44eb4840d9a0dffd5d5bae374c3b4fa146dac1e73b251f9a147ff6a661e8037edf8c46302c46a204d923d8d8ef2a0900620a0345710af730648b99e0e4031dd1
|
data/lib/lita/wizard.rb
CHANGED
data/lita-wizard.gemspec
CHANGED
@@ -22,6 +22,12 @@ describe Lita::Handlers::Wizard, lita: true, lita_handler: true do
|
|
22
22
|
expect(replies.first).to match(/^initial message/)
|
23
23
|
end
|
24
24
|
|
25
|
+
it "should reply with the initial message privately" do
|
26
|
+
message = Lita::Message.new(robot, "test", source)
|
27
|
+
expect(message).to receive(:reply_privately).at_least(1)
|
28
|
+
TestWizard.start(robot, message)
|
29
|
+
end
|
30
|
+
|
25
31
|
it "should call the start_wizard method if it's the first step" do
|
26
32
|
message = Lita::Message.new(robot, "test", source)
|
27
33
|
expect_any_instance_of(TestWizard).to receive(:start_wizard)
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lita-wizard
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cristian Bica
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lita
|
@@ -213,7 +213,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
213
213
|
version: '0'
|
214
214
|
requirements: []
|
215
215
|
rubyforge_project:
|
216
|
-
rubygems_version: 2.
|
216
|
+
rubygems_version: 2.5.1
|
217
217
|
signing_key:
|
218
218
|
specification_version: 4
|
219
219
|
summary: A lita extension to build wizards (surveys, standups, etc)
|
@@ -223,4 +223,3 @@ test_files:
|
|
223
223
|
- spec/lita/wizard_spec.rb
|
224
224
|
- spec/spec_helper.rb
|
225
225
|
- spec/support/test_wizard.rb
|
226
|
-
has_rdoc:
|