freemail 0.5.0 → 0.6.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: 13a921278ca8947485d751e3ae3906cea95c7d2d8dd1d9bcac27bf0722947b7b
4
- data.tar.gz: a5a3401655c0453fd5009788ed72d7f3af42bfa459341f1201a0754c003ff8da
3
+ metadata.gz: b46308ca0fb8e1f6822ffc31b64cad2e28760cd45d5105aae21f1bcc8387e155
4
+ data.tar.gz: a97761689a240a756905839e300eb5c43ea680a2ab90c293b36d01f61ceb1fbf
5
5
  SHA512:
6
- metadata.gz: eb07bd1bab3edfb73e50b59eca40ee3ef445b336a87508a860cbece3d9dd7c12fdeeb602e22dfd9633fca2e2f2270ce1f67e0563e22c32f74cf538cf69eb53cc
7
- data.tar.gz: 71367a438780e72c2218beef94a9a00b665d15787dacd3af5b0509c9ce13f699cfab9e0988f8ecfecb3324802d94e53cb45eaba90c88a818b3c5eb6f05341bbb
6
+ metadata.gz: 0ef6ea3dcb139881f8fd0b0dcded302f2f6c89dae59fc5581e7967e9cfae4deae210ae9887a72b305ee3296c9bea136c4128d0c5e84433dd95d31460efd8d754
7
+ data.tar.gz: 784289979f6cac64a2d09a62579f1392d6ae7dd8b783612ee2cf6818f32bef0dfacf4120784238f4c4724fbef3b6c99dbbf491b23c19a48a97d52a5a971e37e9
@@ -1,3 +1,3 @@
1
1
  module Freemail
2
- VERSION = '0.5.0'
2
+ VERSION = '0.6.0'
3
3
  end
data/lib/freemail.rb CHANGED
@@ -28,6 +28,6 @@ module Freemail
28
28
  end
29
29
 
30
30
  def self.get_domain(email)
31
- email.split('@').last.downcase.strip
31
+ email.split('@')[1..-1]&.join('@')&.downcase&.strip
32
32
  end
33
33
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: freemail
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - smudge
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-10-13 00:00:00.000000000 Z
11
+ date: 2023-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -83,7 +83,7 @@ homepage: https://github.com/smudge/freemail
83
83
  licenses:
84
84
  - MIT
85
85
  metadata: {}
86
- post_install_message:
86
+ post_install_message:
87
87
  rdoc_options: []
88
88
  require_paths:
89
89
  - lib
@@ -98,8 +98,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
98
  - !ruby/object:Gem::Version
99
99
  version: '0'
100
100
  requirements: []
101
- rubygems_version: 3.3.5
102
- signing_key:
101
+ rubygems_version: 3.4.11
102
+ signing_key:
103
103
  specification_version: 4
104
104
  summary: '["A", "ruby", "implementation", "of", "the", "npm", "''freemail''", "module"]'
105
105
  test_files: []