Juan Hernandez has submitted this change and it was merged.
Change subject: Reduce the number of files
......................................................................
Reduce the number of files
Currently the SDK has one file for each class, which makes for a total
of hundreds of files. This patch changes the code generator so that it
generates related classes in the same files. For example, instead of
having a file for each type, there is now one single "types.rb" file
containing all or them.
Change-Id: Iaa6d87cd34ce1bff3cf2803ead6af7bdc4d1cfe9
Signed-off-by: Juan Hernandez <juan.hernandez(a)redhat.com>
---
M .gitignore
M generator/src/main/java/org/ovirt/sdk/ruby/ReadersGenerator.java
M generator/src/main/java/org/ovirt/sdk/ruby/RubyBuffer.java
M generator/src/main/java/org/ovirt/sdk/ruby/ServicesGenerator.java
M generator/src/main/java/org/ovirt/sdk/ruby/TypesGenerator.java
M generator/src/main/java/org/ovirt/sdk/ruby/WritersGenerator.java
M sdk/lib/ovirt/sdk/v4.rb
R sdk/lib/ovirt/sdk/v4/action.rb
R sdk/lib/ovirt/sdk/v4/action_reader.rb
R sdk/lib/ovirt/sdk/v4/fault.rb
R sdk/lib/ovirt/sdk/v4/fault_reader.rb
R sdk/lib/ovirt/sdk/v4/list.rb
R sdk/lib/ovirt/sdk/v4/reader.rb
R sdk/lib/ovirt/sdk/v4/service.rb
R sdk/lib/ovirt/sdk/v4/struct.rb
R sdk/lib/ovirt/sdk/v4/writer.rb
16 files changed, 175 insertions(+), 396 deletions(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved
Jenkins CI: Passed CI tests
--
To view, visit
https://gerrit.ovirt.org/54100
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iaa6d87cd34ce1bff3cf2803ead6af7bdc4d1cfe9
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine-sdk-ruby
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>