ahoy_email 2.1.3 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b465af2a0497b6b85237fa5246c4c722d594978e07710f66ec96a9260fb44c98
4
- data.tar.gz: 3f5e353adebbc67fbea887d9a8e36f01ba237a04d16431947855c81fc8be1bcd
3
+ metadata.gz: 9c664f526e52ac8f97cf3d5fe5b154ab6396e3f5c8db3d42c7c76022df9e0b35
4
+ data.tar.gz: 063f9ac13bebe763ff2e33677e68bebd75f46837c5e63b920208e2547725a2a9
5
5
  SHA512:
6
- metadata.gz: ead0edcbeda702bd605ea00562addfb65cb321e6797a2fb0e8c1fed640511d8bb5bb2b34a4acfa3bde12447bb0401d0975548661bc867cc7e5c1b5585db01425
7
- data.tar.gz: c903baeebe4fbd700a58d9e193094648ccf0a3205e70fd78fb20a84cf09dfaee3f642ef45d78e4a50eb86d287b9d0974e8d33075528eef03702fe311175aa5e1
6
+ metadata.gz: 1d7556134bb052f06eea6755f668cdd7c4eb5355dcbe46098894ff6b5ed8735b4c20b240378bafebb9b03b9c2525cf4e7b79e9a0fa240bf1a86289b8c0eb2c2b
7
+ data.tar.gz: b576323d7768c3c0872afecbbfa35a7ce12b1d8df9a6dc9877d96e691e1d4675a60ef590e00705be8c245a543dc151249504ba511a96d6bbf37ead17afcf6666
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 2.2.0 (2023-07-02)
2
+
3
+ - Removed support for Ruby < 3 and Rails < 6.1
4
+
1
5
  ## 2.1.3 (2022-06-12)
2
6
 
3
7
  - Updated messages generator for Lockbox 1.0
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2014-2021 Andrew Kane
1
+ Copyright (c) 2014-2023 Andrew Kane
2
2
 
3
3
  MIT License
4
4
 
data/README.md CHANGED
@@ -2,8 +2,6 @@
2
2
 
3
3
  First-party email analytics for Rails
4
4
 
5
- **Ahoy Email 2.0 was recently released** - see [how to upgrade](#upgrading)
6
-
7
5
  :fire: For web and native app analytics, check out [Ahoy](https://github.com/ankane/ahoy)
8
6
 
9
7
  :bullettrain_side: To manage unsubscribes, check out [Mailkick](https://github.com/ankane/mailkick)
@@ -108,7 +106,7 @@ user.messages
108
106
  Add extra data to messages. Create a migration like:
109
107
 
110
108
  ```ruby
111
- class AddCouponIdToAhoyMessages < ActiveRecord::Migration[6.1]
109
+ class AddCouponIdToAhoyMessages < ActiveRecord::Migration[7.0]
112
110
  def change
113
111
  add_column :ahoy_messages, :coupon_id, :integer
114
112
  end
@@ -1,3 +1,3 @@
1
1
  module AhoyEmail
2
- VERSION = "2.1.3"
2
+ VERSION = "2.2.0"
3
3
  end
data/lib/ahoy_email.rb CHANGED
@@ -8,20 +8,20 @@ require "safely/core"
8
8
  require "openssl"
9
9
 
10
10
  # modules
11
- require "ahoy_email/processor"
12
- require "ahoy_email/tracker"
13
- require "ahoy_email/observer"
14
- require "ahoy_email/mailer"
15
- require "ahoy_email/utils"
16
- require "ahoy_email/version"
11
+ require_relative "ahoy_email/processor"
12
+ require_relative "ahoy_email/tracker"
13
+ require_relative "ahoy_email/observer"
14
+ require_relative "ahoy_email/mailer"
15
+ require_relative "ahoy_email/utils"
16
+ require_relative "ahoy_email/version"
17
17
 
18
18
  # subscribers
19
- require "ahoy_email/database_subscriber"
20
- require "ahoy_email/message_subscriber"
21
- require "ahoy_email/redis_subscriber"
19
+ require_relative "ahoy_email/database_subscriber"
20
+ require_relative "ahoy_email/message_subscriber"
21
+ require_relative "ahoy_email/redis_subscriber"
22
22
 
23
23
  # integrations
24
- require "ahoy_email/engine" if defined?(Rails)
24
+ require_relative "ahoy_email/engine" if defined?(Rails)
25
25
 
26
26
  module AhoyEmail
27
27
  mattr_accessor :secret_token, :default_options, :subscribers, :invalid_redirect_url, :track_method, :api, :preserve_callbacks, :save_token
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ahoy_email
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-12 00:00:00.000000000 Z
11
+ date: 2023-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionmailer
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '5'
19
+ version: '6.1'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '5'
26
+ version: '6.1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: addressable
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: 0.1.1
61
+ version: '0.4'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: 0.1.1
68
+ version: '0.4'
69
69
  description:
70
70
  email: andrew@ankane.org
71
71
  executables: []
@@ -116,14 +116,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
116
116
  requirements:
117
117
  - - ">="
118
118
  - !ruby/object:Gem::Version
119
- version: '2.6'
119
+ version: '3'
120
120
  required_rubygems_version: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  requirements: []
126
- rubygems_version: 3.3.7
126
+ rubygems_version: 3.4.10
127
127
  signing_key:
128
128
  specification_version: 4
129
129
  summary: First-party email analytics for Rails