Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update metadata and Ruby #76

Merged
merged 1 commit into from
Jul 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.2.3
3.3.3
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@

### Changed

- Required Ruby 3.0 and up.
- Required Ruby 3.0 and up. Ruby 3.0 is EOL as of 2024-05.

### Fixed


### Removed

- Stop monkeypatching `String#bytesize` or `String#jlength`.
- Stop monkeypatching `String#bytesize` or `String#jlength`.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2010-2024 Jari Bakken
Copyright (c) 2010-2024 Erick Guan, Damian Nelson

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# ffi-icu

Simple FFI wrappers for [International Components for Unicode (ICU)][icu].
FFI wrappers for [International Components for Unicode (ICU)][icu].
ICU provides comprehensive localization and security features.
Majority personal computing devices, server operating systems and web browsers use ICU.
ICU builds on top of Unicode's Common Locale Data Repository (CLDR).

## Gem

Expand Down Expand Up @@ -41,8 +44,6 @@ detector = ICU::CharDet::Detector.new
detector.detect(str) => #<struct ICU::CharDet::Detector::Match ...>
```

Why not just use rchardet?

* speed

## Locale Sensitive Collation
Expand Down
9 changes: 5 additions & 4 deletions ffi-icu.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ Gem::Specification.new do |spec|
spec.platform = Gem::Platform::RUBY # rely on FFI library, but being platform-independent

spec.required_rubygems_version = Gem::Requirement.new('>= 2.5.0')
spec.authors = ['Jari Bakken']
spec.authors = ['Erick Guan', 'Damian Nelson']
spec.licenses = ['MIT']
spec.summary = 'Simple Ruby FFI wrappers for International Components for Unicode (ICU).'
spec.description = 'Provides charset detection, locale sensitive collation and more. Depends on libicu.'
spec.email = 'jari.bakken@gmail.com'
spec.summary = 'Ruby FFI wrappers for International Components for Unicode (ICU).'
spec.description = 'Provides charset detection, transiliteration, locale sensitive collation and more. ' \
'Depends on libicu. ICU operates on CLDR data.'
spec.email = 'erickguanst@gmail.com'
spec.homepage = 'https://github.com/erickguan/ffi-icu'

spec.metadata['source_code_uri'] = spec.homepage
Expand Down