warbler 1.2.1 → 1.3.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +8 -5
- data/History.txt +5 -0
- data/Manifest.txt +43 -23
- data/README.txt +67 -26
- data/Rakefile +17 -6
- data/ext/JarMain.java +147 -0
- data/ext/{Main.java → WarMain.java} +4 -4
- data/ext/{WarblerWar.java → WarblerJar.java} +79 -13
- data/ext/{WarblerWarService.java → WarblerJarService.java} +2 -2
- data/lib/warbler/application.rb +9 -9
- data/lib/warbler/config.rb +58 -204
- data/lib/warbler/gems.rb +2 -2
- data/lib/warbler/jar.rb +247 -0
- data/lib/warbler/task.rb +28 -60
- data/lib/warbler/templates/config.erb +1 -1
- data/lib/warbler/templates/rack.erb +1 -1
- data/lib/warbler/templates/rails.erb +1 -1
- data/lib/warbler/traits/bundler.rb +58 -0
- data/lib/warbler/traits/gemspec.rb +64 -0
- data/lib/warbler/traits/jar.rb +53 -0
- data/lib/warbler/traits/merb.rb +34 -0
- data/lib/warbler/traits/nogemspec.rb +41 -0
- data/lib/warbler/traits/rack.rb +31 -0
- data/lib/warbler/traits/rails.rb +57 -0
- data/lib/warbler/traits/war.rb +191 -0
- data/lib/warbler/traits.rb +105 -0
- data/lib/warbler/version.rb +1 -1
- data/lib/warbler/war.rb +1 -247
- data/lib/warbler.rb +2 -5
- data/lib/warbler_jar.jar +0 -0
- data/spec/sample_jar/History.txt +6 -0
- data/spec/sample_jar/Manifest.txt +8 -0
- data/spec/sample_jar/README.txt +30 -0
- data/spec/sample_jar/lib/sample_jar.rb +6 -0
- data/spec/sample_jar/sample_jar.gemspec +41 -0
- data/spec/sample_jar/test/test_sample_jar.rb +8 -0
- data/spec/{sample → sample_war}/app/controllers/application.rb +0 -0
- data/spec/{sample → sample_war}/app/helpers/application_helper.rb +0 -0
- data/spec/{sample → sample_war}/config/boot.rb +0 -0
- data/spec/{sample → sample_war}/config/database.yml +0 -0
- data/spec/{sample → sample_war}/config/environment.rb +0 -0
- data/spec/{sample → sample_war}/config/environments/development.rb +0 -0
- data/spec/{sample → sample_war}/config/environments/production.rb +0 -0
- data/spec/{sample → sample_war}/config/environments/test.rb +0 -0
- data/spec/{sample → sample_war}/config/initializers/inflections.rb +0 -0
- data/spec/{sample → sample_war}/config/initializers/mime_types.rb +0 -0
- data/spec/{sample → sample_war}/config/initializers/new_rails_defaults.rb +0 -0
- data/spec/{sample → sample_war}/config/routes.rb +0 -0
- data/spec/{sample → sample_war}/lib/tasks/utils.rake +0 -0
- data/spec/{sample → sample_war}/public/404.html +0 -0
- data/spec/{sample → sample_war}/public/422.html +0 -0
- data/spec/{sample → sample_war}/public/500.html +0 -0
- data/spec/{sample → sample_war}/public/favicon.ico +0 -0
- data/spec/{sample → sample_war}/public/index.html +0 -0
- data/spec/{sample → sample_war}/public/robots.txt +0 -0
- data/spec/spec_helper.rb +40 -0
- data/spec/warbler/application_spec.rb +2 -9
- data/spec/warbler/config_spec.rb +101 -83
- data/spec/warbler/jar_spec.rb +763 -0
- data/spec/warbler/task_spec.rb +56 -41
- data/spec/warbler/traits_spec.rb +16 -0
- data/spec/warbler/war_spec.rb +2 -492
- data/warble.rb +36 -32
- metadata +57 -35
- data/lib/warbler_war.jar +0 -0
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: warbler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
4
|
+
prerelease: true
|
5
5
|
segments:
|
6
6
|
- 1
|
7
|
-
-
|
8
|
-
-
|
9
|
-
|
7
|
+
- 3
|
8
|
+
- 0
|
9
|
+
- beta1
|
10
|
+
version: 1.3.0.beta1
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Nick Sieger
|
@@ -14,7 +15,7 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date: 2010-
|
18
|
+
date: 2010-11-11 00:00:00 -06:00
|
18
19
|
default_executable:
|
19
20
|
dependencies:
|
20
21
|
- !ruby/object:Gem::Dependency
|
@@ -93,10 +94,10 @@ dependencies:
|
|
93
94
|
prerelease: false
|
94
95
|
type: :development
|
95
96
|
description: |-
|
96
|
-
Warbler is a gem to make a
|
97
|
-
|
98
|
-
bundle up all of your application files for
|
99
|
-
|
97
|
+
Warbler is a gem to make a Java jar or war file out of any Ruby,
|
98
|
+
Rails, Merb, or Rack application. Warbler provides a minimal,
|
99
|
+
flexible, Ruby-like way to bundle up all of your application files for
|
100
|
+
deployment to a Java environment.
|
100
101
|
email: nick@nicksieger.com
|
101
102
|
executables:
|
102
103
|
- warble
|
@@ -115,44 +116,63 @@ files:
|
|
115
116
|
- README.txt
|
116
117
|
- Rakefile
|
117
118
|
- bin/warble
|
118
|
-
- ext/
|
119
|
-
- ext/
|
120
|
-
- ext/
|
119
|
+
- ext/JarMain.java
|
120
|
+
- ext/WarMain.java
|
121
|
+
- ext/WarblerJar.java
|
122
|
+
- ext/WarblerJarService.java
|
121
123
|
- lib/warbler.rb
|
122
124
|
- lib/warbler/application.rb
|
123
125
|
- lib/warbler/config.rb
|
124
126
|
- lib/warbler/gems.rb
|
127
|
+
- lib/warbler/jar.rb
|
125
128
|
- lib/warbler/task.rb
|
126
129
|
- lib/warbler/templates/config.erb
|
127
130
|
- lib/warbler/templates/rack.erb
|
128
131
|
- lib/warbler/templates/rails.erb
|
132
|
+
- lib/warbler/traits.rb
|
133
|
+
- lib/warbler/traits/bundler.rb
|
134
|
+
- lib/warbler/traits/gemspec.rb
|
135
|
+
- lib/warbler/traits/jar.rb
|
136
|
+
- lib/warbler/traits/merb.rb
|
137
|
+
- lib/warbler/traits/nogemspec.rb
|
138
|
+
- lib/warbler/traits/rack.rb
|
139
|
+
- lib/warbler/traits/rails.rb
|
140
|
+
- lib/warbler/traits/war.rb
|
129
141
|
- lib/warbler/version.rb
|
130
142
|
- lib/warbler/war.rb
|
131
|
-
- lib/
|
132
|
-
- spec/
|
133
|
-
- spec/
|
134
|
-
- spec/
|
135
|
-
- spec/
|
136
|
-
- spec/
|
137
|
-
- spec/
|
138
|
-
- spec/
|
139
|
-
- spec/
|
140
|
-
- spec/
|
141
|
-
- spec/
|
142
|
-
- spec/
|
143
|
-
- spec/
|
144
|
-
- spec/
|
145
|
-
- spec/
|
146
|
-
- spec/
|
147
|
-
- spec/
|
148
|
-
- spec/
|
149
|
-
- spec/
|
150
|
-
- spec/
|
143
|
+
- lib/warbler_jar.jar
|
144
|
+
- spec/sample_jar/History.txt
|
145
|
+
- spec/sample_jar/Manifest.txt
|
146
|
+
- spec/sample_jar/README.txt
|
147
|
+
- spec/sample_jar/lib/sample_jar.rb
|
148
|
+
- spec/sample_jar/sample_jar.gemspec
|
149
|
+
- spec/sample_jar/test/test_sample_jar.rb
|
150
|
+
- spec/sample_war/app/controllers/application.rb
|
151
|
+
- spec/sample_war/app/helpers/application_helper.rb
|
152
|
+
- spec/sample_war/config/boot.rb
|
153
|
+
- spec/sample_war/config/database.yml
|
154
|
+
- spec/sample_war/config/environment.rb
|
155
|
+
- spec/sample_war/config/environments/development.rb
|
156
|
+
- spec/sample_war/config/environments/production.rb
|
157
|
+
- spec/sample_war/config/environments/test.rb
|
158
|
+
- spec/sample_war/config/initializers/inflections.rb
|
159
|
+
- spec/sample_war/config/initializers/mime_types.rb
|
160
|
+
- spec/sample_war/config/initializers/new_rails_defaults.rb
|
161
|
+
- spec/sample_war/config/routes.rb
|
162
|
+
- spec/sample_war/lib/tasks/utils.rake
|
163
|
+
- spec/sample_war/public/404.html
|
164
|
+
- spec/sample_war/public/422.html
|
165
|
+
- spec/sample_war/public/500.html
|
166
|
+
- spec/sample_war/public/favicon.ico
|
167
|
+
- spec/sample_war/public/index.html
|
168
|
+
- spec/sample_war/public/robots.txt
|
151
169
|
- spec/spec_helper.rb
|
152
170
|
- spec/warbler/application_spec.rb
|
153
171
|
- spec/warbler/config_spec.rb
|
154
172
|
- spec/warbler/gems_spec.rb
|
173
|
+
- spec/warbler/jar_spec.rb
|
155
174
|
- spec/warbler/task_spec.rb
|
175
|
+
- spec/warbler/traits_spec.rb
|
156
176
|
- spec/warbler/war_spec.rb
|
157
177
|
- warble.rb
|
158
178
|
- web.xml.erb
|
@@ -181,11 +201,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
181
201
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
182
202
|
none: false
|
183
203
|
requirements:
|
184
|
-
- - "
|
204
|
+
- - ">"
|
185
205
|
- !ruby/object:Gem::Version
|
186
206
|
segments:
|
187
|
-
-
|
188
|
-
|
207
|
+
- 1
|
208
|
+
- 3
|
209
|
+
- 1
|
210
|
+
version: 1.3.1
|
189
211
|
requirements: []
|
190
212
|
|
191
213
|
rubyforge_project: caldersphere
|
data/lib/warbler_war.jar
DELETED
Binary file
|