prawn-emoji 4.1.0 → 4.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/test.yml +16 -7
  3. data/CHANGELOG.md +9 -0
  4. data/Gemfile +0 -5
  5. data/README.md +14 -11
  6. data/Rakefile +1 -1
  7. data/emoji/LICENSE +1 -1
  8. data/emoji/images/1f3a2.png +0 -0
  9. data/emoji/images/1f441.png +0 -0
  10. data/emoji/images/1f4c5.png +0 -0
  11. data/emoji/images/1f4c6.png +0 -0
  12. data/emoji/images/1f536.png +0 -0
  13. data/emoji/images/1f538.png +0 -0
  14. data/emoji/images/1f7e0.png +0 -0
  15. data/emoji/images/1f7e7.png +0 -0
  16. data/emoji/images/1f9ce-1f3fb-200d-2640.png +0 -0
  17. data/emoji/images/1f9ce-1f3fb-200d-2642.png +0 -0
  18. data/emoji/images/1f9ce-1f3fb.png +0 -0
  19. data/emoji/images/1f9ce-1f3fc-200d-2640.png +0 -0
  20. data/emoji/images/1f9ce-1f3fc-200d-2642.png +0 -0
  21. data/emoji/images/1f9ce-1f3fc.png +0 -0
  22. data/emoji/images/1f9ce-1f3fd-200d-2640.png +0 -0
  23. data/emoji/images/1f9ce-1f3fd-200d-2642.png +0 -0
  24. data/emoji/images/1f9ce-1f3fd.png +0 -0
  25. data/emoji/images/1f9ce-1f3fe-200d-2640.png +0 -0
  26. data/emoji/images/1f9ce-1f3fe-200d-2642.png +0 -0
  27. data/emoji/images/1f9ce-1f3fe.png +0 -0
  28. data/emoji/images/1f9ce-1f3ff-200d-2640.png +0 -0
  29. data/emoji/images/1f9ce-1f3ff-200d-2642.png +0 -0
  30. data/emoji/images/1f9ce-1f3ff.png +0 -0
  31. data/emoji/images/1f9ce-200d-2640.png +0 -0
  32. data/emoji/images/1f9ce-200d-2642.png +0 -0
  33. data/emoji/images/1f9ce.png +0 -0
  34. data/emoji/images/1f9e1.png +0 -0
  35. data/emoji/images/1faa4.png +0 -0
  36. data/gemfiles/prawn-2.2.gemfile +6 -0
  37. data/gemfiles/prawn-2.3.gemfile +5 -0
  38. data/gemfiles/prawn-2.4.gemfile +5 -0
  39. data/lib/prawn/emoji/version.rb +1 -1
  40. data/prawn-emoji.gemspec +6 -1
  41. metadata +63 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e24fc7c2a1d3c44a3ecf18bfa8b5124e574c1f60b9f9b7223acb82f2e37268f6
4
- data.tar.gz: '0338e7946dca1bd17ab896df82b73d7d129ee7282543f71fe0c730911ebecddd'
3
+ metadata.gz: 033fd8abe42db6d1cf94f196bc36505d1163fd8f8c36db9cfc9326b236008860
4
+ data.tar.gz: b567ecacb1567ddc8f4cc8113e75d6ed839437a3eb588d3b9d07960771509ea2
5
5
  SHA512:
6
- metadata.gz: 716f0cbc65b97d8889c50ba2a46c15bed474ca5c110640b925b427cf9e05193acc5e0b57687ae5ce87018417e4984a4d43c3c669dbb4e7045e06f335beff3799
7
- data.tar.gz: 3b9a3ba4e9640ceab0b0b1251731933946d02eb2ab6f9270f5cf1c8000b1a0281237d1ea07196687cea2b7efd662d5bc8bae2d42f3bdbd96de3d93b0af5c8af4
6
+ metadata.gz: d9d471fb669b0f93863f49764b6e5ebf83dd1d0e636563edb97ff4b7481211849c88e0681b5734d916f2244723c64f95a5ce66b707c05cd92be024826c47da3a
7
+ data.tar.gz: 5e501cdcd0de433be509f184085106d742035a35aa0cf9bc69c373475a73e68f81962783cef8c76cf1198c3738a8d4dd52140fbf60b1484a2801d5f02bf4b154
@@ -9,12 +9,19 @@ jobs:
9
9
  strategy:
10
10
  matrix:
11
11
  ruby_version:
12
- - 2.5.x
13
- - 2.6.x
14
- - 2.7.x
12
+ - 2.5
13
+ - 2.6
14
+ - 2.7
15
+ - 3.0
15
16
  prawn_version:
16
17
  - 2.2
17
18
  - 2.3
19
+ - 2.4
20
+ exclude:
21
+ - ruby_version: 3.0
22
+ prawn_version: 2.2
23
+ - ruby_version: 3.0
24
+ prawn_version: 2.3
18
25
 
19
26
  steps:
20
27
  - uses: actions/checkout@v1
@@ -28,12 +35,14 @@ jobs:
28
35
  ./bootstrap && ./configure && make && sudo make install
29
36
 
30
37
  - name: Set up Ruby ${{ matrix.ruby_version }}
31
- uses: actions/setup-ruby@v1
38
+ uses: ruby/setup-ruby@v1
32
39
  with:
33
40
  ruby-version: ${{ matrix.ruby_version }}
34
41
 
35
- - name: Build and test with Rake
42
+ - name: Install dependencies
36
43
  run: |
37
44
  gem install bundler
