forked from revo/ssl_requirement
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Conflicts: README lib/ssl_requirement.rb
- Loading branch information
Showing
12 changed files
with
869 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.gem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
require 'rake' | ||
require 'rake/testtask' | ||
|
||
desc "Run the unit tests" | ||
task :default => 'test' | ||
|
||
begin | ||
require 'jeweler' | ||
Jeweler::Tasks.new do |gemspec| | ||
gemspec.name = "bartt-ssl_requirement" | ||
gemspec.summary = "Allow controller actions to force SSL on specific parts of the site." | ||
gemspec.description = "SSL requirement adds a declarative way of specifying that certain actions should only be allowed to run under SSL, and if they're accessed without it, they should be redirected." | ||
gemspec.email = 'bart@thecodemill.biz' | ||
gemspec.homepage = 'http://github.com/bartt/ssl_requirement' | ||
gemspec.authors = ['RailsJedi', 'David Heinemeier Hansson', 'jcnetdev', 'bcurren', 'bmpercy','revo','nathany', 'bartt', 'Thorben Schröder'] | ||
end | ||
rescue LoadError | ||
puts "Jeweler not available. Install it with: gem install jeweler" | ||
end | ||
|
||
Rake::TestTask.new(:test) do |t| | ||
t.pattern = 'test/**/*_test.rb' | ||
t.ruby_opts << '-rubygems' | ||
t.libs << 'test' | ||
t.verbose = true | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1.2.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Generated by jeweler | ||
# DO NOT EDIT THIS FILE DIRECTLY | ||
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec' | ||
# -*- encoding: utf-8 -*- | ||
|
||
Gem::Specification.new do |s| | ||
s.name = %q{bartt-ssl_requirement} | ||
s.version = "1.2.4" | ||
|
||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= | ||
s.authors = ["RailsJedi", "David Heinemeier Hansson", "jcnetdev", "bcurren", "bmpercy", "revo", "nathany", "bartt", "Thorben Schr\303\266der"] | ||
s.date = %q{2011-01-05} | ||
s.description = %q{SSL requirement adds a declarative way of specifying that certain actions should only be allowed to run under SSL, and if they're accessed without it, they should be redirected.} | ||
s.email = %q{bart@thecodemill.biz} | ||
s.extra_rdoc_files = [ | ||
"README" | ||
] | ||
s.files = [ | ||
"README", | ||
"Rakefile", | ||
"VERSION", | ||
"bartt-ssl_requirement.gemspec", | ||
"init.rb", | ||
"lib/ssl_requirement.rb", | ||
"lib/url_for.rb", | ||
"rails/init.rb", | ||
"shoulda_macros/ssl_requirement_macros.rb", | ||
"test/ssl_requirement_test.rb", | ||
"test/url_for_test.rb" | ||
] | ||
s.homepage = %q{http://github.com/bartt/ssl_requirement} | ||
s.require_paths = ["lib"] | ||
s.rubygems_version = %q{1.3.7} | ||
s.summary = %q{Allow controller actions to force SSL on specific parts of the site.} | ||
s.test_files = [ | ||
"test/ssl_requirement_test.rb", | ||
"test/url_for_test.rb" | ||
] | ||
|
||
if s.respond_to? :specification_version then | ||
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION | ||
s.specification_version = 3 | ||
|
||
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then | ||
else | ||
end | ||
else | ||
end | ||
end | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
require File.dirname(__FILE__) + "/rails/init" | ||
|
Oops, something went wrong.