README.md in prawn-emoji-3.3.0 vs README.md in prawn-emoji-4.0.0.beta.1

- old
+ new

@@ -63,11 +63,11 @@ require 'prawn/emoji' ``` ### True Type Font Required -In order to draw Emoji, you must use a True Type Font. I recommend you use a Japanese font. +In order to draw Emoji, you must use a True Type Font. ## Configuring Emoji Regex Emoji Regex is a regular expression used to determine which emoji to draw. @@ -84,11 +84,11 @@ ## Supported Versions ### Ruby -2.4, 2.5, 2.6, 2.7 +2.5, 2.6, 2.7 ### Prawn 2.2+ @@ -96,11 +96,11 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/hidakatsuya/prawn-emoji. ## Development -### How to test +### Running tests Run all tests: ``` $ bundle exec rake test @@ -118,29 +118,28 @@ $ bundle exec rake test:pdf ``` In order to run `test:pdf`, you need to install [diff-pdf](https://github.com/vslavik/diff-pdf) in your environment, or you can run test in the docker container as below. -### How to develop in Docker container +### Running tests in the docker container for development -You can use the Docker container for development. This container contains the libraries required for testing, such as diff-pdf. +You can use the docker container for development. This container contains the libraries required for testing, such as diff-pdf. ``` -$ docker build -t prawn-emoji-dev . +$ docker build -t prawn-emoji:latest . +$ docker run -v $PWD:/src:cached -it prawn-emoji bash -$ docker run -v $PWD:/prawn-emoji -it prawn-emoji-dev bash - -> /prawn-emoji# +> src# ``` You can run test: ``` -> /prawn-emoji# bundle install -> /prawn-emoji# bundle exec rake test +> src# bundle install +> src# bundle exec rake test ``` -### How to update bundled emojis +### Updating the bundled emojis ``` $ bundle exec rake emoji:update VERSION=<Twemoji version> ```