phlex-icons-flag 2.7.0 → 2.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b58160b719c7cffa781504379c5cec429a4a854de90ad7c67e3591cc1eae8824
4
- data.tar.gz: 945aa5d4a6251a12f029a2812d80755c063bbb145cb7cb43b8237d84616cdf99
3
+ metadata.gz: 547c37b718be70276ec6356ab17b8a4c29f4f6a06576caf7d6c95cc3a57a0958
4
+ data.tar.gz: d97d177847e1e39450664309f9dcd4bdb0381ccf5d2246a61796325e94526dd4
5
5
  SHA512:
6
- metadata.gz: '02491d21425f41254c061d1b228b23296ca45b2ca7ef6deee5159b9a48cbeaa183f1f2162a846fbc4a463d47781c3fa6022f3f450b116f8c1233de4e74677c26'
7
- data.tar.gz: 4f93af50b9373cf0f92b9134ca49a645604da9b8eb5473f024369bab2a633c49f8a0a21261d380999bfbd902aa95acaafe73d3983a44fcae2349166fb23755bb
6
+ metadata.gz: de7f3ebd5d0dd8f708792297226b32774f3d60498c020b8d0e9db012571df784186814637713fb63dacc0db6c58ed67673737f8e7515385037d8b8f9c41dd033
7
+ data.tar.gz: 97beb16824ab9871210c30c23fd7f1070dab40fc47873ae983b7f9b2c3886687fb76efcf3fed6b68f9db29668efb636207acfdc76a46f91d8b78f51a2701d414
@@ -0,0 +1,45 @@
1
+ # frozen_string_literal: true
2
+
3
+ # rubocop:disable Layout/LineLength,Metrics/MethodLength
4
+ module PhlexIcons
5
+ module Flag
6
+ class Asean < Base
7
+ def square
8
+ svg(
9
+ **attrs, xmlns: %(http://www.w3.org/2000/svg), viewbox: %(0 0 512 512), 'xmlns:xlink': %(http://www.w3.org/1999/xlink), space: %(preserve)
10
+ ) do |s|
11
+ s.path(fill: %(#0039a6), stroke_width: %(4.18046), d: %(M0 0h512v512H0z))
12
+ s.circle(cx: %(256), cy: %(256), r: %(153.6), fill: %(#fff), stroke_width: %(5.12))
13
+ s.circle(cx: %(256), cy: %(256), r: %(146.4), fill: %(#ed2939), stroke_width: %(5.12))
14
+ s.use('xlink:href': %(#asean-a), transform: %(matrix(-1 0 0 1 512 0)))
15
+ s.g(id: %(asean-a)) do
16
+ s.path(fill: %(#f9e300), d: %(M82.7 50c5-3 7.3-9 7.3-15h-2.3v.2c0 2-.3 9.3-5.8 14.8a22 22 0 0 1 5.8 14.8v.2H90c0-6-2.4-12-7.3-15), transform: %(translate(-128)scale(5.12)))
17
+ s.path(fill: %(#f9e300), d: %(M87 35.2V35h-2.4v.3c0 2-.4 9-4.3 14.7 4 5.7 4.3 12.7 4.3 14.7v.3H87v-.2c0-2-.5-9.3-5.8-14.8a22 22 0 0 0 5.8-14.8), transform: %(translate(-128)scale(5.12)))
18
+ s.path(fill: %(#f9e300), d: %(m79.4 50 .2-.2a27 27 0 0 0 4.2-14.5V35h-2.2v.4c0 2.1-.3 8.8-3 14.6a38 38 0 0 1 3 14.6v.4h2.2v-.3c0-2-.2-8.3-4.2-14.5), transform: %(translate(-128)scale(5.12)))
19
+ s.path(fill: %(#f9e300), d: %(M77.8 50a37 37 0 0 0 3-15h-2.3v.7c0 2.5-.2 8.6-1.5 14.3a70 70 0 0 1 1.5 14.3v.7h2.2v-.4c0-2.1-.2-9-2.8-14.5), transform: %(translate(-128)scale(5.12)))
20
+ s.path(fill: %(#f9e300), d: %(M76.2 50a69 69 0 0 0 1.4-14.3V35h-2.2v30h2.2v-.7c0-2.4 0-8.6-1.4-14.2), transform: %(translate(-128)scale(5.12)))
21
+ end
22
+ end
23
+ end
24
+
25
+ def rectangle
26
+ svg(
27
+ **attrs, xmlns: %(http://www.w3.org/2000/svg), viewbox: %(0 0 640 480), 'xmlns:xlink': %(http://www.w3.org/1999/xlink), space: %(preserve)
28
+ ) do |s|
29
+ s.path(fill: %(#0039a6), stroke_width: %(4.52548), d: %(M0 0h640v480H0z))
30
+ s.circle(cx: %(320), cy: %(240), r: %(144), fill: %(#fff), stroke_width: %(4.8))
31
+ s.circle(cx: %(320), cy: %(240), r: %(137.3), fill: %(#ed2939), stroke_width: %(4.8))
32
+ s.use('xlink:href': %(#asean-a), transform: %(matrix(-1 0 0 1 640 0)))
33
+ s.g(id: %(asean-a)) do
34
+ s.path(fill: %(#f9e300), d: %(M82.7 50c5-3 7.3-9 7.3-15h-2.3v.2c0 2-.3 9.3-5.8 14.8a22 22 0 0 1 5.8 14.8v.2H90c0-6-2.4-12-7.3-15), transform: %(translate(-40)scale(4.8)))
35
+ s.path(fill: %(#f9e300), d: %(M87 35.2V35h-2.4v.3c0 2-.4 9-4.3 14.7 4 5.7 4.3 12.7 4.3 14.7v.3H87v-.2c0-2-.5-9.3-5.8-14.8a22 22 0 0 0 5.8-14.8), transform: %(translate(-40)scale(4.8)))
36
+ s.path(fill: %(#f9e300), d: %(m79.4 50 .2-.2a27 27 0 0 0 4.2-14.5V35h-2.2v.4c0 2.1-.3 8.8-3 14.6a38 38 0 0 1 3 14.6v.4h2.2v-.3c0-2-.2-8.3-4.2-14.5), transform: %(translate(-40)scale(4.8)))
37
+ s.path(fill: %(#f9e300), d: %(M77.8 50a37 37 0 0 0 3-15h-2.3v.7c0 2.5-.2 8.6-1.5 14.3a70 70 0 0 1 1.5 14.3v.7h2.2v-.4c0-2.1-.2-9-2.8-14.5), transform: %(translate(-40)scale(4.8)))
38
+ s.path(fill: %(#f9e300), d: %(M76.2 50a69 69 0 0 0 1.4-14.3V35h-2.2v30h2.2v-.7c0-2.4 0-8.6-1.4-14.2), transform: %(translate(-40)scale(4.8)))
39
+ end
40
+ end
41
+ end
42
+ end
43
+ end
44
+ end
45
+ # rubocop:enable Layout/LineLength,Metrics/MethodLength
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ module PhlexIcons
4
+ module Flag
5
+ class AseanRectangle < Base
6
+ def view_template
7
+ render Asean.new(variant: :rectangle)
8
+ end
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ module PhlexIcons
4
+ module Flag
5
+ class AseanSquare < Base
6
+ def view_template
7
+ render Asean.new(variant: :square)
8
+ end
9
+ end
10
+ end
11
+ end
@@ -2,7 +2,7 @@
2
2
 
3
3
  module PhlexIcons
4
4
  module Flag # rubocop:disable Metrics/ModuleLength
5
- VERSION = '7.3.1'
5
+ VERSION = '7.3.2'
6
6
  VARIANTS = %i[rectangle square].freeze
7
7
 
8
8
  extend Phlex::Kit
@@ -47,6 +47,9 @@ module PhlexIcons
47
47
  autoload :As, 'phlex-icons/flag/as'
48
48
  autoload :AsRectangle, 'phlex-icons/flag/as_rectangle'
49
49
  autoload :AsSquare, 'phlex-icons/flag/as_square'
50
+ autoload :Asean, 'phlex-icons/flag/asean'
51
+ autoload :AseanRectangle, 'phlex-icons/flag/asean_rectangle'
52
+ autoload :AseanSquare, 'phlex-icons/flag/asean_square'
50
53
  autoload :At, 'phlex-icons/flag/at'
51
54
  autoload :AtRectangle, 'phlex-icons/flag/at_rectangle'
52
55
  autoload :AtSquare, 'phlex-icons/flag/at_square'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PhlexIcons
4
- VERSION = '2.7.0'
4
+ VERSION = '2.9.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phlex-icons-flag
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.0
4
+ version: 2.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ali Hamdi Ali Fadel
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-01-19 00:00:00.000000000 Z
11
+ date: 2025-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: phlex
@@ -89,6 +89,9 @@ files:
89
89
  - lib/phlex-icons/flag/as.rb
90
90
  - lib/phlex-icons/flag/as_rectangle.rb
91
91
  - lib/phlex-icons/flag/as_square.rb
92
+ - lib/phlex-icons/flag/asean.rb
93
+ - lib/phlex-icons/flag/asean_rectangle.rb
94
+ - lib/phlex-icons/flag/asean_square.rb
92
95
  - lib/phlex-icons/flag/at.rb
93
96
  - lib/phlex-icons/flag/at_rectangle.rb
94
97
  - lib/phlex-icons/flag/at_square.rb