Skip to content

Commit

Permalink
Converted project to Bundler since Jeweler fell out of favor
Browse files Browse the repository at this point in the history
Added generic MIT license, this only applies if Roger Pack approves the
license.
  • Loading branch information
zph committed Jun 9, 2013
1 parent 9ac56d2 commit 30fa88e
Show file tree
Hide file tree
Showing 7 changed files with 100 additions and 54 deletions.
4 changes: 4 additions & 0 deletions Gemfile
@@ -0,0 +1,4 @@
source 'https://rubygems.org'

# Specify your gem's dependencies in specific_install.gemspec
gemspec
22 changes: 22 additions & 0 deletions LICENSE.txt
@@ -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.
84 changes: 42 additions & 42 deletions README
@@ -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.
12 changes: 1 addition & 11 deletions Rakefile
@@ -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"
1 change: 0 additions & 1 deletion VERSION

This file was deleted.

3 changes: 3 additions & 0 deletions lib/specific_install/version.rb
@@ -0,0 +1,3 @@
module SpecificInstall
VERSION = "0.2.3"
end
28 changes: 28 additions & 0 deletions specific_install.gemspec
@@ -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

0 comments on commit 30fa88e

Please sign in to comment.