wtf8 0.0.1

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.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 1cd5f73f969ea12de1b2d7083a4095699985edf7452d434e231603a76ea78491
4
+ data.tar.gz: 1a8ac861c756ba15117208e7e3b6117792176d6a7b7ffa0c844b54fbfaa6ef2a
5
+ SHA512:
6
+ metadata.gz: 571982f037b24f6e546917f1320d66ed3dd9c74dfdbaa2ddf310a2a1d964cc9548cd8d0f89aed5b58f0d2582d1ab7e04fd4e1295c342a1ee71050461601655b3
7
+ data.tar.gz: 5d37234457c20489781fad90ba694bc5a0225f0371adb3ae11d5c95efbbbd28669b9e0d4e0f6d91af41a14e2538c782ad312f4ff2f6499c585fe6634f1d4492d
data/README.md ADDED
@@ -0,0 +1,39 @@
1
+ # Wtf8
2
+
3
+ TODO: Delete this and the text below, and describe your gem
4
+
5
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/wtf8`. To experiment with that code, run `bin/console` for an interactive prompt.
6
+
7
+ ## Installation
8
+
9
+ TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
10
+
11
+ Install the gem and add to the application's Gemfile by executing:
12
+
13
+ ```bash
14
+ bundle add UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
15
+ ```
16
+
17
+ If bundler is not being used to manage dependencies, install the gem by executing:
18
+
19
+ ```bash
20
+ gem install UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
21
+ ```
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/marcoroth/wtf8. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/marcoroth/wtf8/blob/main/CODE_OF_CONDUCT.md).
36
+
37
+ ## Code of Conduct
38
+
39
+ Everyone interacting in the Wtf8 project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/marcoroth/wtf8/blob/main/CODE_OF_CONDUCT.md).
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module WTF8
4
+ VERSION = "0.0.1"
5
+ end
data/lib/wtf8.rb ADDED
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "wtf8/version"
4
+
5
+ module WTF8
6
+ end
data/sig/wtf8.rbs ADDED
@@ -0,0 +1,4 @@
1
+ module Wtf8
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
data/wtf8.gemspec ADDED
@@ -0,0 +1,30 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "lib/wtf8/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "wtf8"
7
+ spec.version = WTF8::VERSION
8
+ spec.authors = ["Marco Roth"]
9
+ spec.email = ["marco.roth@intergga.ch"]
10
+
11
+ spec.summary = "Ruby Implementation of the WTF-8 encoding."
12
+ spec.description = "A superset of UTF-8 that encodes surrogate code points if they are not in a pair, for representing potentially ill-formed UTF-16 from systems such as JavaScript and Windows. Also handles CESU-8 and Java's Modified UTF-8."
13
+ spec.homepage = "https://github.com/marcoroth/wtf8-ruby"
14
+ spec.license = "MIT"
15
+ spec.required_ruby_version = ">= 3.2.0"
16
+ spec.require_paths = ["lib"]
17
+
18
+ spec.metadata["homepage_uri"] = spec.homepage
19
+ spec.metadata["source_code_uri"] = "https://github.com/marcoroth/wtf8-ruby"
20
+ spec.metadata["changelog_uri"] = "https://github.com/marcoroth/wtf8-ruby/releases"
21
+ spec.metadata["rubygems_mfa_required"] = "true"
22
+
23
+ spec.files = Dir[
24
+ "wtf8.gemspec",
25
+ "LICENSE.txt",
26
+ "README.md",
27
+ "lib/**/*.rb",
28
+ "sig/**/*.rbs"
29
+ ]
30
+ end
metadata ADDED
@@ -0,0 +1,51 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: wtf8
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Marco Roth
8
+ bindir: bin
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies: []
12
+ description: A superset of UTF-8 that encodes surrogate code points if they are not
13
+ in a pair, for representing potentially ill-formed UTF-16 from systems such as JavaScript
14
+ and Windows. Also handles CESU-8 and Java's Modified UTF-8.
15
+ email:
16
+ - marco.roth@intergga.ch
17
+ executables: []
18
+ extensions: []
19
+ extra_rdoc_files: []
20
+ files:
21
+ - README.md
22
+ - lib/wtf8.rb
23
+ - lib/wtf8/version.rb
24
+ - sig/wtf8.rbs
25
+ - wtf8.gemspec
26
+ homepage: https://github.com/marcoroth/wtf8-ruby
27
+ licenses:
28
+ - MIT
29
+ metadata:
30
+ homepage_uri: https://github.com/marcoroth/wtf8-ruby
31
+ source_code_uri: https://github.com/marcoroth/wtf8-ruby
32
+ changelog_uri: https://github.com/marcoroth/wtf8-ruby/releases
33
+ rubygems_mfa_required: 'true'
34
+ rdoc_options: []
35
+ require_paths:
36
+ - lib
37
+ required_ruby_version: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ version: 3.2.0
42
+ required_rubygems_version: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ requirements: []
48
+ rubygems_version: 4.0.16
49
+ specification_version: 4
50
+ summary: Ruby Implementation of the WTF-8 encoding.
51
+ test_files: []