emojidex-converter 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +2 -3
  3. data/emojidex-converter.gemspec +2 -2
  4. data/lib/emojidex/converter.rb +88 -18
  5. data/spec/converter_spec.rb +0 -1
  6. data/spec/support/collection/emoji.json +42 -0
  7. data/spec/support/collection/family.svg +1028 -0
  8. data/spec/support/collection/family/0/man(bk).svg +246 -0
  9. data/spec/support/collection/family/0/man(br).svg +246 -0
  10. data/spec/support/collection/family/0/man(p).svg +246 -0
  11. data/spec/support/collection/family/0/man(wh).svg +246 -0
  12. data/spec/support/collection/family/0/man(ye).svg +246 -0
  13. data/spec/support/collection/family/0/man.svg +246 -0
  14. data/spec/support/collection/family/0/woman(bk).svg +237 -0
  15. data/spec/support/collection/family/0/woman(br).svg +237 -0
  16. data/spec/support/collection/family/0/woman(p).svg +237 -0
  17. data/spec/support/collection/family/0/woman(wh).svg +237 -0
  18. data/spec/support/collection/family/0/woman(ye).svg +237 -0
  19. data/spec/support/collection/family/0/woman.svg +237 -0
  20. data/spec/support/collection/family/1/man(bk).svg +169 -0
  21. data/spec/support/collection/family/1/man(br).svg +169 -0
  22. data/spec/support/collection/family/1/man(p).svg +169 -0
  23. data/spec/support/collection/family/1/man(wh).svg +169 -0
  24. data/spec/support/collection/family/1/man(ye).svg +169 -0
  25. data/spec/support/collection/family/1/man.svg +169 -0
  26. data/spec/support/collection/family/1/woman(bk).svg +239 -0
  27. data/spec/support/collection/family/1/woman(br).svg +239 -0
  28. data/spec/support/collection/family/1/woman(p).svg +239 -0
  29. data/spec/support/collection/family/1/woman(wh).svg +239 -0
  30. data/spec/support/collection/family/1/woman(ye).svg +239 -0
  31. data/spec/support/collection/family/1/woman.svg +239 -0
  32. data/spec/support/collection/family/2/boy(bk).svg +198 -0
  33. data/spec/support/collection/family/2/boy(br).svg +198 -0
  34. data/spec/support/collection/family/2/boy(p).svg +198 -0
  35. data/spec/support/collection/family/2/boy(wh).svg +198 -0
  36. data/spec/support/collection/family/2/boy(ye).svg +198 -0
  37. data/spec/support/collection/family/2/boy.svg +198 -0
  38. data/spec/support/collection/family/2/girl(bk).svg +191 -0
  39. data/spec/support/collection/family/2/girl(br).svg +191 -0
  40. data/spec/support/collection/family/2/girl(p).svg +191 -0
  41. data/spec/support/collection/family/2/girl(wh).svg +191 -0
  42. data/spec/support/collection/family/2/girl(ye).svg +191 -0
  43. data/spec/support/collection/family/2/girl.svg +191 -0
  44. data/spec/support/collection/family/3/boy(bk).svg +176 -0
  45. data/spec/support/collection/family/3/boy(br).svg +176 -0
  46. data/spec/support/collection/family/3/boy(p).svg +176 -0
  47. data/spec/support/collection/family/3/boy(wh).svg +176 -0
  48. data/spec/support/collection/family/3/boy(ye).svg +176 -0
  49. data/spec/support/collection/family/3/boy.svg +176 -0
  50. data/spec/support/collection/family/3/girl(bk).svg +187 -0
  51. data/spec/support/collection/family/3/girl(br).svg +187 -0
  52. data/spec/support/collection/family/3/girl(p).svg +187 -0
  53. data/spec/support/collection/family/3/girl(wh).svg +187 -0
  54. data/spec/support/collection/family/3/girl(ye).svg +187 -0
  55. data/spec/support/collection/family/3/girl.svg +187 -0
  56. data/spec/support/collection/family/4/baby(bk).svg +184 -0
  57. data/spec/support/collection/family/4/baby(br).svg +184 -0
  58. data/spec/support/collection/family/4/baby(p).svg +184 -0
  59. data/spec/support/collection/family/4/baby(wh).svg +184 -0
  60. data/spec/support/collection/family/4/baby(ye).svg +184 -0
  61. data/spec/support/collection/family/4/baby.svg +184 -0
  62. data/spec/support/collection/woman.svg +83 -0
  63. metadata +61 -5
