gaptool-server 0.3.3 → 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +34 -39
- data/VERSION +1 -1
- data/gaptool-server.gemspec +2 -2
- data/lib/app.rb +3 -2
- metadata +3 -3
data/Gemfile.lock
CHANGED
@@ -1,73 +1,68 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
activesupport (3.2.
|
5
|
-
i18n (
|
4
|
+
activesupport (3.2.13)
|
5
|
+
i18n (= 0.6.1)
|
6
6
|
multi_json (~> 1.0)
|
7
|
-
aws-sdk (1.
|
8
|
-
httparty (~> 0.7)
|
7
|
+
aws-sdk (1.9.5)
|
9
8
|
json (~> 1.4)
|
10
9
|
nokogiri (>= 1.4.4)
|
11
10
|
uuidtools (~> 2.1)
|
12
|
-
bson (1.
|
13
|
-
bson_ext (1.
|
14
|
-
bson (~> 1.
|
15
|
-
coderay (1.0.
|
11
|
+
bson (1.8.5)
|
12
|
+
bson_ext (1.8.5)
|
13
|
+
bson (~> 1.8.5)
|
14
|
+
coderay (1.0.9)
|
16
15
|
daemons (1.1.9)
|
17
|
-
eventmachine (1.0.
|
16
|
+
eventmachine (1.0.3)
|
18
17
|
git (1.2.5)
|
19
|
-
httparty (0.9.0)
|
20
|
-
multi_json (~> 1.0)
|
21
|
-
multi_xml
|
22
18
|
i18n (0.6.1)
|
23
19
|
jeweler (1.8.4)
|
24
20
|
bundler (~> 1.0)
|
25
21
|
git (>= 1.2.5)
|
26
22
|
rake
|
27
23
|
rdoc
|
28
|
-
json (1.7.
|
24
|
+
json (1.7.7)
|
29
25
|
method_source (0.8.1)
|
30
|
-
mongo (1.
|
31
|
-
bson (~> 1.
|
32
|
-
multi_json (1.3
|
33
|
-
|
34
|
-
|
35
|
-
nokogiri (1.5.5)
|
26
|
+
mongo (1.8.5)
|
27
|
+
bson (~> 1.8.5)
|
28
|
+
multi_json (1.7.3)
|
29
|
+
net-ssh (2.6.7)
|
30
|
+
nokogiri (1.5.9)
|
36
31
|
peach (0.5.1)
|
37
|
-
pry (0.9.
|
32
|
+
pry (0.9.12.1)
|
38
33
|
coderay (~> 1.0.5)
|
39
34
|
method_source (~> 0.8)
|
40
|
-
slop (~> 3.
|
41
|
-
rack (1.
|
42
|
-
rack-protection (1.
|
35
|
+
slop (~> 3.4)
|
36
|
+
rack (1.5.2)
|
37
|
+
rack-protection (1.5.0)
|
43
38
|
rack
|
44
|
-
rake (10.0.
|
45
|
-
rdoc (
|
39
|
+
rake (10.0.4)
|
40
|
+
rdoc (4.0.1)
|
46
41
|
json (~> 1.4)
|
47
|
-
redis (3.0.
|
42
|
+
redis (3.0.4)
|
48
43
|
shotgun (0.9)
|
49
44
|
rack (>= 1.0)
|
50
|
-
shoulda (3.
|
51
|
-
shoulda-context (~> 1.0.1)
|
52
|
-
shoulda-matchers (
|
53
|
-
shoulda-context (1.
|
54
|
-
shoulda-matchers (1.
|
45
|
+
shoulda (3.5.0)
|
46
|
+
shoulda-context (~> 1.0, >= 1.0.1)
|
47
|
+
shoulda-matchers (>= 1.4.1, < 3.0)
|
48
|
+
shoulda-context (1.1.1)
|
49
|
+
shoulda-matchers (2.1.0)
|
55
50
|
activesupport (>= 3.0.0)
|
56
51
|
simplecov (0.7.1)
|
57
52
|
multi_json (~> 1.0)
|
58
53
|
simplecov-html (~> 0.7.1)
|
59
54
|
simplecov-html (0.7.1)
|
60
|
-
sinatra (1.
|
61
|
-
rack (~> 1.
|
62
|
-
rack-protection (~> 1.
|
63
|
-
tilt (~> 1.3, >= 1.3.
|
64
|
-
slop (3.
|
65
|
-
thin (1.5.
|
55
|
+
sinatra (1.4.2)
|
56
|
+
rack (~> 1.5, >= 1.5.2)
|
57
|
+
rack-protection (~> 1.4)
|
58
|
+
tilt (~> 1.3, >= 1.3.4)
|
59
|
+
slop (3.4.4)
|
60
|
+
thin (1.5.1)
|
66
61
|
daemons (>= 1.0.9)
|
67
62
|
eventmachine (>= 0.12.6)
|
68
63
|
rack (>= 1.0.0)
|
69
|
-
tilt (1.
|
70
|
-
uuidtools (2.1.
|
64
|
+
tilt (1.4.1)
|
65
|
+
uuidtools (2.1.4)
|
71
66
|
|
72
67
|
PLATFORMS
|
73
68
|
ruby
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.6
|
data/gaptool-server.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "gaptool-server"
|
8
|
-
s.version = "0.3.
|
8
|
+
s.version = "0.3.6"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Matt Bailey"]
|
12
|
-
s.date = "2013-
|
12
|
+
s.date = "2013-05-10"
|
13
13
|
s.description = "gaptool-server for managing cloud resources"
|
14
14
|
s.email = "m@mdb.io"
|
15
15
|
s.executables = ["gaptool-server"]
|
data/lib/app.rb
CHANGED
@@ -9,9 +9,10 @@ require 'net/ssh'
|
|
9
9
|
require 'peach'
|
10
10
|
|
11
11
|
class GaptoolServer < Sinatra::Application
|
12
|
-
|
13
|
-
|
12
|
+
disable :sessions
|
13
|
+
enable :show_exceptions
|
14
14
|
enable :raise_errors
|
15
|
+
enable :dump_errors
|
15
16
|
|
16
17
|
before do
|
17
18
|
error 401 unless $redis.hget('users', env['HTTP_X_GAPTOOL_USER']) == env['HTTP_X_GAPTOOL_KEY']
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: gaptool-server
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.3.
|
5
|
+
version: 0.3.6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Matt Bailey
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2013-
|
13
|
+
date: 2013-05-10 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: sinatra
|
@@ -233,7 +233,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
233
233
|
requirements:
|
234
234
|
- - ">="
|
235
235
|
- !ruby/object:Gem::Version
|
236
|
-
hash:
|
236
|
+
hash: 4255522910746715047
|
237
237
|
segments:
|
238
238
|
- 0
|
239
239
|
version: "0"
|