mamiya 0.3.1 → 0.3.2

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: d0b2fc242166eb187e4fef9fcb5c301ef6c89358
4
- data.tar.gz: 4bc554b225bf49a0401e8080a453a3ac26970ff9
3
+ metadata.gz: e2fb2fdd6a1a46565922f01ce57b1a8e60f0adb2
4
+ data.tar.gz: 902cdbccfb4320195e837dcb2d3f2f45d9a40c05
5
5
  SHA512:
6
- metadata.gz: f7a8c32a8d38efbcf1a7b37c41c7e171dea8868c998ac7a9efc1ac79d1f5f7e517c28382e4bf7c2390ff37058e7f77a363d52369239ea13d4563e03e148c5907
7
- data.tar.gz: a191a98e200d3f2aa307a7e2cd02849f5d9d32645620d8d2f02c24d543875b2d7cc69a01aa8365b25f567916e10b2820997d7dbdd94e86360e4e4f7b369c663f
6
+ metadata.gz: bc4305e19a32b06dbd9c3bf3c4ce35d231ae85251ab3754f267d8fd33251285fea4cd7b76c4127f3298360860228a7d3c66da6704ce444cc5f97f78a785a85ae
7
+ data.tar.gz: a83dee125f7bac4f5af2efba42a36675c1fde2193cfaee8fa5d18a3c44518b7be9a3ef5ddee4d978345bb75e5e4aa85ef6bf62da2eb70cb07e9ff34e2aac13c7
@@ -37,7 +37,7 @@ module Mamiya
37
37
 
38
38
  next_path = script.release_path.parent.join(script.current_path.basename)
39
39
  next_path.make_symlink(target.realpath)
40
- FileUtils.mv(next_path, script.current_path)
40
+ File.rename(next_path, script.current_path)
41
41
  end
42
42
 
43
43
  def release
@@ -1,3 +1,3 @@
1
1
  module Mamiya
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
@@ -157,8 +157,10 @@ describe Mamiya::Steps::Switch do
157
157
  end
158
158
 
159
159
  context "when current already exists" do
160
+ let(:previous_release_path) { releases_dir.join('20140515000707').tap(&:mkdir) }
161
+
160
162
  before do
161
- current_path.make_symlink('releases/20140515000707')
163
+ current_path.make_symlink(previous_release_path)
162
164
  end
163
165
 
164
166
  it "links current to release_path" do
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.1
4
+ version: 0.3.2
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: 2016-03-28 00:00:00.000000000 Z
11
+ date: 2016-03-30 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.2
303
+ rubygems_version: 2.5.1
304
304
  signing_key:
305
305
  specification_version: 4
306
306
  summary: Fast deploy tool using tarballs and serf