appengine-tools 0.0.12 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -5,7 +5,7 @@ require 'date'
5
5
  require 'spec/rake/spectask'
6
6
 
7
7
  GEM = "appengine-tools"
8
- GEM_VERSION = "0.0.12"
8
+ GEM_VERSION = "0.0.13"
9
9
  HOMEPAGE = "http://code.google.com/p/appengine-jruby"
10
10
 
11
11
  spec = Gem::Specification.new do |s|
@@ -29,7 +29,6 @@ EOF
29
29
  s.executables = [ 'appcfg.rb', 'dev_appserver.rb' ]
30
30
  s.add_dependency('appengine-rack')
31
31
  s.add_dependency('appengine-sdk')
32
- s.add_dependency('appengine-jruby-jars')
33
32
  s.add_dependency('bundler08', ["~> 0.8.4"])
34
33
  s.add_dependency('rubyzip')
35
34
  end
@@ -24,11 +24,11 @@ module AppEngine
24
24
  class << self
25
25
  def boot_jruby(root=nil, options={})
26
26
  unless defined?(JRUBY_VERSION)
27
- require 'appengine-jruby-jars'
27
+ require 'jruby-jars'
28
28
 
29
29
  jars = [
30
- AppEngine::JRubyJars.jruby_jar,
31
- AppEngine::JRubyJars.rubygems_jar,
30
+ JRubyJars.core_jar_path,
31
+ JRubyJars.stdlib_jar_path,
32
32
  AppEngine::SDK::TOOLS_JAR,
33
33
  ]
34
34
 
@@ -100,7 +100,6 @@ module AppEngine
100
100
  end
101
101
 
102
102
  class AppBundler
103
- EXISTING_JRUBY = /^(jruby-abridged|appengine-jruby)-.*jar$/
104
103
  EXISTING_APIS = /^appengine-api.*jar$/
105
104
 
106
105
  def initialize(root_path)
@@ -116,7 +115,6 @@ module AppEngine
116
115
  confirm_appdir
117
116
  create_webinf
118
117
  bundle_gems(args)
119
- copy_jruby
120
118
  copy_sdk
121
119
  end
122
120
 
@@ -177,11 +175,6 @@ EOF
177
175
  create_public
178
176
  end
179
177
 
180
- def copy_jruby
181
- require 'appengine-jruby-jars'
182
- update_jars("JRuby", EXISTING_JRUBY, [AppEngine::JRubyJars.jruby_jar])
183
- end
184
-
185
178
  def copy_sdk
186
179
  require 'appengine-sdk'
187
180
  glob = "appengine-api-{1.0-sdk,labs}-*.jar"
@@ -81,9 +81,11 @@ module AppEngine
81
81
  YAML.load_file(app.bundled_jars).each do |jar|
82
82
  FileUtils.rm File.join(app.webinf_lib, jar), :force => true
83
83
  end
84
- else
85
- stale = 'jruby-rack-0.9.6.jar'
86
- FileUtils.rm File.join(app.webinf_lib, stale), :force => true
84
+ end
85
+ # cleanup stale jars
86
+ %w(appengine-jruby-0.0.7.pre.jar appengine-jruby-0.0.7.jar
87
+ appengine-jruby-0.0.8.pre.jar jruby-rack-0.9.6.jar).each do |j|
88
+ FileUtils.rm File.join(app.webinf_lib, j), :force => true
87
89
  end
88
90
  jars = []
89
91
  puts "=> Packaging gems"
@@ -94,7 +96,7 @@ module AppEngine
94
96
  Zip::ZipFile.open(app.gems_jar, 'w') do |jar|
95
97
  gem_files.reject {|f| f == app.gems_jar}.each do |file|
96
98
  if file[-4..-1].eql? '.jar'
97
- puts "Installing #{File.basename(file)}"
99
+ puts "=> Installing #{File.basename(file)}"
98
100
  FileUtils.cp file, app.webinf_lib
99
101
  jars << File.basename(file)
100
102
  else
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 12
9
- version: 0.0.12
8
+ - 13
9
+ version: 0.0.13
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ryan Brown
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-05-04 00:00:00 -07:00
18
+ date: 2010-05-24 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -42,22 +42,10 @@ dependencies:
42
42
  version: "0"
43
43
  type: :runtime
44
44
  version_requirements: *id002
45
- - !ruby/object:Gem::Dependency
46
- name: appengine-jruby-jars
47
- prerelease: false
48
- requirement: &id003 !ruby/object:Gem::Requirement
49
- requirements:
50
- - - ">="
51
- - !ruby/object:Gem::Version
52
- segments:
53
- - 0
54
- version: "0"
55
- type: :runtime
56
- version_requirements: *id003
57
45
  - !ruby/object:Gem::Dependency
58
46
  name: bundler08
59
47
  prerelease: false
60
- requirement: &id004 !ruby/object:Gem::Requirement
48
+ requirement: &id003 !ruby/object:Gem::Requirement
61
49
  requirements:
62
50
  - - ~>
63
51
  - !ruby/object:Gem::Version
@@ -67,11 +55,11 @@ dependencies:
67
55
  - 4
68
56
  version: 0.8.4
69
57
  type: :runtime
70
- version_requirements: *id004
58
+ version_requirements: *id003
71
59
  - !ruby/object:Gem::Dependency
72
60
  name: rubyzip
73
61
  prerelease: false
74
- requirement: &id005 !ruby/object:Gem::Requirement
62
+ requirement: &id004 !ruby/object:Gem::Requirement
75
63
  requirements:
76
64
  - - ">="
77
65
  - !ruby/object:Gem::Version
@@ -79,7 +67,7 @@ dependencies:
79
67
  - 0
80
68
  version: "0"
81
69
  type: :runtime
82
- version_requirements: *id005
70
+ version_requirements: *id004
83
71
  description: |
84
72
  Tools and SDK for developing Ruby applications for Google App Engine.
85
73
  Includes a local development server and tools for testing and deployment."