game_icons 0.18.0.20150904 → 0.19.0.20150910
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +16 -16
- data/CHANGELOG.md +6 -0
- data/Gemfile +4 -4
- data/LICENSE.txt +22 -22
- data/lib/game_icons.rb +14 -14
- data/lib/game_icons/tasks/sanity_test.rb +25 -25
- data/lib/game_icons/tasks/update.rb +30 -30
- data/lib/game_icons/version.rb +1 -1
- data/resources/UPDATING.md +6 -6
- data/resources/icons/delapouite/originals/svg/gold-mine.svg +1 -0
- data/resources/icons/delapouite/originals/svg/half-body-crawling.svg +1 -0
- data/resources/icons/delapouite/originals/svg/indian-palace.svg +1 -0
- data/resources/icons/delapouite/originals/svg/lunar-wand.svg +1 -0
- data/resources/icons/delapouite/originals/svg/mute.svg +1 -0
- data/resources/icons/delapouite/originals/svg/pillow.svg +1 -0
- data/resources/icons/delapouite/originals/svg/shotgun-rounds.svg +1 -0
- data/resources/icons/lorc/originals/svg/crumbling-ball.svg +1 -0
- data/resources/icons/lorc/originals/svg/swirl-ring.svg +1 -0
- data/spec/regression_spec.rb +1 -1
- metadata +12 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d3a37cc2e4cb8374ba5e6e578a90ec12b849c09c
|
4
|
+
data.tar.gz: 01a5cbc8e0e013bdb93f479aee197c61e4f13f97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 278d33de9b899bbb5eb1ed932f9e952bb2b0e882472b251a3609ff91f80d3f5e0fed8de1dfdd7980f3b1c4fbb81b843cda98641d1db0e998673284a239bce953
|
7
|
+
data.tar.gz: 04ed237c83d2847ebc2299c02374f3a88339dfd0aca2150fd2da73ca5e01d7217b4b0124d4e5da6273eeee81b6e15f81aba8275ca48eaf8a71e55ff65712fbbc
|
data/.gitignore
CHANGED
@@ -1,17 +1,17 @@
|
|
1
|
-
/.bundle/
|
2
|
-
/.yardoc
|
3
|
-
/Gemfile.lock
|
4
|
-
/_yardoc/
|
5
|
-
/coverage/
|
6
|
-
/doc/
|
7
|
-
/pkg/
|
8
|
-
/spec/reports/
|
9
|
-
/tmp/
|
10
|
-
*.bundle
|
11
|
-
*.so
|
12
|
-
*.o
|
13
|
-
*.a
|
14
|
-
mkmf.log
|
15
|
-
.DS_Store
|
16
|
-
sanity_test.png
|
1
|
+
/.bundle/
|
2
|
+
/.yardoc
|
3
|
+
/Gemfile.lock
|
4
|
+
/_yardoc/
|
5
|
+
/coverage/
|
6
|
+
/doc/
|
7
|
+
/pkg/
|
8
|
+
/spec/reports/
|
9
|
+
/tmp/
|
10
|
+
*.bundle
|
11
|
+
*.so
|
12
|
+
*.o
|
13
|
+
*.a
|
14
|
+
mkmf.log
|
15
|
+
.DS_Store
|
16
|
+
sanity_test.png
|
17
17
|
game-icons.net.svg.zip
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,12 @@ This gem follows [semantic versioning](http://semver.org), with the date of the
|
|
4
4
|
|
5
5
|
e.g. "0.1.0.20150413.alpha" has the April 13, 2015 release of game-icons.net
|
6
6
|
|
7
|
+
## v0.19.0 / 2015-09-10
|
8
|
+
* Update for Sep 10 icons
|
9
|
+
|
10
|
+
## v0.18.0 / 2015-09-04
|
11
|
+
* Update for Sep 4 icons
|
12
|
+
|
7
13
|
## v0.17.0 / 2015-08-28
|
8
14
|
* Update for Aug 28 icons
|
9
15
|
|
data/Gemfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
source 'https://rubygems.org'
|
2
|
-
|
3
|
-
# Specify your gem's dependencies in game_icons.gemspec
|
4
|
-
gemspec
|
1
|
+
source 'https://rubygems.org'
|
2
|
+
|
3
|
+
# Specify your gem's dependencies in game_icons.gemspec
|
4
|
+
gemspec
|
data/LICENSE.txt
CHANGED
@@ -1,22 +1,22 @@
|
|
1
|
-
Copyright (c) 2015 Andy Meneely
|
2
|
-
|
3
|
-
MIT License
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
-
a copy of this software and associated documentation files (the
|
7
|
-
"Software"), to deal in the Software without restriction, including
|
8
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
-
permit persons to whom the Software is furnished to do so, subject to
|
11
|
-
the following conditions:
|
12
|
-
|
13
|
-
The above copyright notice and this permission notice shall be
|
14
|
-
included in all copies or substantial portions of the Software.
|
15
|
-
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
1
|
+
Copyright (c) 2015 Andy Meneely
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/lib/game_icons.rb
CHANGED
@@ -1,14 +1,14 @@
|
|
1
|
-
require "game_icons/version"
|
2
|
-
require 'game_icons/finder'
|
3
|
-
require 'game_icons/db'
|
4
|
-
require 'game_icons/optional_deps'
|
5
|
-
|
6
|
-
module GameIcons
|
7
|
-
def self.get(name)
|
8
|
-
Finder.new.find(name)
|
9
|
-
end
|
10
|
-
|
11
|
-
def self.names
|
12
|
-
DB.names
|
13
|
-
end
|
14
|
-
end
|
1
|
+
require "game_icons/version"
|
2
|
+
require 'game_icons/finder'
|
3
|
+
require 'game_icons/db'
|
4
|
+
require 'game_icons/optional_deps'
|
5
|
+
|
6
|
+
module GameIcons
|
7
|
+
def self.get(name)
|
8
|
+
Finder.new.find(name)
|
9
|
+
end
|
10
|
+
|
11
|
+
def self.names
|
12
|
+
DB.names
|
13
|
+
end
|
14
|
+
end
|
@@ -1,26 +1,26 @@
|
|
1
|
-
require 'game_icons'
|
2
|
-
require 'cairo'
|
3
|
-
require 'pango'
|
4
|
-
require 'rsvg2'
|
5
|
-
|
6
|
-
module GameIcons
|
7
|
-
class SanityTest
|
8
|
-
def self.run(size: 100)
|
9
|
-
num = GameIcons.names.count
|
10
|
-
cc = Cairo::Context.new(Cairo::ImageSurface.new(1200, ((num / 12) + 1) * size))
|
11
|
-
scale = size / 512.0
|
12
|
-
cc.scale(size / 512.0, size / 512.0)
|
13
|
-
GameIcons.names.each_with_index do |icon, i|
|
14
|
-
icon = GameIcons.get(icon).recolor(fg: '#CBB08B', bg: '#5F443A')
|
15
|
-
svg = RSVG::Handle.new_from_data(icon.string)
|
16
|
-
x = (i % 12) * size / scale
|
17
|
-
y = (i / 12) * size / scale
|
18
|
-
cc.translate(x, y)
|
19
|
-
cc.render_rsvg_handle(svg)
|
20
|
-
cc.translate(-x, -y)
|
21
|
-
end
|
22
|
-
cc.target.write_to_png('sanity_test.png')
|
23
|
-
puts "Done!"
|
24
|
-
end
|
25
|
-
end
|
1
|
+
require 'game_icons'
|
2
|
+
require 'cairo'
|
3
|
+
require 'pango'
|
4
|
+
require 'rsvg2'
|
5
|
+
|
6
|
+
module GameIcons
|
7
|
+
class SanityTest
|
8
|
+
def self.run(size: 100)
|
9
|
+
num = GameIcons.names.count
|
10
|
+
cc = Cairo::Context.new(Cairo::ImageSurface.new(1200, ((num / 12) + 1) * size))
|
11
|
+
scale = size / 512.0
|
12
|
+
cc.scale(size / 512.0, size / 512.0)
|
13
|
+
GameIcons.names.each_with_index do |icon, i|
|
14
|
+
icon = GameIcons.get(icon).recolor(fg: '#CBB08B', bg: '#5F443A')
|
15
|
+
svg = RSVG::Handle.new_from_data(icon.string)
|
16
|
+
x = (i % 12) * size / scale
|
17
|
+
y = (i / 12) * size / scale
|
18
|
+
cc.translate(x, y)
|
19
|
+
cc.render_rsvg_handle(svg)
|
20
|
+
cc.translate(-x, -y)
|
21
|
+
end
|
22
|
+
cc.target.write_to_png('sanity_test.png')
|
23
|
+
puts "Done!"
|
24
|
+
end
|
25
|
+
end
|
26
26
|
end
|
@@ -1,31 +1,31 @@
|
|
1
|
-
require 'game_icons'
|
2
|
-
require 'open-uri'
|
3
|
-
|
4
|
-
module GameIcons
|
5
|
-
class Update
|
6
|
-
@@URL = 'http://game-icons.net/archives/svg/zip/ffffff/000000/game-icons.net.svg.zip'
|
7
|
-
@@TMP_ZIP = 'game-icons.net.svg.zip'
|
8
|
-
|
9
|
-
def self.run
|
10
|
-
puts "Downloading..."
|
11
|
-
download
|
12
|
-
puts "Unzipping..."
|
13
|
-
unzip
|
14
|
-
puts "Done."
|
15
|
-
end
|
16
|
-
|
17
|
-
private
|
18
|
-
def self.download
|
19
|
-
File.open("resources/#{@@TMP_ZIP}", 'wb+') do |save_file|
|
20
|
-
open(@@URL, 'rb') { |read_file| save_file.write(read_file.read) }
|
21
|
-
end
|
22
|
-
end
|
23
|
-
|
24
|
-
def self.unzip
|
25
|
-
Dir.chdir('./resources/') do
|
26
|
-
`unzip -o game-icons.net.svg.zip`
|
27
|
-
end
|
28
|
-
end
|
29
|
-
|
30
|
-
end
|
1
|
+
require 'game_icons'
|
2
|
+
require 'open-uri'
|
3
|
+
|
4
|
+
module GameIcons
|
5
|
+
class Update
|
6
|
+
@@URL = 'http://game-icons.net/archives/svg/zip/ffffff/000000/game-icons.net.svg.zip'
|
7
|
+
@@TMP_ZIP = 'game-icons.net.svg.zip'
|
8
|
+
|
9
|
+
def self.run
|
10
|
+
puts "Downloading..."
|
11
|
+
download
|
12
|
+
puts "Unzipping..."
|
13
|
+
unzip
|
14
|
+
puts "Done."
|
15
|
+
end
|
16
|
+
|
17
|
+
private
|
18
|
+
def self.download
|
19
|
+
File.open("resources/#{@@TMP_ZIP}", 'wb+') do |save_file|
|
20
|
+
open(@@URL, 'rb') { |read_file| save_file.write(read_file.read) }
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
def self.unzip
|
25
|
+
Dir.chdir('./resources/') do
|
26
|
+
`unzip -o game-icons.net.svg.zip`
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
end
|
31
31
|
end
|
data/lib/game_icons/version.rb
CHANGED
@@ -3,5 +3,5 @@ module GameIcons
|
|
3
3
|
# e.g. "0.1.0.20150413.alpha" will eventually become "0.1.0.20150413"
|
4
4
|
# Uses semantic versioning: http://semver.org/
|
5
5
|
# The date after the semver numbers is the build date from game-icons.net
|
6
|
-
VERSION = '0.
|
6
|
+
VERSION = '0.19.0.20150910'
|
7
7
|
end
|
data/resources/UPDATING.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
# Updating icons
|
2
|
-
|
3
|
-
When a new update to game-icons.net comes out, this directory can be updated by:
|
4
|
-
|
5
|
-
1. Download the SVG zip file, white-on-black.
|
6
|
-
2. Extract into here, preferably with the same directory structure so individual files can be tracked.
|
1
|
+
# Updating icons
|
2
|
+
|
3
|
+
When a new update to game-icons.net comes out, this directory can be updated by:
|
4
|
+
|
5
|
+
1. Download the SVG zip file, white-on-black.
|
6
|
+
2. Extract into here, preferably with the same directory structure so individual files can be tracked.
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M0 0h512v512H0z"/><path fill="#fff" d="M403.818 33.117l-369.554 15.4v46.012L426.97 79.425l-23.152-46.31zM385.334 99.04l-30.408 1.17 9.78 185.806 38.554-7.71L385.334 99.04zm-135.152 5.198l-18.39.71-2.694 15.61-26.578 18.75.13.866-.273-.047-3.063 17.738 6.188 1.07 4.617 30.395 31.532 5.445 14.543-27.088 6.186 1.07 3.063-17.74-.273-.046.416-.773-18.75-26.578 3.346-19.382zm-77.444 2.98l-22.82.878-39.47 54.775-1.692 33.138 63.982-88.79zm-77.625 2.985l-31.275 1.203-28.72 272.832 45.66 6.733 14.335-280.767zM236.928 128.1l14.457 20.49-34.947-6.035 20.49-14.455zm-20.516 32.718l28.87 4.985-7.012 13.064-19.63-3.39-2.228-14.66zM437.12 289.89l-76.434 15.288-44.99-14.998-28.706 28.703h169.457L437.12 289.89zm-260.05 2.268l-9.42 20.725h-16.386v18h8.205l-7.275 16h-22.93v18h14.75l-8.183 18h-26.568v18h18.386l-13.636 30h-24.75v18h16.568l-8.762 19.275 16.387 7.45 12.147-26.725h143.423l-6.75-18H133.785l13.637-30h103.605l-6.75-18h-88.673l8.18-18h73.74l-6.75-18h-58.807l7.273-16h45.535l-4.498-12h41.258l6-6h-80.113l6.035-13.276-16.387-7.45zm69.182 44.725l40.36 107.635c6.022-8.242 15.748-13.635 26.652-13.635 11.916 0 22.43 6.438 28.234 16h55.53c5.804-9.562 16.32-16 28.236-16 10.424 0 19.768 4.93 25.832 12.564l26.64-106.564H246.252zm67.012 112c-8.39 0-15 6.61-15 15s6.61 15 15 15 15-6.61 15-15-6.61-15-15-15zm112 0c-8.39 0-15 6.61-15 15s6.61 15 15 15 15-6.61 15-15-6.61-15-15-15z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M0 0h512v512H0z"/><path fill="#fff" d="M384.932 45.57c-3.286.244-7.88 2.403-15.094 14.546-5.056 15.957-.322 25.086 5.06 38.496l2.307 5.744-55.96 51.87c4.376 8.594 7.407 18.226 8.78 28.44l80.254-80.214c-4.114-10.653-8.672-18.525-12.147-27.168-3.263-8.116-4.76-17.495-2.795-28.32-4.347-2.066-8.086-3.564-10.406-3.393zm-119.604 91.15c-25.092.105-47.134 26.142-46.957 60.414.178 34.27 22.487 60.12 47.58 60.013 25.092-.105 47.133-26.14 46.956-60.412-.177-34.272-22.485-60.12-47.578-60.015zm190.053 84.296c-5.97-.085-11.825.86-16.946 2.87-10.125 15.2-8.244 19.567-11.067 36.418l-.71 4.25-3.758 2.11c-21.674 12.172-42.448 22.542-62.93 39.315l-3.632 2.974-4.516-1.275s-12.793-3.613-25.804-7.423c-6.506-1.905-13.063-3.858-18.168-5.455-2.553-.8-4.73-1.505-6.45-2.106-.86-.3-1.59-.567-2.318-.867-.363-.15-.72-.302-1.197-.544-.47-.238-.912-.218-2.463-1.732l-.096.1-12.922-17.024c-5.195 1.613-10.67 2.493-16.36 2.517-21.26.09-39.657-11.704-51.53-29.73-56.886 37.057-116.74 79.386-150.313 123.28l8.283 24.558 55.025-15.826 20.713 46.717c42.768-26.075 84.4-51.742 116.833-74.634-6.47-2-12.324-4.36-17.36-7.163l8.754-15.726c9.89 5.505 29.343 10.33 51.204 12.707 20.935 2.277 44.212 2.546 64.754.84 24.303-20.896 54.028-46.405 72.838-65.997 1.26-7.008 3.54-13.69 7.895-19.768l.44-.617.538-.533c3.732-3.7 8.657-6.304 13.737-6.272 5.08.032 9.018 2.307 11.968 4.506 2.687 2.002 4.914 4.12 6.993 6.09l8.677-13.134c-3.495-8.958-11.785-16.096-22.45-20.12-5.596-2.11-11.687-3.225-17.66-3.31zM36.79 381.1l-2.56 17.82c-.555-.08-.808-.126-1.085-.173.112.03.233.054.32.092.617.265 1.608.72 2.838 1.303 2.46 1.168 5.905 2.864 9.95 4.89 3.966 1.987 8.656 4.375 13.52 6.86L51.57 387.58c-2.886-1.436-5.518-2.733-7.546-3.696-1.338-.635-2.458-1.152-3.418-1.567-.96-.415-.327-.715-3.817-1.217zm68.374 21.485l-40.7 11.707.026.014-15.095 13.234c-4.943-2.555-9.69-4.996-13.698-7.024-3.356-1.698-6.226-3.125-8.427-4.18-1.1-.53-2.026-.962-2.84-1.318-.815-.356-.077-.615-3.537-1.125L18.27 431.7c-.503-.074-.715-.114-.996-.162.475.21 1.24.56 2.21 1.025 1.987.953 4.79 2.35 8.086 4.016 2.155 1.09 4.764 2.433 7.272 3.72L20.78 452.628l11.867 13.535 19.37-16.982c16.705 8.704 32.9 17.262 32.9 17.262l8.413-15.912s-12.692-6.693-26.802-14.07l15.158-13.29c18.2 9.415 34.89 18.137 34.89 18.137l8.352-15.947s-13.362-6.973-28.71-14.93zm-87.89 28.953l-.053-.025c-.395-.173-1.407-.226.054.025z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M0 0h512v512H0z"/><path fill="#fff" d="M256 27.88c-8.97 10.574-20.842 21.506-33.637 33.347-16.767 15.515-34.995 32.31-49.45 49.656-14.453 17.345-24.872 35.13-27.25 51.994-2.265 16.054 1.912 31.8 18.275 49.244h184.125c16.362-17.444 20.54-33.19 18.275-49.243-2.38-16.865-12.798-34.65-27.252-51.994-14.454-17.345-32.682-34.14-49.45-49.656C276.843 49.387 264.97 38.454 256 27.88zM32 68.12c-16 16-16 32-16 48h7v71h-7v18h7v279h18v-279h7v-18h-7v-71h7c0-16 0-32-16-48zm448 0c-16 16-16 32-16 48h7v71h-7v18h7v279h18v-279h7v-18h-7v-71h7c0-16 0-32-16-48zm-368 137c-16 16-32 32-32 48v23h64v-23c0-16-16-32-32-48zm288 0c-16 16-32 32-32 48v23h64v-23c0-16-16-32-32-48zm-231 25v14h174v-14zm0 32v222h39v-135c0-16 32-48 48-64 16 16 48 48 48 64v135h39v-222zm-96 32v190h78v-190zm288 0v190h78v-190zm-249 7s16 8.234 16 16v32H96v-32c0-7.766 16-16 16-16zm288 5.464s16 8.233 16 16v32h-32v-32c0-7.767 16-16 16-16zM112 365.12s16 8.234 16 16v32H96v-32c0-7.766 16-16 16-16zm288 0s16 8.234 16 16v32h-32v-32c0-7.766 16-16 16-16zm-288 64s16 8.234 16 16v32H96v-32c0-7.766 16-16 16-16zm288 0s16 8.234 16 16v32h-32v-32c0-7.766 16-16 16-16z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M0 0h512v512H0z"/><path fill="#fff" d="M373 20c-46.737 0-87.087 26.806-106.564 65.912L206 98l48.11 36.082c-.067 1.632-.11 3.27-.11 4.918 0 20.94 5.387 40.592 14.842 57.666l8.803-22.008 6.17-5.388 16.44-4.11C295.592 154.367 293 142.48 293 130c0-46.01 35.158-84.016 80-88.547L414 34zm105 94l-7.453 25c-4.53 44.842-42.538 80-88.547 80-12.48 0-24.367-2.59-35.16-7.256l-4.11 16.44-5.388 6.17-22.008 8.804C332.408 252.613 352.06 258 373 258c1.648 0 3.286-.043 4.918-.11L414 306l12.088-60.436C465.194 226.087 492 185.737 492 139zm-140.37 60.37l-44.984 11.245-22.492 56.23 56.23-22.49zm-84.984 30.048l-16.503 16.504 16.425 16.426 8.037-20.09c-2.877-4.122-5.54-8.406-7.96-12.84zm-44.054 14.41c-7.608.515-12.517 2.56-15.584 5.63-3.068 3.067-5.114 7.975-5.63 15.583l84.8 84.8c7.608-.515 12.516-2.563 15.584-5.63 3.067-3.07 5.114-7.977 5.63-15.585zm86.154 32.565l-20.094 8.04 16.645 16.643 16.568-16.568c-4.534-2.46-8.91-5.177-13.12-8.115zm-105.273 16.2l-21.213 21.212 55.154 55.154 21.213-21.214zm-45.254 22.626l-21.214 21.212 77.78 77.78L222 368zm-22.628 45.253L18 439.063V494h55.373l103.373-103.373z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M0 0h512v512H0z"/><path fill="#fff" d="M25.78 18v140.684c15.804 55.05 35.45 105.15 69.534 141.127 29.986 31.652 71.13 53.17 133.186 58.106-1.465-21.612-2.782-44.32-3.77-68.687-8.28 1.9-18.098 4.388-30.546 7.5l-4.368-17.46c13.796-3.45 24.812-6.15 34.26-8.112-.565-17.64-.957-36.102-1.068-55.773-24.658-2.122-51.63-6.376-86.008-12.608V208h-18v-32h18v5.81c39.205-4.887 66.136-8.12 89.102-9.67 3.264-9.885 9.035-18.425 17.01-24.765 11.33-9.01 26.565-13.45 44.077-12.875 2.5.082 5.05.267 7.64.555l7.383.822.594 7.402c.802 9.988 1.367 20.126 1.843 30.402 18.964 1.793 41.274 4.504 70.35 8.13V176h18v32h-18v-5.066c-26.533 5.123-48.64 8.784-68.684 11.082.872 20.248 2.045 41.043 4.444 62.418 3.592.882 7.386 1.826 11.424 2.836l-4.368 17.46c-1.735-.433-2.93-.728-4.568-1.138 2.71 18.324 6.478 37.062 11.902 56.242 40.524-9.445 70.1-27.748 93.098-52.023 34.084-35.977 53.73-86.076 69.533-141.126V18H325.4c2.027 10.094 3.343 20.117 3.596 29.764l-17.992.472c-.247-9.402-1.785-19.666-4.14-30.236H204.995C202.512 29.056 201 39.368 201 48h-18c0-9.32 1.253-19.484 3.355-30zm162.08 49.887c3.933-.04 7.64.68 10.935 2.092 7.532 3.227 12.568 8.657 17.568 13.657C226.363 93.637 235 103 256 103s29.637-9.363 39.637-19.363c5-5 10.036-10.43 17.568-13.658 7.532-3.23 17.21-2.836 26.82 1.97l-.004.007c5.888 2.693 10.056 8.65 10.056 15.467 0 9.282-7.718 17-17 17-8.693 0-16.01-6.77-16.906-15.252-2.246 1.778-4.84 4.224-7.807 7.19C298.363 106.363 283 121 256 121s-42.363-14.637-52.363-24.637c-2.968-2.967-5.56-5.413-7.807-7.19-.895 8.482-8.214 15.25-16.906 15.25-9.282 0-17-7.717-17-17 0-6.815 4.168-12.773 10.055-15.466l-.005-.008c4.805-2.403 9.627-3.703 14.19-4 .57-.036 1.135-.057 1.696-.063zm84.93 85.547c.27 22.19-.193 39.466 2.6 48.912 1.55 5.247 3.35 7.76 6.753 9.734 1.467.852 3.46 1.59 6.01 2.13-.92-21.412-1.5-41.967-2.825-61.53-4.22-.41-8.644.04-12.537.754zm-18.022 7.685c-.15.115-.307.227-.455.345C245.813 168.223 241 178.245 241 192v.045c-.466 92.33 4.96 159.972 9.81 223.818 20.016 4.087 36.912 7.04 51.19 9.352 13.76 2.227 24.982 3.81 34.55 5.326-35.895-71.67-44.2-138.057-47.505-197.91-6.045-.726-11.33-2.307-15.94-4.984-7.74-4.493-12.573-12.06-14.978-20.2-3.815-12.905-3.428-28.14-3.36-46.327zm-117.49 258.24c-6.108 7.06-11.408 19.73-15.366 34.786-3.253 12.375-5.668 26.162-7.873 39.854h33.308c-.47-20.78 5.12-37.688 24.004-39 71.475 12.15 148.648 12.283 207.306 30.576-.96-4.436-1.874-8.294-2.773-11.465-2.262-9.82-7.972-17.038-15.862-19.99-10.02-3.684-29.098-5.988-60.898-11.136-31.8-5.147-76.5-13.428-139.68-30.298-8.803-2.765-17.193 1.01-22.166 6.673zm-33.423 32.806c-4.966 1.588-10.514 4.09-15.714 7.324-12.333 7.672-21.705 18.87-22.072 30.05l.99 4.46h28.637c2.237-13.862 4.762-28.343 8.16-41.834zM162.328 494h190.93c-29.295-9.362-83.06-14.25-177.9-21.023-10.978.135-13.992 15.12-13.03 21.023z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M0 0h512v512H0z"/><path fill="#fff" d="M433.79 59.602c-8.94.047-20.654 3.077-34.966 9.876C295.2 62.252 170.14 77.352 86.788 103.535c-60.407-27.913-70.404-.426-42.95 36.186C10.242 239.454 24.97 340.803 60.7 413.31c-11.01 47.633 16.965 45.498 41.172 26.452 170.77 9.1 281.83-16.52 349.88-68.666 24.01 19.23 41.66-6.006 31.868-36.856 11.922-71.81-9.07-167.31-36.093-233.78 13.362-23.473 8.022-40.975-13.737-40.858zm-357.386 77.96c52.65 61.045 53.612 200.38 21.748 283.403 7.046-90.91 2.505-223.673-21.748-283.404z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M0 0h512v512H0z"/><path fill="#fff" d="M235.223 42.74c-8.67.003-17.32.527-25.252 1.49l22.995 7.374 26.06-7.204-14.904 8.266 29.183.938-31.168 1.953 7.627 4.894c12.12-1.384 25.08-4.335 39.133-9.216-2.915-1.435-6.917-2.873-11.635-4.064-11.368-2.87-26.75-4.434-42.037-4.43zm-25.452 1.512c-5.98.732-11.56 1.705-16.362 2.932-4.785 1.222-8.804 2.705-11.63 4.156 3.057 1.185 6.148 2.28 9.277 3.285l32.324-1.734zm-18.176 10.543c7.56 2.397 15.358 4.233 23.506 5.353l8.462-4.365zm40.732 2.166l-13.195 3.68c8.334.888 17.042 1.022 26.23.247zm61.553 11.56c-46.084 15.603-83.883 12.33-116.5.343v265.383c35.69 13.848 74.13 13.286 116.5-1.504.03-87.962.005-180.644 0-264.22zm26.42 162.384c-.07 0-.143.003-.214.002.998 1.19 1.976 2.432 2.94 3.723 7.82 10.48 14.66 24.324 19.845 38.66 2.266 6.26 4.196 12.576 5.693 18.76l3.472-17.605-.037.202c.346-1.993.785-3.923 1.283-5.81-2.916-10.882-7.918-20.998-13.995-27.82-5.77-6.48-11.836-9.965-18.984-10.113zm97.268 5.592c-24.834.066-43.015 13.465-47.84 41.23l-.017.102-3.814 21.336c15.8-9.586 32.307-15.674 50.56-15.127 20.85.625 43.688 7 61.058 18.172l-3.38-25.292-.01-.11c-5.358-29.38-29.49-40.086-56.556-40.312zm-105.69 13.7v83.113l19.768-6.546-.017-.086c.516-.107.265.336.983-1.34.72-1.676 1.386-5.31 1.27-10.024-.233-9.425-3.236-22.905-7.938-35.902-3.877-10.72-8.928-21.185-14.068-29.215zM159.38 266.26c-26.83 5.996-54.302 12.135-74.978 16.775-3.493.784-5.36 1.21-8.54 1.924 2.44 1.747 4.765 3.663 6.945 5.737 12.8 12.178 21.682 29.216 26.61 47.237 4.93 18.02 5.93 37.097 1.563 53.85-.805 3.094-1.827 6.122-3.058 9.044l51.46-17.035zM44.138 292.244c-.22.004-.448.026-.67.033l-.766.174c-2.258.52-4.354 1.064-3.49.818l-.187.052-.187.045c-3.245.778-5.52 2.43-7.758 5.71-2.238 3.282-4.103 8.264-5.115 14.433-2.024 12.338-.608 29.12 3.922 45.05 4.53 15.926 12.184 31.026 21.205 40.588 8.128 8.617 16.29 12.72 25.928 11.456 8.42-4.317 13.658-12.273 16.546-23.356 3.324-12.754 2.71-29.15-1.505-44.564-4.218-15.415-12.014-29.77-21.658-38.946-7.835-7.454-16.33-11.65-26.265-11.492zm371.504 9.742c-21.177-.128-41.18 6.894-55.216 22.91l-3.385 17.155c15.41-16.114 37.094-26.187 61.087-26.187 26.287 0 49.818 12.072 65.348 30.957l-2.55-19.078C465 312.387 441.15 302.724 417.92 302.027c-.76-.022-1.52-.036-2.277-.04zM38.997 315.023L57.7 343.928l13.663-21.848-6.69 29.15 27.198 15.944-24.782-4.742 10.422 27.355-17.703-26.1-12.787 20.225 5.455-27.603-25.204-14.65 24.07 5.488zm379.13 16.614c-38.096 0-68.81 30.715-68.81 68.812 0 38.096 30.714 68.81 68.81 68.81 38.098 0 68.813-30.714 68.813-68.81 0-38.098-30.716-68.813-68.813-68.813zM293.88 351.71c-40.93 13.13-80.13 14.003-116.5 1.66v40.038c35.69 14.074 74.128 13.705 116.5-.928zm124.247 24.265c13.517 0 24.475 10.957 24.475 24.474 0 13.516-10.958 24.474-24.475 24.474-13.517 0-24.475-10.958-24.475-24.475 0-13.518 10.958-24.475 24.475-24.475zm-121.23 34.488c-42.767 14.164-83.67 15-121.467 1.433l-3.157 13.618c38.888 19.18 84.998 18.925 128.79-.21z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M0 0h512v512H0z"/><path fill="#fff" d="M212.35 19.563l-23.57 47.19 48.46 65.106 60.102-39.3-.112-50.39-84.88-22.608zm-94.153 3.04l-54.62 42.58 110.32 62.264-9.47-62.586-24.892 7.824-21.338-50.082zm243.633.17l-49.43 1.31 27.137 72.308 22.293-73.615v-.002zm5.025 53.07l2.38 82.17 20.122-6.51c-.053-.027-.106-.055-.16-.08l2.694-.74 26.52-8.585 1.412-40.37v-.003l-52.967-25.88zm-336.818 1.99l-5.752 57.774 77.332-12.078L30.04 77.833h-.003zm282.412 55.622c-1.97-.015-3.94.002-5.91.053-28.67.734-57.562 8.42-84.112 23.75-7.943 4.586-15.38 9.71-22.328 15.275l8.824 16.903c7.018-5.886 14.638-11.252 22.85-15.993 5.598-3.232 11.313-6.072 17.11-8.556l38.436 37.586-3.28 66.824-51.624 21.582-75.504-18.253c.982-3.923 2.12-7.806 3.397-11.645l-18.404-3.44c-14.558 45.97-10.54 97.66 15.43 142.642 49.052 84.96 157.965 114.143 242.926 65.09 84.96-49.05 114.143-157.962 65.092-242.922-13.897-24.07-32.6-43.657-54.2-58.262l-23.343 7.556c3.88 2.123 7.68 4.406 11.385 6.858l-38.515 22.994-57.057-9.223-35.113-34.332c12.727-3.574 25.687-5.497 38.594-5.838 1.763-.046 3.526-.063 5.287-.05 12.9.09 25.7 1.758 38.12 4.916l-.557-19.218c-12.277-2.74-24.85-4.2-37.504-4.297zm-186.15 1.223L86.67 177.525l14.178 53.332 120.363 22.498-39.415-75.505-55.494-43.172zm288.97 55.996c11.98 10.34 22.6 22.64 31.347 36.77l-67.42 21.05-5.53-32.982 41.603-24.838zm-109.682 20.85l49.808 8.052 13.745 81.934-66.42-31.6 2.868-58.387zm-248.04 2.033L20.67 247.582l14.28 41.813 77.872.19-55.273-76.028zm235.255 72.332l37.068 17.633-36.04 66.075-56.238-3.63 1.525-57.634 53.686-22.445zm-139.362 5.124l67.01 16.2-1.616 61.09-47.477 18.65c-16.474-30.425-22.034-63.934-17.916-95.94zM90.61 327.82l-53.57 7.64 28.44 37.657 49.198-10.95L90.61 327.82z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M0 0h512v512H0z"/><path fill="#fff" d="M231.07 20.854c130.555 79.7 225.307 195.886 220.758 277.41-.372 6.683-1.85 12.83-3.504 18.687-11.48-92.337-130.195-218.092-279.16-290.255-4.345-2.104-8.547-3.872-12.85-5.84H20.822v7.004c32.332 6.406 67.257 16.19 103.955 30.37C287.93 121.255 421.312 237.91 423.213 318.7c.13 5.782-.565 11.256-1.752 16.353-18.234-79.442-144.166-184.84-296.097-243.533C88.457 77.262 53.27 66.962 20.823 60.566v49.64c164.214 24.05 386.08 133.882 366.142 290.648-9.53 74.94-113.13 76.27-159.742 35.17 45.327 72.98 186.19 70.605 235.703 21.09 75.81-75.81 25.19-249.297-112.717-387.202-17.778-17.776-36.23-34.278-54.9-49.058h-64.24zm7.3 236.1c-15.488.026-29.213 4.776-39.155 14.718v.002c-18.66 18.66-18.67 50.702-3.938 82.69 1.353-13.847 6.2-26.328 15.75-35.878 27.665-27.664 80.464-20.165 117.692 17.063 23.264 23.266 34.894 52.858 33.686 78.313 15.033-30.094 1.188-77.565-35.875-114.63-27.348-27.35-60.554-42.322-88.16-42.278zm16.185 63.83c-12.806.1-22.824 4.544-26.412 13.015-6.38 15.06 9.98 37.144 36.537 49.327 26.56 12.184 53.26 9.852 59.638-5.207 6.38-15.06-9.98-37.147-36.537-49.33-11.62-5.33-23.265-7.882-33.225-7.805zm-41.022 22.226c-11.47 19.105-.906 49.236 27.373 72.763 32.573 27.1 76.033 35.056 97.143 17.498 14.236-11.843 14.244-32.184 3.003-52.49-1.032 8.79-4.73 16.712-12.016 22.775-21.11 17.56-61.394 12.8-89.8-10.832-17.75-14.772-26.625-33.555-25.704-49.713z"/></svg>
|
data/spec/regression_spec.rb
CHANGED
@@ -4,7 +4,7 @@ require 'game_icons'
|
|
4
4
|
# These are tests that will change with each release, but might find brokenness as we go.
|
5
5
|
|
6
6
|
describe GameIcons do
|
7
|
-
it('has the expected number of icons') { expect(GameIcons.names.count).to eq(
|
7
|
+
it('has the expected number of icons') { expect(GameIcons.names.count).to eq(1934) }
|
8
8
|
|
9
9
|
it 'loads known svg data' do
|
10
10
|
exp = <<-EOSVG
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: game_icons
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.19.0.20150910
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Meneely
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -314,11 +314,13 @@ files:
|
|
314
314
|
- resources/icons/delapouite/originals/svg/gas-pump.svg
|
315
315
|
- resources/icons/delapouite/originals/svg/gate.svg
|
316
316
|
- resources/icons/delapouite/originals/svg/gauls-helm.svg
|
317
|
+
- resources/icons/delapouite/originals/svg/gold-mine.svg
|
317
318
|
- resources/icons/delapouite/originals/svg/gold-stack.svg
|
318
319
|
- resources/icons/delapouite/originals/svg/graduate-cap.svg
|
319
320
|
- resources/icons/delapouite/originals/svg/grass.svg
|
320
321
|
- resources/icons/delapouite/originals/svg/greaves.svg
|
321
322
|
- resources/icons/delapouite/originals/svg/greek-temple.svg
|
323
|
+
- resources/icons/delapouite/originals/svg/half-body-crawling.svg
|
322
324
|
- resources/icons/delapouite/originals/svg/hand-of-god.svg
|
323
325
|
- resources/icons/delapouite/originals/svg/hand-saw.svg
|
324
326
|
- resources/icons/delapouite/originals/svg/headphones.svg
|
@@ -339,6 +341,7 @@ files:
|
|
339
341
|
- resources/icons/delapouite/originals/svg/ice-cream-cone.svg
|
340
342
|
- resources/icons/delapouite/originals/svg/ice-pop.svg
|
341
343
|
- resources/icons/delapouite/originals/svg/igloo.svg
|
344
|
+
- resources/icons/delapouite/originals/svg/indian-palace.svg
|
342
345
|
- resources/icons/delapouite/originals/svg/invisible-face.svg
|
343
346
|
- resources/icons/delapouite/originals/svg/invisible.svg
|
344
347
|
- resources/icons/delapouite/originals/svg/ionic-column.svg
|
@@ -363,6 +366,7 @@ files:
|
|
363
366
|
- resources/icons/delapouite/originals/svg/log.svg
|
364
367
|
- resources/icons/delapouite/originals/svg/look-at.svg
|
365
368
|
- resources/icons/delapouite/originals/svg/luchador.svg
|
369
|
+
- resources/icons/delapouite/originals/svg/lunar-wand.svg
|
366
370
|
- resources/icons/delapouite/originals/svg/lungs.svg
|
367
371
|
- resources/icons/delapouite/originals/svg/magick-trick.svg
|
368
372
|
- resources/icons/delapouite/originals/svg/male.svg
|
@@ -380,6 +384,7 @@ files:
|
|
380
384
|
- resources/icons/delapouite/originals/svg/mountain-cave.svg
|
381
385
|
- resources/icons/delapouite/originals/svg/mouse.svg
|
382
386
|
- resources/icons/delapouite/originals/svg/mp5.svg
|
387
|
+
- resources/icons/delapouite/originals/svg/mute.svg
|
383
388
|
- resources/icons/delapouite/originals/svg/neck-bite.svg
|
384
389
|
- resources/icons/delapouite/originals/svg/nested-hearts.svg
|
385
390
|
- resources/icons/delapouite/originals/svg/nested-hexagons.svg
|
@@ -411,6 +416,7 @@ files:
|
|
411
416
|
- resources/icons/delapouite/originals/svg/pie-chart.svg
|
412
417
|
- resources/icons/delapouite/originals/svg/piggy-bank.svg
|
413
418
|
- resources/icons/delapouite/originals/svg/pikeman.svg
|
419
|
+
- resources/icons/delapouite/originals/svg/pillow.svg
|
414
420
|
- resources/icons/delapouite/originals/svg/pin.svg
|
415
421
|
- resources/icons/delapouite/originals/svg/pinball-flipper.svg
|
416
422
|
- resources/icons/delapouite/originals/svg/pirate-hook.svg
|
@@ -452,6 +458,7 @@ files:
|
|
452
458
|
- resources/icons/delapouite/originals/svg/shinto-shrine.svg
|
453
459
|
- resources/icons/delapouite/originals/svg/ship-wheel.svg
|
454
460
|
- resources/icons/delapouite/originals/svg/shorts.svg
|
461
|
+
- resources/icons/delapouite/originals/svg/shotgun-rounds.svg
|
455
462
|
- resources/icons/delapouite/originals/svg/sickle.svg
|
456
463
|
- resources/icons/delapouite/originals/svg/siege-tower.svg
|
457
464
|
- resources/icons/delapouite/originals/svg/skeletal-hand.svg
|
@@ -859,6 +866,7 @@ files:
|
|
859
866
|
- resources/icons/lorc/originals/svg/crowned-explosion.svg
|
860
867
|
- resources/icons/lorc/originals/svg/crowned-heart.svg
|
861
868
|
- resources/icons/lorc/originals/svg/crowned-skull.svg
|
869
|
+
- resources/icons/lorc/originals/svg/crumbling-ball.svg
|
862
870
|
- resources/icons/lorc/originals/svg/crystal-ball.svg
|
863
871
|
- resources/icons/lorc/originals/svg/crystal-bars.svg
|
864
872
|
- resources/icons/lorc/originals/svg/crystal-cluster.svg
|
@@ -1695,6 +1703,7 @@ files:
|
|
1695
1703
|
- resources/icons/lorc/originals/svg/swan-breeze.svg
|
1696
1704
|
- resources/icons/lorc/originals/svg/swan.svg
|
1697
1705
|
- resources/icons/lorc/originals/svg/swap-bag.svg
|
1706
|
+
- resources/icons/lorc/originals/svg/swirl-ring.svg
|
1698
1707
|
- resources/icons/lorc/originals/svg/swirl-string.svg
|
1699
1708
|
- resources/icons/lorc/originals/svg/sword-array.svg
|
1700
1709
|
- resources/icons/lorc/originals/svg/sword-break.svg
|
@@ -2130,7 +2139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
2130
2139
|
version: '0'
|
2131
2140
|
requirements: []
|
2132
2141
|
rubyforge_project:
|
2133
|
-
rubygems_version: 2.4.
|
2142
|
+
rubygems_version: 2.4.6
|
2134
2143
|
signing_key:
|
2135
2144
|
specification_version: 2
|
2136
2145
|
summary: Icons from game-icons.net
|
@@ -2143,4 +2152,3 @@ test_files:
|
|
2143
2152
|
- spec/optional_deps_spec.rb
|
2144
2153
|
- spec/regression_spec.rb
|
2145
2154
|
- spec/spec_helper.rb
|
2146
|
-
has_rdoc:
|