Skip to content

Commit 68dd4e1

Browse files
committed
Update gem boilerplate files a la bundle gem
1 parent 1736e9d commit 68dd4e1

File tree

7 files changed

+61
-26
lines changed

7 files changed

+61
-26
lines changed

.gitignore

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
11
*.gem
2+
*.rbc
23
.bundle
4+
.config
5+
.yardoc
36
Gemfile.lock
4-
pkg/*
7+
InstalledFiles
8+
_yardoc
9+
coverage
10+
doc/
11+
lib/bundler/man
12+
pkg
13+
rdoc
14+
spec/reports
15+
test/tmp
16+
test/version_tmp
17+
tmp

.rvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
rvm --create gemset use rspec-rails-caching

Gemfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
source "http://rubygems.org"
1+
source 'https://rubygems.org'
22

3-
# Specify your gem's dependencies in rspec_caching_test.gemspec
4-
gemspec
3+
# Specify your gem's dependencies in rspec-rails-caching.gemspec
4+
gemspec

LICENSE

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Copyright (c) 2012 Andrew Vit
2+
3+
MIT License
4+
5+
Permission is hereby granted, free of charge, to any person obtaining
6+
a copy of this software and associated documentation files (the
7+
"Software"), to deal in the Software without restriction, including
8+
without limitation the rights to use, copy, modify, merge, publish,
9+
distribute, sublicense, and/or sell copies of the Software, and to
10+
permit persons to whom the Software is furnished to do so, subject to
11+
the following conditions:
12+
13+
The above copyright notice and this permission notice shall be
14+
included in all copies or substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Rakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
#!/usr/bin/env rake
12
require "bundler/gem_tasks"

rspec-caching.gemspec

Lines changed: 0 additions & 22 deletions
This file was deleted.

rspec-rails-caching.gemspec

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# -*- encoding: utf-8 -*-
2+
require File.expand_path('../lib/rspec-rails-caching/version', __FILE__)
3+
4+
Gem::Specification.new do |gem|
5+
gem.name = "rspec-rails-caching"
6+
gem.version = RSpecRailsCaching::VERSION
7+
gem.authors = ["Andrew Vit"]
8+
gem.email = ["andrew@avit.ca"]
9+
gem.homepage = "https://github.com/avit/rspec-rails-caching"
10+
gem.summary = %q{RSpec Rails Caching}
11+
gem.description = %q{RSpec helper for testing page and action caching in Rails}
12+
13+
gem.add_dependency "rails", ">=3.0.0"
14+
gem.add_dependency "rspec", ">=2.8.0"
15+
16+
gem.files = `git ls-files`.split($\)
17+
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18+
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
19+
gem.require_paths = ["lib"]
20+
end

0 commit comments

Comments
 (0)