{"action":"closed","issue":{"url":"https://api.github.com/repos/Pathologic/SimpleGallery/issues/37","labels_url":"https://api.github.com/repos/Pathologic/SimpleGallery/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/Pathologic/SimpleGallery/issues/37/comments","events_url":"https://api.github.com/repos/Pathologic/SimpleGallery/issues/37/events","html_url":"https://github.com/Pathologic/SimpleGallery/issues/37","id":49144300,"number":37,"title":"Перемещение классов в папку lib","user":{"login":"AgelxNash","id":1748872,"avatar_url":"https://avatars.githubusercontent.com/u/1748872?v=3","gravatar_id":"","url":"https://api.github.com/users/AgelxNash","html_url":"https://github.com/AgelxNash","followers_url":"https://api.github.com/users/AgelxNash/followers","following_url":"https://api.github.com/users/AgelxNash/following{/other_user}","gists_url":"https://api.github.com/users/AgelxNash/gists{/gist_id}","starred_url":"https://api.github.com/users/AgelxNash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AgelxNash/subscriptions","organizations_url":"https://api.github.com/users/AgelxNash/orgs","repos_url":"https://api.github.com/users/AgelxNash/repos","events_url":"https://api.github.com/users/AgelxNash/events{/privacy}","received_events_url":"https://api.github.com/users/AgelxNash/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Pathologic/SimpleGallery/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"Pathologic","id":3012304,"avatar_url":"https://avatars.githubusercontent.com/u/3012304?v=3","gravatar_id":"","url":"https://api.github.com/users/Pathologic","html_url":"https://github.com/Pathologic","followers_url":"https://api.github.com/users/Pathologic/followers","following_url":"https://api.github.com/users/Pathologic/following{/other_user}","gists_url":"https://api.github.com/users/Pathologic/gists{/gist_id}","starred_url":"https://api.github.com/users/Pathologic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pathologic/subscriptions","organizations_url":"https://api.github.com/users/Pathologic/orgs","repos_url":"https://api.github.com/users/Pathologic/repos","events_url":"https://api.github.com/users/Pathologic/events{/privacy}","received_events_url":"https://api.github.com/users/Pathologic/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2014-11-17T20:57:40Z","updated_at":"2015-02-08T20:08:01Z","closed_at":"2015-02-08T20:08:01Z","body":"Классы типа FileAPI и fileHelper вполне самодостаточны и могут быть использованы вне плагина simplegallery. В связи с этим вопрос - может быть есть смысл переместить их в папку assets/lib(s), чтобы их можно было использовать и в других компонентах без дополнительных проверок в стиле class_exists и не плодить однотипные классы, как это сейчас принято с phx"}}