forked from tenderlove/rails_autolink
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Throw the Hoe on the street and go with a regular gemspec setup and a…
…llow this to be used with Rails 4+
- Loading branch information
Showing
5 changed files
with
106 additions
and
30 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 |
---|---|---|
|
@@ -3,6 +3,4 @@ source 'http://rubygems.org' | |
gem 'rails' | ||
gem 'arel' | ||
gem 'rack' | ||
gem 'hoe' | ||
gem 'minitest' | ||
|
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,89 @@ | ||
GEM | ||
remote: http://rubygems.org/ | ||
specs: | ||
actionmailer (3.2.7) | ||
actionpack (= 3.2.7) | ||
mail (~> 2.4.4) | ||
actionpack (3.2.7) | ||
activemodel (= 3.2.7) | ||
activesupport (= 3.2.7) | ||
builder (~> 3.0.0) | ||
erubis (~> 2.7.0) | ||
journey (~> 1.0.4) | ||
rack (~> 1.4.0) | ||
rack-cache (~> 1.2) | ||
rack-test (~> 0.6.1) | ||
sprockets (~> 2.1.3) | ||
activemodel (3.2.7) | ||
activesupport (= 3.2.7) | ||
builder (~> 3.0.0) | ||
activerecord (3.2.7) | ||
activemodel (= 3.2.7) | ||
activesupport (= 3.2.7) | ||
arel (~> 3.0.2) | ||
tzinfo (~> 0.3.29) | ||
activeresource (3.2.7) | ||
activemodel (= 3.2.7) | ||
activesupport (= 3.2.7) | ||
activesupport (3.2.7) | ||
i18n (~> 0.6) | ||
multi_json (~> 1.0) | ||
arel (3.0.2) | ||
builder (3.0.0) | ||
erubis (2.7.0) | ||
hike (1.2.1) | ||
i18n (0.6.0) | ||
journey (1.0.4) | ||
json (1.7.4) | ||
mail (2.4.4) | ||
i18n (>= 0.4.0) | ||
mime-types (~> 1.16) | ||
treetop (~> 1.4.8) | ||
mime-types (1.19) | ||
minitest (3.3.0) | ||
multi_json (1.3.6) | ||
polyglot (0.3.3) | ||
rack (1.4.1) | ||
rack-cache (1.2) | ||
rack (>= 0.4) | ||
rack-ssl (1.3.2) | ||
rack | ||
rack-test (0.6.1) | ||
rack (>= 1.0) | ||
rails (3.2.7) | ||
actionmailer (= 3.2.7) | ||
actionpack (= 3.2.7) | ||
activerecord (= 3.2.7) | ||
activeresource (= 3.2.7) | ||
activesupport (= 3.2.7) | ||
bundler (~> 1.0) | ||
railties (= 3.2.7) | ||
railties (3.2.7) | ||
actionpack (= 3.2.7) | ||
activesupport (= 3.2.7) | ||
rack-ssl (~> 1.3.2) | ||
rake (>= 0.8.7) | ||
rdoc (~> 3.4) | ||
thor (>= 0.14.6, < 2.0) | ||
rake (0.9.2.2) | ||
rdoc (3.12) | ||
json (~> 1.4) | ||
sprockets (2.1.3) | ||
hike (~> 1.2) | ||
rack (~> 1.0) | ||
tilt (~> 1.1, != 1.3.0) | ||
thor (0.15.4) | ||
tilt (1.3.3) | ||
treetop (1.4.10) | ||
polyglot | ||
polyglot (>= 0.3.1) | ||
tzinfo (0.3.33) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
arel | ||
minitest | ||
rack | ||
rails |
This file was deleted.
Oops, something went wrong.
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,21 +1,8 @@ | ||
# -*- ruby -*- | ||
# Setup some testing | ||
require 'rake' | ||
require 'rake/testtask' | ||
|
||
require 'rubygems' | ||
require 'hoe' | ||
|
||
Hoe.plugins.delete :rubyforge | ||
Hoe.plugin :minitest | ||
Hoe.plugin :gemspec # `gem install hoe-gemspec` | ||
Hoe.plugin :git # `gem install hoe-git` | ||
|
||
Hoe.spec 'rails_autolink' do | ||
developer('Aaron Patterson', 'aaron@tenderlovemaking.com') | ||
developer('Juanjo Bazan', 'jjbazan@gmail.com') | ||
developer('Akira Matsuda', 'ronnie@dio.jp') | ||
self.readme_file = 'README.rdoc' | ||
self.history_file = 'CHANGELOG.rdoc' | ||
self.extra_rdoc_files = FileList['*.rdoc'] | ||
self.extra_deps << ['rails', '~> 3.1'] | ||
Rake::TestTask.new do |t| | ||
t.libs << 'test' | ||
t.pattern = 'test/test_*.rb' | ||
end | ||
|
||
# vim: syntax=ruby |
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,11 @@ | ||
Gem::Specification.new do |s| | ||
s.name = 'rails_autolink' | ||
s.version = '1.0.10' | ||
s.authors = ['Aaron Patterson', 'Juanjo Bazan', 'Akira Matsuda'] | ||
s.email = 'aaron@tenderlovemaking.com' | ||
s.summary = 'This is an extraction of the `auto_link` method from rails. The `auto_link` method was removed from Rails in version Rails 3.1. This gem is meant to bridge the gap for people migrating.' | ||
|
||
s.add_dependency 'rails', '> 3.1' | ||
|
||
s.files = Dir["#{File.dirname(__FILE__)}/**/*"] | ||
end |