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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cd6d6161c1eadbc15d2edf48936f67ac8b42b1b5
4
- data.tar.gz: 08133568571ac4fc50726e7c275cb937b4efbfdd
3
+ metadata.gz: 4288266f9da8c0350f68fd65d272a9011fe77daf
4
+ data.tar.gz: fa1604ff5afc4eae179daff4ea4c07e72948fb29
5
5
  SHA512:
6
- metadata.gz: ee9fc74314dd3cbb5f9d55478ba82f6481913e55b3d904cacd414eec6733a661a11284d921df4e5eeb2dea0b9028ae46042ce41aa96efe5abbed734f2fe7ca48
7
- data.tar.gz: 925e426308386e860d9d1334015565f6c0d5a1b528f5aa493455bd8f9a714143ade62593b360ea2c18890233374cead1620d9851c078dfc620f9c102626b1187
6
+ metadata.gz: b7d35d2c2cca04cc5b4b08c5f9bcb1d75a88275e871490334c048a8894f71f6ee01d66b94be7b0ec4a089e0db3a4c3e896f9900b3037dbc02fdf4597bf26e245
7
+ data.tar.gz: fd9d37abbd5c2521f835a99816a57cead979b3b66ebff122881238edcce0e240bb5c43b3e3faa55cf899f6b80c8fec7c777cbff9d379f42371c12c8486903da0
@@ -6,7 +6,10 @@ rescue LoadError
6
6
  abort I18n.t("lita.rspec.full_suite_required")
7
7
  end
8
8
 
9
- major, minor, _patch, *_pre = RSpec::Mocks::Version::STRING.split(/\./)
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"
@@ -1,4 +1,4 @@
1
1
  module Lita
2
2
  # The current version of Lita.
3
- VERSION = "3.0.0"
3
+ VERSION = "3.0.1"
4
4
  end
@@ -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.
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: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jimmy Cuadra