Skip to content

Commit ac4430a

Browse files
committed
cleanup gemspec
1 parent 0840836 commit ac4430a

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

coderay.gemspec

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,13 @@ Gem::Specification.new do |s|
2020
s.description = 'Fast and easy syntax highlighting for selected languages, written in Ruby. Comes with RedCloth integration and LOC counter.'
2121

2222
s.platform = Gem::Platform::RUBY
23-
s.required_ruby_version = '>= 1.8.7'
23+
s.required_ruby_version = '>= 1.8.6'
2424

25-
# s.add_dependency "paint", '~> 0.8.2'
26-
27-
# s.files = `git ls-files`.split("\n")
28-
# s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
29-
# s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
30-
# s.require_paths = ["lib"]
3125
readme_file = 'README_INDEX.rdoc'
3226

33-
s.files = Dir['lib/**/*.rb'] + %W(Rakefile #{readme_file} LICENSE) + Dir['test/functional/*.rb']
34-
s.test_files = Dir['test/functional/*.rb']
35-
s.executables = ['coderay']
27+
s.files = `git ls-files -- lib/* test/functional/* Rakefile #{readme_file} LICENSE`.split("\n")
28+
s.test_files = `git ls-files -- test/functional/*`.split("\n")
29+
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
3630
s.require_paths = ['lib']
3731

3832
s.rubyforge_project = s.name

0 commit comments

Comments
 (0)