README.md in alba-2.1.0 vs README.md in alba-2.2.0
- old
+ new
@@ -21,10 +21,20 @@
## Resources
If you want to know more about Alba, there's a [screencast](https://hanamimastery.com/episodes/21-serialization-with-alba) created by Sebastian from [Hanami Mastery](https://hanamimastery.com/). It covers basic features of Alba and how to use it in Hanami.
+## What users say about Alba
+
+> Alba is a well-maintained JSON serialization engine, for Ruby, JRuby, and TruffleRuby implementations, and what I like in this gem - except of its speed, is the easiness of use, no dependencies and the fact it plays well with any Ruby application!
+
+[Hanami Mastery by Seb Wilgosz](https://hanamimastery.com/episodes/21-serialization-with-alba)
+
+> Alba is more feature-rich and pretty fast, too
+
+[Gemfile of dreams by Evil Martians](https://evilmartians.com/chronicles/gemfile-of-dreams-libraries-we-use-to-build-rails-apps)
+
## Why Alba?
Because it's fast, easy and feature rich!
### Fast
@@ -55,11 +65,11 @@
$ gem install alba
## Supported Ruby versions
-Alba supports CRuby 2.6 and higher and latest JRuby and TruffleRuby.
+Alba supports CRuby 2.7 and higher and latest JRuby and TruffleRuby.
## Documentation
You can find the documentation on [RubyDoc](https://rubydoc.info/github/okuramasafumi/alba).
@@ -1070,10 +1080,10 @@
```ruby
class User
attr_reader :id, :name, :age, :bio, :admin, :created_at
- def initialize(id, name, age, bio = '', admin = false) # rubocop:disable Style/OptionalBooleanParameter
+ def initialize(id, name, age, bio = '', admin = false)
@id = id
@name = name
@age = age
@admin = admin
@bio = bio