activity_notification 2.2.0 → 2.2.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: 771b080e7877b6a83105bc0f8842440fc4f2a12c0fa56b6e55f4d2b24b3e9d20
4
- data.tar.gz: 2b8dcbeb13208ef8a44e3fa246ac464f1e36c8140cc1e087ebc6b39e55da1107
3
+ metadata.gz: '0925836406b562667162fcddb33f8c4e872f2da0cb6e4bfef2fa00d727c48b76'
4
+ data.tar.gz: 1e9a79db20559fb3c19efb494c7b0d137d653fb79fc8db168df70e84b299224a
5
5
  SHA512:
6
- metadata.gz: e573698b449a5aef558b312c4fd0a7023d28adf2ab4210f941efc6a3025c4126cf4428ca561addf760e4e6a875696ffe6ba06d0bc0501007f663f4e59f3c0a07
7
- data.tar.gz: 7c8d4771871af1dedd7440fcb670b9a50b5820fa9f09e3be5df9d2f6618002174dfaf00d7f71f6e725aecc28267b8a2263050ecbed662d3c6038a7dabd9383fe
6
+ metadata.gz: 6c8a1b7f11b9c88350c8565be038c3ac968b850aa8a3f50e683c6c7a4f162e6680c275147db9ad7bbed864b0082984e3e3dfc55bd7cace40592b3017e1ca8b58
7
+ data.tar.gz: 73f623e03fd9700b24dcbdeabaef9c732e2d22cea15f9b2a1b129812314f6d5dac672d22ed14a93f611903c05f543c344cc3a5e18e3b44d6af3fd677796321e9
@@ -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
@@ -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.1'
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,3 +1,3 @@
1
1
  module ActivityNotification
2
- VERSION = "2.2.0"
2
+ VERSION = "2.2.1"
3
3
  end
@@ -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.0
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: 2020-12-05 00:00:00.000000000 Z
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.1'
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.1'
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