freemail 0.5.0 → 0.6.1

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: 128fc5ceb56d7dd53a441b930887e559e0668680ae43450c7063210dad3c34d5
4
+ data.tar.gz: 377cc4b942ced894c9b9eb5f6e3c645591869e96da9bfdc53be0eda6b2d9f3a4
5
5
  SHA512:
6
- metadata.gz: eb07bd1bab3edfb73e50b59eca40ee3ef445b336a87508a860cbece3d9dd7c12fdeeb602e22dfd9633fca2e2f2270ce1f67e0563e22c32f74cf538cf69eb53cc
7
- data.tar.gz: 71367a438780e72c2218beef94a9a00b665d15787dacd3af5b0509c9ce13f699cfab9e0988f8ecfecb3324802d94e53cb45eaba90c88a818b3c5eb6f05341bbb
6
+ metadata.gz: 368d873f84621fdbe12cdce2a125eda7f3a15d03769cbebf9048b0f30a302ed5e00843b8d9f6bfec835903c2d46b05b01c13a1e8a0f373fc6a10b890dea18500
7
+ data.tar.gz: d33e31f6e80bfbfc49c3e5014eacaf15f7ce9d0f4c8089999cda4a326592cbec7c9826c7b6addd664555d6cf231dcf03995012a756ccc84e962ca597c9310885
data/.codeclimate.yml CHANGED
File without changes
data/.envrc CHANGED
File without changes
data/.gitignore CHANGED
File without changes
data/.rspec CHANGED
File without changes
data/.rubocop.yml CHANGED
File without changes
data/.travis.yml CHANGED
File without changes
data/Gemfile CHANGED
File without changes
data/LICENSE.txt CHANGED
File without changes
data/README.md CHANGED
File without changes
data/Rakefile CHANGED
File without changes
data/data/disposable.txt CHANGED
File without changes
data/data/free.txt CHANGED
File without changes
data/freemail.gemspec CHANGED
File without changes
@@ -1,3 +1,3 @@
1
1
  module Freemail
2
- VERSION = '0.5.0'
2
+ VERSION = '0.6.1'
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
data/shell.nix CHANGED
File without changes
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.1
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-05-18 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.12
102
+ signing_key:
103
103
  specification_version: 4
104
104
  summary: '["A", "ruby", "implementation", "of", "the", "npm", "''freemail''", "module"]'
105
105
  test_files: []