kalipso 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/kalipso.gemspec +3 -3
- data/lib/kalipso/cli.rb +2 -2
- data/lib/kalipso/cli_init.rb +1 -1
- metadata +45 -45
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.8
|
data/kalipso.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{kalipso}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.8"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Paul Campbell"]
|
12
|
-
s.date = %q{2011-
|
12
|
+
s.date = %q{2011-02-09}
|
13
13
|
s.default_executable = %q{kalipso}
|
14
14
|
s.description = %q{A full library for interactiing with your sites using kalipso}
|
15
15
|
s.email = %q{paul@rslw.com}
|
@@ -37,7 +37,7 @@ Gem::Specification.new do |s|
|
|
37
37
|
s.homepage = %q{http://github.com/paulca/kalipso}
|
38
38
|
s.licenses = ["MIT"]
|
39
39
|
s.require_paths = ["lib"]
|
40
|
-
s.rubygems_version = %q{1.
|
40
|
+
s.rubygems_version = %q{1.5.0}
|
41
41
|
s.summary = %q{Client library and command line client for kalipso}
|
42
42
|
s.test_files = [
|
43
43
|
"spec/kalipso_spec.rb",
|
data/lib/kalipso/cli.rb
CHANGED
@@ -114,7 +114,7 @@ module Kalipso
|
|
114
114
|
local_site.name = site.name
|
115
115
|
local_site.path = path
|
116
116
|
local_site.save
|
117
|
-
`rsync -arvH -e "ssh -i #{Jaysus::Local.store_dir.join('keys', 'id_rsa')}" sites@
|
117
|
+
`rsync -arvH -e "ssh -i #{Jaysus::Local.store_dir.join('keys', 'id_rsa')}" sites@calypsoapp.com:/home/sites/#{site.name}/ #{path.gsub(/\/+$/, '')}/`
|
118
118
|
puts "Site #{name} downloaded to #{path.gsub(/\/+$/, '')}"
|
119
119
|
else
|
120
120
|
"Site #{name} not found. Maybe try 'kalipso sync'"
|
@@ -135,7 +135,7 @@ module Kalipso
|
|
135
135
|
puts "uploading #{name} from #{path}"
|
136
136
|
if site.path.present?
|
137
137
|
puts "uploading #{site.path} to #{site.name}.oncalypso.com"
|
138
|
-
command = %Q[rsync -arvH -e "ssh -i #{Jaysus::Local.store_dir.join('keys', 'id_rsa')}" #{site.path.gsub(/\/+$/, '')}/ sites@
|
138
|
+
command = %Q[rsync -arvH -e "ssh -i #{Jaysus::Local.store_dir.join('keys', 'id_rsa')}" #{site.path.gsub(/\/+$/, '')}/ sites@calypsoapp.com:/home/sites/#{site.name}]
|
139
139
|
`#{command}`
|
140
140
|
puts "#{site.path} uploaded to http://#{site.name}.oncalypso.com"
|
141
141
|
else
|
data/lib/kalipso/cli_init.rb
CHANGED
@@ -22,6 +22,6 @@ if !Jaysus::Local.store_dir.join('keys').exist?
|
|
22
22
|
key_path = key_dir.join('id_rsa')
|
23
23
|
public_key_path = key_dir.join('id_rsa.pub')
|
24
24
|
puts "generating and uploading public key"
|
25
|
-
`ssh-keygen -N '' -t rsa -
|
25
|
+
`ssh-keygen -N '' -t rsa -f #{key_path.to_s.strip}`
|
26
26
|
Kalipso::PublicKey::Remote.create(:key => public_key_path.read)
|
27
27
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kalipso
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 11
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 8
|
10
|
+
version: 0.1.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Paul Campbell
|
@@ -15,14 +15,12 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-02-09 00:00:00 +00:00
|
19
19
|
default_executable: kalipso
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
|
-
prerelease: false
|
23
|
-
name: jaysus
|
24
22
|
type: :runtime
|
25
|
-
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
26
24
|
none: false
|
27
25
|
requirements:
|
28
26
|
- - ~>
|
@@ -33,12 +31,12 @@ dependencies:
|
|
33
31
|
- 1
|
34
32
|
- 4
|
35
33
|
version: 0.1.4
|
36
|
-
|
37
|
-
|
34
|
+
name: jaysus
|
35
|
+
version_requirements: *id001
|
38
36
|
prerelease: false
|
39
|
-
|
37
|
+
- !ruby/object:Gem::Dependency
|
40
38
|
type: :runtime
|
41
|
-
|
39
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
42
40
|
none: false
|
43
41
|
requirements:
|
44
42
|
- - ">="
|
@@ -47,12 +45,12 @@ dependencies:
|
|
47
45
|
segments:
|
48
46
|
- 0
|
49
47
|
version: "0"
|
50
|
-
|
51
|
-
|
48
|
+
name: thor
|
49
|
+
version_requirements: *id002
|
52
50
|
prerelease: false
|
53
|
-
|
51
|
+
- !ruby/object:Gem::Dependency
|
54
52
|
type: :runtime
|
55
|
-
|
53
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
56
54
|
none: false
|
57
55
|
requirements:
|
58
56
|
- - ">="
|
@@ -61,12 +59,12 @@ dependencies:
|
|
61
59
|
segments:
|
62
60
|
- 0
|
63
61
|
version: "0"
|
64
|
-
|
65
|
-
|
62
|
+
name: highline
|
63
|
+
version_requirements: *id003
|
66
64
|
prerelease: false
|
67
|
-
|
65
|
+
- !ruby/object:Gem::Dependency
|
68
66
|
type: :development
|
69
|
-
|
67
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
70
68
|
none: false
|
71
69
|
requirements:
|
72
70
|
- - ~>
|
@@ -77,12 +75,12 @@ dependencies:
|
|
77
75
|
- 3
|
78
76
|
- 0
|
79
77
|
version: 2.3.0
|
80
|
-
|
81
|
-
|
78
|
+
name: rspec
|
79
|
+
version_requirements: *id004
|
82
80
|
prerelease: false
|
83
|
-
|
81
|
+
- !ruby/object:Gem::Dependency
|
84
82
|
type: :development
|
85
|
-
|
83
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
86
84
|
none: false
|
87
85
|
requirements:
|
88
86
|
- - ~>
|
@@ -93,12 +91,12 @@ dependencies:
|
|
93
91
|
- 0
|
94
92
|
- 0
|
95
93
|
version: 1.0.0
|
96
|
-
|
97
|
-
|
94
|
+
name: bundler
|
95
|
+
version_requirements: *id005
|
98
96
|
prerelease: false
|
99
|
-
|
97
|
+
- !ruby/object:Gem::Dependency
|
100
98
|
type: :development
|
101
|
-
|
99
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
102
100
|
none: false
|
103
101
|
requirements:
|
104
102
|
- - ~>
|
@@ -109,12 +107,12 @@ dependencies:
|
|
109
107
|
- 5
|
110
108
|
- 2
|
111
109
|
version: 1.5.2
|
112
|
-
|
113
|
-
|
110
|
+
name: jeweler
|
111
|
+
version_requirements: *id006
|
114
112
|
prerelease: false
|
115
|
-
|
113
|
+
- !ruby/object:Gem::Dependency
|
116
114
|
type: :development
|
117
|
-
|
115
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
118
116
|
none: false
|
119
117
|
requirements:
|
120
118
|
- - ">="
|
@@ -123,12 +121,12 @@ dependencies:
|
|
123
121
|
segments:
|
124
122
|
- 0
|
125
123
|
version: "0"
|
126
|
-
|
127
|
-
|
124
|
+
name: rcov
|
125
|
+
version_requirements: *id007
|
128
126
|
prerelease: false
|
129
|
-
|
127
|
+
- !ruby/object:Gem::Dependency
|
130
128
|
type: :development
|
131
|
-
|
129
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
132
130
|
none: false
|
133
131
|
requirements:
|
134
132
|
- - ">="
|
@@ -137,12 +135,12 @@ dependencies:
|
|
137
135
|
segments:
|
138
136
|
- 0
|
139
137
|
version: "0"
|
140
|
-
|
141
|
-
|
138
|
+
name: ruby-debug
|
139
|
+
version_requirements: *id008
|
142
140
|
prerelease: false
|
143
|
-
|
141
|
+
- !ruby/object:Gem::Dependency
|
144
142
|
type: :development
|
145
|
-
|
143
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
146
144
|
none: false
|
147
145
|
requirements:
|
148
146
|
- - "="
|
@@ -153,12 +151,12 @@ dependencies:
|
|
153
151
|
- 5
|
154
152
|
- 1
|
155
153
|
version: 1.5.1
|
156
|
-
|
157
|
-
|
154
|
+
name: vcr
|
155
|
+
version_requirements: *id009
|
158
156
|
prerelease: false
|
159
|
-
|
157
|
+
- !ruby/object:Gem::Dependency
|
160
158
|
type: :development
|
161
|
-
|
159
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
162
160
|
none: false
|
163
161
|
requirements:
|
164
162
|
- - "="
|
@@ -169,7 +167,9 @@ dependencies:
|
|
169
167
|
- 6
|
170
168
|
- 2
|
171
169
|
version: 1.6.2
|
172
|
-
|
170
|
+
name: webmock
|
171
|
+
version_requirements: *id010
|
172
|
+
prerelease: false
|
173
173
|
description: A full library for interactiing with your sites using kalipso
|
174
174
|
email: paul@rslw.com
|
175
175
|
executables:
|
@@ -231,7 +231,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
231
231
|
requirements: []
|
232
232
|
|
233
233
|
rubyforge_project:
|
234
|
-
rubygems_version: 1.
|
234
|
+
rubygems_version: 1.5.0
|
235
235
|
signing_key:
|
236
236
|
specification_version: 3
|
237
237
|
summary: Client library and command line client for kalipso
|