Skip to content

Commit f0a82b5

Browse files
committed
Updates gemspec file to work with latest rubygems
1 parent 76d5b4b commit f0a82b5

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

CHANGELOG.rdoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
=== 1.1.3 / 2013-09-12
2+
3+
* Updates gemspec to work with latest rubygems
4+
15
=== 1.1.1 / 2013-09-12
26

37
* Improved email regex to allow especial chars: !#$%&'*+-/=?^_`{|}~

lib/rails_autolink/version.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module RailsAutolink
2+
VERSION = '1.1.3'
3+
end

rails_autolink.gemspec

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1+
require File.expand_path "#{File.dirname(__FILE__)}/lib/rails_autolink/version"
2+
13
Gem::Specification.new do |s|
24
s.name = 'rails_autolink'
3-
s.version = '1.1.2'
5+
s.version = RailsAutolink::VERSION
6+
s.date = Time.now.strftime('%Y-%m-%d')
47
s.authors = ['Aaron Patterson', 'Juanjo Bazan', 'Akira Matsuda']
58
s.email = '[email protected]'
69
s.homepage = 'https://github.com/tenderlove/rails_autolink'
@@ -9,5 +12,5 @@ Gem::Specification.new do |s|
912

1013
s.add_dependency 'rails', '> 3.1'
1114

12-
s.files = Dir["#{File.dirname(__FILE__)}/**/*"]
15+
s.files = Dir.glob("{test,lib/**/*}") + `git ls-files -z`.split("\0")
1316
end

0 commit comments

Comments
 (0)