diff --git a/Rakefile b/Rakefile index 2fcca030..656bc529 100644 --- a/Rakefile +++ b/Rakefile @@ -1,24 +1,7 @@ require "rubygems" require "rubygems/package_task" -PROJ_VERSION = "2.23.3" - -spec = Gem::Specification.new do |s| - s.name = "choria-mcorpc-support" - s.version = PROJ_VERSION - s.license = "Apache-2.0" - s.author = "R.I.Pienaar" - s.email = "rip@devco.net" - s.homepage = "https://choria.io/" - s.summary = "Support libraries the Choria Server" - s.description = "Libraries enabling Ruby support for the Choria Orchestration Server" - s.files = FileList["{lib,bin}/**/*"].to_a - s.require_path = "lib" - s.bindir = "bin" - s.executables = ["mco"] - s.add_dependency "systemu", "~> 2.6", ">= 2.6.4" - s.add_dependency "nats-pure", "~> 0.6" -end +spec = Gem::Specification.load('mcorpc-ruby-support.gemspec') Gem::PackageTask.new(spec) do |pkg| pkg.need_tar = false diff --git a/mcorpc-ruby-support.gemspec b/mcorpc-ruby-support.gemspec new file mode 100644 index 00000000..870db3e6 --- /dev/null +++ b/mcorpc-ruby-support.gemspec @@ -0,0 +1,20 @@ +require "rake" + +PROJ_VERSION = "2.23.3" + +Gem::Specification.new do |s| + s.name = "choria-mcorpc-support" + s.version = PROJ_VERSION + s.license = "Apache-2.0" + s.author = "R.I.Pienaar" + s.email = "rip@devco.net" + s.homepage = "https://choria.io/" + s.summary = "Support libraries the Choria Server" + s.description = "Libraries enabling Ruby support for the Choria Orchestration Server" + s.files = FileList["{lib,bin}/**/*"].to_a + s.require_path = "lib" + s.bindir = "bin" + s.executables = ["mco"] + s.add_dependency "systemu", "~> 2.6", ">= 2.6.4" + s.add_dependency "nats-pure", "~> 0.6" +end