flag_icon 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/flag_icon/countries.rb +4 -1
- data/lib/flag_icon/rails/version.rb +1 -1
- data/vendor/assets/images/flags/4x3/ak.svg +109 -0
- data/vendor/assets/stylesheets/flag-icons/_flag-icons-list.scss +3 -3
- metadata +2 -2
- data/vendor/assets/images/flags/4x3/hi.svg +0 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7023152e10be1695e958cb558bb33b15e27c27b51d8c90cf14813220aa896e9
|
4
|
+
data.tar.gz: 06a8bcc0ba25beece903ce1f55d4e5b3d9932d112c4f7336e347eeb13ea2a9ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83b17fe3252d8d013c08cbb5a2dd1a5b19c4eaf9090be9b4f81c15764a0e13022d31bea74eed1e36a5e9b6725c51d9cd845aa56b4d6f4fd0fa0cebd82584bb9c
|
7
|
+
data.tar.gz: 51f4badc79a89319e01924246411909df19e9f45b0dfd40e74efb560f6b3afd777899682b9d124f4b08910ca372969203029dafd590663b5133ac77a4601b7d9
|
data/Gemfile.lock
CHANGED
data/lib/flag_icon/countries.rb
CHANGED
@@ -2,6 +2,7 @@ module FlagIcon::Countries
|
|
2
2
|
# ISO country codes to county name
|
3
3
|
NAMES = {
|
4
4
|
ab: "Abkhazia",
|
5
|
+
ak: "Alaska",
|
5
6
|
ad: "Andorra",
|
6
7
|
ae: "United Arab Emirates",
|
7
8
|
af: "Afghanistan",
|
@@ -257,6 +258,7 @@ module FlagIcon::Countries
|
|
257
258
|
LANGUAGE_FLAGS = {
|
258
259
|
ca: "es-ct",
|
259
260
|
gl: "es-ga",
|
261
|
+
eu: "es-eu",
|
260
262
|
ar: "ae",
|
261
263
|
fa: "af",
|
262
264
|
en: "gb",
|
@@ -298,6 +300,7 @@ module FlagIcon::Countries
|
|
298
300
|
is: "is",
|
299
301
|
it: "it",
|
300
302
|
ja: "jp",
|
303
|
+
jp: "jp",
|
301
304
|
ky: "kg",
|
302
305
|
km: "kh",
|
303
306
|
ko: "ko",
|
@@ -350,7 +353,6 @@ module FlagIcon::Countries
|
|
350
353
|
zu: "za",
|
351
354
|
bg: "bg",
|
352
355
|
cy: "gb-wls",
|
353
|
-
eu: "es-eu",
|
354
356
|
he: "il",
|
355
357
|
yi: "il",
|
356
358
|
ig: "ng",
|
@@ -360,6 +362,7 @@ module FlagIcon::Countries
|
|
360
362
|
sl: "si",
|
361
363
|
wo: "sn",
|
362
364
|
ak: "gh",
|
365
|
+
ab: "ab",
|
363
366
|
}
|
364
367
|
|
365
368
|
# language code to language name
|
@@ -0,0 +1,109 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="225" height="150" version="1.1" id="svg36" sodipodi:docname="Alaska.svg" inkscape:version="0.92.3 (2405546, 2018-03-11)">
|
3
|
+
<metadata id="metadata40">
|
4
|
+
<rdf:RDF>
|
5
|
+
<cc:Work rdf:about="">
|
6
|
+
<dc:format>image/svg+xml</dc:format>
|
7
|
+
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
|
8
|
+
<dc:title>Flag of Alaska</dc:title>
|
9
|
+
</cc:Work>
|
10
|
+
</rdf:RDF>
|
11
|
+
</metadata>
|
12
|
+
<sodipodi:namedview pagecolor="#ffffff" bordercolor="#666666" borderopacity="1" objecttolerance="10" gridtolerance="10" guidetolerance="10" inkscape:pageopacity="0" inkscape:pageshadow="2" inkscape:window-width="1920" inkscape:window-height="1015" id="namedview38" showgrid="false" inkscape:zoom="0.39124294" inkscape:cx="152.32568" inkscape:cy="103.21031" inkscape:window-x="0" inkscape:window-y="0" inkscape:window-maximized="1" inkscape:current-layer="svg36"/>
|
13
|
+
<title id="title2">Flag of Alaska</title>
|
14
|
+
<defs id="defs17">
|
15
|
+
<g id="star5" style="fill:#ffb612">
|
16
|
+
<g id="cone">
|
17
|
+
<polygon id="triangle" points="0.5,1 0,0 0,1 " transform="rotate(18,3.1568758,-0.5)"/>
|
18
|
+
<use xlink:href="#triangle" transform="scale(-1,1)" id="use5" x="0" y="0" width="100%" height="100%"/>
|
19
|
+
</g>
|
20
|
+
<use xlink:href="#cone" transform="rotate(72)" id="use8" x="0" y="0" width="100%" height="100%"/>
|
21
|
+
<use xlink:href="#cone" transform="rotate(-72)" id="use10" x="0" y="0" width="100%" height="100%"/>
|
22
|
+
<use xlink:href="#cone" transform="rotate(144)" id="use12" x="0" y="0" width="100%" height="100%"/>
|
23
|
+
<use xlink:href="#cone" transform="rotate(-144)" id="use14" x="0" y="0" width="100%" height="100%"/>
|
24
|
+
</g>
|
25
|
+
</defs>
|
26
|
+
<g id="g3954" transform="translate(6.3000031,-850)">
|
27
|
+
<rect style="fill:#0f204b;stroke-width:0.15438506" y="850" x="-6.3000031" id="rect19" height="150" width="225"/>
|
28
|
+
<g transform="matrix(7.8,0,0,7.8,173.7,877.3)" style="fill:#ffb612" id="use21">
|
29
|
+
<g id="g174">
|
30
|
+
<polygon id="polygon170" points="0.5,1 0,0 0,1 " transform="rotate(18,3.1568758,-0.5)"/>
|
31
|
+
<use height="100%" width="100%" y="0" x="0" xlink:href="#triangle" transform="scale(-1,1)" id="use172"/>
|
32
|
+
</g>
|
33
|
+
<use height="100%" width="100%" y="0" x="0" xlink:href="#cone" transform="rotate(72)" id="use176"/>
|
34
|
+
<use height="100%" width="100%" y="0" x="0" xlink:href="#cone" transform="rotate(-72)" id="use178"/>
|
35
|
+
<use height="100%" width="100%" y="0" x="0" xlink:href="#cone" transform="rotate(144)" id="use180"/>
|
36
|
+
<use height="100%" width="100%" y="0" x="0" xlink:href="#cone" transform="rotate(-144)" id="use182"/>
|
37
|
+
</g>
|
38
|
+
<g transform="matrix(4.65,0,0,4.65,34.35,909.4)" style="fill:#ffb612" id="star">
|
39
|
+
<g id="g46">
|
40
|
+
<polygon id="polygon42" points="0.5,1 0,0 0,1 " transform="rotate(18,3.1568758,-0.5)"/>
|
41
|
+
<use height="100%" width="100%" y="0" x="0" xlink:href="#triangle" transform="scale(-1,1)" id="use44"/>
|
42
|
+
</g>
|
43
|
+
<use height="100%" width="100%" y="0" x="0" xlink:href="#cone" transform="rotate(72)" id="use48"/>
|
44
|
+
<use height="100%" width="100%" y="0" x="0" xlink:href="#cone" transform="rotate(-72)" id="use50"/>
|
45
|
+
<use height="100%" width="100%" y="0" x="0" xlink:href="#cone" transform="rotate(144)" id="use52"/>
|
46
|
+
<use height="100%" width="100%" y="0" x="0" xlink:href="#cone" transform="rotate(-144)" id="use54"/>
|
47
|
+
</g>
|
48
|
+
<g id="use24" style="fill:#ffb612" transform="matrix(4.65,0,0,4.65,59.4,918.7)">
|
49
|
+
<g id="g62">
|
50
|
+
<polygon transform="rotate(18,3.1568758,-0.5)" points="0,1 0.5,1 0,0 " id="polygon58"/>
|
51
|
+
<use id="use60" transform="scale(-1,1)" xlink:href="#triangle" x="0" y="0" width="100%" height="100%"/>
|
52
|
+
</g>
|
53
|
+
<use id="use64" transform="rotate(72)" xlink:href="#cone" x="0" y="0" width="100%" height="100%"/>
|
54
|
+
<use id="use66" transform="rotate(-72)" xlink:href="#cone" x="0" y="0" width="100%" height="100%"/>
|
55
|
+
<use id="use68" transform="rotate(144)" xlink:href="#cone" x="0" y="0" width="100%" height="100%"/>
|
56
|
+
<use id="use70" transform="rotate(-144)" xlink:href="#cone" x="0" y="0" width="100%" height="100%"/>
|
57
|
+
</g>
|
58
|
+
<g id="use26" style="fill:#ffb612" transform="matrix(4.65,0,0,4.65,71.85,932.05)">
|
59
|
+
<g id="g78">
|
60
|
+
<polygon transform="rotate(18,3.1568758,-0.5)" points="0,1 0.5,1 0,0 " id="polygon74"/>
|
61
|
+
<use id="use76" transform="scale(-1,1)" xlink:href="#triangle" x="0" y="0" width="100%" height="100%"/>
|
62
|
+
</g>
|
63
|
+
<use id="use80" transform="rotate(72)" xlink:href="#cone" x="0" y="0" width="100%" height="100%"/>
|
64
|
+
<use id="use82" transform="rotate(-72)" xlink:href="#cone" x="0" y="0" width="100%" height="100%"/>
|
65
|
+
<use id="use84" transform="rotate(144)" xlink:href="#cone" x="0" y="0" width="100%" height="100%"/>
|
66
|
+
<use id="use86" transform="rotate(-144)" xlink:href="#cone" x="0" y="0" width="100%" height="100%"/>
|
67
|
+
</g>
|
68
|
+
<g id="use28" style="fill:#ffb612" transform="matrix(4.65,0,0,4.65,84.45,946)">
|
69
|
+
<g id="g94">
|
70
|
+
<polygon transform="rotate(18,3.1568758,-0.5)" points="0,1 0.5,1 0,0 " id="polygon90"/>
|
71
|
+
<use id="use92" transform="scale(-1,1)" xlink:href="#triangle" x="0" y="0" width="100%" height="100%"/>
|
72
|
+
</g>
|
73
|
+
<use id="use96" transform="rotate(72)" xlink:href="#cone" x="0" y="0" width="100%" height="100%"/>
|
74
|
+
<use id="use98" transform="rotate(-72)" xlink:href="#cone" x="0" y="0" width="100%" height="100%"/>
|
75
|
+
<use id="use100" transform="rotate(144)" xlink:href="#cone" x="0" y="0" width="100%" height="100%"/>
|
76
|
+
<use id="use102" transform="rotate(-144)" xlink:href="#cone" x="0" y="0" width="100%" height="100%"/>
|
77
|
+
</g>
|
78
|
+
<g id="use30" style="fill:#ffb612" transform="matrix(4.65,0,0,4.65,121.95,959.35)">
|
79
|
+
<g id="g110">
|
80
|
+
<polygon transform="rotate(18,3.1568758,-0.5)" points="0,1 0.5,1 0,0 " id="polygon106"/>
|
81
|
+
<use id="use108" transform="scale(-1,1)" xlink:href="#triangle" x="0" y="0" width="100%" height="100%"/>
|
82
|
+
</g>
|
83
|
+
<use id="use112" transform="rotate(72)" xlink:href="#cone" x="0" y="0" width="100%" height="100%"/>
|
84
|
+
<use id="use114" transform="rotate(-72)" xlink:href="#cone" x="0" y="0" width="100%" height="100%"/>
|
85
|
+
<use id="use116" transform="rotate(144)" xlink:href="#cone" x="0" y="0" width="100%" height="100%"/>
|
86
|
+
<use id="use118" transform="rotate(-144)" xlink:href="#cone" x="0" y="0" width="100%" height="100%"/>
|
87
|
+
</g>
|
88
|
+
<g id="use32" style="fill:#ffb612" transform="matrix(4.65,0,0,4.65,82.8,965.65)">
|
89
|
+
<g id="g126">
|
90
|
+
<polygon transform="rotate(18,3.1568758,-0.5)" points="0,1 0.5,1 0,0 " id="polygon122"/>
|
91
|
+
<use id="use124" transform="scale(-1,1)" xlink:href="#triangle" x="0" y="0" width="100%" height="100%"/>
|
92
|
+
</g>
|
93
|
+
<use id="use128" transform="rotate(72)" xlink:href="#cone" x="0" y="0" width="100%" height="100%"/>
|
94
|
+
<use id="use130" transform="rotate(-72)" xlink:href="#cone" x="0" y="0" width="100%" height="100%"/>
|
95
|
+
<use id="use132" transform="rotate(144)" xlink:href="#cone" x="0" y="0" width="100%" height="100%"/>
|
96
|
+
<use id="use134" transform="rotate(-144)" xlink:href="#cone" x="0" y="0" width="100%" height="100%"/>
|
97
|
+
</g>
|
98
|
+
<g id="use34" style="fill:#ffb612" transform="matrix(4.65,0,0,4.65,111,974.95)">
|
99
|
+
<g id="g142">
|
100
|
+
<polygon transform="rotate(18,3.1568758,-0.5)" points="0,1 0.5,1 0,0 " id="polygon138"/>
|
101
|
+
<use id="use140" transform="scale(-1,1)" xlink:href="#triangle" x="0" y="0" width="100%" height="100%"/>
|
102
|
+
</g>
|
103
|
+
<use id="use144" transform="rotate(72)" xlink:href="#cone" x="0" y="0" width="100%" height="100%"/>
|
104
|
+
<use id="use146" transform="rotate(-72)" xlink:href="#cone" x="0" y="0" width="100%" height="100%"/>
|
105
|
+
<use id="use148" transform="rotate(144)" xlink:href="#cone" x="0" y="0" width="100%" height="100%"/>
|
106
|
+
<use id="use150" transform="rotate(-144)" xlink:href="#cone" x="0" y="0" width="100%" height="100%"/>
|
107
|
+
</g>
|
108
|
+
</g>
|
109
|
+
</svg>
|
@@ -4,8 +4,9 @@
|
|
4
4
|
}
|
5
5
|
} @else {
|
6
6
|
@include flag-icon(ad);
|
7
|
+
@include flag-icon(ak);
|
7
8
|
@include flag-icon(ae);
|
8
|
-
@include flag-icon(ab);
|
9
|
+
@include flag-icon(ab);
|
9
10
|
@include flag-icon(af);
|
10
11
|
@include flag-icon(ag);
|
11
12
|
@include flag-icon(ai);
|
@@ -112,7 +113,6 @@
|
|
112
113
|
@include flag-icon(il);
|
113
114
|
@include flag-icon(im);
|
114
115
|
@include flag-icon(in);
|
115
|
-
@include flag-icon(hi); // from in
|
116
116
|
@include flag-icon(io);
|
117
117
|
@include flag-icon(iq);
|
118
118
|
@include flag-icon(ir);
|
@@ -122,7 +122,6 @@
|
|
122
122
|
@include flag-icon(jm);
|
123
123
|
@include flag-icon(jo);
|
124
124
|
@include flag-icon(jp);
|
125
|
-
@include flag-icon(ja); // from jp
|
126
125
|
@include flag-icon(ke);
|
127
126
|
@include flag-icon(kg);
|
128
127
|
@include flag-icon(kh);
|
@@ -269,6 +268,7 @@
|
|
269
268
|
@include flag-icon(ea);
|
270
269
|
@include flag-icon(es-ct);
|
271
270
|
@include flag-icon(es-ga);
|
271
|
+
@include flag-icon(es-eu);
|
272
272
|
@include flag-icon(eu);
|
273
273
|
@include flag-icon(gb-eng);
|
274
274
|
@include flag-icon(gb-nir);
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flag_icon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- alexwebgr
|
@@ -100,6 +100,7 @@ files:
|
|
100
100
|
- vendor/assets/images/flags/4x3/af.svg
|
101
101
|
- vendor/assets/images/flags/4x3/ag.svg
|
102
102
|
- vendor/assets/images/flags/4x3/ai.svg
|
103
|
+
- vendor/assets/images/flags/4x3/ak.svg
|
103
104
|
- vendor/assets/images/flags/4x3/al.svg
|
104
105
|
- vendor/assets/images/flags/4x3/am.svg
|
105
106
|
- vendor/assets/images/flags/4x3/ao.svg
|
@@ -201,7 +202,6 @@ files:
|
|
201
202
|
- vendor/assets/images/flags/4x3/gu.svg
|
202
203
|
- vendor/assets/images/flags/4x3/gw.svg
|
203
204
|
- vendor/assets/images/flags/4x3/gy.svg
|
204
|
-
- vendor/assets/images/flags/4x3/hi.svg
|
205
205
|
- vendor/assets/images/flags/4x3/hk.svg
|
206
206
|
- vendor/assets/images/flags/4x3/hm.svg
|
207
207
|
- vendor/assets/images/flags/4x3/hn.svg
|
@@ -1,25 +0,0 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="flag-icons-in" viewBox="0 0 640 480">
|
2
|
-
<path fill="#f93" d="M0 0h640v160H0z"/>
|
3
|
-
<path fill="#fff" d="M0 160h640v160H0z"/>
|
4
|
-
<path fill="#128807" d="M0 320h640v160H0z"/>
|
5
|
-
<g transform="matrix(3.2 0 0 3.2 320 240)">
|
6
|
-
<circle r="20" fill="#008"/>
|
7
|
-
<circle r="17.5" fill="#fff"/>
|
8
|
-
<circle r="3.5" fill="#008"/>
|
9
|
-
<g id="d">
|
10
|
-
<g id="c">
|
11
|
-
<g id="b">
|
12
|
-
<g id="a" fill="#008">
|
13
|
-
<circle r=".9" transform="rotate(7.5 -8.8 133.5)"/>
|
14
|
-
<path d="M0 17.5.6 7 0 2l-.6 5L0 17.5z"/>
|
15
|
-
</g>
|
16
|
-
<use xlink:href="#a" width="100%" height="100%" transform="rotate(15)"/>
|
17
|
-
</g>
|
18
|
-
<use xlink:href="#b" width="100%" height="100%" transform="rotate(30)"/>
|
19
|
-
</g>
|
20
|
-
<use xlink:href="#c" width="100%" height="100%" transform="rotate(60)"/>
|
21
|
-
</g>
|
22
|
-
<use xlink:href="#d" width="100%" height="100%" transform="rotate(120)"/>
|
23
|
-
<use xlink:href="#d" width="100%" height="100%" transform="rotate(-120)"/>
|
24
|
-
</g>
|
25
|
-
</svg>
|