kalipso 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/Gemfile.lock +5 -9
- data/README.md +16 -14
- data/VERSION +1 -1
- data/kalipso.gemspec +4 -4
- data/lib/kalipso/cli.rb +3 -2
- metadata +8 -6
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,11 +1,3 @@
|
|
1
|
-
PATH
|
2
|
-
remote: /Users/paul/Sites/gems/jaysus/jaysus
|
3
|
-
specs:
|
4
|
-
jaysus (0.1.3)
|
5
|
-
activemodel (~> 3.0.0)
|
6
|
-
activesupport (~> 3.0.0)
|
7
|
-
rest-client (~> 1.6.1)
|
8
|
-
|
9
1
|
GEM
|
10
2
|
remote: http://rubygems.org/
|
11
3
|
specs:
|
@@ -21,6 +13,10 @@ GEM
|
|
21
13
|
git (1.2.5)
|
22
14
|
highline (1.6.1)
|
23
15
|
i18n (0.5.0)
|
16
|
+
jaysus (0.1.4)
|
17
|
+
activemodel (~> 3.0.0)
|
18
|
+
activesupport (~> 3.0.0)
|
19
|
+
rest-client (~> 1.6.1)
|
24
20
|
jeweler (1.5.2)
|
25
21
|
bundler (~> 1.0.0)
|
26
22
|
git (>= 1.2.5)
|
@@ -50,7 +46,7 @@ PLATFORMS
|
|
50
46
|
DEPENDENCIES
|
51
47
|
bundler (~> 1.0.0)
|
52
48
|
highline
|
53
|
-
jaysus
|
49
|
+
jaysus (~> 0.1.4)
|
54
50
|
jeweler (~> 1.5.2)
|
55
51
|
rcov
|
56
52
|
rspec (~> 2.3.0)
|
data/README.md
CHANGED
@@ -2,36 +2,38 @@
|
|
2
2
|
|
3
3
|
Command line client and library for uploading sites to Kalipso.
|
4
4
|
|
5
|
+
## Installation ##
|
5
6
|
|
6
|
-
|
7
|
+
gem install kalipso
|
7
8
|
|
8
|
-
|
9
|
+
## Basic usage ##
|
9
10
|
|
10
|
-
|
11
|
-
|
11
|
+
List your kalipso sites:
|
12
|
+
|
13
|
+
$ kalipso sites
|
14
|
+
|
15
|
+
Add a site:
|
16
|
+
|
17
|
+
$ kalipso add
|
12
18
|
|
13
19
|
(this will auto-assign a site name)
|
14
20
|
|
15
21
|
Or specify a name:
|
16
22
|
|
17
|
-
$ kalipso
|
23
|
+
$ kalipso add my_site
|
18
24
|
|
19
25
|
This will add the site to your account on Kalipso.
|
20
26
|
|
21
|
-
|
22
|
-
|
23
|
-
List your sites
|
27
|
+
Link a site to a local directory:
|
24
28
|
|
25
|
-
$ kalipso
|
26
|
-
SITENAME => /path/to/local
|
29
|
+
$ kalipso link my_site .
|
27
30
|
|
28
|
-
|
31
|
+
Upload a site:
|
29
32
|
|
30
|
-
$ kalipso upload
|
31
|
-
http://SITENAME.diddlydum.com
|
33
|
+
$ kalipso upload my_site
|
32
34
|
|
33
35
|
|
34
|
-
|
36
|
+
#### Copyright ####
|
35
37
|
|
36
38
|
Copyright (c) 2011 Paul Campbell. See LICENSE.txt for
|
37
39
|
further details.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.2
|
data/kalipso.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
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.2"
|
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"]
|
@@ -49,7 +49,7 @@ Gem::Specification.new do |s|
|
|
49
49
|
s.specification_version = 3
|
50
50
|
|
51
51
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
52
|
-
s.add_runtime_dependency(%q<jaysus>, ["
|
52
|
+
s.add_runtime_dependency(%q<jaysus>, ["~> 0.1.4"])
|
53
53
|
s.add_runtime_dependency(%q<thor>, [">= 0"])
|
54
54
|
s.add_runtime_dependency(%q<highline>, [">= 0"])
|
55
55
|
s.add_development_dependency(%q<rspec>, ["~> 2.3.0"])
|
@@ -59,7 +59,7 @@ Gem::Specification.new do |s|
|
|
59
59
|
s.add_development_dependency(%q<vcr>, ["= 1.5.1"])
|
60
60
|
s.add_development_dependency(%q<webmock>, ["= 1.6.2"])
|
61
61
|
else
|
62
|
-
s.add_dependency(%q<jaysus>, ["
|
62
|
+
s.add_dependency(%q<jaysus>, ["~> 0.1.4"])
|
63
63
|
s.add_dependency(%q<thor>, [">= 0"])
|
64
64
|
s.add_dependency(%q<highline>, [">= 0"])
|
65
65
|
s.add_dependency(%q<rspec>, ["~> 2.3.0"])
|
@@ -70,7 +70,7 @@ Gem::Specification.new do |s|
|
|
70
70
|
s.add_dependency(%q<webmock>, ["= 1.6.2"])
|
71
71
|
end
|
72
72
|
else
|
73
|
-
s.add_dependency(%q<jaysus>, ["
|
73
|
+
s.add_dependency(%q<jaysus>, ["~> 0.1.4"])
|
74
74
|
s.add_dependency(%q<thor>, [">= 0"])
|
75
75
|
s.add_dependency(%q<highline>, [">= 0"])
|
76
76
|
s.add_dependency(%q<rspec>, ["~> 2.3.0"])
|
data/lib/kalipso/cli.rb
CHANGED
@@ -3,7 +3,7 @@ module Kalipso
|
|
3
3
|
|
4
4
|
desc "create", "add a site"
|
5
5
|
def create(name = nil)
|
6
|
-
path =
|
6
|
+
path = Dir.pwd
|
7
7
|
if name.present?
|
8
8
|
puts "Creating #{name} linked to #{path}"
|
9
9
|
else
|
@@ -71,8 +71,9 @@ module Kalipso
|
|
71
71
|
if name.present?
|
72
72
|
puts "uploading #{name}"
|
73
73
|
site = Site::Local.find_by_name(name)
|
74
|
+
path = site.path
|
74
75
|
else
|
75
|
-
path = File.expand_path(
|
76
|
+
path = File.expand_path(Dir.pwd)
|
76
77
|
site = Site::Local.find_by_path(path)
|
77
78
|
end
|
78
79
|
if site.present?
|
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: 31
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 2
|
10
|
+
version: 0.1.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Paul Campbell
|
@@ -25,12 +25,14 @@ dependencies:
|
|
25
25
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|
26
26
|
none: false
|
27
27
|
requirements:
|
28
|
-
- -
|
28
|
+
- - ~>
|
29
29
|
- !ruby/object:Gem::Version
|
30
|
-
hash:
|
30
|
+
hash: 19
|
31
31
|
segments:
|
32
32
|
- 0
|
33
|
-
|
33
|
+
- 1
|
34
|
+
- 4
|
35
|
+
version: 0.1.4
|
34
36
|
requirement: *id001
|
35
37
|
- !ruby/object:Gem::Dependency
|
36
38
|
prerelease: false
|