merb_param_protection 0.5.0 → 0.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +10 -4
- metadata +4 -4
data/Rakefile
CHANGED
|
@@ -4,7 +4,7 @@ require 'spec/rake/spectask'
|
|
|
4
4
|
|
|
5
5
|
PLUGIN = "merb_param_protection"
|
|
6
6
|
NAME = "merb_param_protection"
|
|
7
|
-
VERSION = "0.
|
|
7
|
+
VERSION = "0.9.2"
|
|
8
8
|
AUTHOR = "Lance Carlson"
|
|
9
9
|
EMAIL = "lancecarlson@gmail.com"
|
|
10
10
|
HOMEPAGE = "http://merb.devjavu.com"
|
|
@@ -21,20 +21,26 @@ spec = Gem::Specification.new do |s|
|
|
|
21
21
|
s.author = AUTHOR
|
|
22
22
|
s.email = EMAIL
|
|
23
23
|
#s.homepage = HOMEPAGE
|
|
24
|
-
s.add_dependency('merb', '>= 0.
|
|
24
|
+
s.add_dependency('merb', '>= 0.9.2')
|
|
25
25
|
s.require_path = 'lib'
|
|
26
26
|
s.autorequire = PLUGIN
|
|
27
27
|
s.files = %w(LICENSE README Rakefile TODO) + Dir.glob("{lib,specs}/**/*")
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
+
windows = (PLATFORM =~ /win32|cygwin/) rescue nil
|
|
31
|
+
|
|
32
|
+
SUDO = windows ? "" : "sudo"
|
|
33
|
+
|
|
30
34
|
Rake::GemPackageTask.new(spec) do |pkg|
|
|
31
35
|
pkg.gem_spec = spec
|
|
32
36
|
end
|
|
33
37
|
|
|
38
|
+
desc "install merb_param_protection"
|
|
34
39
|
task :install => [:package] do
|
|
35
|
-
sh %{
|
|
40
|
+
sh %{#{SUDO} gem install pkg/#{NAME}-#{VERSION} --no-rdoc --no-ri --no-update-sources}
|
|
36
41
|
end
|
|
37
42
|
|
|
43
|
+
desc 'Release the current version on rubyforge'
|
|
38
44
|
task :release => :package do
|
|
39
45
|
sh %{rubyforge add_release merb #{PLUGIN} #{VERSION} pkg/#{NAME}-#{VERSION}.gem}
|
|
40
46
|
end
|
|
@@ -53,4 +59,4 @@ Spec::Rake::SpecTask.new("rcov") do |t|
|
|
|
53
59
|
t.spec_files = Dir["spec/**/*_spec.rb"].sort
|
|
54
60
|
t.libs = ["lib", "server/lib" ]
|
|
55
61
|
t.rcov = true
|
|
56
|
-
end
|
|
62
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: merb_param_protection
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.9.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Lance Carlson
|
|
@@ -9,7 +9,7 @@ autorequire: merb_param_protection
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2008-
|
|
12
|
+
date: 2008-03-24 00:00:00 -05:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
@@ -19,7 +19,7 @@ dependencies:
|
|
|
19
19
|
requirements:
|
|
20
20
|
- - ">="
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
|
-
version: 0.
|
|
22
|
+
version: 0.9.2
|
|
23
23
|
version:
|
|
24
24
|
description: Merb plugin that provides params_accessible and params_protected class methods
|
|
25
25
|
email: lancecarlson@gmail.com
|
|
@@ -61,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
61
61
|
requirements: []
|
|
62
62
|
|
|
63
63
|
rubyforge_project:
|
|
64
|
-
rubygems_version: 0.
|
|
64
|
+
rubygems_version: 1.0.1
|
|
65
65
|
signing_key:
|
|
66
66
|
specification_version: 2
|
|
67
67
|
summary: Merb plugin that provides params_accessible and params_protected class methods
|