38
- bundle install --gemfile test/gemfiles/prawn-${{ matrix.prawn_version }} --jobs 4 --retry 3
39
- bundle exec rake test
45
+ bundle install --gemfile gemfiles/prawn-${{ matrix.prawn_version }}.gemfile --jobs 4 --retry 3
46
+
47
+ - name: Run Tests
48
+ run: bundle exec rake test
@@ -1,5 +1,14 @@
1
1
  ## Master (Unreleased)
2
2
 
3
+ ## 4.2.0
4
+
5
+ ### Minor Enhancements
6
+
7
+ * Ruby 3.0.0 support
8
+ * Prawn 2.4.0 support
9
+ * Update to Twemoji v13.0.1
10
+ * Depends on unicode-emoji v2.7.x
11
+
3
12
  ## 4.1.0
4
13
 
5
14
  ### Minor Enhancements
data/Gemfile CHANGED
@@ -1,8 +1,3 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
-
5
- gem 'rake', '>= 0'
6
- gem 'minitest', '>= 5.12.2'
7
- gem 'rr', '>= 0'
8
- gem 'rubyzip', '>= 1.0.0'
data/README.md CHANGED
@@ -41,6 +41,20 @@ See [test/pdf/prawn_integration/expect.pdf](https://github.com/hidakatsuya/prawn
41
41
  [prawn-emoji/issues](https://github.com/hidakatsuya/prawn-emoji/labels/known%20issue)
42
42
 
43
43
 
44
+ ## Supported Versions
45
+
46
+ ### Emoji
47
+
48
+ 13.0
49
+
50
+ ### Prawn
51
+
52
+ 2.2, 2.3, 2.4
53
+
54
+ ### Ruby
55
+
56
+ 2.5, 2.6, 2.7, 3.0
57
+
44
58
  ## Installation
45
59
 
46
60
  Add this line to your application's Gemfile:
@@ -81,17 +95,6 @@ You can override it with [unicode-emoji's Regex](https://github.com/janlelis/uni
81
95
  Prawn::Emoji.config.regex = ::Unicode::Emoji::REGEX_INCLUDE_TEXT
82
96
  ```
83
97
 
84
-
85
- ## Supported Versions
86
-
87
- ### Ruby
88
-
89
- 2.5, 2.6, 2.7
90
-
91
- ### Prawn
92
-
93
- 2.2, 2.3
94
-
95
98
  ## Contributing
96
99
 
97
100
  Bug reports and pull requests are welcome on GitHub at https://github.com/hidakatsuya/prawn-emoji.
data/Rakefile CHANGED
@@ -110,7 +110,7 @@ namespace :emoji do
110
110
 
111
111
  def convert
112
112
  codepoints = original_name.gsub('.png', '').split('-')
113
- Prawn::Emoji::Unicode.format_codepoint(codepoints) + '.png'
113
+ Prawn::Emoji::Char.format_codepoint(codepoints) + '.png'
114
114
  end
115
115
  end
116
116
  end
@@ -1 +1 @@
1
- Twemoji 13.0.0 Graphics licensed under CC-BY4.0.
1
+ Twemoji 13.0.1 Graphics licensed under CC-BY4.0.
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,6 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'prawn', '~> 2.2.0'
4
+
5
+ gemspec path: '../'
6
+
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'prawn', '~> 2.3.0'
4
+
5
+ gemspec path: '../'
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'prawn', '~> 2.4.0'
4
+
5
+ gemspec path: '../'
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Prawn
4
4
  module Emoji
5
- VERSION = '4.1.0'
5
+ VERSION = '4.2.0'
6
6
  end
7
7
  end
@@ -19,5 +19,10 @@ Gem::Specification.new do |spec|
19
19
  spec.require_path = 'lib'
20
20
 
21
21
  spec.add_runtime_dependency 'prawn', '~> 2.2'
22
- spec.add_runtime_dependency 'unicode-emoji', '~> 2.5.0'
22
+ spec.add_runtime_dependency 'unicode-emoji', '~> 2.7.1'
23
+
24
+ spec.add_development_dependency 'rake', '>= 0'
25
+ spec.add_development_dependency 'minitest', '>= 5.12.2'
26
+ spec.add_development_dependency 'rr', '>= 0'
27
+ spec.add_development_dependency 'rubyzip', '>= 1.0.0'
23
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prawn-emoji
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.0
4
+ version: 4.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Katsuya HIDAKA
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-08 00:00:00.000000000 Z
11
+ date: 2021-01-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: prawn
@@ -30,14 +30,70 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 2.5.0
33
+ version: 2.7.1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 2.5.0
40
+ version: 2.7.1
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: minitest
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: 5.12.2
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: 5.12.2
69
+ - !ruby/object:Gem::Dependency
70
+ name: rr
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rubyzip
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: 1.0.0
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: 1.0.0
41
97
  description: Prawn::Emoji is an extention that adds Emoji support to Prawn
42
98
  email: hidakatsuya@gmail.com
43
99
  executables: []
@@ -3415,6 +3471,9 @@ files:
3415
3471
  - emoji/images/3299.png
3416
3472
  - emoji/images/e50a.png
3417
3473
  - emoji/index.yml
3474
+ - gemfiles/prawn-2.2.gemfile
3475
+ - gemfiles/prawn-2.3.gemfile
3476
+ - gemfiles/prawn-2.4.gemfile
3418
3477
  - lib/prawn/emoji.rb
3419
3478
  - lib/prawn/emoji/char.rb
3420
3479
  - lib/prawn/emoji/drawable.rb