ruby-net-text 0.1.0 → 0.1.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: 2610c775fb8178c5c035a7ffbb9176ba679a15fcd061fed7e192b3d83b609727
4
- data.tar.gz: 386863cda1e5682d05bc75a52da55ae4d972393db7efa38fed7d259b44f9e717
3
+ metadata.gz: a5e45e34116b3865c72a1691baa06372be3266aebdae1fc7d823ba4136d4438a
4
+ data.tar.gz: 3e8045ac8d2b7c82b4dfffccaeeda707d92aded2f36b7eff794008d0ec8e5b06
5
5
  SHA512:
6
- metadata.gz: 8c7663972f81f9f93e02bf76bccfaa1b158b4034259617e94856d27fb63aa5368def164135cea3318c355e3e137ae0c6b852b96194c52db9180aecd318a8d3e1
7
- data.tar.gz: 61bff20043c1866c3075312a87f9a68dc7d7aa7fd869d8962672dc2ce6eeed9ad065d6ca0bc8330bc94a41fa041933a7bf0da20c0871826d805a0febf2d8dcb2
6
+ metadata.gz: cbd55419137361ce17b1df2459a734fbd305fad146701fd37b20df22e7fe861daead41494c7e20ce76baf2d37c825667acc87cebe49ef1310001f38b703f1152
7
+ data.tar.gz: 6cc15cc19dc559ed63b092f9c1c0c6622685f6a07d90a5634b9f074ca02e762bc4c60be95e8f6d45192718c2797b039e5ea3b13030d52d16b7c585e72b628065
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2020 Étienne Deparis
3
+ Copyright (c) 2020 Étienne Pflieger
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -11,6 +11,8 @@ module Net
11
11
  meta_data = raw_meta.map { |m| m.split('=') }
12
12
  mime = { lang: nil, charset: 'utf-8', format: nil }
13
13
  new_mime = meta_data.filter_map do |opt|
14
+ next if opt.empty?
15
+
14
16
  key = opt[0].downcase.to_sym
15
17
  next unless mime.has_key? key
16
18
 
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-net-text
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
- - Étienne Deparis
7
+ - Étienne Pflieger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-13 00:00:00.000000000 Z
11
+ date: 2024-09-22 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
- email: etienne@depar.is
14
+ email: etienne@pflieger.bzh
15
15
  executables: []
16
16
  extensions: []
17
17
  extra_rdoc_files: []
@@ -63,7 +63,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
63
63
  - !ruby/object:Gem::Version
64
64
  version: '0'
65
65
  requirements: []
66
- rubygems_version: 3.5.15
66
+ rubygems_version: 3.5.19
67
67
  signing_key:
68
68
  specification_version: 4
69
69
  summary: Finger, Gemini, Gopher and Nex support for Net::* and URI::*