Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove Jeweler, use Bundler, upgrade RSpec and tidy up gem.
- Loading branch information
Andrew Bruce
committed
Jan 28, 2011
1 parent
1c73f14
commit 1cebcb5
Showing
10 changed files
with
52 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,5 +17,7 @@ tmtags | |
coverage | ||
rdoc | ||
pkg | ||
Gemfile.lock | ||
ungulate-*.gem | ||
|
||
## PROJECT::SPECIFIC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
source 'http://rubygems.org' | ||
gemspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
require 'ostruct' | ||
|
||
When /^I run Ungulate$/ do | ||
@errors = OpenStruct.new :write => '' | ||
$stderr = @errors | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) | ||
require 'lib/ungulate' | ||
require 'ruby-debug' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,3 @@ | ||
$LOAD_PATH.unshift(File.dirname(__FILE__)) | ||
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) | ||
require 'ungulate' | ||
require 'spec' | ||
require 'spec/autorun' | ||
require 'rspec' | ||
|
||
Spec::Runner.configure do |config| | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,90 +1,48 @@ | ||
# Generated by jeweler | ||
# DO NOT EDIT THIS FILE DIRECTLY | ||
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command | ||
# -*- encoding: utf-8 -*- | ||
Gem::Specification.new do |gem| | ||
gem.name = 'ungulate' | ||
gem.version = File.read('VERSION') | ||
|
||
Gem::Specification.new do |s| | ||
s.name = %q{ungulate} | ||
s.version = "0.0.15" | ||
|
||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= | ||
s.authors = ["Andrew Bruce"] | ||
s.date = %q{2010-12-05} | ||
s.default_executable = %q{ungulate_server.rb} | ||
s.description = %q{WIP} | ||
s.email = %q{andrew@camelpunch.com} | ||
s.executables = ["ungulate_server.rb"] | ||
s.extra_rdoc_files = [ | ||
gem.authors = ["Andrew Bruce"] | ||
gem.date = Date.today.to_s | ||
gem.default_executable = 'ungulate_server.rb' | ||
gem.description = File.read('README.rdoc') | ||
gem.email = 'andrew@camelpunch.com' | ||
gem.executables = ["ungulate_server.rb"] | ||
gem.extra_rdoc_files = [ | ||
"LICENSE", | ||
"README.rdoc" | ||
"README.rdoc" | ||
] | ||
s.files = [ | ||
gem.files = Dir[ | ||
".document", | ||
".gitignore", | ||
"LICENSE", | ||
"README.rdoc", | ||
"Rakefile", | ||
"VERSION", | ||
"bin/ungulate_server.rb", | ||
"features/camels.jpg", | ||
"features/cope_with_empty_queue.feature", | ||
"features/image_resize.feature", | ||
"features/step_definitions/command_steps.rb", | ||
"features/step_definitions/queue_steps.rb", | ||
"features/step_definitions/version_steps.rb", | ||
"features/support.rb", | ||
"lib/ungulate.rb", | ||
"lib/ungulate/file_upload.rb", | ||
"lib/ungulate/job.rb", | ||
"lib/ungulate/server.rb", | ||
"lib/ungulate/view_helpers.rb", | ||
"spec/spec.opts", | ||
"spec/spec_helper.rb", | ||
"spec/ungulate/file_upload_spec.rb", | ||
"spec/ungulate/job_spec.rb", | ||
"spec/ungulate/server_spec.rb", | ||
"spec/ungulate/view_helpers_spec.rb", | ||
"ungulate.gemspec" | ||
".gitignore", | ||
"LICENSE", | ||
"README.rdoc", | ||
"Rakefile", | ||
"VERSION", | ||
"bin/*", | ||
"features/**/*", | ||
"lib/**/*", | ||
"spec/**/*", | ||
] | ||
s.homepage = %q{http://github.com/camelpunch/ungulate} | ||
s.rdoc_options = ["--charset=UTF-8"] | ||
s.require_paths = ["lib"] | ||
s.rubygems_version = %q{1.3.7} | ||
s.summary = %q{Process images using Amazon SQS and S3} | ||
s.test_files = [ | ||
gem.homepage = 'http://github.com/camelpunch/ungulate' | ||
gem.rdoc_options = ["--charset=UTF-8"] | ||
gem.require_paths = ["lib"] | ||
gem.summary = 'Process images using Amazon SQS and S3' | ||
gem.test_files = [ | ||
"spec/spec_helper.rb", | ||
"spec/ungulate/file_upload_spec.rb", | ||
"spec/ungulate/job_spec.rb", | ||
"spec/ungulate/server_spec.rb", | ||
"spec/ungulate/view_helpers_spec.rb" | ||
"spec/ungulate/file_upload_spec.rb", | ||
"spec/ungulate/job_spec.rb", | ||
"spec/ungulate/server_spec.rb", | ||
"spec/ungulate/view_helpers_spec.rb" | ||
] | ||
|
||
if s.respond_to? :specification_version then | ||
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION | ||
s.specification_version = 3 | ||
|
||
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then | ||
s.add_runtime_dependency(%q<activesupport>, [">= 2.3.5"]) | ||
s.add_runtime_dependency(%q<right_aws>, [">= 2.0.0"]) | ||
s.add_runtime_dependency(%q<rmagick>, [">= 2.13.1"]) | ||
s.add_runtime_dependency(%q<mime-types>, [">= 1.16"]) | ||
s.add_development_dependency(%q<rspec>, [">= 1.3.0"]) | ||
s.add_development_dependency(%q<cucumber>, [">= 0.8.1"]) | ||
else | ||
s.add_dependency(%q<activesupport>, [">= 2.3.5"]) | ||
s.add_dependency(%q<right_aws>, [">= 2.0.0"]) | ||
s.add_dependency(%q<rmagick>, [">= 2.13.1"]) | ||
s.add_dependency(%q<mime-types>, [">= 1.16"]) | ||
s.add_dependency(%q<rspec>, [">= 1.3.0"]) | ||
s.add_dependency(%q<cucumber>, [">= 0.8.1"]) | ||
end | ||
else | ||
s.add_dependency(%q<activesupport>, [">= 2.3.5"]) | ||
s.add_dependency(%q<right_aws>, [">= 2.0.0"]) | ||
s.add_dependency(%q<rmagick>, [">= 2.13.1"]) | ||
s.add_dependency(%q<mime-types>, [">= 1.16"]) | ||
s.add_dependency(%q<rspec>, [">= 1.3.0"]) | ||
s.add_dependency(%q<cucumber>, [">= 0.8.1"]) | ||
end | ||
gem.add_runtime_dependency('activesupport', [">= 2.3.5"]) | ||
gem.add_runtime_dependency('right_aws', [">= 2.0.0"]) | ||
gem.add_runtime_dependency('rmagick', [">= 2.13.1"]) | ||
gem.add_runtime_dependency('mime-types', [">= 1.16"]) | ||
gem.add_development_dependency('rake') | ||
gem.add_development_dependency('rspec', [">= 2.4.0"]) | ||
gem.add_development_dependency('cucumber', [">= 0.10.0"]) | ||
gem.add_development_dependency('i18n', [">= 0.5.0"]) | ||
end | ||
|