lita 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/lita/user.rb +2 -1
- data/lib/lita/version.rb +1 -1
- data/spec/lita/user_spec.rb +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6481f1efae6591656a5568118250b016f996895b
|
4
|
+
data.tar.gz: dcbb5b21902747c0d9e15f3295b1b1a6faab3ea1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a97fbc70295e6b060f058eb7ed16bdef50e8878c53a430c13df4bdccf7511c4f6547dd576d722aab3f14b730721c70c9911219c72c470a6cfd4b47095a14cbe
|
7
|
+
data.tar.gz: 08a9eee29bcffa5c6f0b870eaac12f470287bf7bcab2e35e662221884e180a32f86b0090a02cbdf449ebd2220bacc7d8dc00976b6ce05aacd863c7d7d272c30f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 1.1.2 (June 23, 2013)
|
4
|
+
|
5
|
+
* Fixed a bug where User objects would raise an exception when compared against non-User objects.
|
6
|
+
|
3
7
|
## 1.1.1 (June 23, 2013)
|
4
8
|
|
5
9
|
* Fixed broken internals in the authorization API. Auth commands will now correctly detect the user making the command and will normalize group names so that capitalization and white space don't matter.
|
data/lib/lita/user.rb
CHANGED
data/lib/lita/version.rb
CHANGED
data/spec/lita/user_spec.rb
CHANGED
@@ -54,5 +54,10 @@ describe Lita::User, lita: true do
|
|
54
54
|
user2 = described_class.new(1, name: "Carl")
|
55
55
|
expect(user1).to eq(user2)
|
56
56
|
end
|
57
|
+
|
58
|
+
it "doesn't assume the comparison object is a Lita::User" do
|
59
|
+
user = described_class.new(1, name: "Carl")
|
60
|
+
expect(user).not_to eq("not a Lita::User object")
|
61
|
+
end
|
57
62
|
end
|
58
63
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lita
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jimmy Cuadra
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-06-
|
11
|
+
date: 2013-06-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|