Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

cleanup of things that don't exist anymore

  • Loading branch information...
commit f495e1c31ef41f54f4592e259a02ed127e5b5a91 1 parent cf0885f
@copiousfreetime authored
Showing with 4 additions and 5 deletions.
  1. +2 −3 spec/packer_spec.rb
  2. +2 −2 tasks/extension.rake
View
5 spec/packer_spec.rb
@@ -1,6 +1,5 @@
require File.expand_path(File.join(File.dirname(__FILE__),"spec_helper.rb"))
require 'amalgalite/packer'
-require 'gemspec'
describe "Amalgalite::Packer" do
before( :each ) do
@@ -51,8 +50,8 @@
it "has all the lib files in the amalgalite gem" do
ro = Amalgalite::Packer.amalgalite_require_order
- glist = Amalgalite::GEM_SPEC.files.select { |l| l.index("lib/amalgalite") == 0 }
- glist.map! { |l| l.sub("lib/","") }
+ glist = IO.readlines("Manifest.txt").select { |l| l.index("lib/amalgalite") == 0 }
+ glist.map! { |l| l.strip.sub("lib/","") }
(glist - ro).each do |l|
l.should_not =~ /amalgalite/
end
View
4 tasks/extension.rake
@@ -28,8 +28,8 @@ namespace :ext do
sh "make"
# install into requireable location so specs will run
- subdir = "amalgalite/#{RUBY_VERSION.sub(/\.\d$/,'')}"
- dest_dir = Amalgalite::Paths.lib_path( subdir )
+ version_sub = RUBY_VERSION.sub(/\.\d$/,'')
+ dest_dir = Util.proj_path( 'lib', 'amalgalite', version_sub)
mkdir_p dest_dir, :verbose => true
cp "amalgalite3.#{Config::CONFIG['DLEXT']}", dest_dir, :verbose => true
end
Please sign in to comment.
Something went wrong with that request. Please try again.