volt-user-templates 0.0.3 → 0.0.4

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: 35b55f0963702bee1d10455188c64cf7f8be47b3
4
- data.tar.gz: 6474fbc54a9f277e15181b99db975e29823083c5
3
+ metadata.gz: ccde30c2d9bb255e483768ad5ae9acab1efbc603
4
+ data.tar.gz: f691ab5d2195ad4b5b5ada0440cc1c1b85fed0bb
5
5
  SHA512:
6
- metadata.gz: cd64216f5950cd6e88114cfb125987acd4663d94f33198529228303e5cc5c3eee6de76d0fc9ff3adf1360b3f155aaef5e5aa6f23d65f71b828b854571cde05a5
7
- data.tar.gz: e5a6955824833d60a47bc71417851ab9406ed465f7c0f3cdc37cf0674e4d16e4905b131c3abd46fd413af6b848d6c6f4de2fd0828d5d69b5263f29ac300a21ea
6
+ metadata.gz: c397846daa28231c240443843e088697ad4420436ebe26555b9b939d88200fc2b280ced58f5797bc55e7a7e3b26788c7f5dbad058a6572432b8df484273bfa5e
7
+ data.tar.gz: 1ca32f9d08cf93ce2fae53ce3c03ffe8eea0caf63bf74117d463f0fd761a9e36798e09ae3aa025f8733f16d881c08b5138377470ffe1e5061af591c7c6871dfd
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.3
1
+ 0.0.4
@@ -21,8 +21,7 @@ module UserTemplates
21
21
  end
22
22
 
23
23
  def use_username?
24
- auth = Volt.config.auth
25
- auth && auth.use_username
24
+ Volt.config.public.try(:auth).try(:use_username)
26
25
  end
27
26
 
28
27
  end
@@ -28,8 +28,7 @@ module UserTemplates
28
28
  end
29
29
 
30
30
  def use_username?
31
- auth = Volt.config.auth
32
- auth && auth.use_username
31
+ Volt.config.public.try(:auth).try(:use_username)
33
32
  end
34
33
 
35
34
  end
@@ -19,6 +19,6 @@ Gem::Specification.new do |spec|
19
19
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
20
20
  spec.require_paths = ["lib"]
21
21
 
22
- spec.add_dependency "volt-fields", "~> 0.0.10"
22
+ spec.add_dependency "volt-fields", "~> 0.0.11"
23
23
  spec.add_development_dependency "rake"
24
24
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: volt-user-templates
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Stout
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-09 00:00:00.000000000 Z
11
+ date: 2014-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: volt-fields
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.0.10
19
+ version: 0.0.11
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.0.10
26
+ version: 0.0.11
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement