veneer 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. data/.document +5 -0
  2. data/.gitignore +5 -0
  3. data/LICENSE +20 -0
  4. data/README.textile +138 -0
  5. data/Rakefile +64 -0
  6. data/VERSION +1 -0
  7. data/datamapper_setup.rb +2 -0
  8. data/lib/veneer.rb +35 -0
  9. data/lib/veneer/adapters/activerecord.rb +2 -0
  10. data/lib/veneer/adapters/activerecord/class_wrapper.rb +90 -0
  11. data/lib/veneer/adapters/activerecord/instance_wrapper.rb +11 -0
  12. data/lib/veneer/adapters/datamapper.rb +2 -0
  13. data/lib/veneer/adapters/datamapper/class_wrapper.rb +54 -0
  14. data/lib/veneer/adapters/datamapper/instance_wrapper.rb +23 -0
  15. data/lib/veneer/base/class_wrapper.rb +53 -0
  16. data/lib/veneer/base/conditional.rb +77 -0
  17. data/lib/veneer/base/instance_wrapper.rb +38 -0
  18. data/lib/veneer/core_ext/kernel.rb +17 -0
  19. data/lib/veneer/errors.rb +9 -0
  20. data/lib/veneer/proxy.rb +4 -0
  21. data/test/macros/class_wrapper/create_macro.rb +54 -0
  22. data/test/macros/class_wrapper/delete_macro.rb +31 -0
  23. data/test/macros/class_wrapper/find_macro.rb +112 -0
  24. data/test/macros/instance_wrapper/destroy_macro.rb +36 -0
  25. data/test/macros/instance_wrapper/new_record_macro.rb +35 -0
  26. data/test/macros/instance_wrapper/save_macro.rb +55 -0
  27. data/test/macros/veneer_constants_interface.rb +26 -0
  28. data/test/support/helpers.rb +18 -0
  29. data/test/test_helper.rb +16 -0
  30. data/test/veneer/adapters/active_record/active_record_setup.rb +28 -0
  31. data/test/veneer/adapters/active_record/class_wrapper_test.rb +21 -0
  32. data/test/veneer/adapters/active_record/instance_wrapper_test.rb +21 -0
  33. data/test/veneer/adapters/datamapper/class_wrapper_test.rb +22 -0
  34. data/test/veneer/adapters/datamapper/datamapper_setup.rb +25 -0
  35. data/test/veneer/adapters/datamapper/instance_wrapper_test.rb +21 -0
  36. data/test/veneer/base/conditonal_test.rb +118 -0
  37. data/test/veneer/proxy_test.rb +190 -0
  38. data/veneer.gemspec +95 -0
  39. metadata +109 -0
