Permalink
Browse files

update gemspec

  • Loading branch information...
1 parent c28c7a8 commit 4fe1ca130ebd54c0c41e36fb658dfbe04a83c471 Francesco Rodriguez committed Feb 27, 2013
Showing with 12 additions and 8 deletions.
  1. +1 −1 LICENSE → LICENSE.md
  2. +11 −7 mongoid-minitest.gemspec
View
@@ -19,4 +19,4 @@ 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.
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
@@ -2,18 +2,22 @@
require File.expand_path '../lib/mongoid-minitest/version', __FILE__
Gem::Specification.new do |gem|
+ gem.name = 'mongoid-minitest'
+ gem.version = Mongoid::MiniTest::VERSION
+
gem.authors = ['Francesco Rodriguez', 'Sascha Wessel', 'Godfrey Chan']
gem.email = ['lrodriguezsanc@gmail.com']
gem.description = %q{MiniTest matchers for Mongoid}
- gem.summary = %q{MiniTest matchers for Mongoid}
+ gem.summary = gem.description
gem.homepage = 'https://github.com/frodsan/mongoid-minitest'
+ gem.licenses = ['MIT']
- gem.files = Dir.glob('{lib}/**/*') + %w(LICENSE README.md CHANGELOG.md)
- gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename f }
- gem.test_files = gem.files.grep %r{^(test|spec|features)/}
- gem.name = 'mongoid-minitest'
- gem.require_paths = ['lib']
- gem.version = Mongoid::MiniTest::VERSION
+ gem.files = `git ls-files`.split "\n"
+ gem.executables = `git ls-files -- bin/*`.split("\n").map{|f| File.basename f }
+ gem.test_files = `git ls-files -- test/*`.split "\n"
+ gem.extra_rdoc_files = ['CHANGELOG.md', 'LICENSE.md', 'README.md']
+ gem.rdoc_options = ['--charset=UTF-8']
+ gem.require_paths = ['lib']
gem.add_dependency 'minitest', '~> 4.1'
gem.add_dependency 'minitest-matchers', '~> 1.2'

0 comments on commit 4fe1ca1

Please sign in to comment.