{"id":48022241,"url":"https://github.com/rhuanbarreto/ip21-ruby","last_synced_at":"2026-04-04T13:48:04.504Z","repository":{"id":40417710,"uuid":"178174014","full_name":"rhuanbarreto/ip21-ruby","owner":"rhuanbarreto","description":"IP21 Database connection for Ruby. With this gem you will be able to connect to IP21 and execute queries against the database using SQL statements.","archived":false,"fork":false,"pushed_at":"2023-01-18T20:49:33.000Z","size":35,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-11T06:19:30.257Z","etag":null,"topics":["aspentech","ip21","rails","ruby","sinatra","sqlplus"],"latest_commit_sha":null,"homepage":"https://www.rubydoc.info/github/rhuanbarreto/ip21-ruby/master","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rhuanbarreto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-28T09:49:19.000Z","updated_at":"2021-06-26T23:27:43.000Z","dependencies_parsed_at":"2023-02-10T17:50:16.565Z","dependency_job_id":null,"html_url":"https://github.com/rhuanbarreto/ip21-ruby","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/rhuanbarreto/ip21-ruby","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhuanbarreto%2Fip21-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhuanbarreto%2Fip21-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhuanbarreto%2Fip21-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhuanbarreto%2Fip21-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhuanbarreto","download_url":"https://codeload.github.com/rhuanbarreto/ip21-ruby/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhuanbarreto%2Fip21-ruby/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31402276,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["aspentech","ip21","rails","ruby","sinatra","sqlplus"],"created_at":"2026-04-04T13:48:03.794Z","updated_at":"2026-04-04T13:48:04.480Z","avatar_url":"https://github.com/rhuanbarreto.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Aspentech IP21 Ruby Gem\n\n[![Gem Version](https://badge.fury.io/rb/ip21@2x.png)](https://badge.fury.io/rb/ip21)\n\nWith this gem you will be able to connect to IP21 and execute queries against the database using SQL statements or fetching from history or KPI table definitions.\n\nFull documentation on https://rubydoc.info/gems/ip21\n\n## Installing\n\nTo install this gem, use the following command:\n\n```sh\n$ gem install ip21\n```\n\nOr add to your Gemfile:\n\n```ruby\n# Gemfile\ngem 'ip21'\n```\n\nAnd use the class in your code to execute queries:\n\n```ruby\nrequire 'ip21' # If you are using Ruby. Don't need require if you use Rails\n\nIP21.new(\n    auth: {\n        account: 'john.doe',\n        domain: 'contoso.com',\n        password: 'set_your_own_password'\n    },\n    sqlplus_address: '127.0.0.1',\n    ip21_address: '127.0.0.1',\n).query('SELECT IP_PLANT_AREA, Name, IP_DESCRIPTION FROM IP_AnalogDef')\n```\n\n## Prerequisites\n\n- IP21 Database\n- SQLPlus with REST installed\n\n## Authentication\n\nThis gem uses Windows authentication (NTLM) to connect to SQLPlus, so don't forget to set your credentials correctly.\n\nOn domain you can use the NETBIOS name (CONTOSO) or the normal domain name (contoso.com)\n\n# Changelog\nSee the [commit page](https://github.com/rhuanbarreto/ip21-ruby/commits) for a list of changes.\n\n# License\nIP21 Gem by Rhuan Barreto. IP21 Gem is licensed under the MIT license. Please see the LICENSE file for more information.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhuanbarreto%2Fip21-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhuanbarreto%2Fip21-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhuanbarreto%2Fip21-ruby/lists"}