forked from envato/safe_shell
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Converted to latest RSpec, Bundler, etc. and bumped to 1.0.1.
Now using bundler for deployment.
- Loading branch information
Showing
9 changed files
with
57 additions
and
91 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
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,4 @@ | |||
source "http://rubygems.org" | |||
|
|||
# Specify your gem's dependencies in safe_shell.gemspec | |||
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
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,24 @@ | |||
PATH | |||
remote: . | |||
specs: | |||
safe_shell (1.0.1) | |||
|
|||
GEM | |||
remote: http://rubygems.org/ | |||
specs: | |||
diff-lcs (1.1.2) | |||
rspec (2.5.0) | |||
rspec-core (~> 2.5.0) | |||
rspec-expectations (~> 2.5.0) | |||
rspec-mocks (~> 2.5.0) | |||
rspec-core (2.5.1) | |||
rspec-expectations (2.5.0) | |||
diff-lcs (~> 1.1.2) | |||
rspec-mocks (2.5.0) | |||
|
|||
PLATFORMS | |||
ruby | |||
|
|||
DEPENDENCIES | |||
rspec | |||
safe_shell! |
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,3 @@ | |||
module SafeShell | |||
VERSION = "1.0.1" | |||
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
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,55 +1,24 @@ | |||
# Generated by jeweler | |||
# DO NOT EDIT THIS FILE DIRECTLY | |||
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command | |||
# -*- encoding: utf-8 -*- | # -*- encoding: utf-8 -*- | ||
$:.push File.expand_path("../lib", __FILE__) | |||
require "safe_shell/version" | |||
|
|
||
Gem::Specification.new do |s| | Gem::Specification.new do |s| | ||
s.name = %q{safe_shell} | s.name = "safe_shell" | ||
s.version = "1.0.0" | s.version = SafeShell::VERSION | ||
|
s.platform = Gem::Platform::RUBY | ||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= | s.authors = ["Envato", "Ian Leitch", "Pete Yandell"] | ||
s.authors = ["Envato", "Ian Leitch", "Pete Yandell"] | s.email = ["pete@notahat.com"] | ||
s.date = %q{2010-11-08} | s.homepage = "http://github.com/envato/safe_shell" | ||
s.summary = %q{Safely execute shell commands and get their output.} | |||
s.description = %q{Execute shell commands and get the resulting output, but without the security problems of Ruby’s backtick operator.} | s.description = %q{Execute shell commands and get the resulting output, but without the security problems of Ruby’s backtick operator.} | ||
s.email = %q{pete@notahat.com} | |||
s.extra_rdoc_files = [ | |||
"LICENSE", | |||
"README.rdoc" | |||
] | |||
s.files = [ | |||
".document", | |||
".gitignore", | |||
"LICENSE", | |||
"README.rdoc", | |||
"Rakefile", | |||
"VERSION", | |||
"lib/safe_shell.rb", | |||
"spec/safe_shell_spec.rb", | |||
"spec/spec.opts", | |||
"spec/spec_helper.rb", | |||
"tmp/.gitkeep" | |||
] | |||
s.homepage = %q{http://github.com/envato/safe_shell} | |||
s.rdoc_options = ["--charset=UTF-8"] | |||
s.require_paths = ["lib"] | |||
s.rubygems_version = %q{1.3.7} | |||
s.summary = %q{Safely execute shell commands and get their output.} | |||
s.test_files = [ | |||
"spec/safe_shell_spec.rb", | |||
"spec/spec_helper.rb" | |||
] | |||
|
|
||
if s.respond_to? :specification_version then | s.add_development_dependency "rspec" | ||
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.rubyforge_project = "safe_shell" | ||
s.add_development_dependency(%q<rspec>, [">= 1.2.9"]) | |||
else | |||
s.add_dependency(%q<rspec>, [">= 1.2.9"]) | |||
end | |||
else | |||
s.add_dependency(%q<rspec>, [">= 1.2.9"]) | |||
end | |||
end | |||
|
|
||
s.files = `git ls-files`.split("\n") | |||
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") | |||
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } | |||
s.require_paths = ["lib"] | |||
s.extra_rdoc_files = ["LICENSE", "README.rdoc"] | |||
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 was deleted.
Oops, something went wrong.