Permalink
Browse files

Merge pull request #1 from elskwid/bundler

Add bundler support
  • Loading branch information...
2 parents 7cee137 + 5067088 commit e17feecd3bb282ff36464a6c0fca60227a5b03af @gregrluck gregrluck committed Nov 8, 2011
Showing with 254 additions and 0 deletions.
  1. +4 −0 Gemfile
  2. +29 −0 Gemfile.lock
  3. +3 −0 Rakefile
  4. +55 −0 jruby-ehcache-rails2.gemspec
  5. +55 −0 jruby-ehcache-rails3.gemspec
  6. +108 −0 jruby-ehcache.gemspec
View
@@ -0,0 +1,4 @@
+source "http://rubygems.org"
+
+# Gemfile for the ehcache gem
+gemspec :name => "jruby-ehcache"
View
@@ -0,0 +1,29 @@
+PATH
+ remote: .
+ specs:
+ jruby-ehcache (1.1.2)
+ activesupport
+ i18n
+ jruby-ehcache
+
+GEM
+ remote: http://rubygems.org/
+ specs:
+ activesupport (3.1.1)
+ multi_json (~> 1.0)
+ git (1.2.5)
+ i18n (0.6.0)
+ jeweler (1.6.4)
+ bundler (~> 1.0)
+ git (>= 1.2.5)
+ rake
+ multi_json (1.0.3)
+ rake (0.8.7)
+
+PLATFORMS
+ java
+
+DEPENDENCIES
+ jeweler
+ jruby-ehcache!
+ rake
View
@@ -34,6 +34,9 @@ Jeweler::Tasks.new do |gemspec|
gemspec.files.exclude 'lib/active_support/**/*'
gemspec.files.exclude 'lib/ehcache/active_support_store.rb'
gemspec.add_dependency 'activesupport'
+ gemspec.add_dependency 'i18n' # activesupport 'requires' this but not in a bundler friendly way
+ gemspec.add_development_dependency 'rake'
+ gemspec.add_development_dependency 'jeweler'
end
Jeweler::Tasks.new do |gemspec|
@@ -0,0 +1,55 @@
+# Generated by jeweler
+# DO NOT EDIT THIS FILE DIRECTLY
+# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
+# -*- encoding: utf-8 -*-
+
+Gem::Specification.new do |s|
+ s.name = %q{jruby-ehcache-rails2}
+ s.version = "1.1.2"
+
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
+ s.authors = ["Dylan Stamat", "Jason Voegele"]
+ s.date = %q{2011-11-03}
+ s.default_executable = %q{ehcache}
+ s.description = %q{Rails 2 cache store provider using Ehcache}
+ s.email = ["dstamat@elctech.com", "jvoegele@terracotta.org"]
+ s.executables = ["ehcache"]
+ s.extra_rdoc_files = [
+ "README.txt"
+ ]
+ s.files = [
+ "lib/active_support/cache/ehcache_store.rb",
+ "lib/ehcache/rails/ehcache_rails_common.rb"
+ ]
+ s.homepage = %q{http://ehcache.rubyforge.org}
+ s.require_paths = ["lib"]
+ s.rubyforge_project = %q{ehcache}
+ s.rubygems_version = %q{1.3.6}
+ s.summary = %q{Rails 2 cache store provider using Ehcache}
+
+ if s.respond_to? :specification_version then
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
+ s.specification_version = 3
+
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
+ s.add_runtime_dependency(%q<jruby-ehcache>, [">= 1.1.2"])
+ s.add_runtime_dependency(%q<jruby-ehcache>, [">= 0"])
+ s.add_development_dependency(%q<rake>, [">= 0"])
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
+ s.add_runtime_dependency(%q<jruby-ehcache>, [">= 1.1.2"])
+ else
+ s.add_dependency(%q<jruby-ehcache>, [">= 1.1.2"])
+ s.add_dependency(%q<jruby-ehcache>, [">= 0"])
+ s.add_dependency(%q<rake>, [">= 0"])
+ s.add_dependency(%q<jeweler>, [">= 0"])
+ s.add_dependency(%q<jruby-ehcache>, [">= 1.1.2"])
+ end
+ else
+ s.add_dependency(%q<jruby-ehcache>, [">= 1.1.2"])
+ s.add_dependency(%q<jruby-ehcache>, [">= 0"])
+ s.add_dependency(%q<rake>, [">= 0"])
+ s.add_dependency(%q<jeweler>, [">= 0"])
+ s.add_dependency(%q<jruby-ehcache>, [">= 1.1.2"])
+ end
+end
+
@@ -0,0 +1,55 @@
+# Generated by jeweler
+# DO NOT EDIT THIS FILE DIRECTLY
+# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
+# -*- encoding: utf-8 -*-
+
+Gem::Specification.new do |s|
+ s.name = %q{jruby-ehcache-rails3}
+ s.version = "1.1.2"
+
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
+ s.authors = ["Dylan Stamat", "Jason Voegele"]
+ s.date = %q{2011-11-03}
+ s.default_executable = %q{ehcache}
+ s.description = %q{Rails 3 cache store provider using Ehcache}
+ s.email = ["dstamat@elctech.com", "jvoegele@terracotta.org"]
+ s.executables = ["ehcache"]
+ s.extra_rdoc_files = [
+ "README.txt"
+ ]
+ s.files = [
+ "lib/active_support/cache/ehcache_store.rb",
+ "lib/ehcache/rails/ehcache_rails_common.rb"
+ ]
+ s.homepage = %q{http://ehcache.rubyforge.org}
+ s.require_paths = ["lib"]
+ s.rubyforge_project = %q{ehcache}
+ s.rubygems_version = %q{1.3.6}
+ s.summary = %q{Rails 3 cache store provider using Ehcache}
+
+ if s.respond_to? :specification_version then
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
+ s.specification_version = 3
+
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
+ s.add_runtime_dependency(%q<jruby-ehcache>, [">= 1.1.2"])
+ s.add_runtime_dependency(%q<jruby-ehcache>, [">= 0"])
+ s.add_development_dependency(%q<rake>, [">= 0"])
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
+ s.add_runtime_dependency(%q<jruby-ehcache>, [">= 1.1.2"])
+ else
+ s.add_dependency(%q<jruby-ehcache>, [">= 1.1.2"])
+ s.add_dependency(%q<jruby-ehcache>, [">= 0"])
+ s.add_dependency(%q<rake>, [">= 0"])
+ s.add_dependency(%q<jeweler>, [">= 0"])
+ s.add_dependency(%q<jruby-ehcache>, [">= 1.1.2"])
+ end
+ else
+ s.add_dependency(%q<jruby-ehcache>, [">= 1.1.2"])
+ s.add_dependency(%q<jruby-ehcache>, [">= 0"])
+ s.add_dependency(%q<rake>, [">= 0"])
+ s.add_dependency(%q<jeweler>, [">= 0"])
+ s.add_dependency(%q<jruby-ehcache>, [">= 1.1.2"])
+ end
+end
+
View
@@ -0,0 +1,108 @@
+# Generated by jeweler
+# DO NOT EDIT THIS FILE DIRECTLY
+# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
+# -*- encoding: utf-8 -*-
+
+Gem::Specification.new do |s|
+ s.name = %q{jruby-ehcache}
+ s.version = "1.1.2"
+
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
+ s.authors = ["Dylan Stamat", "Jason Voegele"]
+ s.date = %q{2011-11-03}
+ s.default_executable = %q{ehcache}
+ s.description = %q{JRuby interface to the popular Java caching library Ehcache}
+ s.email = ["dstamat@elctech.com", "jvoegele@terracotta.org"]
+ s.executables = ["ehcache"]
+ s.extra_rdoc_files = [
+ "README.txt"
+ ]
+ s.files = [
+ "History.txt",
+ "License.txt",
+ "Manifest.txt",
+ "PostInstall.txt",
+ "README.txt",
+ "Rakefile",
+ "VERSION",
+ "bin/ehcache",
+ "config/ehcache.yml",
+ "config/ehcache_manual_rmi.yml",
+ "examples/ehcache.xml",
+ "examples/jruby-ehcache.rb",
+ "ext/ehcache-2.4.6/ehcache-core-2.4.6.jar",
+ "ext/ehcache-2.4.6/ehcache-terracotta-2.4.6.jar",
+ "ext/ehcache-2.4.6/slf4j-api-1.6.1.jar",
+ "ext/ehcache-2.4.6/slf4j-jdk14-1.6.1.jar",
+ "ext/ehcache-2.4.6/terracotta-toolkit-1.3-runtime-3.3.0.jar",
+ "lib/ehcache.rb",
+ "lib/ehcache/cache.rb",
+ "lib/ehcache/cache_manager.rb",
+ "lib/ehcache/config.rb",
+ "lib/ehcache/element.rb",
+ "lib/ehcache/extensions.rb",
+ "lib/ehcache/java.rb",
+ "lib/ehcache/yaml_config.rb",
+ "script/console",
+ "script/destroy",
+ "script/generate",
+ "script/txt2html",
+ "spec/cache_manager_spec.rb",
+ "spec/cache_spec.rb",
+ "spec/spec.opts",
+ "spec/spec_helper.rb",
+ "tasks/deployment.rake",
+ "tasks/environment.rake",
+ "tasks/website.rake",
+ "test/ehcache.xml",
+ "test/ehcache.yml",
+ "test/test_cache.rb",
+ "test/test_cache_manager.rb",
+ "test/test_configuration.rb",
+ "test/test_ehcache.rb",
+ "test/test_element.rb",
+ "test/test_helper.rb",
+ "test/test_yaml_config.rb",
+ "website/index.html",
+ "website/javascripts/rounded_corners_lite.inc.js",
+ "website/stylesheets/screen.css",
+ "website/template.html.erb"
+ ]
+ s.homepage = %q{http://ehcache.rubyforge.org}
+ s.require_paths = ["lib"]
+ s.rubyforge_project = %q{ehcache}
+ s.rubygems_version = %q{1.3.6}
+ s.summary = %q{JRuby interface to Ehcache}
+
+ if s.respond_to? :specification_version then
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
+ s.specification_version = 3
+
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
+ s.add_runtime_dependency(%q<jruby-ehcache>, [">= 0"])
+ s.add_development_dependency(%q<rake>, [">= 0"])
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
+ s.add_runtime_dependency(%q<activesupport>, [">= 0"])
+ s.add_runtime_dependency(%q<i18n>, [">= 0"])
+ s.add_development_dependency(%q<rake>, [">= 0"])
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
+ else
+ s.add_dependency(%q<jruby-ehcache>, [">= 0"])
+ s.add_dependency(%q<rake>, [">= 0"])
+ s.add_dependency(%q<jeweler>, [">= 0"])
+ s.add_dependency(%q<activesupport>, [">= 0"])
+ s.add_dependency(%q<i18n>, [">= 0"])
+ s.add_dependency(%q<rake>, [">= 0"])
+ s.add_dependency(%q<jeweler>, [">= 0"])
+ end
+ else
+ s.add_dependency(%q<jruby-ehcache>, [">= 0"])
+ s.add_dependency(%q<rake>, [">= 0"])
+ s.add_dependency(%q<jeweler>, [">= 0"])
+ s.add_dependency(%q<activesupport>, [">= 0"])
+ s.add_dependency(%q<i18n>, [">= 0"])
+ s.add_dependency(%q<rake>, [">= 0"])
+ s.add_dependency(%q<jeweler>, [">= 0"])
+ end
+end
+

0 comments on commit e17feec

Please sign in to comment.