trogdir_models 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/trogdir/syncinator.rb +2 -2
- data/lib/trogdir_models/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d80f9c59446f43e916976b95c7bf74c4215c86fd
|
4
|
+
data.tar.gz: a51ba746453d2b20af28793b7181dd72cde3d449
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f100bc1c3466a177a5e276eb45c624417a77789e9c76c08f5539cf98adfd8e88915793d6ea5f472813f1f3f4897a8229cfacbd367d0fbf3d0f08bcfe6820578
|
7
|
+
data.tar.gz: ab1dc182deee519407509ecd1d43dfd41428184a1eedc49edba067bfea13296cec341a2b1769a1925a4587f11f2c4026b6baa53df070c8762dc7e519142420f1
|
data/lib/trogdir/syncinator.rb
CHANGED
@@ -61,10 +61,10 @@ class Syncinator
|
|
61
61
|
end
|
62
62
|
|
63
63
|
def set_access_id
|
64
|
-
self.access_id
|
64
|
+
self.access_id ||= rand(FIXNUM_MAX)
|
65
65
|
end
|
66
66
|
|
67
67
|
def set_secret_key
|
68
|
-
self.secret_key
|
68
|
+
self.secret_key ||= ApiAuth.generate_secret_key
|
69
69
|
end
|
70
70
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trogdir_models
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Crownoble
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-04-
|
11
|
+
date: 2014-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: api-auth
|