markcatley-validates_constancy 1.0.1 → 1.0.20080714
Sign up to get free protection for your applications and to get access to all the features.
- metadata +5 -6
- data/validates_constancy.gemspec +0 -25
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: markcatley-validates_constancy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.20080714
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nils Jonsson
|
@@ -9,7 +9,7 @@ autorequire: validates_constancy
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-07-08 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -34,11 +34,10 @@ files:
|
|
34
34
|
- CHANGELOG
|
35
35
|
- Rakefile
|
36
36
|
- MIT-LICENSE
|
37
|
-
- init.rb
|
38
37
|
- README
|
39
|
-
-
|
40
|
-
- lib/validates_constancy/constancy_validation.rb
|
38
|
+
- init.rb
|
41
39
|
- lib/validates_constancy.rb
|
40
|
+
- lib/validates_constancy/constancy_validation.rb
|
42
41
|
- test/README
|
43
42
|
has_rdoc: true
|
44
43
|
homepage: http://constancy.rubyforge.org/
|
@@ -65,7 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
65
64
|
requirements: []
|
66
65
|
|
67
66
|
rubyforge_project: constancy
|
68
|
-
rubygems_version: 1.0
|
67
|
+
rubygems_version: 1.2.0
|
69
68
|
signing_key:
|
70
69
|
specification_version: 2
|
71
70
|
summary: "[Rails] Adds a 'validates_constancy_of' validation to Active Record. It allows you to protect model attributes from being changed after a record is created."
|
data/validates_constancy.gemspec
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
spec = Gem::Specification.new do |s|
|
2
|
-
s.name = 'validates_constancy'
|
3
|
-
s.version = '1.0.1'
|
4
|
-
s.author = 'Nils Jonsson'
|
5
|
-
s.email = 'nils@alumni.rice.edu'
|
6
|
-
s.homepage = 'http://constancy.rubyforge.org/'
|
7
|
-
s.summary = "[Rails] Adds a 'validates_constancy_of' validation to " +
|
8
|
-
'Active Record. It allows you to protect model attributes ' +
|
9
|
-
'from being changed after a record is created.'
|
10
|
-
s.description = 'This RubyGem allows you to prevent particular database ' +
|
11
|
-
'fields from being changed after an Active Record object ' +
|
12
|
-
'is created. A validation error occurs on updates if an ' +
|
13
|
-
'attribute of a model object is different from its value ' +
|
14
|
-
'in the database.'
|
15
|
-
|
16
|
-
s.files = %w(CHANGELOG Rakefile MIT-LICENSE init.rb README validates_constancy.gemspec lib/validates_constancy/constancy_validation.rb lib/validates_constancy.rb test/README)
|
17
|
-
|
18
|
-
s.add_dependency 'activerecord'
|
19
|
-
s.autorequire = 'validates_constancy'
|
20
|
-
s.has_rdoc = true
|
21
|
-
s.extra_rdoc_files = %w(MIT-LICENSE README)
|
22
|
-
s.rubyforge_project = 'constancy'
|
23
|
-
s.rdoc_options << '--title' << 'Validates Constancy for Active Record' <<
|
24
|
-
'--main' << 'README'
|
25
|
-
end
|