simpleidn 0.2.2 → 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,57 +1,42 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simpleidn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
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-04-26 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: unf
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: 0.1.4
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: 0.1.4
27
12
  - !ruby/object:Gem::Dependency
28
13
  name: rake
29
14
  requirement: !ruby/object:Gem::Requirement
30
15
  requirements:
31
16
  - - "~>"
32
17
  - !ruby/object:Gem::Version
33
- version: 13.0.3
18
+ version: '13.0'
34
19
  type: :development
35
20
  prerelease: false
36
21
  version_requirements: !ruby/object:Gem::Requirement
37
22
  requirements:
38
23
  - - "~>"
39
24
  - !ruby/object:Gem::Version
40
- version: 13.0.3
25
+ version: '13.0'
41
26
  - !ruby/object:Gem::Dependency
42
27
  name: rspec
43
28
  requirement: !ruby/object:Gem::Requirement
44
29
  requirements:
45
30
  - - "~>"
46
31
  - !ruby/object:Gem::Version
47
- version: '3.10'
32
+ version: '3.13'
48
33
  type: :development
49
34
  prerelease: false
50
35
  version_requirements: !ruby/object:Gem::Requirement
51
36
  requirements:
52
37
  - - "~>"
53
38
  - !ruby/object:Gem::Version
54
- version: '3.10'
39
+ version: '3.13'
55
40
  description: This gem allows easy conversion from punycode ACE strings to unicode
56
41
  UTF-8 strings and vice-versa.
57
42
  email:
@@ -60,23 +45,21 @@ executables: []
60
45
  extensions: []
61
46
  extra_rdoc_files: []
62
47
  files:
63
- - ".gitignore"
64
- - ".travis.yml"
65
- - Gemfile
48
+ - CHANGELOG.md
66
49
  - LICENCE
67
- - README.rdoc
68
- - Rakefile
50
+ - README.md
69
51
  - lib/simpleidn.rb
70
52
  - lib/simpleidn/uts46mapping.rb
71
53
  - lib/simpleidn/version.rb
72
54
  - simpleidn.gemspec
73
- - tables/IdnaMappingTable.txt
74
- - tables/generate_mapping_table.rb
75
55
  homepage: https://github.com/mmriis/simpleidn
76
56
  licenses:
77
57
  - MIT
78
- metadata: {}
79
- 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'
80
63
  rdoc_options: []
81
64
  require_paths:
82
65
  - lib
@@ -91,8 +74,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
74
  - !ruby/object:Gem::Version
92
75
  version: '0'
93
76
  requirements: []
94
- rubygems_version: 3.5.9
95
- signing_key:
77
+ rubygems_version: 3.6.9
96
78
  specification_version: 4
97
79
  summary: Punycode ACE to unicode UTF-8 (and vice-versa) string conversion.
98
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,8 +0,0 @@
1
- language: ruby
2
- cache: bundler
3
-
4
- rvm:
5
- - 2.3
6
- - 2.7
7
- - 3.0
8
- - 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
- {<img src="https://app.travis-ci.com/mmriis/simpleidn.svg?branch=master" alt="Build Status" />}[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