el_vfs_client 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/el_vfs_client/engine.rb +1 -7
- data/lib/el_vfs_client/version.rb +1 -1
- metadata +10 -10
data/lib/el_vfs_client/engine.rb
CHANGED
@@ -4,13 +4,7 @@ module ElVfsClient
|
|
4
4
|
engine_root = File.expand_path("../../../", __FILE__)
|
5
5
|
config.after_initialize do
|
6
6
|
require 'configliere'
|
7
|
-
Settings.define 'vfs.url', :env_var => '
|
8
|
-
if Settings['el_vfs']
|
9
|
-
Settings['vfs.url'] = "#{Settings[:el_vfs][:protocol]}://#{Settings[:el_vfs][:host]}:#{Settings[:el_vfs][:port]}"
|
10
|
-
puts
|
11
|
-
puts "!!! WARNING !!! Use vfs.host instead el_vfs.protocol, el_vfs.host, el_vfs.port."
|
12
|
-
puts
|
13
|
-
end
|
7
|
+
Settings.define 'vfs.url', :env_var => 'VFS_URL', :required => true
|
14
8
|
Settings.resolve!
|
15
9
|
end
|
16
10
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: el_vfs_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -12,11 +12,11 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2011-12-
|
15
|
+
date: 2011-12-16 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: configliere
|
19
|
-
requirement: &
|
19
|
+
requirement: &14922200 !ruby/object:Gem::Requirement
|
20
20
|
none: false
|
21
21
|
requirements:
|
22
22
|
- - ! '>='
|
@@ -24,10 +24,10 @@ dependencies:
|
|
24
24
|
version: '0'
|
25
25
|
type: :runtime
|
26
26
|
prerelease: false
|
27
|
-
version_requirements: *
|
27
|
+
version_requirements: *14922200
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: curb
|
30
|
-
requirement: &
|
30
|
+
requirement: &14921560 !ruby/object:Gem::Requirement
|
31
31
|
none: false
|
32
32
|
requirements:
|
33
33
|
- - ! '>='
|
@@ -35,10 +35,10 @@ dependencies:
|
|
35
35
|
version: '0'
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
|
-
version_requirements: *
|
38
|
+
version_requirements: *14921560
|
39
39
|
- !ruby/object:Gem::Dependency
|
40
40
|
name: uuid
|
41
|
-
requirement: &
|
41
|
+
requirement: &14920940 !ruby/object:Gem::Requirement
|
42
42
|
none: false
|
43
43
|
requirements:
|
44
44
|
- - ! '>='
|
@@ -46,10 +46,10 @@ dependencies:
|
|
46
46
|
version: '0'
|
47
47
|
type: :runtime
|
48
48
|
prerelease: false
|
49
|
-
version_requirements: *
|
49
|
+
version_requirements: *14920940
|
50
50
|
- !ruby/object:Gem::Dependency
|
51
51
|
name: rails
|
52
|
-
requirement: &
|
52
|
+
requirement: &14920220 !ruby/object:Gem::Requirement
|
53
53
|
none: false
|
54
54
|
requirements:
|
55
55
|
- - ! '>='
|
@@ -57,7 +57,7 @@ dependencies:
|
|
57
57
|
version: '0'
|
58
58
|
type: :runtime
|
59
59
|
prerelease: false
|
60
|
-
version_requirements: *
|
60
|
+
version_requirements: *14920220
|
61
61
|
description: Description of ElVfsClient.
|
62
62
|
email:
|
63
63
|
- mail@openteam.ru
|