Browse files

setup gem

  • Loading branch information...
1 parent cf96ca1 commit 1ef9a37a61a0aacf38fd875d915656ece989610f Francesco Rodriguez committed Oct 4, 2012
Showing with 84 additions and 0 deletions.
  1. +17 −0 .gitignore
  2. +3 −0 Gemfile
  3. +22 −0 LICENSE.txt
  4. +11 −0 Rakefile
  5. +19 −0 actionpack-action_caching.gemspec
  6. +7 −0 lib/actionpack-action_caching.rb
  7. +5 −0 lib/actionpack-action_caching/version.rb
View
17 .gitignore
@@ -0,0 +1,17 @@
+*.gem
+*.rbc
+.bundle
+.config
+.yardoc
+Gemfile.lock
+InstalledFiles
+_yardoc
+coverage
+doc/
+lib/bundler/man
+pkg
+rdoc
+spec/reports
+test/tmp
+test/version_tmp
+tmp
View
3 Gemfile
@@ -0,0 +1,3 @@
+source :rubygems
+
+gemspec
View
22 LICENSE.txt
@@ -0,0 +1,22 @@
+Copyright (c) 2012 David Heinemeier Hansson
+
+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.
View
11 Rakefile
@@ -0,0 +1,11 @@
+#!/usr/bin/env rake
+require 'bundler/gem_tasks'
+require 'rake/testtask'
+
+Rake::TestTask.new do |t|
+ t.libs = ['test']
+ t.pattern = 'test/**/*_test.rb'
+ t.ruby_opts = ['-w']
+end
+
+task default: :test
View
19 actionpack-action_caching.gemspec
@@ -0,0 +1,19 @@
+# -*- encoding: utf-8 -*-
+lib = File.expand_path('../lib', __FILE__)
+$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
+require 'actionpack-action_caching/version'
+
+Gem::Specification.new do |gem|
+ gem.name = 'actionpack-action_caching'
+ gem.version = ActionPack::ActionCaching::VERSION
+ gem.authors = 'David Heinemeier Hansson'
+ gem.email = 'david@loudthinking.com'
+ gem.description = 'Action caching'
+ gem.summary = 'Action caching'
+ gem.homepage = 'https://github.com/rails/actionpack-action_caching'
+
+ gem.files = `git ls-files`.split($/)
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
+ gem.require_paths = ['lib']
+end
View
7 lib/actionpack-action_caching.rb
@@ -0,0 +1,7 @@
+require 'actionpack-action_caching/version'
+
+module ActionPack
+ module ActionCaching
+ # Your code goes here...
+ end
+end
View
5 lib/actionpack-action_caching/version.rb
@@ -0,0 +1,5 @@
+module ActionPack
+ module ActionCaching
+ VERSION = '0.0.1'
+ end
+end

0 comments on commit 1ef9a37

Please sign in to comment.