lita 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lita/rspec.rb +4 -1
- data/lib/lita/version.rb +1 -1
- data/templates/locales/en.yml +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4288266f9da8c0350f68fd65d272a9011fe77daf
|
4
|
+
data.tar.gz: fa1604ff5afc4eae179daff4ea4c07e72948fb29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7d35d2c2cca04cc5b4b08c5f9bcb1d75a88275e871490334c048a8894f71f6ee01d66b94be7b0ec4a089e0db3a4c3e896f9900b3037dbc02fdf4597bf26e245
|
7
|
+
data.tar.gz: fd9d37abbd5c2521f835a99816a57cead979b3b66ebff122881238edcce0e240bb5c43b3e3faa55cf899f6b80c8fec7c777cbff9d379f42371c12c8486903da0
|
data/lib/lita/rspec.rb
CHANGED
@@ -6,7 +6,10 @@ rescue LoadError
|
|
6
6
|
abort I18n.t("lita.rspec.full_suite_required")
|
7
7
|
end
|
8
8
|
|
9
|
-
major,
|
9
|
+
major, *_unused = RSpec::Core::Version::STRING.split(/\./)
|
10
|
+
abort I18n.t("lita.rspec.version_3_required") if major.to_i < 3
|
11
|
+
|
12
|
+
major, minor, *_unused = RSpec::Mocks::Version::STRING.split(/\./)
|
10
13
|
abort I18n.t("lita.rspec.mocks_expect_syntax_required") if major == "2" && minor.to_i < 14
|
11
14
|
|
12
15
|
require_relative "rspec/handler"
|
data/lib/lita/version.rb
CHANGED
data/templates/locales/en.yml
CHANGED
@@ -71,6 +71,7 @@ en:
|
|
71
71
|
unknown_adapter: "Unknown adapter: :%{adapter}."
|
72
72
|
rspec:
|
73
73
|
full_suite_required: Lita::RSpec requires both RSpec::Mocks and RSpec::Expectations.
|
74
|
+
version_3_required: RSpec::Core 3 or greater is required to use Lita::RSpec.
|
74
75
|
mocks_expect_syntax_required: RSpec::Mocks 2.14 or greater is required to use Lita::RSpec.
|
75
76
|
route_failure: |-
|
76
77
|
Expected message "%{message}" to route to :%{route}, but didn't.
|