mamiya 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mamiya/cli.rb +1 -0
- data/lib/mamiya/steps/switch.rb +3 -2
- data/lib/mamiya/version.rb +1 -1
- data/spec/steps/switch_spec.rb +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d0b2fc242166eb187e4fef9fcb5c301ef6c89358
|
4
|
+
data.tar.gz: 4bc554b225bf49a0401e8080a453a3ac26970ff9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7a8c32a8d38efbcf1a7b37c41c7e171dea8868c998ac7a9efc1ac79d1f5f7e517c28382e4bf7c2390ff37058e7f77a363d52369239ea13d4563e03e148c5907
|
7
|
+
data.tar.gz: a191a98e200d3f2aa307a7e2cd02849f5d9d32645620d8d2f02c24d543875b2d7cc69a01aa8365b25f567916e10b2820997d7dbdd94e86360e4e4f7b369c663f
|
data/lib/mamiya/cli.rb
CHANGED
data/lib/mamiya/steps/switch.rb
CHANGED
@@ -35,8 +35,9 @@ module Mamiya
|
|
35
35
|
@switched = true
|
36
36
|
script.before_switch(labels)[]
|
37
37
|
|
38
|
-
|
39
|
-
|
38
|
+
next_path = script.release_path.parent.join(script.current_path.basename)
|
39
|
+
next_path.make_symlink(target.realpath)
|
40
|
+
FileUtils.mv(next_path, script.current_path)
|
40
41
|
end
|
41
42
|
|
42
43
|
def release
|
data/lib/mamiya/version.rb
CHANGED
data/spec/steps/switch_spec.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mamiya
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shota Fukumori (sora_h)
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -300,7 +300,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
300
300
|
version: '0'
|
301
301
|
requirements: []
|
302
302
|
rubyforge_project:
|
303
|
-
rubygems_version: 2.5.
|
303
|
+
rubygems_version: 2.5.2
|
304
304
|
signing_key:
|
305
305
|
specification_version: 4
|
306
306
|
summary: Fast deploy tool using tarballs and serf
|