Permalink
Browse files

Moved gem to top level

  • Loading branch information...
1 parent b31a8cb commit 0e632b13a147e0a8bbb7beb78840a024583dd729 @aslakhellesoy aslakhellesoy committed Oct 2, 2010
View
File renamed without changes.
File renamed without changes.
View
@@ -0,0 +1,22 @@
+# -*- encoding: utf-8 -*-
+require 'nokogiri'
+
+Gem::Specification.new do |s|
+ s.name = 'cuke4duke'
+ s.version = Nokogiri::XML(open('pom.xml')).xpath("//xmlns:project/xmlns:version/text()").first.content
+ s.authors = ["Aslak Hellesøy"]
+ s.description = 'Write Cucumber Step Definitions in Java, Scala, Groovy, Rhino Javascript, Clojure or Ioke'
+ s.summary = "cuke4duke-#{s.version}"
+ s.email = 'cukes@googlegroups.com'
+ s.homepage = 'http://cukes.info'
+
+ s.add_dependency 'cucumber', '~> 0.9.0'
+
+ s.rubygems_version = "1.3.7"
+ s.files = `git ls-files -- lib`.split("\n")
+ s.files << 'cuke4duke.jar'
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+ s.extra_rdoc_files = ["LICENSE", "README.textile"]
+ s.rdoc_options = ["--charset=UTF-8"]
+ s.require_path = "lib"
+end
View
@@ -1,24 +0,0 @@
-# encoding: utf-8
-require 'rubygems'
-require 'rake'
-
-begin
- require 'jeweler'
- Jeweler::Tasks.new do |gem|
- gem.name = "cuke4duke"
- gem.summary = %Q{JVM support for Cucumber}
- gem.description = %Q{Write Cucumber Step Definitions in Java, Scala, Groovy, Rhino Javascript, Clojure or Ioke}
- gem.email = "cukes@googlegroups.com"
- gem.homepage = "http://cukes.info"
- gem.authors = ["Aslak Hellesøy"]
- gem.executables = ["cuke4duke"]
- gem.files = FileList['VERSION', 'lib/cuke4duke.jar', 'bin/cuke4duke']
- gem.test_files = []
- gem.add_dependency 'cucumber', '~> 0.9.1'
- gem.platform = 'java'
- end
-
- Jeweler::GemcutterTasks.new
-rescue LoadError
- puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
-end
View
@@ -1 +0,0 @@
-0.3.3
@@ -1,42 +0,0 @@
-# Generated by jeweler
-# DO NOT EDIT THIS FILE DIRECTLY
-# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
-# -*- encoding: utf-8 -*-
-
-Gem::Specification.new do |s|
- s.name = %q{cuke4duke}
- s.version = "0.3.3"
- s.platform = %q{java}
-
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
- s.authors = ["Aslak Helles\303\270y"]
- s.date = %q{2010-10-02}
- s.default_executable = %q{cuke4duke}
- s.description = %q{Write Cucumber Step Definitions in Java, Scala, Groovy, Rhino Javascript, Clojure or Ioke}
- s.email = %q{cukes@googlegroups.com}
- s.executables = ["cuke4duke"]
- s.files = [
- "VERSION",
- "bin/cuke4duke",
- "lib/cuke4duke.jar"
- ]
- s.homepage = %q{http://cukes.info}
- s.rdoc_options = ["--charset=UTF-8"]
- s.require_paths = ["lib"]
- s.rubygems_version = %q{1.3.6}
- s.summary = %q{JVM support for Cucumber}
-
- 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<cucumber>, ["~> 0.9.1"])
- else
- s.add_dependency(%q<cucumber>, ["~> 0.9.1"])
- end
- else
- s.add_dependency(%q<cucumber>, ["~> 0.9.1"])
- end
-end
-
View
@@ -157,7 +157,7 @@
<phase>package</phase>
<configuration>
<tasks>
- <copy file="${project.build.directory}/${project.build.finalName}.jar" tofile="lib/cuke4duke.jar"/>
+ <copy file="${project.build.directory}/${project.build.finalName}.jar" tofile="../lib/cuke4duke.jar"/>
</tasks>
</configuration>
<goals>
File renamed without changes.

0 comments on commit 0e632b1

Please sign in to comment.