Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Converted project to Bundler since Jeweler fell out of favor
Added generic MIT license, this only applies if Roger Pack approves the license.
- Loading branch information
Showing
7 changed files
with
100 additions
and
54 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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
source 'https://rubygems.org' | ||
|
||
# Specify your gem's dependencies in specific_install.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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Copyright (c) 2010-2013 Roger Pack | ||
|
||
MIT License | ||
|
||
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. |
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,42 +1,42 @@ | ||
specific_install gem: | ||
a rubygems plugin that allows you to install an "edge" gem straight from its github repository, or install one from an | ||
arbitrary url web: | ||
ex: | ||
$ gem specific_install -l http://github.com/githubsvnclone/rdoc.git | ||
git installing from http://github.com/githubsvnclone/rdoc.git | ||
... | ||
(in /tmp/d20100401-30708-fwpa18) | ||
mkdir -p pkg | ||
Successfully built RubyGem | ||
Name: rdoc | ||
Version: 2.5 | ||
File: rdoc-2.5.gem | ||
mv rdoc-2.5.gem pkg/rdoc-2.5.gem | ||
Successfully installed rdoc-2.5 | ||
1 gem installed | ||
[ it runs git clone, and rake install, install the gem, then deletes the temp directory] | ||
and a url: | ||
$ gem specific_install -l http://github.com/downloads/rdp/ruby_core_ri/rdoc-2.4.3.1.gem | ||
downloading http://github.com/downloads/rdp/ruby_core_ri/rdoc-2.4.3.1.gem | ||
... | ||
Saving to: `rdoc-2.4.3.1.gem' | ||
100%[======================================================================================================================================================>] 176,128 211K/s in 0.8s | ||
Successfully installed rdoc-2.4.3.1 | ||
1 gem installed | ||
== Installation == | ||
$ gem install specific_install | ||
Enjoy. | ||
specific_install gem: | ||
|
||
a rubygems plugin that allows you to install an "edge" gem straight from its github repository, or install one from an | ||
arbitrary url web: | ||
|
||
ex: | ||
|
||
$ gem specific_install -l http://github.com/githubsvnclone/rdoc.git | ||
|
||
git installing from http://github.com/githubsvnclone/rdoc.git | ||
... | ||
(in /tmp/d20100401-30708-fwpa18) | ||
mkdir -p pkg | ||
Successfully built RubyGem | ||
Name: rdoc | ||
Version: 2.5 | ||
File: rdoc-2.5.gem | ||
mv rdoc-2.5.gem pkg/rdoc-2.5.gem | ||
Successfully installed rdoc-2.5 | ||
1 gem installed | ||
|
||
[ it runs git clone, and rake install, install the gem, then deletes the temp directory] | ||
|
||
and a url: | ||
|
||
$ gem specific_install -l http://github.com/downloads/rdp/ruby_core_ri/rdoc-2.4.3.1.gem | ||
|
||
downloading http://github.com/downloads/rdp/ruby_core_ri/rdoc-2.4.3.1.gem | ||
... | ||
|
||
Saving to: `rdoc-2.4.3.1.gem' | ||
|
||
100%[======================================================================================================================================================>] 176,128 211K/s in 0.8s | ||
|
||
Successfully installed rdoc-2.4.3.1 | ||
1 gem installed | ||
|
||
== Installation == | ||
|
||
$ gem install specific_install | ||
|
||
Enjoy. |
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,11 +1 @@ | ||
require 'jeweler' | ||
Jeweler::Tasks.new do |s| | ||
s.name = "specific_install" | ||
s.summary = "rubygems plugin that allows you you to install a gem from from its github repository (like 'edge'), or from an arbitrary URL" | ||
s.email = "rogerdpack@gmail.com" | ||
s.homepage = "http://github.com/rdp/specific_installs" | ||
s.authors = ["Roger Pack"] | ||
s.add_development_dependency 'rspec' | ||
s.add_development_dependency 'sane' | ||
s.add_dependency 'backports' | ||
end | ||
require "bundler/gem_tasks" |
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,3 @@ | ||
module SpecificInstall | ||
VERSION = "0.2.3" | ||
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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# coding: utf-8 | ||
lib = File.expand_path('../lib', __FILE__) | ||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ||
require 'specific_install/version' | ||
|
||
Gem::Specification.new do |s| | ||
|
||
s.name = "specific_install" | ||
s.description = %q{rubygems plugin that allows you you to install a gem from from its github repository (like 'edge'), or from an arbitrary URL} | ||
s.summary = "rubygems plugin that allows you you to install a gem from from its github repository (like 'edge'), or from an arbitrary URL" | ||
s.email = "rogerdpack@gmail.com" | ||
s.homepage = "http://github.com/rdp/specific_installs" | ||
s.authors = ["Roger Pack"] | ||
s.version = SpecificInstall::VERSION | ||
s.homepage = "https://github.com/rdp/specific_install" | ||
s.license = "MIT" | ||
|
||
s.files = `git ls-files`.split($/) | ||
s.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } | ||
s.test_files = spec.files.grep(%r{^(test|spec|features)/}) | ||
s.require_paths = ["lib"] | ||
|
||
s.add_dependency 'backports' | ||
s.add_development_dependency 'rspec' | ||
s.add_development_dependency 'sane' | ||
s.add_development_dependency "bundler", "~> 1.3" | ||
s.add_development_dependency "rake" | ||
end |