-
Notifications
You must be signed in to change notification settings - Fork 0
/
massassignment_security_form.gemspec
37 lines (33 loc) · 1.33 KB
/
massassignment_security_form.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# -*- encoding: utf-8 -*-
$LOAD_PATH << File.join(File.dirname(__FILE__), 'lib')
require "massassignment_security_form/version"
Gem::Specification.new do |s|
s.name = "massassignment_security_form"
s.version = MassassignmentSecurityForm::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Christian Eichhorn"]
s.email = ["c.eichhorn@webmasters.de"]
s.homepage = "http://www.webmasters.de"
s.summary = "Massassignment protection in forms"
s.description = "Massassignment protection in forms"
s.files = Dir.glob(File.expand_path("../**/*", __FILE__)).select {|f| File.file?(f) }.collect {|f| f.gsub(File.expand_path("../", __FILE__) + '/', '') }
s.test_files = []
s.executables = []
s.require_paths = ["lib"]
if s.respond_to? :specification_version then
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency('rails', ">= 4.0")
s.add_runtime_dependency('actionpack', ">= 4.0")
s.add_runtime_dependency('base32')
else
s.add_dependency('rails', ">= 4.0")
s.add_dependency('actionpack', ">= 4.0")
s.add_dependency('base32')
end
else
s.add_dependency('rails', ">= 4.0")
s.add_dependency('actionpack', ">= 4.0")
s.add_dependency('base32')
end
s.required_ruby_version = '>= 2.0'
end