nicksieger-warbler 0.9.13 → 0.9.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,14 @@
1
+ == 0.9.14
2
+
3
+ * So, jruby-rack is bundled for one more release. 1.0 will not contain
4
+ any jar files, I promise!
5
+ * Upgraded jruby-rack to 0.9.5.
6
+ * Unbundled jruby-complete jar in favor of new jruby-jars gem, which
7
+ can be upgraded separately.
8
+ * Skip gems which have no loaded_from attribute set
9
+ (this happened with the Authlogic gem on Edge Rails)
10
+ (thanks Laszlo Bacsi)
11
+
1
12
  == 0.9.13
2
13
 
3
14
  * RailsConf 2009 edition.
@@ -9,8 +9,7 @@ generators/warble
9
9
  generators/warble/templates
10
10
  generators/warble/templates/warble.rb
11
11
  generators/warble/warble_generator.rb
12
- lib/jruby-complete-1.3.0RC1.jar
13
- lib/jruby-rack-0.9.4.jar
12
+ lib/jruby-rack-0.9.5.jar
14
13
  lib/warbler
15
14
  lib/warbler/config.rb
16
15
  lib/warbler/gems.rb
data/Rakefile CHANGED
@@ -17,7 +17,7 @@ begin
17
17
  p.summary = "Warbler chirpily constructs .war files of your Rails applications."
18
18
  p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
19
19
  p.description = p.paragraphs_of('README.txt', 1...2).join("\n\n")
20
- p.extra_deps << ['rake', '>= 0.7.3']
20
+ p.extra_deps += [['rake', '>= 0.7.3'], ['jruby-jars', '>= 1.3.1']]
21
21
  p.test_globs = ["spec/**/*_spec.rb"]
22
22
  end
23
23
  hoe.spec.files = MANIFEST
Binary file
@@ -1,5 +1,5 @@
1
1
  #--
2
- # (c) Copyright 2007-2008 Sun Microsystems, Inc.
2
+ # (c) Copyright 2007-2009 Sun Microsystems, Inc.
3
3
  # See the file LICENSES.txt included with the distribution for
4
4
  # software license details.
5
5
  #++
@@ -91,11 +91,12 @@ module Warbler
91
91
  attr_accessor :webxml
92
92
 
93
93
  def initialize(warbler_home = WARBLER_HOME)
94
+ @warbler_home = warbler_home
94
95
  @staging_dir = File.join("tmp", "war")
95
96
  @dirs = TOP_DIRS.select {|d| File.directory?(d)}
96
97
  @includes = FileList[]
97
98
  @excludes = FileList[]
98
- @java_libs = FileList["#{warbler_home}/lib/*.jar"]
99
+ @java_libs = default_jar_files
99
100
  @java_classes = FileList[]
100
101
  @gems = Warbler::Gems.new
101
102
  @gem_dependencies = true
@@ -146,6 +147,11 @@ module Warbler
146
147
  c
147
148
  end
148
149
 
150
+ def default_jar_files
151
+ require 'jruby-jars'
152
+ FileList["#{@warbler_home}/lib/*.jar", JRubyJars.core_jar_path, JRubyJars.stdlib_jar_path]
153
+ end
154
+
149
155
  def auto_detect_frameworks
150
156
  !Warbler.framework_detection || auto_detect_rails || auto_detect_merb || auto_detect_rackup
151
157
  end
@@ -1,9 +1,9 @@
1
1
  #--
2
- # (c) Copyright 2007-2008 Sun Microsystems, Inc.
2
+ # (c) Copyright 2007-2009 Sun Microsystems, Inc.
3
3
  # See the file LICENSES.txt included with the distribution for
4
4
  # software license details.
5
5
  #++
6
6
 
7
7
  module Warbler
8
- VERSION = "0.9.13"
8
+ VERSION = "0.9.14"
9
9
  end
@@ -165,7 +165,7 @@ describe Warbler::Task do
165
165
  it "should define a java_libs task for copying java libraries" do
166
166
  define_tasks "java_libs"
167
167
  Rake::Task["warble:java_libs"].invoke
168
- file_list(%r{WEB-INF/lib/jruby-complete.*\.jar$}).should_not be_empty
168
+ file_list(%r{WEB-INF/lib/jruby-.*\.jar$}).should_not be_empty
169
169
  end
170
170
 
171
171
  it "should define an app task for copying application files" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nicksieger-warbler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.13
4
+ version: 0.9.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Sieger
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-06-01 00:00:00 -07:00
12
+ date: 2009-08-26 00:00:00 -07:00
13
13
  default_executable: warble
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -22,6 +22,16 @@ dependencies:
22
22
  - !ruby/object:Gem::Version
23
23
  version: 0.7.3
24
24
  version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: jruby-jars
27
+ type: :runtime
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 1.3.1
34
+ version:
25
35
  description: Warbler is a gem to make a .war file out of a Rails, Merb, or Rack-based application. The intent is to provide a minimal, flexible, ruby-like way to bundle up all of your application files for deployment to a Java application server.
26
36
  email: nick@nicksieger.com
27
37
  executables:
@@ -41,27 +51,26 @@ files:
41
51
  - Rakefile
42
52
  - web.xml.erb
43
53
  - bin/warble
44
- - generators/warble/warble_generator.rb
45
54
  - generators/warble/templates/warble.rb
46
- - lib/jruby-complete-1.3.0RC1.jar
47
- - lib/jruby-rack-0.9.4.jar
48
- - lib/warbler.rb
55
+ - generators/warble/warble_generator.rb
56
+ - lib/jruby-rack-0.9.5.jar
49
57
  - lib/warbler/config.rb
50
58
  - lib/warbler/gems.rb
51
59
  - lib/warbler/task.rb
52
60
  - lib/warbler/version.rb
53
- - spec/spec_helper.rb
61
+ - lib/warbler.rb
54
62
  - spec/sample/app/controllers/application.rb
55
63
  - spec/sample/app/helpers/application_helper.rb
56
64
  - spec/sample/config/boot.rb
57
65
  - spec/sample/config/environment.rb
58
- - spec/sample/config/routes.rb
59
66
  - spec/sample/config/environments/development.rb
60
67
  - spec/sample/config/environments/production.rb
61
68
  - spec/sample/config/environments/test.rb
62
69
  - spec/sample/config/initializers/inflections.rb
63
70
  - spec/sample/config/initializers/mime_types.rb
64
71
  - spec/sample/config/initializers/new_rails_defaults.rb
72
+ - spec/sample/config/routes.rb
73
+ - spec/spec_helper.rb
65
74
  - spec/warbler/config_spec.rb
66
75
  - spec/warbler/gems_spec.rb
67
76
  - spec/warbler/task_spec.rb
Binary file