agilibox 1.5.2 → 1.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/app/helpers/agilibox/font_awesome_helper.rb +12 -2
- data/lib/agilibox/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eed2492d572a37237541595041a3361e816e1e876c450c7851bde6e1eddb06b4
|
4
|
+
data.tar.gz: 74bf7d7f345b10ea0b79f0d3f28b6f54365887aba5d5e8de73859bc24d4b2e4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50dcd18b1d21c3eb7d5a21584ed00e9bf2aef7b9180921514b85489299664d51539b306073a8b9aee4195df1dd7c2b5db0efb0746d94d153de87fcb2168b6f1b
|
7
|
+
data.tar.gz: e74c60b4a6cbb182c17a74b44c9a88ae9ead35d59dabf408a46a7f64996a13711d4bf83c1b163f192da3a9f2e088798cc73b31187563bd10000aff70727c1e25
|
data/CHANGELOG.md
CHANGED
@@ -32,10 +32,20 @@ module Agilibox::FontAwesomeHelper
|
|
32
32
|
File.read(database_path)
|
33
33
|
end
|
34
34
|
|
35
|
+
def database_url
|
36
|
+
short_version = version[0, 5]
|
37
|
+
url = "https://raw.githubusercontent.com/FortAwesome/Font-Awesome/#{short_version}/metadata/icons.yml"
|
38
|
+
|
39
|
+
if short_version < "5.6.0"
|
40
|
+
url = url.gsub("/metadata", "/advanced-options/metadata")
|
41
|
+
end
|
42
|
+
|
43
|
+
url
|
44
|
+
end
|
45
|
+
|
35
46
|
def download_database!
|
36
47
|
require "open-uri"
|
37
|
-
|
38
|
-
data = URI.parse(url).open.read
|
48
|
+
data = URI.parse(database_url).open.read
|
39
49
|
File.write(database_path, data)
|
40
50
|
end
|
41
51
|
|
data/lib/agilibox/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: agilibox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- agilidée
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails-i18n
|
@@ -211,8 +211,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
211
211
|
- !ruby/object:Gem::Version
|
212
212
|
version: '0'
|
213
213
|
requirements: []
|
214
|
-
|
215
|
-
rubygems_version: 2.7.6
|
214
|
+
rubygems_version: 3.0.1
|
216
215
|
signing_key:
|
217
216
|
specification_version: 4
|
218
217
|
summary: Agilibox
|