@@ -0,0 +1,83 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- Generated by phantom_svg. -->
3
+ <svg width="64px" height="64px" viewBox="0 0 64 64" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
4
+ <g id="レイヤー_1">
5
+ </g>
6
+ <g id="_x32_._x3000_Human_x2F_Living_Things">
7
+ <g id='_x31_F469_woman_1_'>
8
+ <g>
9
+ <path style='fill:#8A3606;' d='M31.0512695,2.9584961c0,0,12.5131836-2.5336914,18.6313477,5.5585938
10
+ c6.1171875,8.0913086,8.0693359,18.6567383,4.7216797,33.3803711
11
+ c-1.7832031,7.8398438-9.2080078,16.5664063-9.2080078,16.5664063l0.2792969-22.2636719L23.0351563,18.5356445
12
+ C23.0351563,18.5356445,12.4433594,6.0507813,31.0512695,2.9584961z'/>
13
+ <path style='fill:#4C0A02;' d='M43.6445313,62.6025391l0.3222656-25.6816406L21.8911133,19.5058594
14
+ c-0.1967773-0.2324219-4.8071289-5.7524414-2.8925781-10.9765625c1.3178711-3.5952148,5.2900391-5.9677734,11.8066406-7.050293
15
+ c0.0302734-0.0073242,1.9833984-0.3959961,4.7329102-0.3959961c4.7460938,0,11.2607422,1.1328125,15.3408203,6.5292969
16
+ c6.6523438,8.7988281,8.2841797,20.1225586,4.9882813,34.6181641c-1.84375,8.1054688-9.2158203,16.8378906-9.5283203,17.2050781
17
+ L43.6445313,62.6025391z M24.0966797,17.4624023L46.984375,35.4794922l-0.2314453,18.4619141
18
+ c2.2294922-3.1640625,5.1845703-7.9628906,6.1884766-12.3769531c3.0878906-13.5791016,1.6298828-24.0932617-4.4550781-32.1425781
19
+ c-3.3359375-4.4125977-8.8828125-5.3388672-12.9482422-5.3388672c-2.4296875,0-4.1738281,0.3427734-4.190918,0.3461914
20
+ C26,5.3183594,22.7211914,7.090332,21.8154297,9.5615234C20.6269531,12.8046875,23.5605469,16.7763672,24.0966797,17.4624023z'/>
21
+ </g>
22
+ <g>
23
+ <path style='fill:#8A3606;' d='M23.0351563,9.6547852l7.2705078-6.6357422c0,0-10.2197266-1.1547852-15.5214844,6.6357422
24
+ C3.2236328,26.640625,9.5205078,45.1533203,11.1210938,49.8847656l-0.5234375,8.5791016l12.4375-15.8398438V9.6547852z'/>
25
+ <path style='fill:#4C0A02;' d='M8.8076172,63.1728516L9.605957,50.0849609
26
+ C3.0395508,30.4072266,8.1147461,16.7885742,13.5439453,8.8110352
27
+ c4.5161133-6.6357422,12.2319336-7.3525391,15.3393555-7.3525391c0.9448242,0,1.5273438,0.0629883,1.5908203,0.0698242
28
+ l3.2836914,0.3710938l-9.2226563,8.4169922v32.8261719L8.8076172,63.1728516z M26.3129883,4.6323242
29
+ c-3.1186523,0.4169922-7.4985352,1.7661133-10.2885742,5.8662109
30
+ C8.6469727,21.3378906,7.472168,34.4179688,12.5327148,49.3759766l0.0942383,0.2783203l-0.0087891,0.3222656
31
+ l-0.2304688,3.7783203l9.1474609-11.6494141V8.9931641L26.3129883,4.6323242z'/>
32
+ </g>
33
+ <ellipse style='fill:#FFB743;' cx='31.0522461' cy='30.4926758' rx='18.6303711' ry='19.3920898'/>
34
+ <path style='fill:#420707;' d='M31.0522461,51.3847656c-11.1000977,0-20.1303711-9.3720703-20.1303711-20.8920898
35
+ S19.9521484,9.6000977,31.0522461,9.6000977s20.1303711,9.3725586,20.1303711,20.8925781
36
+ S42.1523438,51.3847656,31.0522461,51.3847656z M31.0522461,12.6000977c-9.4458008,0-17.1303711,8.0263672-17.1303711,17.8925781
37
+ c0,9.8657227,7.6845703,17.8920898,17.1303711,17.8920898s17.1303711-8.0263672,17.1303711-17.8920898
38
+ C48.1826172,20.6264648,40.4980469,12.6000977,31.0522461,12.6000977z'/>
39
+ <linearGradient id='SVGID_1_' gradientUnits='userSpaceOnUse' x1='-38.0395508' y1='30.0141602' x2='-33.3920479' y2='36.5755348' gradientTransform='matrix(1 0 0 1 64.1972656 0)'>
40
+ <stop offset='0' style='stop-color:#FFA67F'/>
41
+ <stop offset='0.0968745' style='stop-color:#FF967B'/>
42
+ <stop offset='0.3655038' style='stop-color:#FF7170'/>
43
+ <stop offset='0.6143154' style='stop-color:#FF5568'/>
44
+ <stop offset='0.8335769' style='stop-color:#FF4564'/>
45
+ <stop offset='1' style='stop-color:#FF3F62'/>
46
+ </linearGradient>
47
+ <path style='fill:url(#SVGID_1_);' d='M31.0180664,32.8173828c0,1.3984375-1.284668,2.53125-2.8754883,2.53125
48
+ c-1.5878906,0-2.875-1.1328125-2.875-2.53125c0-1.3999023,1.2871094-2.5327148,2.875-2.5327148
49
+ C29.7333984,30.284668,31.0180664,31.4174805,31.0180664,32.8173828z'/>
50
+ <g>
51
+ <path style='fill:#160201;' d='M19.2753906,24.9428711c-1.4042969,0-2.5761719,1.1108398-2.9599609,2.6254883
52
+ l2.7822266,1.0498047l-2.7822266,1.0512695c0.3818359,1.5141602,1.5556641,2.6274414,2.9599609,2.6274414
53
+ c1.7158203,0,3.1054688-1.6459961,3.1054688-3.6767578S20.9912109,24.9428711,19.2753906,24.9428711z'/>
54
+ <g>
55
+ <path style='fill:#160201;' d='M37.9707031,24.9428711c-1.4042969,0-2.5771484,1.1098633-2.9609375,2.6254883
56
+ l2.7822266,1.0498047l-2.7822266,1.0512695c0.3828125,1.5141602,1.5566406,2.6274414,2.9609375,2.6274414
57
+ c1.7148438,0,3.1044922-1.6459961,3.1044922-3.6767578S39.6855469,24.9428711,37.9707031,24.9428711z'/>
58
+ </g>
59
+ </g>
60
+ <path style='fill:#510811;' d='M23.0351563,42.6240234c0,0,12.4150391-1.7382813,13.3183594-2.3154297
61
+ c0.90625-0.5820313,2.2265625-0.2919922,0,2.3154297C34.1308594,45.2294922,28.15625,50.1552734,23.0351563,42.6240234z'/>
62
+ <g>
63
+ <path style='fill:#8A3606;' d='M23.0351563,9.6547852c0,0-5.5126953,9.9545898-10.5576172,19.3920898
64
+ C12.4775391,29.046875,8.6210938,9.6547852,23.0351563,9.6547852z'/>
65
+ <path style='fill:#4C0A02;' d='M11.8242188,33.4511719l-0.8178711-4.1118164
66
+ c-0.090332-0.4536133-2.152832-11.1806641,2.8076172-17.2241211c2.1567383-2.6279297,5.2592773-3.9604492,9.2211914-3.9604492
67
+ h2.5454102l-1.2333984,2.2265625c-0.0546875,0.0996094-5.5649414,10.0537109-10.546875,19.3725586L11.8242188,33.4511719z
68
+ M20.3344727,11.4453125c-1.737793,0.4111328-3.1230469,1.2612305-4.1977539,2.5683594
69
+ c-2.2001953,2.6767578-2.6645508,6.7514648-2.6245117,9.9394531
70
+ C16.2211914,18.9355469,18.8115234,14.2119141,20.3344727,11.4453125z'/>
71
+ </g>
72
+ <g>
73
+ <path style='fill:#8A3606;' d='M23.0351563,9.6547852c0,0,10.4414063,13.8432617,25.3935547,13.8432617
74
+ C48.4287109,23.4980469,43.5214844,1.2612305,23.0351563,9.6547852z'/>
75
+ <path style='fill:#4C0A02;' d='M50.2958984,24.9980469h-1.8671875c-15.5209961,0-26.1464844-13.8505859-26.5913086-14.4399414
76
+ l-1.1713867-1.5537109l1.800293-0.737793c3.2475586-1.3305664,6.3398438-2.0048828,9.190918-2.0048828
77
+ c14.3359375,0,18.1992188,16.7436523,18.2363281,16.9130859L50.2958984,24.9980469z M25.5688477,10.3188477
78
+ c2.9916992,3.2915039,10.7592773,10.6875,20.8383789,11.5883789c-1.3427734-3.9658203-5.3564453-12.6455078-14.75-12.6455078
79
+ C29.7646484,9.2617188,27.7236328,9.6166992,25.5688477,10.3188477z'/>
80
+ </g>
81
+ </g>
82
+ </g>
83
+ </svg>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: emojidex-converter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rei Kagetsuki
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-05-09 00:00:00.000000000 Z
12
+ date: 2017-01-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rsvg2
@@ -101,14 +101,14 @@ dependencies:
101
101
  requirements:
