activity_notification 2.3.2 → 2.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/build.yml +10 -5
- data/CHANGELOG.md +8 -1
- data/Gemfile +4 -2
- data/activity_notification.gemspec +1 -1
- data/gemfiles/Gemfile.rails-7.2 +0 -2
- data/gemfiles/Gemfile.rails-8.0 +26 -0
- data/lib/activity_notification/rails/routes.rb +2 -2
- data/lib/activity_notification/version.rb +1 -1
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f4b143bc4385bab48dd2eeeda6b89cea1a0889c87cdbd974ce135f11bc0a3505
|
4
|
+
data.tar.gz: 6a211ffab591120504daf5eed89d1999b94d77ff6c7bbadf711208a3e614530e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66b716613e95c2a02ea97dc795ec686581159d3227dae081cc119d70fc83bbdee41dc4a96d4569aed98c2faa6965f3bb6f1d9f782f16b7a34df7715239105439
|
7
|
+
data.tar.gz: cd710cd42cbfe6cfdb051707173e612e00b97a46006d94b6c5d7364b0599182de1d9661a2bd278c76aeb64088a5a8df9473b3e1815863c6ad6df1947557aaf22
|
data/.github/workflows/build.yml
CHANGED
@@ -25,6 +25,7 @@ jobs:
|
|
25
25
|
- gemfiles/Gemfile.rails-7.0
|
26
26
|
- gemfiles/Gemfile.rails-7.1
|
27
27
|
- gemfiles/Gemfile.rails-7.2
|
28
|
+
- gemfiles/Gemfile.rails-8.0
|
28
29
|
orm:
|
29
30
|
- active_record
|
30
31
|
- mongoid
|
@@ -44,19 +45,21 @@ jobs:
|
|
44
45
|
- gemfile: gemfiles/Gemfile.rails-7.0
|
45
46
|
ruby-version: 3.1.6
|
46
47
|
- gemfile: gemfiles/Gemfile.rails-7.1
|
47
|
-
ruby-version: 3.2.
|
48
|
+
ruby-version: 3.2.6
|
48
49
|
- gemfile: gemfiles/Gemfile.rails-7.2
|
49
|
-
ruby-version: 3.3.
|
50
|
+
ruby-version: 3.3.6
|
51
|
+
- gemfile: gemfiles/Gemfile.rails-8.0
|
52
|
+
ruby-version: 3.3.6
|
50
53
|
- gemfile: Gemfile
|
51
|
-
ruby-version: 3.3.
|
54
|
+
ruby-version: 3.3.6
|
52
55
|
orm: active_record
|
53
56
|
test-db: mysql
|
54
57
|
- gemfile: Gemfile
|
55
|
-
ruby-version: 3.3.
|
58
|
+
ruby-version: 3.3.6
|
56
59
|
orm: active_record
|
57
60
|
test-db: postgresql
|
58
61
|
- gemfile: Gemfile
|
59
|
-
ruby-version: 3.3.
|
62
|
+
ruby-version: 3.3.6
|
60
63
|
orm: mongoid
|
61
64
|
test-db: mongodb
|
62
65
|
- gemfile: Gemfile
|
@@ -74,6 +77,8 @@ jobs:
|
|
74
77
|
orm: dynamoid
|
75
78
|
- gemfile: gemfiles/Gemfile.rails-7.2
|
76
79
|
orm: dynamoid
|
80
|
+
- gemfile: gemfiles/Gemfile.rails-8.0
|
81
|
+
orm: dynamoid
|
77
82
|
|
78
83
|
env:
|
79
84
|
RAILS_ENV: test
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
|
+
## 2.3.3 / 2025-01-13
|
2
|
+
[Full Changelog](http://github.com/simukappu/activity_notification/compare/v2.3.2...v2.3.3)
|
3
|
+
|
4
|
+
Enhancements:
|
5
|
+
|
6
|
+
* Allow use with Rails 8.0 - [#182](https://github.com/simukappu/activity_notification/pull/182) [#183](https://github.com/simukappu/activity_notification/issues/183)
|
7
|
+
|
1
8
|
## 2.3.2 / 2024-09-23
|
2
|
-
[Full Changelog](http://github.com/simukappu/activity_notification/compare/v2.3.
|
9
|
+
[Full Changelog](http://github.com/simukappu/activity_notification/compare/v2.3.1...v2.3.2)
|
3
10
|
|
4
11
|
Enhancements:
|
5
12
|
|
data/Gemfile
CHANGED
@@ -2,14 +2,16 @@ source 'https://rubygems.org'
|
|
2
2
|
|
3
3
|
gemspec
|
4
4
|
|
5
|
-
gem 'rails', '~>
|
5
|
+
gem 'rails', '~> 8.0.0'
|
6
6
|
|
7
7
|
group :production do
|
8
8
|
gem 'sprockets-rails'
|
9
9
|
gem 'puma'
|
10
10
|
gem 'pg'
|
11
11
|
gem 'devise'
|
12
|
-
|
12
|
+
# https://github.com/lynndylanhurley/devise_token_auth/pull/1639
|
13
|
+
gem 'devise_token_auth', git: 'https://github.com/lynndylanhurley/devise_token_auth.git'
|
14
|
+
gem 'sqlite3', ">= 2.1"
|
13
15
|
end
|
14
16
|
|
15
17
|
group :development do
|
@@ -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', '<
|
23
|
+
s.add_dependency 'railties', '>= 5.0.0', '< 8.1'
|
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'
|
data/gemfiles/Gemfile.rails-7.2
CHANGED
@@ -4,8 +4,6 @@ gemspec path: '../'
|
|
4
4
|
|
5
5
|
gem 'rails', '~> 7.2.0'
|
6
6
|
gem 'sprockets-rails'
|
7
|
-
# https://github.com/lynndylanhurley/devise_token_auth/pull/1632
|
8
|
-
gem 'devise_token_auth', git: 'https://github.com/lynndylanhurley/devise_token_auth.git'
|
9
7
|
|
10
8
|
group :development do
|
11
9
|
gem 'bullet'
|
@@ -0,0 +1,26 @@
|
|
1
|
+
source 'https://rubygems.org'
|
2
|
+
|
3
|
+
gemspec path: '../'
|
4
|
+
|
5
|
+
gem 'rails', '~> 8.0.0'
|
6
|
+
gem 'sprockets-rails'
|
7
|
+
# https://github.com/lynndylanhurley/devise_token_auth/pull/1639
|
8
|
+
gem 'devise_token_auth', git: 'https://github.com/lynndylanhurley/devise_token_auth.git'
|
9
|
+
|
10
|
+
group :development do
|
11
|
+
gem 'bullet'
|
12
|
+
gem 'rack-cors'
|
13
|
+
gem 'sqlite3'
|
14
|
+
end
|
15
|
+
|
16
|
+
group :test do
|
17
|
+
gem 'rails-controller-testing'
|
18
|
+
gem 'ammeter'
|
19
|
+
gem 'timecop'
|
20
|
+
gem 'committee'
|
21
|
+
gem 'committee-rails', '< 0.6'
|
22
|
+
# gem 'coveralls', require: false
|
23
|
+
gem 'coveralls_reborn', require: false
|
24
|
+
end
|
25
|
+
|
26
|
+
gem 'dotenv-rails', groups: [:development, :test]
|
@@ -153,7 +153,7 @@ module ActionDispatch::Routing
|
|
153
153
|
if options[:with_devise].present? && options[:devise_default_routes].present?
|
154
154
|
create_notification_routes options, resources_options
|
155
155
|
else
|
156
|
-
self.resources target, only:
|
156
|
+
self.resources target, only: [] do
|
157
157
|
create_notification_routes options, resources_options
|
158
158
|
end
|
159
159
|
end
|
@@ -348,7 +348,7 @@ module ActionDispatch::Routing
|
|
348
348
|
if options[:with_devise].present? && options[:devise_default_routes].present?
|
349
349
|
create_subscription_routes options, resources_options
|
350
350
|
else
|
351
|
-
self.resources target, only:
|
351
|
+
self.resources target, only: [] do
|
352
352
|
create_subscription_routes options, resources_options
|
353
353
|
end
|
354
354
|
end
|
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.3.
|
4
|
+
version: 2.3.3
|
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: 2025-01-13 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: '
|
22
|
+
version: '8.1'
|
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: '
|
32
|
+
version: '8.1'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: i18n
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -405,6 +405,7 @@ files:
|
|
405
405
|
- gemfiles/Gemfile.rails-7.0
|
406
406
|
- gemfiles/Gemfile.rails-7.1
|
407
407
|
- gemfiles/Gemfile.rails-7.2
|
408
|
+
- gemfiles/Gemfile.rails-8.0
|
408
409
|
- lib/activity_notification.rb
|
409
410
|
- lib/activity_notification/apis/notification_api.rb
|
410
411
|
- lib/activity_notification/apis/subscription_api.rb
|
@@ -697,7 +698,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
697
698
|
- !ruby/object:Gem::Version
|
698
699
|
version: '0'
|
699
700
|
requirements: []
|
700
|
-
rubygems_version: 3.
|
701
|
+
rubygems_version: 3.5.22
|
701
702
|
signing_key:
|
702
703
|
specification_version: 4
|
703
704
|
summary: Integrated user activity notifications for Ruby on Rails
|