ooor 2.0.3 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/README.md +1 -0
- data/bin/ooor +1 -0
- data/lib/ooor.rb +2 -0
- data/lib/ooor/associations.rb +30 -40
- data/lib/ooor/base.rb +22 -113
- data/lib/ooor/callbacks.rb +18 -0
- data/lib/ooor/field_methods.rb +133 -85
- data/lib/ooor/helpers/core_helpers.rb +9 -63
- data/lib/ooor/mini_active_resource.rb +0 -18
- data/lib/ooor/naming.rb +2 -2
- data/lib/ooor/persistence.rb +140 -0
- data/lib/ooor/railtie.rb +2 -1
- data/lib/ooor/reflection.rb +11 -399
- data/lib/ooor/reflection_ooor.rb +36 -11
- data/lib/ooor/relation.rb +48 -23
- data/lib/ooor/type_casting.rb +108 -75
- data/lib/ooor/version.rb +1 -1
- data/spec/ooor_spec.rb +133 -27
- metadata +35 -40
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ooor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
5
|
-
prerelease:
|
4
|
+
version: 2.0.4
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Raphael Valyi - www.akretion.com
|
@@ -14,33 +13,29 @@ dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: activemodel
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - ">="
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: 2.3.5
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: 2.3.5
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: faraday
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - ">="
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '0'
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - ">="
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: '0'
|
46
41
|
description: OOOR exposes OpenERP business object proxies to your Ruby (Rails or not)
|
@@ -52,69 +47,69 @@ executables:
|
|
52
47
|
extensions: []
|
53
48
|
extra_rdoc_files: []
|
54
49
|
files:
|
50
|
+
- MIT-LICENSE
|
51
|
+
- README.md
|
52
|
+
- Rakefile
|
53
|
+
- bin/ooor
|
55
54
|
- lib/ooor.rb
|
56
|
-
- lib/ooor/
|
57
|
-
- lib/ooor/
|
58
|
-
- lib/ooor/
|
59
|
-
- lib/ooor/
|
60
|
-
- lib/ooor/relation/finder_methods.rb
|
61
|
-
- lib/ooor/reflection_ooor.rb
|
55
|
+
- lib/ooor/associations.rb
|
56
|
+
- lib/ooor/base.rb
|
57
|
+
- lib/ooor/base64.rb
|
58
|
+
- lib/ooor/callbacks.rb
|
62
59
|
- lib/ooor/connection.rb
|
63
|
-
- lib/ooor/report.rb
|
64
60
|
- lib/ooor/errors.rb
|
65
|
-
- lib/ooor/transport.rb
|
66
|
-
- lib/ooor/associations.rb
|
67
61
|
- lib/ooor/field_methods.rb
|
68
|
-
- lib/ooor/serialization.rb
|
69
|
-
- lib/ooor/base64.rb
|
70
|
-
- lib/ooor/locale.rb
|
71
|
-
- lib/ooor/version.rb
|
72
|
-
- lib/ooor/reflection.rb
|
73
62
|
- lib/ooor/helpers/core_helpers.rb
|
74
|
-
- lib/ooor/
|
75
|
-
- lib/ooor/rack.rb
|
63
|
+
- lib/ooor/locale.rb
|
76
64
|
- lib/ooor/mini_active_resource.rb
|
77
|
-
- lib/ooor/
|
65
|
+
- lib/ooor/model_registry.rb
|
66
|
+
- lib/ooor/naming.rb
|
67
|
+
- lib/ooor/persistence.rb
|
68
|
+
- lib/ooor/rack.rb
|
69
|
+
- lib/ooor/railtie.rb
|
70
|
+
- lib/ooor/reflection.rb
|
71
|
+
- lib/ooor/reflection_ooor.rb
|
72
|
+
- lib/ooor/relation.rb
|
73
|
+
- lib/ooor/relation/finder_methods.rb
|
74
|
+
- lib/ooor/report.rb
|
75
|
+
- lib/ooor/serialization.rb
|
78
76
|
- lib/ooor/services.rb
|
77
|
+
- lib/ooor/session.rb
|
79
78
|
- lib/ooor/session_handler.rb
|
79
|
+
- lib/ooor/transport.rb
|
80
80
|
- lib/ooor/transport/json_client.rb
|
81
81
|
- lib/ooor/transport/xml_rpc_client.rb
|
82
|
-
- lib/ooor/
|
83
|
-
-
|
84
|
-
- README.md
|
85
|
-
- Rakefile
|
86
|
-
- spec/requirements.txt
|
82
|
+
- lib/ooor/type_casting.rb
|
83
|
+
- lib/ooor/version.rb
|
87
84
|
- spec/helpers/test_helper.rb
|
88
85
|
- spec/install_nightly.sh
|
89
86
|
- spec/ooor_spec.rb
|
90
|
-
-
|
87
|
+
- spec/requirements.txt
|
91
88
|
homepage: http://github.com/akretion/ooor
|
92
89
|
licenses: []
|
90
|
+
metadata: {}
|
93
91
|
post_install_message:
|
94
92
|
rdoc_options: []
|
95
93
|
require_paths:
|
96
94
|
- lib
|
97
95
|
required_ruby_version: !ruby/object:Gem::Requirement
|
98
|
-
none: false
|
99
96
|
requirements:
|
100
|
-
- -
|
97
|
+
- - ">="
|
101
98
|
- !ruby/object:Gem::Version
|
102
99
|
version: '0'
|
103
100
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
104
|
-
none: false
|
105
101
|
requirements:
|
106
|
-
- -
|
102
|
+
- - ">="
|
107
103
|
- !ruby/object:Gem::Version
|
108
104
|
version: '0'
|
109
105
|
requirements: []
|
110
106
|
rubyforge_project:
|
111
|
-
rubygems_version:
|
107
|
+
rubygems_version: 2.2.2
|
112
108
|
signing_key:
|
113
|
-
specification_version:
|
109
|
+
specification_version: 4
|
114
110
|
summary: OOOR - OpenObject On Ruby
|
115
111
|
test_files:
|
116
112
|
- spec/requirements.txt
|
117
113
|
- spec/helpers/test_helper.rb
|
118
114
|
- spec/install_nightly.sh
|
119
115
|
- spec/ooor_spec.rb
|
120
|
-
has_rdoc:
|