Sha256: b23080c23e225d708df4d55f9e93f9072845fb74f1e26d4c66a6bf380b524928
Contents?: true
Size: 634 Bytes
Versions: 6
Compression:
Stored size: 634 Bytes
Contents
$:.unshift(File.expand_path("../lib", File.dirname(__FILE__))) require "cutest" require "imagery" def fixture(filename) File.expand_path("fixtures/#{filename}", File.dirname(__FILE__)) end def resolution(file) `gm identify #{file}`[/(\d+x\d+)/, 1] end prepare do FileUtils.rm_rf(File.expand_path("../public", File.dirname(__FILE__))) Imagery::S3::Gateway.commands.clear end class Imagery module S3 module Gateway def self.execute(command, *args) commands << [command, *args.select { |a| a.respond_to?(:to_str) }] end def self.commands @commands ||= [] end end end end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
imagery-1.0.0 | tests/helper.rb |
imagery-1.0.0.rc2 | tests/helper.rb |
imagery-1.0.0.rc1 | tests/helper.rb |
imagery-0.2.2 | test/helper.rb |
imagery-0.2.1 | test/helper.rb |
imagery-0.2.0 | test/helper.rb |