Permalink
Browse files

Move tw2ff from samples/ to bin/, and install it as an executable.

Make gemspec work under a $SAFE environment (GitHub).
  • Loading branch information...
1 parent fc2351f commit df865ebd673b3c09d89d0f510170ad9db07f1443 @knu knu committed May 15, 2009
Showing with 7 additions and 1 deletion.
  1. 0 {samples → bin}/tw2ff
  2. +7 −1 friendfeed.gemspec
File renamed without changes.
View
@@ -9,8 +9,14 @@ Gem::Specification.new do |s|
s.description = s.summary
s.email = "knu@idaemons.org"
s.homepage = %q{http://github.com/knu/ruby-friendfeed}
- s.files = Dir.glob("lib/**/*.rb") + Dir.glob("samples/**/*")
+ s.files = %w[
+ lib/friendfeed.rb
+ lib/friendfeed/compat.rb
+ lib/friendfeed/unofficial.rb
+ bin/tw2ff
+ ]
s.require_paths = ["lib"]
+ s.executables = ["tw2ff"]
s.has_rdoc = true
s.rdoc_options = ["--inline-source", "--charset=UTF-8"]
end

0 comments on commit df865eb

Please sign in to comment.