activity_notification 2.2.0 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +4 -0
- data/CHANGELOG.md +7 -0
- data/activity_notification.gemspec +1 -1
- data/gemfiles/Gemfile.rails-6.1 +24 -0
- data/lib/activity_notification/version.rb +1 -1
- data/spec/helpers/view_helpers_spec.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0925836406b562667162fcddb33f8c4e872f2da0cb6e4bfef2fa00d727c48b76'
|
4
|
+
data.tar.gz: 1e9a79db20559fb3c19efb494c7b0d137d653fb79fc8db168df70e84b299224a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c8a1b7f11b9c88350c8565be038c3ac968b850aa8a3f50e683c6c7a4f162e6680c275147db9ad7bbed864b0082984e3e3dfc55bd7cace40592b3017e1ca8b58
|
7
|
+
data.tar.gz: 73f623e03fd9700b24dcbdeabaef9c732e2d22cea15f9b2a1b129812314f6d5dac672d22ed14a93f611903c05f543c344cc3a5e18e3b44d6af3fd677796321e9
|
data/.travis.yml
CHANGED
@@ -16,6 +16,7 @@ gemfile:
|
|
16
16
|
- gemfiles/Gemfile.rails-5.1
|
17
17
|
- gemfiles/Gemfile.rails-5.2
|
18
18
|
- gemfiles/Gemfile.rails-6.0
|
19
|
+
- gemfiles/Gemfile.rails-6.1
|
19
20
|
|
20
21
|
env:
|
21
22
|
- AN_ORM=active_record
|
@@ -36,6 +37,9 @@ matrix:
|
|
36
37
|
- rvm: ruby-head
|
37
38
|
gemfile: Gemfile
|
38
39
|
env: AN_ORM=dynamoid
|
40
|
+
exclude:
|
41
|
+
- gemfile: gemfiles/Gemfile.rails-6.1
|
42
|
+
env: AN_ORM=dynamoid
|
39
43
|
allow_failures:
|
40
44
|
- rvm: ruby-head
|
41
45
|
fast_finish: true
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
## 2.2.1 / 2021-01-24
|
2
|
+
[Full Changelog](http://github.com/simukappu/activity_notification/compare/v2.2.0...v2.2.1)
|
3
|
+
|
4
|
+
Enhancements:
|
5
|
+
|
6
|
+
* Allow use with Rails 6.1 - [#152](https://github.com/simukappu/activity_notification/issues/152)
|
7
|
+
|
1
8
|
## 2.2.0 / 2020-12-05
|
2
9
|
[Full Changelog](http://github.com/simukappu/activity_notification/compare/v2.1.4...v2.2.0)
|
3
10
|
|
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
|
|
20
20
|
s.require_paths = ["lib"]
|
21
21
|
s.required_ruby_version = '>= 2.1.0'
|
22
22
|
|
23
|
-
s.add_dependency 'railties', '>= 5.0.0', '< 6.
|
23
|
+
s.add_dependency 'railties', '>= 5.0.0', '< 6.2'
|
24
24
|
s.add_dependency 'i18n', '>= 0.5.0'
|
25
25
|
s.add_dependency 'jquery-rails', '>= 3.1.1'
|
26
26
|
s.add_dependency 'swagger-blocks', '>= 3.0.0'
|
@@ -0,0 +1,24 @@
|
|
1
|
+
source 'https://rubygems.org'
|
2
|
+
|
3
|
+
gemspec path: '../'
|
4
|
+
|
5
|
+
gem 'rails', '~> 6.1.0'
|
6
|
+
gem 'mongoid', git: 'https://github.com/mongodb/mongoid.git'
|
7
|
+
gem 'devise_token_auth', git: 'https://github.com/lynndylanhurley/devise_token_auth'
|
8
|
+
|
9
|
+
group :development do
|
10
|
+
gem 'bullet'
|
11
|
+
gem 'rack-cors'
|
12
|
+
end
|
13
|
+
|
14
|
+
group :test do
|
15
|
+
gem 'rails-controller-testing'
|
16
|
+
gem 'ammeter'
|
17
|
+
gem 'timecop'
|
18
|
+
gem 'committee'
|
19
|
+
gem 'committee-rails'
|
20
|
+
# gem 'coveralls', require: false
|
21
|
+
gem 'coveralls_reborn', require: false
|
22
|
+
end
|
23
|
+
|
24
|
+
gem 'dotenv-rails', groups: [:development, :test]
|
@@ -1,5 +1,5 @@
|
|
1
1
|
describe ActivityNotification::ViewHelpers, type: :helper do
|
2
|
-
let(:view_context) { ActionView::Base.new(ActionView::LookupContext.new(ActionController::Base.view_paths)) }
|
2
|
+
let(:view_context) { ActionView::Base.new(ActionView::LookupContext.new(ActionController::Base.view_paths), [], nil) }
|
3
3
|
let(:notification) {
|
4
4
|
create(:notification, target: create(:confirmed_user))
|
5
5
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activity_notification
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shota Yamazaki
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: 5.0.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '6.
|
22
|
+
version: '6.2'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: 5.0.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '6.
|
32
|
+
version: '6.2'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: i18n
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -389,6 +389,7 @@ files:
|
|
389
389
|
- gemfiles/Gemfile.rails-5.1
|
390
390
|
- gemfiles/Gemfile.rails-5.2
|
391
391
|
- gemfiles/Gemfile.rails-6.0
|
392
|
+
- gemfiles/Gemfile.rails-6.1
|
392
393
|
- lib/activity_notification.rb
|
393
394
|
- lib/activity_notification/apis/notification_api.rb
|
394
395
|
- lib/activity_notification/apis/subscription_api.rb
|