appfuel 0.5.14 → 0.5.15

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: 001ecce1b932eb84109ac394d05ff1a9941ec467
4
- data.tar.gz: 0b55e7ccfd6d47d1c35f9e89e74efb0bc8b12271
3
+ metadata.gz: c7dd127470787baf44c405782ccf35a64c242ce9
4
+ data.tar.gz: 3d3b25b39850374c5533285e3c9193b266927539
5
5
  SHA512:
6
- metadata.gz: 62d4deab514be13241cf5e13fbaba9edaf50ab12d495035152d8777687c6732af05c01a176ef058957982cd1b5dcd3af91e68fd6514fd6ea8d7ae583617938fa
7
- data.tar.gz: 96a738ea97c206ed3539596b431b4b9e0851bd8248746e5728e7dc157f03de5a5dc1b37e51d4cca2a083d046e0f7895723ccf4e176cc54fcf2139df44f43566c
6
+ metadata.gz: b4f782e4b651c7783a458bc6275e0a1dcb2726e8a0cb3cd19e7c7be4c11abf0a3b16cc35490a376150528e0e957b2f3c30e9734cd730e223777ace5bad5c709c
7
+ data.tar.gz: fd4454e63190bc593c41b33951c133ec086870a4166a30f31f8dc5dd1797a55160e88606b8d827fe1983059c2fb7ac357983d5a89384aa0e9f7fa024e22d0501
data/CHANGELOG.md CHANGED
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. (Pending ap
5
5
 
6
6
 
7
7
  # Releases
8
+ ## [[0.5.15]](https://github.com/rsb/appfuel/releases/tag/0.5.15) 2017-08-08
9
+ ### Added
10
+ - added url_token to base repo
11
+
8
12
  ## [[0.5.14]](https://github.com/rsb/appfuel/releases/tag/0.5.14) 2017-08-01
9
13
  ### Fixed
10
14
  - fixed incorrect undefined check inside entity
@@ -243,6 +243,11 @@ module Appfuel
243
243
  SecureRandom.uuid
244
244
  end
245
245
 
246
+ def url_token(nbr = 32)
247
+ nbr = Integer(nbr)
248
+ SecureRandom.urlsafe_base64(nbr)
249
+ end
250
+
246
251
  private
247
252
  def method_not_implemented_error
248
253
  fail "must be implemented by a storage specific repository"
@@ -1,3 +1,3 @@
1
1
  module Appfuel
2
- VERSION = "0.5.14"
2
+ VERSION = "0.5.15"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appfuel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.14
4
+ version: 0.5.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Scott-Buccleuch
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-08-01 00:00:00.000000000 Z
11
+ date: 2017-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord