public
Description: object-oriented activerecord validations and machine/human formatting
Clone URL: git://github.com/cainlevy/semantic-attributes.git
Search Repo:
doing name changes ... haven't run tests or reviewed imported code yet


git-svn-id: http://semanticattributes.googlecode.com/svn/trunk@3 
253fb8bd-cf2e-0410-89f4-458c444950b4
cainlevy (author)
Tue Apr 24 16:20:41 -0700 2007
commit  3d7a42b645b838edb458ebe0da79e98b22b155f9
tree    e636d93d93dbb82c89da314205b9c26c53bbfdb0
parent  ef0cbfab7fc205cb1da1d2196c5e004421c19df5
...
15
16
17
18
 
19
20
21
...
15
16
17
 
18
19
20
21
0
@@ -15,7 +15,7 @@ end
0
 desc 'Generate documentation for the SemanticAttributes plugin.'
0
 Rake::RDocTask.new(:rdoc) do |rdoc|
0
   rdoc.rdoc_dir = 'rdoc'
0
- rdoc.title = 'Annotations'
0
+ rdoc.title = 'SemanticAttributes'
0
   rdoc.options << '--line-numbers' << '--inline-source'
0
   rdoc.rdoc_files.include('README')
0
   rdoc.rdoc_files.include('lib/**/*.rb')
...
1
2
3
4
 
 
 
 
5
6
7
 
8
...
 
 
 
 
1
2
3
4
5
 
6
7
8
0
@@ -1,6 +1,6 @@
0
-require 'annotations'
0
-require 'annotated_field'
0
-require 'annotation_set'
0
-require 'active_record_annotations'
0
+require 'semantic_attributes'
0
+require 'semantic_attribute'
0
+require 'predicate_set'
0
+require 'active_record_predicates'
0
 
0
-ActiveRecord::Base.send(:include, ActiveRecord::Annotations)
0
\ No newline at end of file
0
+ActiveRecord::Base.send(:include, ActiveRecord::Predicates)
0
\ No newline at end of file
...
1
2
 
3
4
5
...
1
 
2
3
4
5
0
@@ -1,4 +1,4 @@
0
 # desc "Explaining what the task does"
0
-# task :annotations do
0
+# task :predicates do
0
 # # Task goes here
0
 # end
0
\ No newline at end of file

Comments

    No one has commented yet.