bushido 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/bushido/app.rb +12 -3
- data/lib/bushido/version.rb +1 -1
- metadata +2 -2
data/lib/bushido/app.rb
CHANGED
@@ -68,6 +68,15 @@ module Bushido
|
|
68
68
|
end
|
69
69
|
|
70
70
|
|
71
|
+
def subdomain_available?(subdomain)
|
72
|
+
begin
|
73
|
+
return put :subdomain_available?, {:subdomain => subdomain}
|
74
|
+
rescue RestClient::UnprocessableEntity
|
75
|
+
return false
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
|
71
80
|
def set_subdomain(subdomain)
|
72
81
|
put :set_subdomain, {:subdomain => subdomain}
|
73
82
|
end
|
@@ -83,11 +92,12 @@ module Bushido
|
|
83
92
|
end
|
84
93
|
|
85
94
|
|
86
|
-
def
|
87
|
-
put :
|
95
|
+
def clear_log!(name)
|
96
|
+
put :clear_log!, {:name => name}
|
88
97
|
end
|
89
98
|
|
90
99
|
|
100
|
+
# TODO: Update to use the new logs controller
|
91
101
|
def logs
|
92
102
|
get({:gift => "logs"})
|
93
103
|
end
|
@@ -99,4 +109,3 @@ module Bushido
|
|
99
109
|
end
|
100
110
|
end
|
101
111
|
end
|
102
|
-
|
data/lib/bushido/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: bushido
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.11
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Sean Grove
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-03-
|
13
|
+
date: 2011-03-28 00:00:00 -07:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|