Explorar el Código

refactor(minor): pay -> payments

pull/2/head
phot0n hace 2 años
padre
commit
c4550b8165
Se han modificado 15 ficheros con 21 adiciones y 21 borrados
  1. +4
    -4
      .github/workflows/ci.yml
  2. +1
    -1
      .gitignore
  3. +12
    -12
      MANIFEST.in
  4. +0
    -0
      pay/templates/pages/__init__.py
  5. +0
    -0
      payments/__init__.py
  6. +0
    -0
      payments/config/__init__.py
  7. +0
    -0
      payments/config/desktop.py
  8. +1
    -1
      payments/config/docs.py
  9. +1
    -1
      payments/hooks.py
  10. +0
    -0
      payments/modules.txt
  11. +0
    -0
      payments/patches.txt
  12. +0
    -0
      payments/payments/__init__.py
  13. +0
    -0
      payments/public/.gitkeep
  14. +0
    -0
      payments/templates/__init__.py
  15. +2
    -2
      setup.py

+ 4
- 4
.github/workflows/ci.yml Ver fichero

@@ -8,7 +8,7 @@ on:
pull_request:

concurrency:
group: develop-pay-${{ github.event.number }}
group: develop-payments-${{ github.event.number }}
cancel-in-progress: true

jobs:
@@ -73,10 +73,10 @@ jobs:
- name: Install
working-directory: /home/runner/frappe-bench
run: |
bench get-app pay $GITHUB_WORKSPACE
bench get-app payments $GITHUB_WORKSPACE
bench setup requirements --dev
bench new-site --db-root-password root --admin-password admin test_site
bench --site test_site install-app pay
bench --site test_site install-app payments
bench build
env:
CI: 'Yes'
@@ -85,6 +85,6 @@ jobs:
working-directory: /home/runner/frappe-bench
run: |
bench --site test_site set-config allow_tests true
bench --site test_site run-tests --app pay
bench --site test_site run-tests --app payments
env:
TYPE: server

+ 1
- 1
.gitignore Ver fichero

@@ -3,5 +3,5 @@
*.egg-info
*.swp
tags
pay/docs/current
payments/docs/current
node_modules/

+ 12
- 12
MANIFEST.in Ver fichero

@@ -4,15 +4,15 @@ include *.json
include *.md
include *.py
include *.txt
recursive-include pay *.css
recursive-include pay *.csv
recursive-include pay *.html
recursive-include pay *.ico
recursive-include pay *.js
recursive-include pay *.json
recursive-include pay *.md
recursive-include pay *.png
recursive-include pay *.py
recursive-include pay *.svg
recursive-include pay *.txt
recursive-exclude pay *.pyc
recursive-include payments *.css
recursive-include payments *.csv
recursive-include payments *.html
recursive-include payments *.ico
recursive-include payments *.js
recursive-include payments *.json
recursive-include payments *.md
recursive-include payments *.png
recursive-include payments *.py
recursive-include payments *.svg
recursive-include payments *.txt
recursive-exclude payments *.pyc

+ 0
- 0
pay/templates/pages/__init__.py Ver fichero


pay/__init__.py → payments/__init__.py Ver fichero


pay/config/__init__.py → payments/config/__init__.py Ver fichero


pay/config/desktop.py → payments/config/desktop.py Ver fichero


pay/config/docs.py → payments/config/docs.py Ver fichero

@@ -2,7 +2,7 @@
Configuration for docs
"""

# source_link = "https://github.com/[org_name]/pay"
# source_link = "https://github.com/[org_name]/payments"
# headline = "App that does everything"
# sub_heading = "Yes, you got that right the first time, everything"


pay/hooks.py → payments/hooks.py Ver fichero

@@ -1,6 +1,6 @@
from . import __version__ as app_version

app_name = "pay"
app_name = "payments"
app_title = "Payments"
app_publisher = "Frappe Technologies"
app_description = "Payments app for frappe"

pay/modules.txt → payments/modules.txt Ver fichero


pay/patches.txt → payments/patches.txt Ver fichero


pay/payments/__init__.py → payments/payments/__init__.py Ver fichero


pay/public/.gitkeep → payments/public/.gitkeep Ver fichero


pay/templates/__init__.py → payments/templates/__init__.py Ver fichero


+ 2
- 2
setup.py Ver fichero

@@ -4,10 +4,10 @@ with open("requirements.txt") as f:
install_requires = f.read().strip().split("\n")

# get version from __version__ variable in pay/__init__.py
from pay import __version__ as version
from payments import __version__ as version

setup(
name="pay",
name="payments",
version=version,
description="Payments app for frappe",
author="Frappe Technologies",


Cargando…
Cancelar
Guardar