active_delivery 0.3.0 → 0.3.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b0f3637c02e517255d0d91c59b1dd3abf61f6ffd1aaf34f28723a3be0e3209cf
4
- data.tar.gz: 48bd825dab16b2937d6275ff21ec04868a5a97bd3b98cfcc9a297bfc6c064d76
3
+ metadata.gz: 58549c626e3d38e914f029cb7b9b05f9dc47656ee0f7c21e995d84da6077b55b
4
+ data.tar.gz: 908b2c2c78171799a1373f832b24a1a6f10e59f3b5cce40ab28e7e6827b370ee
5
5
  SHA512:
6
- metadata.gz: 5284e71b7e9e84747f71bf78476536c50e16e912959fd0c2f97c9a533f86e4a589c47766f09890324459003b36113f677461c8a1e406c58e1b4263c2fcf71f21
7
- data.tar.gz: 4d14d2914d4beec54d73cf9c08a4342b6775ee4941530394cd827d09ae4f7dfbd5f28c659e4c76be2dc193697e4d6ea3d86ca6956c2d7dfc241103b5558ff0fe
6
+ metadata.gz: a28d44569bcd3c15e52308b60bad60a7bb0eb3b25680099130afe8fd743ab5cacb43e1ef972306a0983f10d17375666e1fa0394e6cfbc17ee929cc05f338857a
7
+ data.tar.gz: 243c05d65a2b795ff2f4a0b3722f37e523a2169282345a226c3fba9f1924040cf1ae9feefce35f603d5287c38d7bd92992a72f57dd0ef32a30e8fd0e63ca8c28
data/CHANGELOG.md CHANGED
@@ -2,11 +2,17 @@
2
2
 
3
3
  ## master
4
4
 
5
+ ## 0.3.1 (2020-02-21)
6
+
7
+ - Fixed RSpec detection. ([@palkan][])
8
+
9
+ - Add note about usage with Spring. ([@iBublik][])
10
+
5
11
  ## 0.3.0 (2019-12-25)
6
12
 
7
13
  - Add support of :only, :except params for callbacks. ([@curpeng][])
8
14
 
9
- - Add negation rspec matcher: `have_not_delivered_to`. ([@StanisLove][])
15
+ - Add negation rspec matcher: `have_not_delivered_to`. ([@StanisLove](https://github.com/stanislove))
10
16
 
11
17
  - Improve RSpec matcher's failure message. ([@iBublik][])
12
18
 
@@ -26,3 +32,4 @@ Initial version.
26
32
 
27
33
  [@palkan]: https://github.com/palkan
28
34
  [@curpeng]: https://github.com/curpeng
35
+ [@iBublik]: https://github.com/ibublik
data/README.md CHANGED
@@ -184,7 +184,7 @@ specify "when event is not found" do
184
184
  end
185
185
  ```
186
186
 
187
- *NOTE:** test mode activated automatically if `RAILS_ENV` or `RACK_ENV` env variable is equal to "test". Otherwise add `require "active_delivery/testing"` to your `spec_helper.rb` / `rails_helper.rb` manually.
187
+ *NOTE:** test mode activated automatically if `RAILS_ENV` or `RACK_ENV` env variable is equal to "test". Otherwise add `require "active_delivery/testing"` to your `spec_helper.rb` / `rails_helper.rb` manually. This is also required if you're using Spring in test environment (e.g. with help of [spring-commands-rspec](https://github.com/jonleighton/spring-commands-rspec)).
188
188
 
189
189
  ## Custom "lines"
190
190
 
@@ -4,7 +4,7 @@ module ActiveDelivery
4
4
  module TestDelivery
5
5
  class << self
6
6
  def enable
7
- raise ArgumentError, "block is reauired" unless block_given?
7
+ raise ArgumentError, "block is required" unless block_given?
8
8
  begin
9
9
  clear
10
10
  Thread.current[:active_delivery_testing] = true
@@ -45,4 +45,4 @@ end
45
45
 
46
46
  ActiveDelivery::Base.prepend ActiveDelivery::TestDelivery
47
47
 
48
- require "active_delivery/testing/rspec" if defined?(RSpec)
48
+ require "active_delivery/testing/rspec" if defined?(RSpec::Core)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiveDelivery
4
- VERSION = "0.3.0"
4
+ VERSION = "0.3.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_delivery
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vladimir Dementyev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-25 00:00:00.000000000 Z
11
+ date: 2020-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  - !ruby/object:Gem::Version
121
121
  version: '0'
122
122
  requirements: []
123
- rubygems_version: 3.0.3
123
+ rubygems_version: 3.0.6
124
124
  signing_key:
125
125
  specification_version: 4
126
126
  summary: Rails framework for managing all types of notifications in one place