kensa 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/kensa.gemspec +2 -2
- data/lib/heroku/kensa.rb +1 -1
- data/lib/heroku/kensa/client.rb +7 -7
- metadata +3 -3
data/kensa.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{kensa}
|
8
|
-
s.version = "1.1.
|
8
|
+
s.version = "1.1.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Blake Mizerany", "Pedro Belo", "Adam Wiggins"]
|
12
|
-
s.date = %q{2011-01-
|
12
|
+
s.date = %q{2011-01-26}
|
13
13
|
s.default_executable = %q{kensa}
|
14
14
|
s.description = %q{Kensa is a command-line tool to help add-on providers integrating their services with Heroku. It manages manifest files, and provides a TDD-like approach for programmers to test and develop their APIs.}
|
15
15
|
s.email = %q{pedro@heroku.com}
|
data/lib/heroku/kensa.rb
CHANGED
data/lib/heroku/kensa/client.rb
CHANGED
@@ -36,16 +36,16 @@ module Heroku
|
|
36
36
|
run_check ManifestCheck
|
37
37
|
run_check ProvisionCheck
|
38
38
|
when "deprovision"
|
39
|
-
id =
|
39
|
+
id = @args.shift || abort("! no id specified; see usage")
|
40
40
|
run_check ManifestCheck
|
41
41
|
run_check DeprovisionCheck, :id => id
|
42
42
|
when "planchange"
|
43
|
-
id =
|
44
|
-
plan =
|
43
|
+
id = @args.shift || abort("! no id specified; see usage")
|
44
|
+
plan = @args.shift || abort("! no plan specified; see usage")
|
45
45
|
run_check ManifestCheck
|
46
46
|
run_check PlanChangeCheck, :id => id, :plan => plan
|
47
47
|
when "sso"
|
48
|
-
id =
|
48
|
+
id = @args.shift || abort("! no id specified; see usage")
|
49
49
|
run_check ManifestCheck
|
50
50
|
run_check SsoCheck, :id => id
|
51
51
|
else
|
@@ -54,13 +54,13 @@ module Heroku
|
|
54
54
|
end
|
55
55
|
|
56
56
|
def run
|
57
|
-
abort "! missing command to run; see usage" if
|
57
|
+
abort "! missing command to run; see usage" if @args.empty?
|
58
58
|
run_check ManifestCheck
|
59
|
-
run_check AllCheck, :args =>
|
59
|
+
run_check AllCheck, :args => @args
|
60
60
|
end
|
61
61
|
|
62
62
|
def sso
|
63
|
-
id =
|
63
|
+
id = @args.shift || abort("! no id specified; see usage")
|
64
64
|
data = Yajl::Parser.parse(resolve_manifest).merge(:id => id)
|
65
65
|
sso = Sso.new(data.merge(@options))
|
66
66
|
puts "Opening #{sso.full_url}"
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 1
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 1.1.
|
8
|
+
- 1
|
9
|
+
version: 1.1.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Blake Mizerany
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-01-
|
19
|
+
date: 2011-01-26 00:00:00 -08:00
|
20
20
|
default_executable: kensa
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|