promethee 1.6.2 → 1.6.3

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
  SHA1:
3
- metadata.gz: a5f754567c4af7441755181e8f6e6a13b4ea1c22
4
- data.tar.gz: 2056bc3a56887d62edab46d2c0661452f7b9e99d
3
+ metadata.gz: 88e670ed922b083db5aabbeebd70046cc1b57274
4
+ data.tar.gz: a9aa719bdac754cb3ff36ebd2bb1c29abde4b767
5
5
  SHA512:
6
- metadata.gz: 346e777eddfa53be7e94cbcec9ff95d8b71f01fc8f5502abffd5508be8bf098e4aaa390e883e82fcf8e4acd370445b22337b11802720b529d2d639750e278201
7
- data.tar.gz: e963a757b0373109dbbbb0cfa522ae24947c9b8e402f54e659611675f480bada630c0df3c50378c39c06919b5aa7b054c575ba4e060ae322ad7c8177c2c9a30f
6
+ metadata.gz: 0ad69d98631d51810cf166c20016bece6f8ab32da85e44ad7d6933bb7e4df27aa1b8ade2bf33db2f31961f7c51c36d97ed8473866304a59c0500f3f2f82df38d
7
+ data.tar.gz: c6f75b1ae9c5c331ddca3e0ae0bbc00cf86427b4f31788123cc51f193dd75dc44869b5b909c2f549a2aaeb81d3ccc116fde7b6a571a36bd679cd612ba1de66ed
data/README.md CHANGED
@@ -314,6 +314,7 @@ This would do quite the same thing:
314
314
  ## Active Storage
315
315
 
316
316
  Prométhée works natively with Active Storage.
317
+
317
318
  [https://github.com/rails/rails/tree/master/activestorage](Configure it properly.)
318
319
 
319
320
  ## Database
@@ -4,12 +4,14 @@
4
4
  promethee.provider('identifier', function() {
5
5
  this.$get = function() {
6
6
  return {
7
- // https://gist.github.com/gordonbrander/2230317
8
7
  generate: function() {
9
- // Math.random should be unique because of its seeding algorithm.
10
- // Convert it to base 36 (numbers + letters), and grab the first 9 characters
11
- // after the decimal.
12
- return '' + Math.random().toString(36).substr(2, 9);
8
+ // https://stackoverflow.com/questions/105034/create-guid-uuid-in-javascript
9
+ function s4() {
10
+ return Math.floor((1 + Math.random()) * 0x10000)
11
+ .toString(16)
12
+ .substring(1);
13
+ }
14
+ return s4() + s4() + '-' + s4() + '-' + s4() + '-' + s4() + '-' + s4() + s4() + s4();
13
15
  }
14
16
  };
15
17
  };
@@ -1,5 +1,5 @@
1
1
  module Promethee
2
2
  module Rails
3
- VERSION = '1.6.2'
3
+ VERSION = '1.6.3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: promethee
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.2
4
+ version: 1.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien Dargelos
@@ -359,7 +359,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
359
359
  version: '0'
360
360
  requirements: []
361
361
  rubyforge_project:
362
- rubygems_version: 2.6.11
362
+ rubygems_version: 2.6.13
363
363
  signing_key:
364
364
  specification_version: 4
365
365
  summary: Bring fire to your page