ar_finder_form 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +117 -0
- data/Rakefile +56 -0
- data/VERSION +1 -0
- data/init.rb +1 -0
- data/install.rb +1 -0
- data/lib/ar_finder_form.rb +25 -0
- data/lib/ar_finder_form/attr.rb +11 -0
- data/lib/ar_finder_form/attr/base.rb +49 -0
- data/lib/ar_finder_form/attr/like.rb +30 -0
- data/lib/ar_finder_form/attr/range_attrs.rb +29 -0
- data/lib/ar_finder_form/attr/simple.rb +29 -0
- data/lib/ar_finder_form/attr/static.rb +24 -0
- data/lib/ar_finder_form/builder.rb +22 -0
- data/lib/ar_finder_form/client_class_methods.rb +23 -0
- data/lib/ar_finder_form/client_instance_methods.rb +38 -0
- data/lib/ar_finder_form/column.rb +89 -0
- data/lib/ar_finder_form/config.rb +6 -0
- data/lib/ar_finder_form/context.rb +117 -0
- data/lib/ar_finder_form/joined_table.rb +46 -0
- data/lib/ar_finder_form/table.rb +84 -0
- data/spec/.gitignore +1 -0
- data/spec/database.yml +23 -0
- data/spec/order_finder_form1_spec.rb +250 -0
- data/spec/order_finder_form2_spec.rb +82 -0
- data/spec/resources/models/order.rb +5 -0
- data/spec/resources/models/product.rb +11 -0
- data/spec/resources/models/user.rb +4 -0
- data/spec/schema.rb +30 -0
- data/spec/spec.opts +6 -0
- data/spec/spec_helper.rb +83 -0
- data/spec/table_spec.rb +48 -0
- data/spec/user_finder_form1_spec.rb +94 -0
- data/spec/with_selectable_attr_rails_spec.rb +66 -0
- data/tasks/finder_form_tasks.rake +4 -0
- data/uninstall.rb +1 -0
- metadata +109 -0
data/uninstall.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
# Uninstall hook code here
|
metadata
ADDED
@@ -0,0 +1,109 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ar_finder_form
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Takeshi Akima
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2009-12-08 00:00:00 +09:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: activerecord
|
17
|
+
type: :runtime
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: "0"
|
24
|
+
version:
|
25
|
+
description: ar_finder_form provides a DSL to define form for options to find/paginate
|
26
|
+
email: akima@gmail.com
|
27
|
+
executables: []
|
28
|
+
|
29
|
+
extensions: []
|
30
|
+
|
31
|
+
extra_rdoc_files:
|
32
|
+
- README.rdoc
|
33
|
+
files:
|
34
|
+
- .gitignore
|
35
|
+
- MIT-LICENSE
|
36
|
+
- README.rdoc
|
37
|
+
- Rakefile
|
38
|
+
- VERSION
|
39
|
+
- init.rb
|
40
|
+
- install.rb
|
41
|
+
- lib/ar_finder_form.rb
|
42
|
+
- lib/ar_finder_form/attr.rb
|
43
|
+
- lib/ar_finder_form/attr/base.rb
|
44
|
+
- lib/ar_finder_form/attr/like.rb
|
45
|
+
- lib/ar_finder_form/attr/range_attrs.rb
|
46
|
+
- lib/ar_finder_form/attr/simple.rb
|
47
|
+
- lib/ar_finder_form/attr/static.rb
|
48
|
+
- lib/ar_finder_form/builder.rb
|
49
|
+
- lib/ar_finder_form/client_class_methods.rb
|
50
|
+
- lib/ar_finder_form/client_instance_methods.rb
|
51
|
+
- lib/ar_finder_form/column.rb
|
52
|
+
- lib/ar_finder_form/config.rb
|
53
|
+
- lib/ar_finder_form/context.rb
|
54
|
+
- lib/ar_finder_form/joined_table.rb
|
55
|
+
- lib/ar_finder_form/table.rb
|
56
|
+
- spec/.gitignore
|
57
|
+
- spec/database.yml
|
58
|
+
- spec/order_finder_form1_spec.rb
|
59
|
+
- spec/order_finder_form2_spec.rb
|
60
|
+
- spec/resources/models/order.rb
|
61
|
+
- spec/resources/models/product.rb
|
62
|
+
- spec/resources/models/user.rb
|
63
|
+
- spec/schema.rb
|
64
|
+
- spec/spec.opts
|
65
|
+
- spec/spec_helper.rb
|
66
|
+
- spec/table_spec.rb
|
67
|
+
- spec/user_finder_form1_spec.rb
|
68
|
+
- spec/with_selectable_attr_rails_spec.rb
|
69
|
+
- tasks/finder_form_tasks.rake
|
70
|
+
- uninstall.rb
|
71
|
+
has_rdoc: true
|
72
|
+
homepage: http://github.com/akm/ar_finder_form/
|
73
|
+
licenses: []
|
74
|
+
|
75
|
+
post_install_message:
|
76
|
+
rdoc_options:
|
77
|
+
- --charset=UTF-8
|
78
|
+
require_paths:
|
79
|
+
- lib
|
80
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - ">="
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: "0"
|
85
|
+
version:
|
86
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - ">="
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: "0"
|
91
|
+
version:
|
92
|
+
requirements: []
|
93
|
+
|
94
|
+
rubyforge_project:
|
95
|
+
rubygems_version: 1.3.5
|
96
|
+
signing_key:
|
97
|
+
specification_version: 3
|
98
|
+
summary: ar_finder_form provides a DSL to define form for options to find/paginate
|
99
|
+
test_files:
|
100
|
+
- spec/order_finder_form1_spec.rb
|
101
|
+
- spec/order_finder_form2_spec.rb
|
102
|
+
- spec/resources/models/order.rb
|
103
|
+
- spec/resources/models/product.rb
|
104
|
+
- spec/resources/models/user.rb
|
105
|
+
- spec/schema.rb
|
106
|
+
- spec/spec_helper.rb
|
107
|
+
- spec/table_spec.rb
|
108
|
+
- spec/user_finder_form1_spec.rb
|
109
|
+
- spec/with_selectable_attr_rails_spec.rb
|