Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #5 from elandesign/master

Added gemspec and moved tasks
  • Loading branch information...
commit f9154144e64c6bf18360bba4eddd6d5d1b60341d 2 parents da34c4a + b03d733
Ryan Bates authored
1  .gitignore
View
@@ -0,0 +1 @@
+*.gem
2  Rakefile
View
@@ -1,4 +1,4 @@
require 'rubygems'
require 'rake'
-Dir["#{File.dirname(__FILE__)}/tasks/*.rb"].sort.each { |ext| load ext }
+Dir["#{File.dirname(__FILE__)}/lib/tasks/*.rb"].sort.each { |ext| load ext }
0  tasks/spec.rb → lib/tasks/spec.rb
View
File renamed without changes
0  init.rb → rails/init.rb
View
File renamed without changes
14 trusted_params.gemspec
View
@@ -0,0 +1,14 @@
+Gem::Specification.new do |s|
+ s.name = "trusted_params"
+ s.version = "1.0.0"
+ s.author = "Ryan Bates"
+ s.email = "ryan@railscasts.com"
+ s.homepage = "http://github.com/ryanb/trusted-params"
+ s.summary = "Rails plugin which adds a convenient way to override attr_accessible protection."
+
+ s.files = Dir["{lib,spec,rails}/**/*", "[A-Z]*"]
+ s.require_path = "lib"
+
+ s.rubyforge_project = s.name
+ s.required_rubygems_version = ">= 1.3.4"
+end
Please sign in to comment.
Something went wrong with that request. Please try again.