summaryrefslogtreecommitdiff
path: root/coderay.gemspec
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2013-03-10 22:46:27 +0100
committerKornelius Kalnbach <murphy@rubychan.de>2013-03-10 22:46:27 +0100
commit7d2c3e59d1691bcde16fc3e51d92797bfc9a2442 (patch)
tree89f349d803d5327f12d728fbd994c6503541f713 /coderay.gemspec
parentec39f80865cac97a49a6fec138dedc22e5971bad (diff)
parentfc16be24d48f8a729ac987149f98f19725943e0d (diff)
downloadcoderay-7d2c3e59d1691bcde16fc3e51d92797bfc9a2442.tar.gz
Merge branch 'master' into go-scanner
Diffstat (limited to 'coderay.gemspec')
-rw-r--r--coderay.gemspec9
1 files changed, 4 insertions, 5 deletions
diff --git a/coderay.gemspec b/coderay.gemspec
index 1f88318..328b94c 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']
@@ -20,12 +17,14 @@ 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'
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']