Skip to content

Commit

Permalink
Update gem boilerplate files a la bundle gem
Browse files Browse the repository at this point in the history
  • Loading branch information
avit committed Jun 21, 2012
1 parent 1736e9d commit 68dd4e1
Show file tree
Hide file tree
Showing 7 changed files with 61 additions and 26 deletions.
15 changes: 14 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
*.gem
*.rbc
.bundle
.config
.yardoc
Gemfile.lock
pkg/*
InstalledFiles
_yardoc
coverage
doc/
lib/bundler/man
pkg
rdoc
spec/reports
test/tmp
test/version_tmp
tmp
1 change: 1 addition & 0 deletions .rvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rvm --create gemset use rspec-rails-caching
6 changes: 3 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
source "http://rubygems.org"
source 'https://rubygems.org'

# Specify your gem's dependencies in rspec_caching_test.gemspec
gemspec
# Specify your gem's dependencies in rspec-rails-caching.gemspec
gemspec
22 changes: 22 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Copyright (c) 2012 Andrew Vit

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.
1 change: 1 addition & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
#!/usr/bin/env rake
require "bundler/gem_tasks"
22 changes: 0 additions & 22 deletions rspec-caching.gemspec

This file was deleted.

20 changes: 20 additions & 0 deletions rspec-rails-caching.gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# -*- encoding: utf-8 -*-
require File.expand_path('../lib/rspec-rails-caching/version', __FILE__)

Gem::Specification.new do |gem|
gem.name = "rspec-rails-caching"
gem.version = RSpecRailsCaching::VERSION
gem.authors = ["Andrew Vit"]
gem.email = ["[email protected]"]
gem.homepage = "https://github.com/avit/rspec-rails-caching"
gem.summary = %q{RSpec Rails Caching}
gem.description = %q{RSpec helper for testing page and action caching in Rails}

gem.add_dependency "rails", ">=3.0.0"
gem.add_dependency "rspec", ">=2.8.0"

gem.files = `git ls-files`.split($\)
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.require_paths = ["lib"]
end

0 comments on commit 68dd4e1

Please sign in to comment.