agilibox 1.3.5 → 1.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/app/helpers/agilibox/font_awesome_helper.rb +1 -1
- data/app/libs/agilibox/sortable_uuid_generator.rb +0 -5
- data/app/models/concerns/agilibox/active_record_uuid_concern.rb +4 -2
- data/app/models/concerns/agilibox/default_values_concern.rb +1 -1
- data/db/migrate/20000101000000_enable_agilibox_extensions.rb +7 -0
- data/lib/agilibox/version.rb +1 -1
- metadata +2 -2
- data/db/migrate/20170502143330_enable_unaccent.rb +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f15e9e0b1db8b6b6735af5aa25e30390bfecbc8556c1f3a460e123335dde463
|
4
|
+
data.tar.gz: 1bacaf3648533dfc130a0a77256e5a11c1583aaec0d2c5299a1a85cba862c7ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b03b38d3f15eed681d0cb69e8d620acaa1b95b900233a42ad4f2b7bc46d98600162baefc077af9f69c875b6c426a7a3ac0671afda9cefde23e2c67ec199aa24
|
7
|
+
data.tar.gz: 469426483f126c9fc06f475799e741bcde20e9e64d7cf3e2a7c7239681efa3add46a9c251f2d2d9e9da7662e35c135bf410a89872f4436833e33680f8d30ffdf
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,13 @@
|
|
2
2
|
|
3
3
|
## Next version
|
4
4
|
|
5
|
+
## 1.3.6
|
6
|
+
|
7
|
+
- Remove deprecated `Agilibox::SortableUUIDGenerator::generate`
|
8
|
+
- `Agilibox::ActiveRecordUUIDConcern` improvements
|
9
|
+
- `Agilibox::DefaultValuesConcern` improvements
|
10
|
+
- Fix FontAwesome version error
|
11
|
+
|
5
12
|
## 1.3.5
|
6
13
|
|
7
14
|
- Add `Agilibox::Monkey`
|
@@ -34,7 +34,7 @@ module Agilibox::FontAwesomeHelper
|
|
34
34
|
|
35
35
|
def download_database!
|
36
36
|
require "open-uri"
|
37
|
-
url = "https://raw.githubusercontent.com/FortAwesome/Font-Awesome/
|
37
|
+
url = "https://raw.githubusercontent.com/FortAwesome/Font-Awesome/#{FontAwesome::Sass::VERSION}/advanced-options/metadata/icons.yml"
|
38
38
|
data = URI.parse(url).open.read
|
39
39
|
File.write(database_path, data)
|
40
40
|
end
|
@@ -4,9 +4,11 @@ module Agilibox::ActiveRecordUUIDConcern
|
|
4
4
|
private
|
5
5
|
|
6
6
|
def assign_default_uuid
|
7
|
-
|
8
|
-
|
7
|
+
unless self.class.columns_hash["id"].type == :uuid
|
8
|
+
raise "invalid id type, please change to uuid"
|
9
9
|
end
|
10
|
+
|
11
|
+
self.id ||= ::Agilibox::SortableUUIDGenerator.call
|
10
12
|
end
|
11
13
|
|
12
14
|
included do
|
data/lib/agilibox/version.rb
CHANGED
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.3.
|
4
|
+
version: 1.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- agilidée
|
@@ -150,7 +150,7 @@ files:
|
|
150
150
|
- config/locales/errors.en.yml
|
151
151
|
- config/locales/errors.fr.yml
|
152
152
|
- config/routes.rb
|
153
|
-
- db/migrate/
|
153
|
+
- db/migrate/20000101000000_enable_agilibox_extensions.rb
|
154
154
|
- lib/agilibox.rb
|
155
155
|
- lib/agilibox/active_model_custom_error_messages.rb
|
156
156
|
- lib/agilibox/active_record_comma_type_cast.rb
|