From 3b8f3cf300b656f1f13b6923e4fe04d426042bdc Mon Sep 17 00:00:00 2001 From: Parziphal Date: Sun, 27 Oct 2013 00:35:20 -0500 Subject: [PATCH] license, composer config --- LICENSE | 19 +++++++++++++++++++ composer.json | 17 +++++++++++++++++ config/boot.php | 2 +- 3 files changed, 37 insertions(+), 1 deletion(-) create mode 100755 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100755 index 0000000..b47e122 --- /dev/null +++ b/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2013 Pop|Parziphal|Asterix Vader + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. \ No newline at end of file diff --git a/composer.json b/composer.json index 98bdef6..e01e17c 100755 --- a/composer.json +++ b/composer.json @@ -1,9 +1,26 @@ { "name": "myimouto/myimouto", + "description": "Image board for PHP 5.4+ and MySQL", + "license": "MIT", + "keywords": [ + "myimouto", + "booru", + "image board" + ], "require": { "php": ">=5.4.0", "myimouto/railsphp": "v1.0.6", "railsphp/willpaginate": "dev-master", "michelf/php-markdown": "1.3.*" + }, + "autoload": { + "psr-0": { + "ApplicationInstaller\\": "install/" + } + }, + "scripts": { + "post-package-install": [ + "ApplicationInstaller\\CompileAssets::compile" + ] } } \ No newline at end of file diff --git a/config/boot.php b/config/boot.php index ca6766a..10845d8 100755 --- a/config/boot.php +++ b/config/boot.php @@ -14,7 +14,7 @@ define('RAILS_ROOT', dirname(__DIR__)); /** * Path to Rails. */ -$railsPath = __DIR__ . '/../vendor/railsphp/railsphp/lib/Rails'; +$railsPath = __DIR__ . '/../vendor/myimouto/railsphp/lib/Rails'; /** * Load and initialize Rails.