Permalink
Browse files

initial commit

  • Loading branch information...
0 parents commit 1613d20f5dbc9d853ac4ac4bc0ed87a0ba0fedb6 @Geal committed Jul 8, 2012
Showing with 41 additions and 0 deletions.
  1. +4 −0 .gitignore
  2. +4 −0 Gemfile
  3. +1 −0 Rakefile
  4. +5 −0 lib/rate_limit.rb
  5. +3 −0 lib/rate_limit/version.rb
  6. +24 −0 rate_limit.gemspec
@@ -0,0 +1,4 @@
+*.gem
+.bundle
+Gemfile.lock
+pkg/*
@@ -0,0 +1,4 @@
+source "http://rubygems.org"
+
+# Specify your gem's dependencies in rate_limit.gemspec
+gemspec
@@ -0,0 +1 @@
+require "bundler/gem_tasks"
@@ -0,0 +1,5 @@
+require "rate_limit/version"
+
+module RateLimit
+ # Your code goes here...
+end
@@ -0,0 +1,3 @@
+module RateLimit
+ VERSION = "0.0.1"
+end
@@ -0,0 +1,24 @@
+# -*- encoding: utf-8 -*-
+$:.push File.expand_path("../lib", __FILE__)
+require "rate_limit/version"
+
+Gem::Specification.new do |s|
+ s.name = "rate_limit"
+ s.version = RateLimit::VERSION
+ s.authors = ["Geoffroy Couprie"]
+ s.email = ["geo.couprie@gmail.com"]
+ s.homepage = ""
+ s.summary = %q{rate_limit filters page access in your Rails application}
+ s.description = %q{Limit request frequence by IP, by page, for login or password reset forms}
+
+ s.rubyforge_project = "rate_limit"
+
+ s.files = `git ls-files`.split("\n")
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+ s.require_paths = ["lib"]
+
+ # specify any dependencies here; for example:
+ # s.add_development_dependency "rspec"
+ # s.add_runtime_dependency "rest-client"
+end

0 comments on commit 1613d20

Please sign in to comment.