agilibox 1.7.1 → 1.7.2

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: e323dea09fac60c352928fb6c380ad3be2e34354b1e03180410a7b79d5161f9e
4
- data.tar.gz: 19346ccc2265f0a0ecbb0837044b6c6dcec482fd8df7f9bc76ff51c7758b0d1c
3
+ metadata.gz: 82f003a923d98f8dcb155878247c2600d8e4523e37a05ca2c49ba0ccf03a5b4c
4
+ data.tar.gz: 0b8bb2a5857011d4499bc28abffef7d0bba70423d864a7b3dc786e2512008c40
5
5
  SHA512:
6
- metadata.gz: d54bbfaceec06018247e07598fb7a8838bf6efd481549609adad0a122cd60e6213567e1aa98694bb9276906a1b8bfe6654c9d8fcf1949bfdf96fe2d9df37d98f
7
- data.tar.gz: 84fb191f41e2434143938c56f1f657cfc374d5da79785e5d125f9882b7307e7527ebe62f9de2d02e8fe051cb9c1e9d27f85e5e73dec5afc33a3c943c2952fd58
6
+ metadata.gz: 42262402c421a72a5d2f05c7fa70443d734ffa752fcf05de48bc98c69dd811e03b6f8c226d82f04e4d23ae16ed32c8625a28655342154f92fae0a1c21d70e28e
7
+ data.tar.gz: 749d1f2507d356401b719c8a707c95c3c5f921e51cf0c0276c1bc25230508060a96bbfe54793da2966d0761d35411a6350749d9f90e8b328568b0be1d79d1259
@@ -2,6 +2,9 @@
2
2
 
3
3
  ## Next version
4
4
 
5
+ ## 1.7.2
6
+ - Fix FontAwesome helper
7
+
5
8
  ## 1.7.1
6
9
  - Cuprite : improve config + increase timeout
7
10
 
@@ -35,10 +35,10 @@ module Agilibox::FontAwesomeHelper
35
35
  end
36
36
 
37
37
  def database_url
38
- short_version = version[0, 5]
38
+ short_version = version.split(".")[0, 3].join(".") # 1.20.14.2 => 1.20.14
39
39
  url = "https://raw.githubusercontent.com/FortAwesome/Font-Awesome/#{short_version}/metadata/icons.yml"
40
40
 
41
- if short_version < "5.6.0"
41
+ if Gem::Version.new(short_version) < Gem::Version.new("5.6.0")
42
42
  url = url.gsub("/metadata", "/advanced-options/metadata")
43
43
  end
44
44
 
@@ -1,3 +1,3 @@
1
1
  module Agilibox
2
- VERSION = "1.7.1"
2
+ VERSION = "1.7.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: agilibox
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.1
4
+ version: 1.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - agilidée