icalia-sdk-event-notification 0.3.7 → 0.3.8

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: 3e583e484d0a970df2edc56f33704aebe466cecd93fa6ef6dcaeeb5b4d7c6f08
4
- data.tar.gz: e80864146a628dff860b33c16a09fb706a4ea790a98b600512ad1ff62c5cdfde
3
+ metadata.gz: 262b17e89332287df31286f253e822e23651a54fe0dc023ecec7718daa0cab25
4
+ data.tar.gz: 215cfbc97c5ebe34f04f0de471692bb780fb0179111d383ac251ba8d424d1109
5
5
  SHA512:
6
- metadata.gz: 94b811d44aa4791850f9e8579dfe52709414b985cc39a32f45c4e4b7ce6ae16c29a7c1055ce0e08688a660c6da6218b53cc2ec99abc320bfe9a9949cad55a80c
7
- data.tar.gz: 55d0b60702888eac4cf3d534372e95d98811c7c596e38956e5eb1b3b0039c79cb74dd1f9f3fc56dca3304877d7b5a6f121e11f153663b18ddc98a36031ac991c
6
+ metadata.gz: 9e5b3ba20bf2fd21db199f1dad479e8b725a7fa203ce0a81a052edb1d1b5c3174e744a9c37c00b8c02118dfa1cdfc3d9a8a03c332c83dd68c6f7b803b7f3f906
7
+ data.tar.gz: f25855f418711b1a2e40785f19aa51078135b60fdbc63fb8c11487947c95372862d712e7cc0b23bf0193fb38530a9d4c5a9ef580b467223725d3500fa677cc0d
data/lib/.DS_Store ADDED
Binary file
@@ -65,11 +65,15 @@ module Icalia::Event
65
65
  end
66
66
 
67
67
  def rails_app_name
68
- return rails_app_name_since_rails_six if Rails.version.starts_with?('6')
68
+ return rails_app_name_since_rails_six if parent_name_deprecated?
69
69
 
70
70
  rails_app_name_until_rails_six
71
71
  end
72
72
 
73
+ def parent_name_deprecated?
74
+ Rails::VERSION::MAJOR >= 6
75
+ end
76
+
73
77
  def rails_app_name_until_rails_six
74
78
  Rails.application.class.parent_name
75
79
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Icalia
4
4
  module SDK
5
- EVENT_NOTIFICATION_VERSION = '0.3.7'
5
+ EVENT_NOTIFICATION_VERSION = '0.3.8'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: icalia-sdk-event-notification
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.7
4
+ version: 0.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Quintanilla
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-03-08 00:00:00.000000000 Z
11
+ date: 2022-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: icalia-sdk-core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.3.7
19
+ version: 0.3.8
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: 0.3.7
26
+ version: 0.3.8
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activesupport
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -116,6 +116,7 @@ executables: []
116
116
  extensions: []
117
117
  extra_rdoc_files: []
118
118
  files:
119
+ - lib/.DS_Store
119
120
  - lib/icalia-sdk-event-notification.rb
120
121
  - lib/icalia-sdk-event-notification/version.rb
121
122
  - lib/icalia/event/publisher.rb