{"id":17239025,"url":"https://github.com/binarymuse/udjrb","last_synced_at":"2025-07-29T09:32:36.933Z","repository":{"id":56897166,"uuid":"1745761","full_name":"BinaryMuse/UDJrb","owner":"BinaryMuse","description":"Classes and extensions to make working with the UniData Java API via JRuby easier.","archived":false,"fork":false,"pushed_at":"2011-05-13T22:57:28.000Z","size":590,"stargazers_count":2,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-24T05:24:36.888Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BinaryMuse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-05-13T22:55:31.000Z","updated_at":"2013-12-01T10:03:57.000Z","dependencies_parsed_at":"2022-08-20T17:40:28.562Z","dependency_job_id":null,"html_url":"https://github.com/BinaryMuse/UDJrb","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/BinaryMuse/UDJrb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BinaryMuse%2FUDJrb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BinaryMuse%2FUDJrb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BinaryMuse%2FUDJrb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BinaryMuse%2FUDJrb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BinaryMuse","download_url":"https://codeload.github.com/BinaryMuse/UDJrb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BinaryMuse%2FUDJrb/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267662269,"owners_count":24123853,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T05:47:32.430Z","updated_at":"2025-07-29T09:32:36.608Z","avatar_url":"https://github.com/BinaryMuse.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"UDJrb is a set of classes and extensions to make it easier to work with the UniData Java API. UDJrb includes a copy of `asjava.jar`, and loads it automatically when you require the library. So, all you need to get start is to install UDJrb via `gem install udjrb` and require it with `require 'udjrb'`.\n\nUDJrb::Session\n==============\n\nTo connect to a UniData database, use the `UDJrb::Session` object.\n\n    session = UDJrb::Session.new \"username\", \"password\", \"host\", \"account\"\n\nThis will automatically connect you to the database. Once you're connected, there are a few methods available to you:\n\n * `session.unijava` - returns the underlying `asjava.uniobjects.UniJava` object.\n * `session.session` - returns the underlying `UniSession` object.\n * `session.disconnect` - disconnect cleanly from the database (uses `UniJava#closeSession()`).\n\nAny other method you call will be passed through to the underlying `UniSession` object, which means you can open files, etc. just by calling the method you would normally call on a `UniSession` instance:\n\n    person = session.open \"PERSON\"\n    person.set_record_id \"0123456\"\n    puts \"First Name: #{person.read_named_field 'FIRST.NAME'}\"\n    puts \"Last Name:  #{person.read_named_field 'LAST.NAME'}\"\n\nUniFile Extensions\n==================\n\nThe following extensions have been added to `UniFile`:\n\n * `file.data(field)` - convienence method for `file.read_named_field(field)`.\n\nUniDynArray Extensions\n======================\n\nThe following extensions have been added to `UniDynArray`:\n\n * `each` - returns each value from the first field in the array (`to_s` is called on each element).\n * `include Enumerable` - gives access to the [Enumerable](http://www.ruby-doc.org/core/classes/Enumerable.html) methods by way of `each`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinarymuse%2Fudjrb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbinarymuse%2Fudjrb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinarymuse%2Fudjrb/lists"}