102
102
  - - "~>"
103
103
  - !ruby/object:Gem::Version
104
- version: '0.3'
104
+ version: '0.4'
105
105
  type: :runtime
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
109
  - - "~>"
110
110
  - !ruby/object:Gem::Version
111
- version: '0.3'
111
+ version: '0.4'
112
112
  - !ruby/object:Gem::Dependency
113
113
  name: phantom_svg
114
114
  requirement: !ruby/object:Gem::Requirement
@@ -151,6 +151,61 @@ files:
151
151
  - spec/support/collection/aubergine.svg
152
152
  - spec/support/collection/car.svg
153
153
  - spec/support/collection/emoji.json
154
+ - spec/support/collection/family.svg
155
+ - spec/support/collection/family/0/man(bk).svg
156
+ - spec/support/collection/family/0/man(br).svg
157
+ - spec/support/collection/family/0/man(p).svg
158
+ - spec/support/collection/family/0/man(wh).svg
159
+ - spec/support/collection/family/0/man(ye).svg
160
+ - spec/support/collection/family/0/man.svg
161
+ - spec/support/collection/family/0/woman(bk).svg
162
+ - spec/support/collection/family/0/woman(br).svg
163
+ - spec/support/collection/family/0/woman(p).svg
164
+ - spec/support/collection/family/0/woman(wh).svg
165
+ - spec/support/collection/family/0/woman(ye).svg
166
+ - spec/support/collection/family/0/woman.svg
167
+ - spec/support/collection/family/1/man(bk).svg
168
+ - spec/support/collection/family/1/man(br).svg
169
+ - spec/support/collection/family/1/man(p).svg
170
+ - spec/support/collection/family/1/man(wh).svg
171
+ - spec/support/collection/family/1/man(ye).svg
172
+ - spec/support/collection/family/1/man.svg
173
+ - spec/support/collection/family/1/woman(bk).svg
174
+ - spec/support/collection/family/1/woman(br).svg
175
+ - spec/support/collection/family/1/woman(p).svg
176
+ - spec/support/collection/family/1/woman(wh).svg
177
+ - spec/support/collection/family/1/woman(ye).svg
178
+ - spec/support/collection/family/1/woman.svg
179
+ - spec/support/collection/family/2/boy(bk).svg
180
+ - spec/support/collection/family/2/boy(br).svg
181
+ - spec/support/collection/family/2/boy(p).svg
182
+ - spec/support/collection/family/2/boy(wh).svg
183
+ - spec/support/collection/family/2/boy(ye).svg
184
+ - spec/support/collection/family/2/boy.svg
185
+ - spec/support/collection/family/2/girl(bk).svg
186
+ - spec/support/collection/family/2/girl(br).svg
187
+ - spec/support/collection/family/2/girl(p).svg
188
+ - spec/support/collection/family/2/girl(wh).svg
189
+ - spec/support/collection/family/2/girl(ye).svg
190
+ - spec/support/collection/family/2/girl.svg
191
+ - spec/support/collection/family/3/boy(bk).svg
192
+ - spec/support/collection/family/3/boy(br).svg
193
+ - spec/support/collection/family/3/boy(p).svg
194
+ - spec/support/collection/family/3/boy(wh).svg
195
+ - spec/support/collection/family/3/boy(ye).svg
196
+ - spec/support/collection/family/3/boy.svg
197
+ - spec/support/collection/family/3/girl(bk).svg
198
+ - spec/support/collection/family/3/girl(br).svg
199
+ - spec/support/collection/family/3/girl(p).svg
200
+ - spec/support/collection/family/3/girl(wh).svg
201
+ - spec/support/collection/family/3/girl(ye).svg
202
+ - spec/support/collection/family/3/girl.svg
203
+ - spec/support/collection/family/4/baby(bk).svg
204
+ - spec/support/collection/family/4/baby(br).svg
205
+ - spec/support/collection/family/4/baby(p).svg
206
+ - spec/support/collection/family/4/baby(wh).svg
207
+ - spec/support/collection/family/4/baby(ye).svg
208
+ - spec/support/collection/family/4/baby.svg
154
209
  - spec/support/collection/heartbeat/0.svg
155
210
  - spec/support/collection/heartbeat/1.svg
156
211
  - spec/support/collection/heartbeat/2.svg
@@ -180,6 +235,7 @@ files:
180
235
  - spec/support/collection/kiss/9.svg
181
236
  - spec/support/collection/kiss/animation.json
182
237
  - spec/support/collection/kiss/animation.json~
238
+ - spec/support/collection/woman.svg
183
239
  homepage: http://dev.emojidex.com
184
240
  licenses:
185
241
  - emojiOL
@@ -200,7 +256,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
200
256
  version: '0'
201
257
  requirements: []
202
258
  rubyforge_project:
203
- rubygems_version: 2.5.1
259
+ rubygems_version: 2.6.8
204
260
  signing_key:
205
261
  specification_version: 4
206
262
  summary: Image conversion modules for emojidex