Skip to content

Commit a5b1fca

Browse files
committed
* Update gemspec to prepare for release
1 parent ae3d1c7 commit a5b1fca

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

activerecord-like.gemspec

+12-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
# -*- encoding: utf-8 -*-
22
require File.expand_path('../lib/active_record/like/version', __FILE__)
33

4+
main_author_name = "PikachuEXE"
5+
gem_name = "activerecord-like"
6+
47
Gem::Specification.new do |gem|
5-
gem.name = "activerecord-like"
8+
gem.name = gem_name
69
gem.version = ActiveRecord::Like::VERSION
7-
gem.authors = ["René van den Berg"]
8-
gem.email = ["[email protected]"]
10+
gem.authors = [
11+
"René van den Berg",
12+
main_author_name,
13+
]
14+
915
gem.description = %q{An ActiveRecord plugin providing a higher-level abstraction for SQL 'LIKE' queries}
1016
gem.summary = %q{ActiveRecord::Like provides ActiveRecord::Base with where.like(attribute: string)-style extensions. This functionality was, at one point, included in Rails-master, but subsequently removed. Since the feature seemed to be in some demand, I thought I'd try my hand at building an ActiveRecord plugin}
11-
gem.homepage = "http://github.com/ReneB/activerecord-like"
17+
gem.homepage = "http://github.com/#{main_author_name}/#{gem_name}"
1218

1319
gem.files = `git ls-files`.split($/)
1420
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
@@ -30,4 +36,6 @@ Gem::Specification.new do |gem|
3036

3137
gem.add_development_dependency "simplecov", ">= 0.22"
3238
gem.add_development_dependency "simplecov-lcov", ">= 0.8"
39+
40+
gem.add_development_dependency "gem-release", ">= 2.0"
3341
end

0 commit comments

Comments
 (0)