trinidad_sandbox_extension 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ == 0.3.0 (2010-10-06)
2
+
3
+ * Reload improved
4
+
1
5
  == 0.2.0 (2010-07-31)
2
6
 
3
7
  * Support for redeploy applications
data/Rakefile CHANGED
@@ -104,7 +104,7 @@ task :release => :build do
104
104
  sh "git commit --allow-empty -a -m 'Release #{version}'"
105
105
  sh "git tag v#{version}"
106
106
  sh "git push origin master"
107
- sh "git push v#{version}"
107
+ sh "git push --tags"
108
108
  sh "gem push pkg/#{name}-#{version}.gem"
109
109
  end
110
110
 
@@ -6,7 +6,7 @@ require File.expand_path('../../trinidad-libs/trinidad-sandbox-extension', __FIL
6
6
  module Trinidad
7
7
  module Extensions
8
8
  class SandboxServerExtension < ServerExtension
9
- VERSION = '0.2.0'
9
+ VERSION = '0.3.0'
10
10
 
11
11
  def configure(tomcat)
12
12
  opts = prepare_options
@@ -96,12 +96,7 @@ post '/apps/:name/redeploy' do
96
96
  end
97
97
  end
98
98
 
99
- context.stop
100
- $servlet_context.log "#{context.name} stopped"
101
- context.setDocBase(web_app_dir)
102
- $servlet_context.log "#{context.name} web_app_dir set to #{web_app_dir}"
103
- context.start
104
- $servlet_context.log "#{context.name} started successfully"
99
+ context.reload
105
100
 
106
101
  respond_to do |wants|
107
102
  wants.html { redirect sandbox_context.path }
@@ -13,8 +13,8 @@ Gem::Specification.new do |s|
13
13
  ## If your rubyforge_project name is different, then edit it and comment out
14
14
  ## the sub! line in the Rakefile
15
15
  s.name = 'trinidad_sandbox_extension'
16
- s.version = '0.2.0'
17
- s.date = '2010-07-31'
16
+ s.version = '0.3.0'
17
+ s.date = '2010-10-06'
18
18
  s.rubyforge_project = 'trinidad_sandbox_extension'
19
19
 
20
20
  ## Make sure your summary is short. The description may be as long
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trinidad_sandbox_extension
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 3
8
+ - 0
9
+ version: 0.3.0
5
10
  platform: ruby
6
11
  authors:
7
12
  - David Calavera
@@ -9,79 +14,100 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2010-07-31 00:00:00 +02:00
17
+ date: 2010-10-06 00:00:00 +02:00
13
18
  default_executable:
14
19
  dependencies:
15
20
  - !ruby/object:Gem::Dependency
16
21
  name: sinatra
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
20
25
  requirements:
21
26
  - - ">="
22
27
  - !ruby/object:Gem::Version
28
+ segments:
29
+ - 0
23
30
  version: "0"
24
- version:
31
+ type: :runtime
32
+ version_requirements: *id001
25
33
  - !ruby/object:Gem::Dependency
26
34
  name: sinatra-authorization
27
- type: :runtime
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
35
+ prerelease: false
36
+ requirement: &id002 !ruby/object:Gem::Requirement
37
+ none: false
30
38
  requirements:
31
39
  - - ">="
32
40
  - !ruby/object:Gem::Version
41
+ segments:
42
+ - 0
33
43
  version: "0"
34
- version:
44
+ type: :runtime
45
+ version_requirements: *id002
35
46
  - !ruby/object:Gem::Dependency
36
47
  name: sinatra-respond_to
37
- type: :runtime
38
- version_requirement:
39
- version_requirements: !ruby/object:Gem::Requirement
48
+ prerelease: false
49
+ requirement: &id003 !ruby/object:Gem::Requirement
50
+ none: false
40
51
  requirements:
41
52
  - - ">="
42
53
  - !ruby/object:Gem::Version
54
+ segments:
55
+ - 0
43
56
  version: "0"
44
- version:
57
+ type: :runtime
58
+ version_requirements: *id003
45
59
  - !ruby/object:Gem::Dependency
46
60
  name: sinatra-flash
47
- type: :runtime
48
- version_requirement:
49
- version_requirements: !ruby/object:Gem::Requirement
61
+ prerelease: false
62
+ requirement: &id004 !ruby/object:Gem::Requirement
63
+ none: false
50
64
  requirements:
51
65
  - - ">="
52
66
  - !ruby/object:Gem::Version
67
+ segments:
68
+ - 0
53
69
  version: "0"
54
- version:
70
+ type: :runtime
71
+ version_requirements: *id004
55
72
  - !ruby/object:Gem::Dependency
56
73
  name: haml
57
- type: :runtime
58
- version_requirement:
59
- version_requirements: !ruby/object:Gem::Requirement
74
+ prerelease: false
75
+ requirement: &id005 !ruby/object:Gem::Requirement
76
+ none: false
60
77
  requirements:
61
78
  - - ">="
62
79
  - !ruby/object:Gem::Version
80
+ segments:
81
+ - 0
63
82
  version: "0"
64
- version:
83
+ type: :runtime
84
+ version_requirements: *id005
65
85
  - !ruby/object:Gem::Dependency
66
86
  name: rspec
67
- type: :development
68
- version_requirement:
69
- version_requirements: !ruby/object:Gem::Requirement
87
+ prerelease: false
88
+ requirement: &id006 !ruby/object:Gem::Requirement
89
+ none: false
70
90
  requirements:
71
91
  - - ">="
72
92
  - !ruby/object:Gem::Version
93
+ segments:
94
+ - 0
73
95
  version: "0"
74
- version:
96
+ type: :development
97
+ version_requirements: *id006
75
98
  - !ruby/object:Gem::Dependency
76
99
  name: mocha
77
- type: :development
78
- version_requirement:
79
- version_requirements: !ruby/object:Gem::Requirement
100
+ prerelease: false
101
+ requirement: &id007 !ruby/object:Gem::Requirement
102
+ none: false
80
103
  requirements:
81
104
  - - ">="
82
105
  - !ruby/object:Gem::Version
106
+ segments:
107
+ - 0
83
108
  version: "0"
84
- version:
109
+ type: :development
110
+ version_requirements: *id007
85
111
  description: Sandox console for Trinidad. It allows to manage the applications deployed on Trinidad.
86
112
  email: calavera@apache.org
87
113
  executables: []
@@ -123,21 +149,25 @@ rdoc_options:
123
149
  require_paths:
124
150
  - lib
125
151
  required_ruby_version: !ruby/object:Gem::Requirement
152
+ none: false
126
153
  requirements:
127
154
  - - ">="
128
155
  - !ruby/object:Gem::Version
156
+ segments:
157
+ - 0
129
158
  version: "0"
130
- version:
131
159
  required_rubygems_version: !ruby/object:Gem::Requirement
160
+ none: false
132
161
  requirements:
133
162
  - - ">="
134
163
  - !ruby/object:Gem::Version
164
+ segments:
165
+ - 0
135
166
  version: "0"
136
- version:
137
167
  requirements: []
138
168
 
139
169
  rubyforge_project: trinidad_sandbox_extension
140
- rubygems_version: 1.3.5
170
+ rubygems_version: 1.3.7
141
171
  signing_key:
142
172
  specification_version: 2
143
173
  summary: Sandbox console for Trinidad