Skip to content

Commit

Permalink
Update metadata and Ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
erickguan committed Jul 8, 2024
1 parent ce73892 commit ba99785
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 11 deletions.
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

0 comments on commit ba99785

Please sign in to comment.