vx-router 0.2.0.pre34 → 0.2.0.pre35
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vx/router/script_builder/webdav_cache.rb +4 -3
- data/lib/vx/router/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8886fc381bb807011458b4199d08188325684265
|
4
|
+
data.tar.gz: 186b81abf1c2565828850242e14c8c189ebf34f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07d5ddafce68cbd232f79aeb5df0387df40dc42fd3d10d8297ea3e43cb29d5d59d997d95b330fd91e76cefdb90d730be278199808f9f821686ba784b16ed84d3
|
7
|
+
data.tar.gz: 9fbe393a0b630a6bde5d369b28292df35f2a17b0f51833248af0b5e1474c231eb212a43d543579e0c7c66b0785162932b1f0d32f02671039e93d968e067b9d44
|
@@ -9,6 +9,7 @@ module Vx
|
|
9
9
|
|
10
10
|
CASHER_URL = "https://raw.github.com/travis-ci/casher/production/bin/casher"
|
11
11
|
CASHER_BIN = "$HOME/.casher/bin/casher"
|
12
|
+
CASHER_CMD = "/usr/local/rbenv/versions/1.9.3-p484/bin/ruby #{CASHER_BIN}"
|
12
13
|
|
13
14
|
def call(env)
|
14
15
|
rs = app.call env
|
@@ -60,17 +61,17 @@ module Vx
|
|
60
61
|
|
61
62
|
def fetch(env)
|
62
63
|
urls = env.webdav_fetch_url.join(" ")
|
63
|
-
env.init << "#{
|
64
|
+
env.init << "#{CASHER_CMD} fetch #{urls} || true"
|
64
65
|
end
|
65
66
|
|
66
67
|
def add(env)
|
67
|
-
env.init << "#{
|
68
|
+
env.init << "#{CASHER_CMD} add $HOME/cached || true"
|
68
69
|
env.init << "unset CASHER_DIR"
|
69
70
|
end
|
70
71
|
|
71
72
|
def push(env)
|
72
73
|
if env.webdav_push_url
|
73
|
-
env.after_script << "#{
|
74
|
+
env.after_script << "#{CASHER_CMD} push #{env.webdav_push_url}"
|
74
75
|
end
|
75
76
|
end
|
76
77
|
|
data/lib/vx/router/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vx-router
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.0.
|
4
|
+
version: 0.2.0.pre35
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitry Galinsky
|
@@ -16,42 +16,42 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.2.0.
|
19
|
+
version: 0.2.0.pre35
|
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.2.0.
|
26
|
+
version: 0.2.0.pre35
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: vx-message
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.2.0.
|
33
|
+
version: 0.2.0.pre35
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.2.0.
|
40
|
+
version: 0.2.0.pre35
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: vx-build_configuration
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.2.0.
|
47
|
+
version: 0.2.0.pre35
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.2.0.
|
54
|
+
version: 0.2.0.pre35
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: vx-common-amqp
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|