{"id":31790748,"url":"https://github.com/laurentzziu/hash2lrtemplate","last_synced_at":"2025-10-10T16:29:30.053Z","repository":{"id":56875917,"uuid":"159971536","full_name":"laurentzziu/hash2lrtemplate","owner":"laurentzziu","description":"Convert Hash objects to strings formatted as .lrtemplate (Adobe Lightroom) files.","archived":false,"fork":false,"pushed_at":"2020-03-04T07:46:03.000Z","size":50,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-10T16:29:29.108Z","etag":null,"topics":["adobe","adobe-lightroom","convert-hash-objects","extension","hash","lightroom","lrtemplate","ruby"],"latest_commit_sha":null,"homepage":"","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/laurentzziu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-01T17:50:07.000Z","updated_at":"2020-03-04T07:45:57.000Z","dependencies_parsed_at":"2022-08-20T23:10:24.363Z","dependency_job_id":null,"html_url":"https://github.com/laurentzziu/hash2lrtemplate","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/laurentzziu/hash2lrtemplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laurentzziu%2Fhash2lrtemplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laurentzziu%2Fhash2lrtemplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laurentzziu%2Fhash2lrtemplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laurentzziu%2Fhash2lrtemplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/laurentzziu","download_url":"https://codeload.github.com/laurentzziu/hash2lrtemplate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laurentzziu%2Fhash2lrtemplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279004706,"owners_count":26083750,"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-10-10T02:00:06.843Z","response_time":62,"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":["adobe","adobe-lightroom","convert-hash-objects","extension","hash","lightroom","lrtemplate","ruby"],"created_at":"2025-10-10T16:29:27.002Z","updated_at":"2025-10-10T16:29:30.046Z","avatar_url":"https://github.com/laurentzziu.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/laurentzziu/hash2lrtemplate.svg?branch=master)](https://travis-ci.org/laurentzziu/hash2lrtemplate)\n[![Gem Version](https://badge.fury.io/rb/hash2lrtemplate.svg)](https://rubygems.org/gems/hash2lrtemplate)\n[![Maintainability](https://api.codeclimate.com/v1/badges/2b822e7586dae7602550/maintainability)](https://codeclimate.com/github/laurentzziu/hash2lrtemplate/maintainability)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/2b822e7586dae7602550/test_coverage)](https://codeclimate.com/github/laurentzziu/hash2lrtemplate/test_coverage)\n\n\n# Hash2lrtemplate\n\nConvert `Hash` objects to strings formatted as `.lrtemplate` (Adobe Lightroom) files.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'hash2lrtemplate'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install hash2lrtemplate\n\n## Usage\n\n### Call the convertor\n\n```ruby\nhash = {\n  s: {\n    id: \"635D4B13-0693-458A-9EA3-9B0FE599A2E3\",\n    internal_name: \"Hash2lrtemplate test demo\",\n    title: \"Hash2lrtemplate test demo\",\n    type: \"Develop\",\n    value: {\n      uuid: \"DA481B09-FABA-4551-A981-08C13F519C07\",\n      settings: {\n        Blacks2012: -20,\n        Tint: 10,\n        ConvertToGrayscale: false,\n        CameraProfile: \"Adobe Standard\",\n        ToneCurvePV2012Red: [0, 0, 57, 40, 144, 147, 196, 206, 255, 255]\n      }\n    },\n    version: 0\n  }\n}\n\nHash2lrtemplate::Convertor.new(hash).call\n# or call the .call method directly on the class\nHash2lrtemplate::Convertor.call(hash)\n#  =\u003e \"s = {id = \\\"635D4B13-0693-458A-9EA3-9B0FE599A2E3\\\",internalName = \\\"Hash2lrtemplate test demo\\\",title = \\\"Hash2lrtemplate test demo\\\",type = \\\"Develop\\\",value = {uuid = \\\"DA481B09-FABA-4551-A981-08C13F519C07\\\",settings = {Blacks2012 = -20,Tint = 10,ConvertToGrayscale = false,CameraProfile = \\\"Adobe Standard\\\",ToneCurvePV2012Red = {0,0,57,40,144,147,196,206,255,255,},},},version = 0,}\"\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at \u003chttps://github.com/laurentzziu/hash2lrtemplate\u003e. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the Hash2lrtemplate project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/laurentzziu/hash2lrtemplate/blob/master/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaurentzziu%2Fhash2lrtemplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaurentzziu%2Fhash2lrtemplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaurentzziu%2Fhash2lrtemplate/lists"}