@@ -0,0 +1,95 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{veneer}
8
+ s.version = "0.1.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Daniel Neighman"]
12
+ s.date = %q{2009-11-03}
13
+ s.description = %q{Veneer provides basic querying, saving, deleteing and creating of data stores.}
14
+ s.email = %q{has.sox@gmail.com}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE",
17
+ "README.textile"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".gitignore",
22
+ "LICENSE",
23
+ "README.textile",
24
+ "Rakefile",
25
+ "VERSION",
26
+ "datamapper_setup.rb",
27
+ "lib/veneer.rb",
28
+ "lib/veneer/adapters/activerecord.rb",
29
+ "lib/veneer/adapters/activerecord/class_wrapper.rb",
30
+ "lib/veneer/adapters/activerecord/instance_wrapper.rb",
31
+ "lib/veneer/adapters/datamapper.rb",
32
+ "lib/veneer/adapters/datamapper/class_wrapper.rb",
33
+ "lib/veneer/adapters/datamapper/instance_wrapper.rb",
34
+ "lib/veneer/base/class_wrapper.rb",
35
+ "lib/veneer/base/conditional.rb",
36
+ "lib/veneer/base/instance_wrapper.rb",
37
+ "lib/veneer/core_ext/kernel.rb",
38
+ "lib/veneer/errors.rb",
39
+ "lib/veneer/proxy.rb",
40
+ "test/macros/class_wrapper/create_macro.rb",
41
+ "test/macros/class_wrapper/delete_macro.rb",
42
+ "test/macros/class_wrapper/find_macro.rb",
43
+ "test/macros/instance_wrapper/destroy_macro.rb",
44
+ "test/macros/instance_wrapper/new_record_macro.rb",
45
+ "test/macros/instance_wrapper/save_macro.rb",
46
+ "test/macros/veneer_constants_interface.rb",
47
+ "test/support/helpers.rb",
48
+ "test/test_helper.rb",
49
+ "test/veneer/adapters/active_record/active_record_setup.rb",
50
+ "test/veneer/adapters/active_record/class_wrapper_test.rb",
51
+ "test/veneer/adapters/active_record/instance_wrapper_test.rb",
52
+ "test/veneer/adapters/datamapper/class_wrapper_test.rb",
53
+ "test/veneer/adapters/datamapper/datamapper_setup.rb",
54
+ "test/veneer/adapters/datamapper/instance_wrapper_test.rb",
55
+ "test/veneer/base/conditonal_test.rb",
56
+ "test/veneer/proxy_test.rb",
57
+ "veneer.gemspec"
58
+ ]
59
+ s.homepage = %q{http://github.com/hassox/veneer}
60
+ s.rdoc_options = ["--charset=UTF-8"]
61
+ s.require_paths = ["lib"]
62
+ s.rubyforge_project = %q{veneer}
63
+ s.rubygems_version = %q{1.3.5}
64
+ s.summary = %q{A thin veneer over data stores}
65
+ s.test_files = [
66
+ "test/macros/class_wrapper/create_macro.rb",
67
+ "test/macros/class_wrapper/delete_macro.rb",
68
+ "test/macros/class_wrapper/find_macro.rb",
69
+ "test/macros/instance_wrapper/destroy_macro.rb",
70
+ "test/macros/instance_wrapper/new_record_macro.rb",
71
+ "test/macros/instance_wrapper/save_macro.rb",
72
+ "test/macros/veneer_constants_interface.rb",
73
+ "test/support/helpers.rb",
74
+ "test/test_helper.rb",
75
+ "test/veneer/adapters/active_record/active_record_setup.rb",
76
+ "test/veneer/adapters/active_record/class_wrapper_test.rb",
77
+ "test/veneer/adapters/active_record/instance_wrapper_test.rb",
78
+ "test/veneer/adapters/datamapper/class_wrapper_test.rb",
79
+ "test/veneer/adapters/datamapper/datamapper_setup.rb",
80
+ "test/veneer/adapters/datamapper/instance_wrapper_test.rb",
81
+ "test/veneer/base/conditonal_test.rb",
82
+ "test/veneer/proxy_test.rb"
83
+ ]
84
+
85
+ if s.respond_to? :specification_version then
86
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
87
+ s.specification_version = 3
88
+
89
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
90
+ else
91
+ end
92
+ else
93
+ end
94
+ end
95
+
metadata ADDED
@@ -0,0 +1,109 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: veneer
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Daniel Neighman
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-11-03 00:00:00 +11:00
13
+ default_executable:
14
+ dependencies: []
15
+
16
+ description: Veneer provides basic querying, saving, deleteing and creating of data stores.
17
+ email: has.sox@gmail.com
18
+ executables: []
19
+
20
+ extensions: []
21
+
22
+ extra_rdoc_files:
23
+ - LICENSE
24
+ - README.textile
25
+ files:
26
+ - .document
27
+ - .gitignore
28
+ - LICENSE
29
+ - README.textile
30
+ - Rakefile
31
+ - VERSION
32
+ - datamapper_setup.rb
33
+ - lib/veneer.rb
34
+ - lib/veneer/adapters/activerecord.rb
35
+ - lib/veneer/adapters/activerecord/class_wrapper.rb
36
+ - lib/veneer/adapters/activerecord/instance_wrapper.rb
37
+ - lib/veneer/adapters/datamapper.rb
38
+ - lib/veneer/adapters/datamapper/class_wrapper.rb
39
+ - lib/veneer/adapters/datamapper/instance_wrapper.rb
40
+ - lib/veneer/base/class_wrapper.rb
41
+ - lib/veneer/base/conditional.rb
42
+ - lib/veneer/base/instance_wrapper.rb
43
+ - lib/veneer/core_ext/kernel.rb
44
+ - lib/veneer/errors.rb
45
+ - lib/veneer/proxy.rb
46
+ - test/macros/class_wrapper/create_macro.rb
47
+ - test/macros/class_wrapper/delete_macro.rb
48
+ - test/macros/class_wrapper/find_macro.rb
49
+ - test/macros/instance_wrapper/destroy_macro.rb
50
+ - test/macros/instance_wrapper/new_record_macro.rb
51
+ - test/macros/instance_wrapper/save_macro.rb
52
+ - test/macros/veneer_constants_interface.rb
53
+ - test/support/helpers.rb
54
+ - test/test_helper.rb
55
+ - test/veneer/adapters/active_record/active_record_setup.rb
56
+ - test/veneer/adapters/active_record/class_wrapper_test.rb
57
+ - test/veneer/adapters/active_record/instance_wrapper_test.rb
58
+ - test/veneer/adapters/datamapper/class_wrapper_test.rb
59
+ - test/veneer/adapters/datamapper/datamapper_setup.rb
60
+ - test/veneer/adapters/datamapper/instance_wrapper_test.rb
61
+ - test/veneer/base/conditonal_test.rb
62
+ - test/veneer/proxy_test.rb
63
+ - veneer.gemspec
64
+ has_rdoc: true
65
+ homepage: http://github.com/hassox/veneer
66
+ licenses: []
67
+
68
+ post_install_message:
69
+ rdoc_options:
70
+ - --charset=UTF-8
71
+ require_paths:
72
+ - lib
73
+ required_ruby_version: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - ">="
76
+ - !ruby/object:Gem::Version
77
+ version: "0"
78
+ version:
79
+ required_rubygems_version: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ version: "0"
84
+ version:
85
+ requirements: []
86
+
87
+ rubyforge_project: veneer
88
+ rubygems_version: 1.3.5
89
+ signing_key:
90
+ specification_version: 3
91
+ summary: A thin veneer over data stores
92
+ test_files:
93
+ - test/macros/class_wrapper/create_macro.rb
94
+ - test/macros/class_wrapper/delete_macro.rb
95
+ - test/macros/class_wrapper/find_macro.rb
96
+ - test/macros/instance_wrapper/destroy_macro.rb
97
+ - test/macros/instance_wrapper/new_record_macro.rb
98
+ - test/macros/instance_wrapper/save_macro.rb
99
+ - test/macros/veneer_constants_interface.rb
100
+ - test/support/helpers.rb
101
+ - test/test_helper.rb
102
+ - test/veneer/adapters/active_record/active_record_setup.rb
103
+ - test/veneer/adapters/active_record/class_wrapper_test.rb
104
+ - test/veneer/adapters/active_record/instance_wrapper_test.rb
105
+ - test/veneer/adapters/datamapper/class_wrapper_test.rb
106
+ - test/veneer/adapters/datamapper/datamapper_setup.rb
107
+ - test/veneer/adapters/datamapper/instance_wrapper_test.rb
108
+ - test/veneer/base/conditonal_test.rb
109
+ - test/veneer/proxy_test.rb