slicecraft 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/config.yml +2 -2
- data/spec/lib/slicecraft_spec.rb +6 -6
- metadata +6 -6
data/config.yml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
server:
|
2
2
|
url: preview.slicecraft.com
|
3
3
|
user: slicecraft
|
4
|
-
preview_path: /home/slicecraft
|
4
|
+
preview_path: /home/preview.slicecraft.com
|
5
5
|
result_url: http://preview.slicecraft.com
|
6
6
|
|
7
|
-
template_repo: git@
|
7
|
+
template_repo: git@bitbucket.org:roytomeij/slicecraft-template.git
|
data/spec/lib/slicecraft_spec.rb
CHANGED
@@ -34,10 +34,10 @@ describe Slicecraft::Syncer do
|
|
34
34
|
|
35
35
|
it "should have settings" do
|
36
36
|
syncer.settings.should == {
|
37
|
-
"url" => "slicecraft.
|
37
|
+
"url" => "preview.slicecraft.com",
|
38
38
|
"user" => "slicecraft",
|
39
|
-
"preview_path" => "/home/slicecraft
|
40
|
-
"result_url" => "http://preview.slicecraft.
|
39
|
+
"preview_path" => "/home/preview.slicecraft.com",
|
40
|
+
"result_url" => "http://preview.slicecraft.com"
|
41
41
|
}
|
42
42
|
end
|
43
43
|
|
@@ -72,7 +72,7 @@ describe Slicecraft::Syncer do
|
|
72
72
|
context "#result_url" do
|
73
73
|
|
74
74
|
it "should return the correct result_url" do
|
75
|
-
syncer.result_url.should == "http://preview.slicecraft.
|
75
|
+
syncer.result_url.should == "http://preview.slicecraft.com/slice_this_240999fa70d7f05b158bd1170ff932ac0503bea2"
|
76
76
|
end
|
77
77
|
|
78
78
|
end
|
@@ -95,7 +95,7 @@ describe Slicecraft::Preview do
|
|
95
95
|
|
96
96
|
it "should process the preview" do
|
97
97
|
preview.should_receive(:system).
|
98
|
-
with("rsync -ave ssh /slice_this/build/ slicecraft@slicecraft.
|
98
|
+
with("rsync -ave ssh /slice_this/build/ slicecraft@preview.slicecraft.com:/home/preview.slicecraft.com/slice_this_240999fa70d7f05b158bd1170ff932ac0503bea2")
|
99
99
|
|
100
100
|
preview.process
|
101
101
|
end
|
@@ -120,7 +120,7 @@ describe Slicecraft::Delivery do
|
|
120
120
|
|
121
121
|
it "should sync the zip" do
|
122
122
|
delivery.should_receive(:system).
|
123
|
-
with("rsync -ave ssh /slice_this/zip/ slicecraft@slicecraft.
|
123
|
+
with("rsync -ave ssh /slice_this/zip/ slicecraft@preview.slicecraft.com:/home/preview.slicecraft.com/slice_this_240999fa70d7f05b158bd1170ff932ac0503bea2/zip")
|
124
124
|
|
125
125
|
delivery.sync
|
126
126
|
end
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slicecraft
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
|
-
-
|
8
|
+
- Roy Tomeij
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-09-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: commander
|
@@ -92,7 +92,7 @@ dependencies:
|
|
92
92
|
- !ruby/object:Gem::Version
|
93
93
|
version: '0'
|
94
94
|
description: A commandline tool specific for the SliceCraft project flow
|
95
|
-
email:
|
95
|
+
email: contact@roytomeij.com
|
96
96
|
executables:
|
97
97
|
- slicecraft
|
98
98
|
extensions: []
|
@@ -103,7 +103,7 @@ files:
|
|
103
103
|
- bin/slicecraft
|
104
104
|
- README.md
|
105
105
|
- config.yml
|
106
|
-
homepage: http://
|
106
|
+
homepage: http://roytomeij.com/
|
107
107
|
licenses: []
|
108
108
|
post_install_message:
|
109
109
|
rdoc_options: []
|
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
123
123
|
version: '0'
|
124
124
|
requirements: []
|
125
125
|
rubyforge_project:
|
126
|
-
rubygems_version: 1.8.
|
126
|
+
rubygems_version: 1.8.24
|
127
127
|
signing_key:
|
128
128
|
specification_version: 3
|
129
129
|
summary: Internal tool for SliceCraft
|