From 8c8f5a6b64211e1480edbab1eeb9f7bb76d60ecc Mon Sep 17 00:00:00 2001 From: Kornelius Kalnbach Date: Sun, 7 Oct 2012 03:13:54 +0200 Subject: cleaning up RC release script --- coderay.gemspec | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'coderay.gemspec') diff --git a/coderay.gemspec b/coderay.gemspec index 1f88318..e686035 100644 --- a/coderay.gemspec +++ b/coderay.gemspec @@ -8,10 +8,7 @@ Gem::Specification.new do |s| if ENV['RELEASE'] s.version = CodeRay::VERSION else - # thanks to @Argorak for this solution - # revision = 134 + (`git log --oneline | wc -l`.to_i) - # s.version = "#{CodeRay::VERSION}.#{revision}rc1" - s.version = "#{CodeRay::VERSION}.rc2" + s.version = "#{CodeRay::VERSION}.rc#{ENV['RC'] || 1}" end s.authors = ['Kornelius Kalnbach'] -- cgit v1.2.1 From 746ca8a4518c67690d3a39267153aeea4e4da589 Mon Sep 17 00:00:00 2001 From: Jordi Massaguer Pla Date: Thu, 17 Jan 2013 17:04:00 +0100 Subject: fix license file name into gemspec --- coderay.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coderay.gemspec') diff --git a/coderay.gemspec b/coderay.gemspec index e686035..bebfd60 100644 --- a/coderay.gemspec +++ b/coderay.gemspec @@ -22,7 +22,7 @@ Gem::Specification.new do |s| readme_file = 'README_INDEX.rdoc' - s.files = `git ls-files -- lib/* test/functional/* Rakefile #{readme_file} LICENSE`.split("\n") + s.files = `git ls-files -- lib/* test/functional/* Rakefile #{readme_file} MIT-LICENSE`.split("\n") s.test_files = `git ls-files -- test/functional/*`.split("\n") s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) } s.require_paths = ['lib'] -- cgit v1.2.1 From e7ca33a69aefc44a0b100eeeaffc77f6376dbf5a Mon Sep 17 00:00:00 2001 From: Joey Geiger Date: Fri, 8 Feb 2013 14:43:37 -0600 Subject: Add License to gemspec --- coderay.gemspec | 2 ++ 1 file changed, 2 insertions(+) (limited to 'coderay.gemspec') diff --git a/coderay.gemspec b/coderay.gemspec index bebfd60..328b94c 100644 --- a/coderay.gemspec +++ b/coderay.gemspec @@ -17,6 +17,8 @@ Gem::Specification.new do |s| s.summary = 'Fast syntax highlighting for selected languages.' s.description = 'Fast and easy syntax highlighting for selected languages, written in Ruby. Comes with RedCloth integration and LOC counter.' + s.license = 'MIT' + s.platform = Gem::Platform::RUBY s.required_ruby_version = '>= 1.8.6' -- cgit v1.2.1