Skip to content

Commit

Permalink
Merge branch 'master' of github.com:mattneub/appscript
Browse files Browse the repository at this point in the history
  • Loading branch information
mattneub committed Feb 12, 2015
2 parents c4cddc8 + 7d0af3e commit f6edd1e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
4 changes: 2 additions & 2 deletions rb-appscript/trunk/extconf.rb
Expand Up @@ -39,9 +39,9 @@
maj, min, rev = RUBY_VERSION.split('.')
is_ruby_18 = (maj == '1' and min.to_i < 9)
if is_ruby_18
header_path = Config::CONFIG['archdir']
header_path = RbConfig::CONFIG['archdir']
else
header_path = File.join(Config::CONFIG['rubyhdrdir'], 'ruby')
header_path = File.join(RbConfig::CONFIG['rubyhdrdir'], 'ruby')
end
ruby_h = File.join(header_path, 'ruby.h')
intern_h = File.join(header_path, 'intern.h')
Expand Down
10 changes: 1 addition & 9 deletions rb-appscript/trunk/rb-appscript.gemspec
@@ -1,19 +1,11 @@
require "rubygems"

spec = Gem::Specification.new do |s|
s.name = "rb-appscript"
s.version = "0.6.1"
s.homepage = "http://appscript.sourceforge.net/"
s.authors = ["Hamish Sanderson"]
s.summary="Ruby appscript (rb-appscript) is a high-level, user-friendly Apple event bridge that allows you to control scriptable Mac OS X applications using ordinary Ruby scripts."
s.files = Dir["**/*"].delete_if { |name| ["MakeFile", "ae.bundle", "mkmf.log", "rbae.o", "SendThreadSafe.o", "src/osx_ruby.h", "src/osx_intern.h"].include?(name) }
s.extensions = "extconf.rb"
s.test_files = Dir["test/test_*.rb"]
# s.platform = Gem::Platform::CURRENT
s.required_ruby_version = ">= 1.8"
end


if $0==__FILE__
Gem::manage_gems
Gem::Builder.new(spec).build
end

0 comments on commit f6edd1e

Please sign in to comment.