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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0489e683f1f95925dcae757caa701997e97ab6dc
4
- data.tar.gz: dc62802db6c28ef53c0433166a55678282c33202
3
+ metadata.gz: d80f9c59446f43e916976b95c7bf74c4215c86fd
4
+ data.tar.gz: a51ba746453d2b20af28793b7181dd72cde3d449
5
5
  SHA512:
6
- metadata.gz: c174badc157db9867487c84f5f054fe0d4674200ce3b72ee7ce1f67eb19d56c4a5ac534df726e8798b734d0cc35f801458ff7523afaee523605cadfb82a439b2
7
- data.tar.gz: 7ba6448327742707af1d9897d070f07a63e6e66d077c4f740211dcdaaed4d1c07d79eaa97d4fba9c5737198bdb486cd5b33011198e4461b77b44880e2a7e1fae
6
+ metadata.gz: 1f100bc1c3466a177a5e276eb45c624417a77789e9c76c08f5539cf98adfd8e88915793d6ea5f472813f1f3f4897a8229cfacbd367d0fbf3d0f08bcfe6820578
7
+ data.tar.gz: ab1dc182deee519407509ecd1d43dfd41428184a1eedc49edba067bfea13296cec341a2b1769a1925a4587f11f2c4026b6baa53df070c8762dc7e519142420f1
@@ -61,10 +61,10 @@ class Syncinator
61
61
  end
62
62
 
63
63
  def set_access_id
64
- self.access_id = rand(FIXNUM_MAX)
64
+ self.access_id ||= rand(FIXNUM_MAX)
65
65
  end
66
66
 
67
67
  def set_secret_key
68
- self.secret_key = ApiAuth.generate_secret_key
68
+ self.secret_key ||= ApiAuth.generate_secret_key
69
69
  end
70
70
  end
@@ -1,3 +1,3 @@
1
1
  module TrogdirModels
2
- VERSION = '0.6.0'
2
+ VERSION = '0.6.1'
3
3
  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.0
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-02 00:00:00.000000000 Z
11
+ date: 2014-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: api-auth