ext_ooor 2.3.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +354 -0
  4. data/Rakefile +5 -0
  5. data/bin/ooor +43 -0
  6. data/lib/ext_ooor.rb +5 -0
  7. data/lib/ext_ooor/version.rb +5 -0
  8. data/lib/generators/ooor/install_generator.rb +18 -0
  9. data/lib/generators/ooor/ooor.yml +49 -0
  10. data/lib/ooor.rb +230 -0
  11. data/lib/ooor/associations.rb +78 -0
  12. data/lib/ooor/autosave_association.rb +197 -0
  13. data/lib/ooor/base.rb +130 -0
  14. data/lib/ooor/base64.rb +20 -0
  15. data/lib/ooor/callbacks.rb +18 -0
  16. data/lib/ooor/errors.rb +120 -0
  17. data/lib/ooor/field_methods.rb +213 -0
  18. data/lib/ooor/helpers/core_helpers.rb +83 -0
  19. data/lib/ooor/locale.rb +11 -0
  20. data/lib/ooor/mini_active_resource.rb +86 -0
  21. data/lib/ooor/model_registry.rb +24 -0
  22. data/lib/ooor/model_schema.rb +25 -0
  23. data/lib/ooor/naming.rb +92 -0
  24. data/lib/ooor/nested_attributes.rb +57 -0
  25. data/lib/ooor/persistence.rb +353 -0
  26. data/lib/ooor/rack.rb +137 -0
  27. data/lib/ooor/railtie.rb +27 -0
  28. data/lib/ooor/reflection.rb +151 -0
  29. data/lib/ooor/reflection_ooor.rb +121 -0
  30. data/lib/ooor/relation.rb +204 -0
  31. data/lib/ooor/relation/finder_methods.rb +153 -0
  32. data/lib/ooor/report.rb +53 -0
  33. data/lib/ooor/serialization.rb +49 -0
  34. data/lib/ooor/services.rb +134 -0
  35. data/lib/ooor/session.rb +250 -0
  36. data/lib/ooor/session_handler.rb +66 -0
  37. data/lib/ooor/transport.rb +34 -0
  38. data/lib/ooor/transport/json_client.rb +65 -0
  39. data/lib/ooor/transport/xml_rpc_client.rb +15 -0
  40. data/lib/ooor/type_casting.rb +223 -0
  41. data/lib/ooor/version.rb +8 -0
  42. data/spec/cli_spec.rb +129 -0
  43. data/spec/helpers/test_helper.rb +11 -0
  44. data/spec/ooor_spec.rb +867 -0
  45. metadata +118 -0
metadata ADDED
@@ -0,0 +1,118 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ext_ooor
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.3.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Raphael Valyi - www.akretion.com
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-05-04 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activemodel
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 3.2.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 3.2.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: faraday
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description: OOOR exposes OpenERP business object proxies to your Ruby (Rails or not)
42
+ application. It extends the standard ActiveResource API. Running on JRuby, OOOR
43
+ also offers a convenient bridge between OpenERP and the Java eco-system
44
+ email: raphael.valyi@akretion.com
45
+ executables:
46
+ - ooor
47
+ extensions: []
48
+ extra_rdoc_files: []
49
+ files:
50
+ - MIT-LICENSE
51
+ - README.md
52
+ - Rakefile
53
+ - bin/ooor
54
+ - lib/ext_ooor.rb
55
+ - lib/ext_ooor/version.rb
56
+ - lib/generators/ooor/install_generator.rb
57
+ - lib/generators/ooor/ooor.yml
58
+ - lib/ooor.rb
59
+ - lib/ooor/associations.rb
60
+ - lib/ooor/autosave_association.rb
61
+ - lib/ooor/base.rb
62
+ - lib/ooor/base64.rb
63
+ - lib/ooor/callbacks.rb
64
+ - lib/ooor/errors.rb
65
+ - lib/ooor/field_methods.rb
66
+ - lib/ooor/helpers/core_helpers.rb
67
+ - lib/ooor/locale.rb
68
+ - lib/ooor/mini_active_resource.rb
69
+ - lib/ooor/model_registry.rb
70
+ - lib/ooor/model_schema.rb
71
+ - lib/ooor/naming.rb
72
+ - lib/ooor/nested_attributes.rb
73
+ - lib/ooor/persistence.rb
74
+ - lib/ooor/rack.rb
75
+ - lib/ooor/railtie.rb
76
+ - lib/ooor/reflection.rb
77
+ - lib/ooor/reflection_ooor.rb
78
+ - lib/ooor/relation.rb
79
+ - lib/ooor/relation/finder_methods.rb
80
+ - lib/ooor/report.rb
81
+ - lib/ooor/serialization.rb
82
+ - lib/ooor/services.rb
83
+ - lib/ooor/session.rb
84
+ - lib/ooor/session_handler.rb
85
+ - lib/ooor/transport.rb
86
+ - lib/ooor/transport/json_client.rb
87
+ - lib/ooor/transport/xml_rpc_client.rb
88
+ - lib/ooor/type_casting.rb
89
+ - lib/ooor/version.rb
90
+ - spec/cli_spec.rb
91
+ - spec/helpers/test_helper.rb
92
+ - spec/ooor_spec.rb
93
+ homepage: https://github.com/patleb/ext_ooor
94
+ licenses: []
95
+ metadata: {}
96
+ post_install_message:
97
+ rdoc_options: []
98
+ require_paths:
99
+ - lib
100
+ required_ruby_version: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - ">="
103
+ - !ruby/object:Gem::Version
104
+ version: '0'
105
+ required_rubygems_version: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - ">="
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ requirements: []
111
+ rubygems_version: 3.0.1
112
+ signing_key:
113
+ specification_version: 4
114
+ summary: OOOR - OpenObject On Ruby
115
+ test_files:
116
+ - spec/cli_spec.rb
117
+ - spec/ooor_spec.rb
118
+ - spec/helpers/test_helper.rb