debian/0000755000000000000000000000000012256142021007161 5ustar debian/copyright0000644000000000000000000000251712176035063011131 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: asset_sync Source: http://rubygems.org/gems/asset_sync Files: * Copyright: 2011-2013 Rumble Labs Ltd. License: Expat Files: debian/* Copyright: 2013 Praveen Arimbrathodiyil License: Expat License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/rules0000755000000000000000000000105112176035063010246 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 # # Uncomment to ignore all test failures (but the tests will run anyway) #export DH_RUBY_IGNORE_TESTS=all # # Uncomment to ignore some test failures (but the tests will run anyway). # Valid values: #export DH_RUBY_IGNORE_TESTS=ruby1.8 ruby1.9.1 require-rubygems # # If you need to specify the .gemspec (eg there is more than one) #export DH_RUBY_GEMSPEC=gem.gemspec %: dh $@ --buildsystem=ruby --with ruby clean: dh clean --buildsystem=ruby --with ruby rm -rf coverage spec/dummy_app/{public,cache,log,tmp} debian/source/0000755000000000000000000000000012176035063010471 5ustar debian/source/format0000644000000000000000000000001412176035063011677 0ustar 3.0 (quilt) debian/control0000644000000000000000000000241312256141176010576 0ustar Source: ruby-asset-sync Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Praveen Arimbrathodiyil Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.6.0~), ruby-simplecov, ruby-rspec, rake, ruby-fog, ruby-activemodel, ruby-rails-3.2 Standards-Version: 3.9.5 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-asset-sync.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-asset-sync.git;a=summary Homepage: https://github.com/rumblelabs/asset_sync XS-Ruby-Versions: all Package: ruby-asset-sync Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-fog, ruby-activemodel Description: synchronises assets in a Rails 3 app and Amazon/Rackspace cloud accounts After you run assets:precompile your compiled assets will be synchronised with your Amazon S3/Cloudfront or Rackspace Cloudfiles. . Asset Sync is built to run with the new Rails Asset Pipeline feature introduced in Rails 3.1. After you run __bundle exec rake assets:precompile__ your assets will be synchronised to your cloud account, optionally deleting unused files and only uploading the files it needs to. debian/watch0000644000000000000000000000015112176035063010217 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/asset_sync .*/asset_sync-(.*).tar.gz debian/ruby-tests.rake0000644000000000000000000000022312176035063012153 0ustar require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) do |spec| spec.pattern = './spec/**/*_spec.rb' end task :default => :spec debian/changelog0000644000000000000000000000100312256131200011022 0ustar ruby-asset-sync (1.0.0-1) unstable; urgency=medium * Team upload. * New upstream release. * Build-Depend on simplecov instead of rcov * Refresh patches * Update Standards-Version to 3.9.5 (no changes) * Update Build-Depends for ruby2.0, drop ruby1.8 -- Christian Hofstaedtler Mon, 23 Dec 2013 22:59:52 +0100 ruby-asset-sync (0.5.4-1) unstable; urgency=low * Initial release (Closes: #711306) -- Praveen Arimbrathodiyil Wed, 05 Jun 2013 20:04:16 +0530 debian/compat0000644000000000000000000000000212176035063010367 0ustar 7 debian/patches/0000755000000000000000000000000012256131203010610 5ustar debian/patches/disable-aws-tests.patch0000644000000000000000000000234712256130347015202 0ustar Description: Disable tests with aws It needs internet access and an aws key to run. Author: Praveen Arimbrathodiyil Last-Update: 2013-06-06 Index: ruby-asset-sync/spec/integration/aws_integration_spec.rb =================================================================== --- ruby-asset-sync.orig/spec/integration/aws_integration_spec.rb 2013-12-23 22:53:39.266839306 +0100 +++ ruby-asset-sync/spec/integration/aws_integration_spec.rb 2013-12-23 22:53:39.262839320 +0100 @@ -41,7 +41,7 @@ describe "AssetSync" do end end - it "sync" do + xit "sync" do execute "rake ASSET_SYNC_PREFIX=#{@prefix} assets:precompile" # bucket(@prefix).files.size.should == 5 @@ -58,12 +58,12 @@ describe "AssetSync" do app_js_gz.content_encoding.should == "gzip" end - it "sync with enabled=false" do + xit "sync with enabled=false" do execute "rake ASSET_SYNC_PREFIX=#{@prefix} ASSET_SYNC_ENABLED=false assets:precompile" bucket(@prefix).files.size.should == 0 end - it "sync with gzip_compression=true" do + xit "sync with gzip_compression=true" do execute "rake ASSET_SYNC_PREFIX=#{@prefix} ASSET_SYNC_GZIP_COMPRESSION=true assets:precompile" # bucket(@prefix).files.size.should == 3 debian/patches/series0000644000000000000000000000006612256130525012035 0ustar remove-rubygems-bundler.patch disable-aws-tests.patch debian/patches/remove-rubygems-bundler.patch0000644000000000000000000000143412256130777016433 0ustar Index: ruby-asset-sync/spec/spec_helper.rb =================================================================== --- ruby-asset-sync.orig/spec/spec_helper.rb 2013-12-23 22:55:36.138440557 +0100 +++ ruby-asset-sync/spec/spec_helper.rb 2013-12-23 22:58:20.909875255 +0100 @@ -1,6 +1,3 @@ -require 'rubygems' -require 'bundler' - begin require 'simplecov' SimpleCov.start do @@ -10,14 +7,6 @@ rescue LoadError # SimpleCov ain't available - continue end -begin - Bundler.setup(:default, :development) -rescue Bundler::BundlerError => e - $stderr.puts e.message - $stderr.puts "Run `bundle install` to install missing gems" - exit e.status_code -end - $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) require 'asset_sync' debian/ruby-asset-sync.docs0000644000000000000000000000004312176035063013110 0ustar # FIXME: READMEs found # README.md