Skip to content

Commit

Permalink
v1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitexus committed Aug 18, 2020
1 parent 2d8215b commit f0740fc
Show file tree
Hide file tree
Showing 14 changed files with 103 additions and 78 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,8 @@ composer.lock
/debian/php-ease-bricks-doc/
/debian/php-ease-bricks/
/debian/files
/debian/debhelper-build-stamp
/debian/debhelper-build-stamp
/tmp/
debian/.debhelper/
/debian/php-ease-bootstrap4-widgets.debhelper.log
/debian/php-ease-bootstrap4-widgets.substvars
16 changes: 14 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
repoversion=$(shell LANG=C aptitude show php-ease-bootstrap4-widgets | grep Version: | awk '{print $$2}')
nextversion=$(shell echo $(repoversion) | perl -ne 'chomp; print join(".", splice(@{[split/\./,$$_]}, 0, -1), map {++$$_} pop @{[split/\./,$$_]}), "\n";')


clean:
rm -rf debian/php-ease-twbootstrap4-widgets
rm -rf debian/php-ease-twbootstrap4-widgets-doc
rm -rf debian/php-ease-bootstrap4-widgets
rm -rf debian/php-ease-bootstrap4-widgets-doc
rm -rf debian/*.log
rm -rf docs/*
rm -rf vendor/* composer.lock
Expand All @@ -13,6 +17,14 @@ test:
phpunit --bootstrap tests/Bootstrap.php --configuration tests/configuration.xml tests
codecept run

release:
echo Release v$(nextversion)
dch -v $(nextversion) `git log -1 --pretty=%B | head -n 1`
debuild -i -us -uc -b
git commit -a -m "Release v$(nextversion)"
git tag -a $(nextversion) -m "version $(nextversion)"


deb:
debuild -i -us -uc -b

42 changes: 21 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
![EasePHP TWB4 Widgets Logo](https://raw.githubusercontent.com/VitexSoftware/php-ease-twbootstrap4-widgets/master/project-logo.png "Project Logo")
![EasePHP TWB4 Widgets Logo](https://raw.githubusercontent.com/VitexSoftware/php-ease-bootstrap4-widgets/master/project-logo.png "Project Logo")

EasePHP Twitter Bootstrap4 Widgets
==================================

Object oriented PHP Framework for easy&fast writing small/middle sized apps.


[![Latest Stable Version](https://poser.pugx.org/vitexsoftware/ease-twbootstrap4-widgets/v/stable)](https://packagist.org/packages/vitexsoftware/ease-twbootstrap4-widgets)
[![Total Downloads](https://poser.pugx.org/vitexsoftware/ease-twbootstrap4-widgets/downloads)](https://packagist.org/packages/vitexsoftware/ease-twbootstrap4-widgets)
[![Latest Unstable Version](https://poser.pugx.org/vitexsoftware/ease-twbootstrap4-widgets/v/unstable)](https://packagist.org/packages/vitexsoftware/ease-twbootstrap4-widgets)
[![License](https://poser.pugx.org/vitexsoftware/ease-twbootstrap4-widgets/license)](https://packagist.org/packages/vitexsoftware/ease-twbootstrap4-widgets)
[![Monthly Downloads](https://poser.pugx.org/vitexsoftware/ease-twbootstrap4-widgets/d/monthly)](https://packagist.org/packages/vitexsoftware/ease-twbootstrap4-widgets)
[![Daily Downloads](https://poser.pugx.org/vitexsoftware/ease-twbootstrap4-widgets/d/daily)](https://packagist.org/packages/vitexsoftware/ease-twbootstrap4-widgets)
[![Latest Stable Version](https://poser.pugx.org/vitexsoftware/ease-bootstrap4-widgets/v/stable)](https://packagist.org/packages/vitexsoftware/ease-bootstrap4-widgets)
[![Total Downloads](https://poser.pugx.org/vitexsoftware/ease-bootstrap4-widgets/downloads)](https://packagist.org/packages/vitexsoftware/ease-bootstrap4-widgets)
[![Latest Unstable Version](https://poser.pugx.org/vitexsoftware/ease-bootstrap4-widgets/v/unstable)](https://packagist.org/packages/vitexsoftware/ease-bootstrap4-widgets)
[![License](https://poser.pugx.org/vitexsoftware/ease-bootstrap4-widgets/license)](https://packagist.org/packages/vitexsoftware/ease-bootstrap4-widgets)
[![Monthly Downloads](https://poser.pugx.org/vitexsoftware/ease-bootstrap4-widgets/d/monthly)](https://packagist.org/packages/vitexsoftware/ease-bootstrap4-widgets)
[![Daily Downloads](https://poser.pugx.org/vitexsoftware/ease-bootstrap4-widgets/d/daily)](https://packagist.org/packages/vitexsoftware/ease-bootstrap4-widgets)

[![Latest Version](https://img.shields.io/github/release/VitexSoftware/php-ease-twbootstrap4-widgets.svg?style=flat-square)](https://github.com/VitexSoftware/php-ease-twbootstrap4-widgets/releases)
[![Software License](https://img.shields.io/badge/license-GPL-brightgreen.svg?style=flat-square)](https://github.com/VitexSoftware/php-ease-twbootstrap4-widgets/blob/master/LICENSE)
[![Build Status](https://img.shields.io/travis/VitexSoftware/php-ease-twbootstrap4-widgets/master.svg?style=flat-square)](https://travis-ci.org/VitexSoftware/php-ease-twbootstrap4-widgets)
[![Total Downloads](https://img.shields.io/packagist/dt/vitexsoftware/php-ease-twbootstrap4-widgets.svg?style=flat-square)](https://packagist.org/packages/vitexsoftware/php-ease-twbootstrap4-widgets)
[![Docker pulls](https://img.shields.io/docker/pulls/vitexsoftware/php-ease-twbootstrap4-widgets.svg)](https://hub.docker.com/r/vitexsoftware/php-ease-twbootstrap4-widgets/)
[![Downloads](https://img.shields.io/packagist/dt/vitexsoftware/php-ease-twbootstrap4-widgets.svg?style=flat-square)](https://packagist.org/packages/vitexsoftware/php-ease-twbootstrap4-widgets)
[![Latest stable](https://img.shields.io/packagist/v/vitexsoftware/php-ease-twbootstrap4-widgets.svg?style=flat-square)](https://packagist.org/packages/vitexsoftware/php-ease-twbootstrap4-widgets)
[![Latest Version](https://img.shields.io/github/release/VitexSoftware/php-ease-bootstrap4-widgets.svg?style=flat-square)](https://github.com/VitexSoftware/php-ease-bootstrap4-widgets/releases)
[![Software License](https://img.shields.io/badge/license-GPL-brightgreen.svg?style=flat-square)](https://github.com/VitexSoftware/php-ease-bootstrap4-widgets/blob/master/LICENSE)
[![Build Status](https://img.shields.io/travis/VitexSoftware/php-ease-bootstrap4-widgets/master.svg?style=flat-square)](https://travis-ci.org/VitexSoftware/php-ease-bootstrap4-widgets)
[![Total Downloads](https://img.shields.io/packagist/dt/vitexsoftware/php-ease-bootstrap4-widgets.svg?style=flat-square)](https://packagist.org/packages/vitexsoftware/php-ease-bootstrap4-widgets)
[![Docker pulls](https://img.shields.io/docker/pulls/vitexsoftware/php-ease-bootstrap4-widgets.svg)](https://hub.docker.com/r/vitexsoftware/php-ease-bootstrap4-widgets/)
[![Downloads](https://img.shields.io/packagist/dt/vitexsoftware/php-ease-bootstrap4-widgets.svg?style=flat-square)](https://packagist.org/packages/vitexsoftware/php-ease-bootstrap4-widgets)
[![Latest stable](https://img.shields.io/packagist/v/vitexsoftware/php-ease-bootstrap4-widgets.svg?style=flat-square)](https://packagist.org/packages/vitexsoftware/php-ease-bootstrap4-widgets)

---

Expand All @@ -36,7 +36,7 @@ MainPageMenu

Well framed large icons

![MainPageMenu](https://raw.githubusercontent.com/VitexSoftware/php-ease-twbootstrap4-widgets/master/MainPageMenu.png "Main Page Menu screenshot")
![MainPageMenu](https://raw.githubusercontent.com/VitexSoftware/php-ease-bootstrap4-widgets/master/MainPageMenu.png "Main Page Menu screenshot")

```php
$mpmenu = new \Ease\ui\MainPageMenu();
Expand All @@ -48,7 +48,7 @@ TwitterBootstrap Toggle

Ease support for http://bootstrapswitch.com/

![Toggle](https://raw.githubusercontent.com/VitexSoftware/php-ease-twbootstrap4-widgets/master/Toggle.png "Main Page Menu screenshot")
![Toggle](https://raw.githubusercontent.com/VitexSoftware/php-ease-bootstrap4-widgets/master/Toggle.png "Main Page Menu screenshot")

```php
new Ease\ui\Toggle('swname', true, 1,['onText' => 'YES', 'offText' => 'NO']);
Expand All @@ -73,7 +73,7 @@ Installation
Composer:
---------

composer require vitexsoftware/php-ease-twbootstrap4-widgets
composer require vitexsoftware/php-ease-bootstrap4-widgets


Older versions and its requirements https://packagist.org/packages/vitexsoftware/
Expand All @@ -84,7 +84,7 @@ For Debian, Ubuntu & friends please use repo:
wget -O - http://v.s.cz/info@vitexsoftware.cz.gpg.key|sudo apt-key add -
echo deb http://v.s.cz/ stable main > /etc/apt/sources.list.d/ease.list
aptitude update
aptitude install php-ease-twbootstrap4-widgets
aptitude install php-ease-bootstrap4-widgets

In this case please add this to your app composer.json:

Expand All @@ -94,7 +94,7 @@ In this case please add this to your app composer.json:
"repositories": [
{
"type": "path",
"url": "/usr/share/php/Ease",
"url": "/usr/share/php/EaseCore",
"options": {
"symlink": true
}
Expand All @@ -113,6 +113,6 @@ Links

Homepage: https://www.vitexsoftware.cz/ease.php

GitHub: https://github.com/VitexSoftware/php-ease-twbootstrap4-widgets
GitHub: https://github.com/VitexSoftware/php-ease-bootstrap4-widgets

Apigen Docs: https://www.vitexsoftware.cz/php-ease-twbootstrap4-widgets/
Apigen Docs: https://www.vitexsoftware.cz/php-ease-bootstrap4-widgets/
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "vitexsoftware/ease-twbootstrap4-widgets",
"name": "vitexsoftware/ease-bootstrap4-widgets",
"description": "EasePHP framework addons and code snipplets",
"authors": [
{
Expand All @@ -19,9 +19,9 @@
"Test\\Ease\\TWB4\\": "vendor/vitexsoftware/ease-framework/tests/src/Ease/TWB4"
}
},
"minimum-stability": "dev",
"minimum-stability": "stable",
"require": {
"vitexsoftware/ease-twbootstrap4": "dev-master"
"vitexsoftware/ease-twbootstrap4": "^0.7.5"
},
"require-dev": {
"phpunit/phpunit": "^8"
Expand Down
5 changes: 3 additions & 2 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
php-ease-twbootstrap4-widgets (0.10) UNRELEASED; urgency=medium
php-ease-bootstrap4-widgets (1.0) UNRELEASED; urgency=medium

[ Vítězslav Dvořák ]
* Non-maintainer upload.
Expand All @@ -7,5 +7,6 @@ php-ease-twbootstrap4-widgets (0.10) UNRELEASED; urgency=medium
* package fix
* composer fix
* Menu Fixed
* Toggle assets added

-- CyberVitexus <vitex@exiv.jinonice.czf> Thu, 30 Apr 2020 20:02:18 +0200
-- CyberVitexus <vitex@exiv.jinonice.czf> Tue, 18 Aug 2020 23:58:50 +0200
70 changes: 35 additions & 35 deletions debian/composer.json
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
{
"name": "deb/ease-twbootstrap4-widgets",
"description": "Twitter Bootstrap4 Widgets for PHP Framework (debianized)",
"version": "0.9.3",
"authors": [
{
"name": "Vítězslav Dvořák",
"email": "info@vitexsoftware.cz",
"homepage": "http://v.s.cz/"
}
],
"autoload": {
"psr-4": {
"Ease\\TWB4\\Widgets\\": "./"
}

"name": "deb/ease-bootstrap4-widgets",
"description": "Twitter Bootstrap4 Widgets for PHP Framework (debianized)",
"version": "0.9.3",
"authors": [
{
"name": "Vítězslav Dvořák",
"email": "info@vitexsoftware.cz",
"homepage": "http://v.s.cz/"
}
],
"autoload": {
"psr-4": {
"Ease\\TWB4\\Widgets\\": "./"
}
},
"minimum-stability": "dev",
"require": {
"deb/ease-bootstrap4": "*"
},
"repositories": [
{
"type": "path",
"url": "/usr/share/php/EaseCore"
},
"minimum-stability": "dev",
"require": {
"deb/ease-twbootstrap4": "*"
{
"type": "path",
"url": "/usr/share/php/EaseHtml"
},
"repositories": [
{
"type": "path",
"url": "/usr/share/php/Ease"
},
{
"type": "path",
"url": "/usr/share/php/EaseHtml"
},
{
"type": "path",
"url": "/usr/share/php/EaseTWB4"
}
],
"type": "library",
"homepage": "http://v.s.cz/ease.php",
"license": "GPL-2.0+"
{
"type": "path",
"url": "/usr/share/php/EaseTWB4"
}
],
"type": "library",
"homepage": "http://v.s.cz/ease.php",
"license": "GPL-2.0+",
"address": "1.0"
}
13 changes: 7 additions & 6 deletions debian/control
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
Source: php-ease-twbootstrap4-widgets
Build-Depends: debhelper (>= 7.0.50~)
Source: php-ease-bootstrap4-widgets
Build-Depends: debhelper (>= 7.0.50~), npm
Standards-Version: 4.3.0
Maintainer: Vítězslav Dvořák <info@vitexsoftware.cz>
Uploaders: Vitex <vitex@hippy.cz>
Priority: optional
Homepage: https://github.com/Vitexus/php-ease-twbootstrap4-widgets
Section: devel
Homepage: https://github.com/Vitexus/php-ease-bootstrap4-widgets

Package: php-ease-twbootstrap4-widgets
Depends: ${misc:Depends},php-ease-twbootstrap4
Package: php-ease-bootstrap4-widgets
Depends: ${misc:Depends},php-ease-bootstrap4
Architecture: all
Section: web
Priority: optional
Description: Simple PHP framework TWB4 Widgets
Twitter Bootstrap4 Widgets for EasePHP Framework

#Package: php-ease-twbootstrap4-widgets-doc
#Package: php-ease-bootstrap4-widgets-doc
#Depends: ${misc:Depends},
#Suggests: www-browser
#Architecture: all
Expand Down
2 changes: 0 additions & 2 deletions debian/install

This file was deleted.

1 change: 0 additions & 1 deletion debian/lastversion

This file was deleted.

4 changes: 4 additions & 0 deletions debian/php-ease-bootstrap4-widgets.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
src/Ease/TWB4/Widgets/*.php /usr/share/php/EaseTWB4Widgets
debian/composer.json /usr/share/php/EaseTWB4Widgets
tmp/node_modules/bootstrap4-toggle/css/bootstrap4-toggle.min.css /usr/share/javascript/bootstrap4/css/
tmp/node_modules/bootstrap4-toggle/js/bootstrap4-toggle.min.js /usr/share/javascript/bootstrap4/js/
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#DEBHELPER#

# postinst script for ease-twbootstrap4-widgets
# postinst script for ease-bootstrap4-widgets
#
# see: dh_installdeb(1)

Expand All @@ -24,7 +24,7 @@ set -e
case "$1" in
configure)

composer-global-update deb/ease-twbootstrap4-widgets
composer-global-update deb/ease-bootstrap4-widgets

;;

Expand Down
10 changes: 8 additions & 2 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,14 @@ BUILD_DIR:=build
override_dh_auto_test:
echo tests temporarly skipped for now in rules file

override_dh_clean:
rm -rf tmp
dh_clean

override_dh_install:
./debian/apigendoc.sh
jq '.address = "'`dpkg-parsechangelog | sed -n 's/^Version: //p'`'"' debian/composer.json |sponge debian/composer.json
npm install --prefix tmp bootstrap4-toggle
dh_install
sed -e "/includeCss/c\ \$$this->includeCss(\'\/javascript\/bootstrap4\/css\/bootstrap4-toggle.min.css\');" -i debian/php-ease-twbootstrap4-widgets/usr/share/php/EaseTWB4Widgets/Toggle.php
sed -e "/includeJavascript/c\ \$$this->includeJavascript(\'\/javascript\/bootstrap4\/js\/bootstrap4-toggle.min.js\');" -i debian/php-ease-twbootstrap4-widgets/usr/share/php/EaseTWB4Widgets/Toggle.php
sed -e "/includeCss/c\ \$$this->includeCss(\'\/javascript\/bootstrap4\/css\/bootstrap4-toggle.min.css\');" -i debian/php-ease-bootstrap4-widgets/usr/share/php/EaseTWB4Widgets/Toggle.php
sed -e "/includeJavascript/c\ \$$this->includeJavascript(\'\/javascript\/bootstrap4\/js\/bootstrap4-toggle.min.js\');" -i debian/php-ease-bootstrap4-widgets/usr/share/php/EaseTWB4Widgets/Toggle.php
2 changes: 1 addition & 1 deletion nbproject/project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<type>org.netbeans.modules.php.project</type>
<configuration>
<data xmlns="http://www.netbeans.org/ns/php-project/1">
<name>ease-twbootstrap4-widgets</name>
<name>ease-bootstrap4-widgets</name>
</data>
</configuration>
</project>

0 comments on commit f0740fc

Please sign in to comment.