simpleidn 0.2.3 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simpleidn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Morten Møller Riis
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-05-22 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: rake
@@ -16,28 +15,28 @@ dependencies:
16
15
  requirements:
17
16
  - - "~>"
18
17
  - !ruby/object:Gem::Version
19
- version: 13.0.3
18
+ version: '13.0'
20
19
  type: :development
21
20
  prerelease: false
22
21
  version_requirements: !ruby/object:Gem::Requirement
23
22
  requirements:
24
23
  - - "~>"
25
24
  - !ruby/object:Gem::Version
26
- version: 13.0.3
25
+ version: '13.0'
27
26
  - !ruby/object:Gem::Dependency
28
27
  name: rspec
29
28
  requirement: !ruby/object:Gem::Requirement
30
29
  requirements:
31
30
  - - "~>"
32
31
  - !ruby/object:Gem::Version
33
- version: '3.10'
32
+ version: '3.13'
34
33
  type: :development
35
34
  prerelease: false
36
35
  version_requirements: !ruby/object:Gem::Requirement
37
36
  requirements:
38
37
  - - "~>"
39
38
  - !ruby/object:Gem::Version
40
- version: '3.10'
39
+ version: '3.13'
41
40
  description: This gem allows easy conversion from punycode ACE strings to unicode
42
41
  UTF-8 strings and vice-versa.
43
42
  email:
@@ -46,23 +45,21 @@ executables: []
46
45
  extensions: []
47
46
  extra_rdoc_files: []
48
47
  files:
49
- - ".gitignore"
50
- - ".travis.yml"
51
- - Gemfile
48
+ - CHANGELOG.md
52
49
  - LICENCE
53
- - README.rdoc
54
- - Rakefile
50
+ - README.md
55
51
  - lib/simpleidn.rb
56
52
  - lib/simpleidn/uts46mapping.rb
57
53
  - lib/simpleidn/version.rb
58
54
  - simpleidn.gemspec
59
- - tables/IdnaMappingTable.txt
60
- - tables/generate_mapping_table.rb
61
55
  homepage: https://github.com/mmriis/simpleidn
62
56
  licenses:
63
57
  - MIT
64
- metadata: {}
65
- post_install_message:
58
+ metadata:
59
+ source_code_uri: https://github.com/mmriis/simpleidn
60
+ bug_tracker_uri: https://github.com/mmriis/simpleidn/issues
61
+ changelog_uri: https://github.com/mmriis/simpleidn/blob/master/CHANGELOG.md
62
+ rubygems_mfa_required: 'true'
66
63
  rdoc_options: []
67
64
  require_paths:
68
65
  - lib
@@ -77,8 +74,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
77
74
  - !ruby/object:Gem::Version
78
75
  version: '0'
79
76
  requirements: []
80
- rubygems_version: 3.4.19
81
- signing_key:
77
+ rubygems_version: 3.6.9
82
78
  specification_version: 4
83
79
  summary: Punycode ACE to unicode UTF-8 (and vice-versa) string conversion.
84
80
  test_files: []
data/.gitignore DELETED
@@ -1,11 +0,0 @@
1
- # Bundler
2
- .bundle
3
- pkg/*
4
- Gemfile.lock
5
-
6
- .rvmrc
7
- .rbenv-version
8
- doc
9
- spec/*.yml
10
-
11
- coverage
data/.travis.yml DELETED
@@ -1,9 +0,0 @@
1
- language: ruby
2
- cache: bundler
3
-
4
- rvm:
5
- - 2.3
6
- - 2.7
7
- - 3.0
8
- - 3.3
9
- - jruby
data/Gemfile DELETED
@@ -1,7 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gem 'simplecov', :require => false, :group => :test
4
- gem 'codecov', :require => false, :group => :test
5
- gem 'rspec', :require => false, :group => :test
6
-
7
- gemspec
data/README.rdoc DELETED
@@ -1,39 +0,0 @@
1
- == SimpleIDN
2
-
3
- {rdoc-image:https://app.travis-ci.com/mmriis/simpleidn.svg?branch=master}[https://app.travis-ci.com/mmriis/simpleidn]
4
-
5
- This gem allows easy conversion from punycode ACE strings to unicode UTF-8 strings and visa versa.
6
-
7
- The implementation is heavily based on the RFC3492 C example implementation but simplified since it does not preserve case.
8
-
9
- This gem works with Ruby 2.2+.
10
-
11
- == Installation
12
-
13
- [sudo] gem install simpleidn
14
-
15
- +sudo+ is optional depending on your setup.
16
-
17
- In your Ruby script you can now.
18
-
19
- require 'rubygems'
20
- require 'simpleidn'
21
-
22
- SimpleIDN.to_unicode("xn--mllerriis-l8a.com")
23
- => "møllerriis.com"
24
-
25
- SimpleIDN.to_ascii("møllerriis.com")
26
- => "xn--mllerriis-l8a.com"
27
-
28
- == Testing / RSpec
29
-
30
- In order to run the test suite you must have <tt>rspec</tt> installed.
31
-
32
- The test suite has been copied from the IDN gem and uses examples from JOSEFSSON test vectors, taken from DRAFT-JOSEFSSON-IDN-TEST-VECTORS-00:
33
- http://www.gnu.org/software/libidn/draft-josefsson-idn-test-vectors.html
34
-
35
- == Known issues
36
-
37
- Does not preserve uppercase. So if, for some reason, you use uppercase characters (eg. Ø instead of ø), please take note of that.
38
-
39
- Please report any issues!
data/Rakefile DELETED
@@ -1,6 +0,0 @@
1
- require "bundler/gem_tasks"
2
- require "rspec/core/rake_task"
3
-
4
- RSpec::Core::RakeTask.new(:spec)
5
-
6
- task :default => :spec