{"id":15510329,"url":"https://github.com/ananace/ruby-passwordstate","last_synced_at":"2025-03-28T19:17:51.770Z","repository":{"id":56887542,"uuid":"141299181","full_name":"ananace/ruby-passwordstate","owner":"ananace","description":"Ruby module for communicating with a Passwordstate instance","archived":false,"fork":false,"pushed_at":"2024-03-27T09:18:27.000Z","size":144,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-03T11:19:10.170Z","etag":null,"topics":["passwordstate","ruby"],"latest_commit_sha":null,"homepage":null,"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/ananace.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-17T14:12:49.000Z","updated_at":"2021-10-19T15:24:56.000Z","dependencies_parsed_at":"2024-03-27T09:42:22.521Z","dependency_job_id":"b15b949e-3728-4b63-b92e-3855bb5bac7f","html_url":"https://github.com/ananace/ruby-passwordstate","commit_stats":{"total_commits":91,"total_committers":2,"mean_commits":45.5,"dds":0.02197802197802201,"last_synced_commit":"d2199e69924da13866e7cc1b2301b520b3b65525"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ananace%2Fruby-passwordstate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ananace%2Fruby-passwordstate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ananace%2Fruby-passwordstate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ananace%2Fruby-passwordstate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ananace","download_url":"https://codeload.github.com/ananace/ruby-passwordstate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246085645,"owners_count":20721213,"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","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":["passwordstate","ruby"],"created_at":"2024-10-02T09:47:49.487Z","updated_at":"2025-03-28T19:17:51.747Z","avatar_url":"https://github.com/ananace.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Passwordstate\n\nA Ruby gem for communicating with a [Passwordstate](https://clickstudios.com.au/passwordstate.aspx) instance\n\nThe documentation for the development version can be found at https://iti.gitlab-pages.liu.se/ruby-passwordstate\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'passwordstate'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install passwordstate\n\n## Usage example\n\n```ruby\nrequire 'passwordstate'\nclient = Passwordstate::Client.new 'https://passwordstate.example.com', username: 'user', password: 'password'\n#        Passwordstate::Client.new 'https://passwordstate.example.com', apikey: 'key'\n# #\u003cPasswordstate::Client:0x0000559eb1fabec8\n#  @headers=\n#   {\"accept\"=\u003e\"application/json\", \"user-agent\"=\u003e\"RubyPasswordstate/0.1.0\"},\n#  @server_url=#\u003cURI::HTTPS https://passwordstate.example.com\u003e,\n#  @timeout=15,\n#  @validate_certificate=true\u003e\n\nclient.folders\n# [#\u003cPasswordstate::Resources::Folder:0x000055ed493636e8\n#   @folder_name=\"Example\",\n#   @folder_id=2,\n#   @tree_path=\"\\\\Example\"\u003e,\n#  #\u003cPasswordstate::Resources::Folder:0x000055ed49361fa0\n#   @folder_name=\"Folder\",\n#   @folder_id=3,\n#   @tree_path=\"\\\\Example\\\\Folder\"\u003e]\n\nclient.password_lists.get(7).passwords\n# [#\u003cPasswordstate::Resources::Password:0x0000555fda8acdb8\n#   @title=\"Webserver1\",\n#   @user_name=\"test_web_account\",\n#   @account_type_id=0,\n#   @password=\"[ REDACTED ]\",\n#   @allow_export=false,\n#   @password_id=2\u003e,\n#  #\u003cPasswordstate::Resources::Password:0x0000555fda868640\n#   @title=\"Webserver2\",\n#   @user_name=\"test_web_account2\",\n#   @account_type_id=0,\n#   @password=\"[ REDACTED ]\",\n#   @allow_export=false,\n#   @password_id=3\u003e,\n#  #\u003cPasswordstate::Resources::Password:0x0000555fda84da48\n#   @title=\"Webserver3\",\n#   @user_name=\"test_web_account3\",\n#   @account_type_id=0,\n#   @password=\"[ REDACTED ]\",\n#   @allow_export=false,\n#   @password_id=4\u003e]\n\npw = client.password_lists.first.passwords.create title: 'example', user_name: 'someone', generate_password: true\n# #\u003cPasswordstate::Resources::Password:0x0000555fdaf9ce98\n#  @title=\"example\",\n#  @user_name=\"someone\",\n#  @account_type_id=0,\n#  @password=\"[ REDACTED ]\",\n#  @allow_export=true,\n#  @password_id=12,\n#  @generate_password=true,\n#  @password_list_id=6\u003e\n\npw.password\n# \"millionfE2rMrcb2LngBTHnDyxdpsGSmK3\"\n\npw.delete\n# true\n```\n\nA larger - and much more convoluted - example can be found at https://github.com/ananace/foreman_passwordstate/\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/ananace/ruby-passwordstate\nThe project lives at https://gitlab.liu.se/ITI/ruby-passwordstate\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fananace%2Fruby-passwordstate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fananace%2Fruby-passwordstate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fananace%2Fruby-passwordstate/lists"}