qedproject 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/qedproject/version.rb +1 -1
- data/templates/Rakefile +9 -3
- metadata +62 -20
data/lib/qedproject/version.rb
CHANGED
data/templates/Rakefile
CHANGED
@@ -2,7 +2,11 @@ SERVER = "yourhost.com"
|
|
2
2
|
USERNAME = "yourusername"
|
3
3
|
REMOTE_FOLDER = "/home/#{USERNAME}/yourhost.com"
|
4
4
|
|
5
|
+
PORT = 22
|
6
|
+
|
5
7
|
require 'net/scp'
|
8
|
+
require 'net/sftp'
|
9
|
+
require 'net/ssh'
|
6
10
|
|
7
11
|
<% if self.needs_guardfile? -%>
|
8
12
|
desc "compile CSS, js files"
|
@@ -19,7 +23,9 @@ task :deploy => :compile do
|
|
19
23
|
<% else -%>
|
20
24
|
task :deploy do
|
21
25
|
<% end -%>
|
22
|
-
Net::
|
23
|
-
|
26
|
+
Net::SSH.start(SERVER, USERNAME, {:port => PORT} ) do |ssh|
|
27
|
+
ssh.sftp.rmdir File.join(REMOTE_FOLDER, "public")
|
28
|
+
ssh.scp.upload! "public", REMOTE_FOLDER, :recursive => true
|
24
29
|
end
|
25
|
-
end
|
30
|
+
end
|
31
|
+
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qedproject
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Brian P. Hogan
|
@@ -15,13 +15,55 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-10-
|
18
|
+
date: 2011-10-09 00:00:00 -05:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
|
-
name:
|
22
|
+
name: net-ssh
|
23
23
|
prerelease: false
|
24
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 3
|
30
|
+
segments:
|
31
|
+
- 0
|
32
|
+
version: "0"
|
33
|
+
type: :runtime
|
34
|
+
version_requirements: *id001
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: net-sftp
|
37
|
+
prerelease: false
|
38
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
hash: 3
|
44
|
+
segments:
|
45
|
+
- 0
|
46
|
+
version: "0"
|
47
|
+
type: :runtime
|
48
|
+
version_requirements: *id002
|
49
|
+
- !ruby/object:Gem::Dependency
|
50
|
+
name: net-scp
|
51
|
+
prerelease: false
|
52
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
53
|
+
none: false
|
54
|
+
requirements:
|
55
|
+
- - ">="
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
hash: 3
|
58
|
+
segments:
|
59
|
+
- 0
|
60
|
+
version: "0"
|
61
|
+
type: :runtime
|
62
|
+
version_requirements: *id003
|
63
|
+
- !ruby/object:Gem::Dependency
|
64
|
+
name: coffee-script
|
65
|
+
prerelease: false
|
66
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
25
67
|
none: false
|
26
68
|
requirements:
|
27
69
|
- - ">="
|
@@ -33,11 +75,11 @@ dependencies:
|
|
33
75
|
- 0
|
34
76
|
version: 2.2.0
|
35
77
|
type: :runtime
|
36
|
-
version_requirements: *
|
78
|
+
version_requirements: *id004
|
37
79
|
- !ruby/object:Gem::Dependency
|
38
80
|
name: sass
|
39
81
|
prerelease: false
|
40
|
-
requirement: &
|
82
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
41
83
|
none: false
|
42
84
|
requirements:
|
43
85
|
- - ">="
|
@@ -49,11 +91,11 @@ dependencies:
|
|
49
91
|
- 8
|
50
92
|
version: 3.1.8
|
51
93
|
type: :runtime
|
52
|
-
version_requirements: *
|
94
|
+
version_requirements: *id005
|
53
95
|
- !ruby/object:Gem::Dependency
|
54
96
|
name: jammit
|
55
97
|
prerelease: false
|
56
|
-
requirement: &
|
98
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
57
99
|
none: false
|
58
100
|
requirements:
|
59
101
|
- - ">="
|
@@ -65,11 +107,11 @@ dependencies:
|
|
65
107
|
- 3
|
66
108
|
version: 0.6.3
|
67
109
|
type: :runtime
|
68
|
-
version_requirements: *
|
110
|
+
version_requirements: *id006
|
69
111
|
- !ruby/object:Gem::Dependency
|
70
112
|
name: rake
|
71
113
|
prerelease: false
|
72
|
-
requirement: &
|
114
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
73
115
|
none: false
|
74
116
|
requirements:
|
75
117
|
- - ">="
|
@@ -81,11 +123,11 @@ dependencies:
|
|
81
123
|
- 7
|
82
124
|
version: 0.8.7
|
83
125
|
type: :runtime
|
84
|
-
version_requirements: *
|
126
|
+
version_requirements: *id007
|
85
127
|
- !ruby/object:Gem::Dependency
|
86
128
|
name: guard
|
87
129
|
prerelease: false
|
88
|
-
requirement: &
|
130
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
89
131
|
none: false
|
90
132
|
requirements:
|
91
133
|
- - ">="
|
@@ -97,11 +139,11 @@ dependencies:
|
|
97
139
|
- 0
|
98
140
|
version: 0.8.0
|
99
141
|
type: :runtime
|
100
|
-
version_requirements: *
|
142
|
+
version_requirements: *id008
|
101
143
|
- !ruby/object:Gem::Dependency
|
102
144
|
name: guard-jammit
|
103
145
|
prerelease: false
|
104
|
-
requirement: &
|
146
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
105
147
|
none: false
|
106
148
|
requirements:
|
107
149
|
- - ">="
|
@@ -113,11 +155,11 @@ dependencies:
|
|
113
155
|
- 0
|
114
156
|
version: 0.2.0
|
115
157
|
type: :runtime
|
116
|
-
version_requirements: *
|
158
|
+
version_requirements: *id009
|
117
159
|
- !ruby/object:Gem::Dependency
|
118
160
|
name: guard-coffeescript
|
119
161
|
prerelease: false
|
120
|
-
requirement: &
|
162
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
121
163
|
none: false
|
122
164
|
requirements:
|
123
165
|
- - ">="
|
@@ -129,11 +171,11 @@ dependencies:
|
|
129
171
|
- 2
|
130
172
|
version: 0.5.2
|
131
173
|
type: :runtime
|
132
|
-
version_requirements: *
|
174
|
+
version_requirements: *id010
|
133
175
|
- !ruby/object:Gem::Dependency
|
134
176
|
name: guard-sass
|
135
177
|
prerelease: false
|
136
|
-
requirement: &
|
178
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
137
179
|
none: false
|
138
180
|
requirements:
|
139
181
|
- - ">="
|
@@ -145,7 +187,7 @@ dependencies:
|
|
145
187
|
- 0
|
146
188
|
version: 0.5.0
|
147
189
|
type: :runtime
|
148
|
-
version_requirements: *
|
190
|
+
version_requirements: *id011
|
149
191
|
description: "Creates a web development project with support for CoffeeScript and Sass, with support for Backbone, Knockout, and more. "
|
150
192
|
email:
|
151
193
|
- brianhogan@napcs.com
|