abstract_notifier 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +2 -0
- data/lib/abstract_notifier/testing.rb +1 -1
- data/lib/abstract_notifier/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 03f0a4930f3a771cd4c4ba112ea3dfb0ad5df8da51d2a355c5588aa4d4d164f7
|
4
|
+
data.tar.gz: cac11a3dc5d86a394ae114aab6b4f751b028e0e582f344611061ebb50903374a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd0fb71fa422dfaa8309294eff7593561af5d0dde3a45fba0345c1642ae6418f269e5d8d409bfbffafd967897506be2d6aa5990329041ca8d131ea7cf77ede43
|
7
|
+
data.tar.gz: 83c389be95c2d1ee64f5dc1645d80992f08b7ed03a382407c9f869d1cbd079cb4823d4c2924451131d55578d7382dfaaa93131ec52771b303959e9a2b2e15d0d
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,13 @@
|
|
2
2
|
|
3
3
|
## master
|
4
4
|
|
5
|
+
## 0.3.1 (2020-04-09)
|
6
|
+
|
7
|
+
- Fix loading testing utils. ([@brovikov][])
|
8
|
+
|
9
|
+
Change the RSpec check to `defined?(RSpec::Core)` to prevent from
|
10
|
+
loading testing utils when only `RSpec` module is defined.
|
11
|
+
|
5
12
|
## 0.3.0 (2020-03-02)
|
6
13
|
|
7
14
|
- **Drop Ruby 2.4 support**. ([@palkan][])
|
@@ -17,3 +24,4 @@
|
|
17
24
|
Initial version.
|
18
25
|
|
19
26
|
[@palkan]: https://github.com/palkan
|
27
|
+
[@brovikov]: https://github.com/brovikov
|
data/README.md
CHANGED
@@ -190,6 +190,8 @@ expect { EventsNotifier.with(profile: profile).canceled(event).notify_now }.
|
|
190
190
|
expect { EventsNotifier.with(profile: profile).canceled(event).notify_later}.
|
191
191
|
to have_enqueued_notification(identify: '123', body: 'Alarma!')
|
192
192
|
```
|
193
|
+
|
194
|
+
**NOTE:** test mode activated automatically if `RAILS_ENV` or `RACK_ENV` env variable is equal to "test". Otherwise add `require "abstract_notifier/testing/rspec"` 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)).
|
193
195
|
|
194
196
|
## Related projects
|
195
197
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: abstract_notifier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
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: 2020-
|
11
|
+
date: 2020-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_delivery
|