Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move namespace #51

Merged
merged 2 commits into from
Jun 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
_extends: .github

repository:
name: LastFmBundle
description: This bundle provides services for using the last.fm API inside the symfony.
homepage: https://core23.de
name: NucleosLastFmBundle
description: 🔌 This bundle provides services for using the last.fm API inside the symfony.
homepage: https://nucleos.rocks
topics: symfony, symfony-bundle, bundle, php, lastfm, api, webservice-client

branches:
- name: master
- name: main
protection:
enforce_admins: false
required_status_checks:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
push:
branches:
- master
- main
tags:
- "**"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release Drafter
on:
push:
branches:
- master
- main

jobs:
update_release_draft:
Expand Down
143 changes: 0 additions & 143 deletions CHANGELOG

This file was deleted.

35 changes: 35 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# 1.0.0

## Changed

* Renamed namespace `Core23\SetlistFMBundle` to `Nucleos\SetlistFMBundle` after move to [@nucleos]

Run

```
$ composer remove core23/setlistfm-bundle
```

and

```
$ composer require nucleos/setlistfm-bundle
```

to update.

Run

```
$ find . -type f -exec sed -i '.bak' 's/Core23\\SetlistFMBundle/Nucleos\\SetlistFMBundle/g' {} \;
```

to replace occurrences of `Core23\SetlistFMBundle` with `Nucleos\SetlistFMBundle`.

Run

```
$ find -type f -name '*.bak' -delete
```

to delete backup files created in the previous step.
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
LastFmBundle
============
[![Latest Stable Version](https://poser.pugx.org/core23/lastfm-bundle/v/stable)](https://packagist.org/packages/core23/lastfm-bundle)
[![Latest Unstable Version](https://poser.pugx.org/core23/lastfm-bundle/v/unstable)](https://packagist.org/packages/core23/lastfm-bundle)
[![License](https://poser.pugx.org/core23/lastfm-bundle/license)](https://packagist.org/packages/core23/lastfm-bundle)
NucleosLastFmBundle
===================
[![Latest Stable Version](https://poser.pugx.org/nucleos/lastfm-bundle/v/stable)](https://packagist.org/packages/nucleos/lastfm-bundle)
[![Latest Unstable Version](https://poser.pugx.org/nucleos/lastfm-bundle/v/unstable)](https://packagist.org/packages/nucleos/lastfm-bundle)
[![License](https://poser.pugx.org/nucleos/lastfm-bundle/license)](https://packagist.org/packages/nucleos/lastfm-bundle)

[![Total Downloads](https://poser.pugx.org/core23/lastfm-bundle/downloads)](https://packagist.org/packages/core23/lastfm-bundle)
[![Monthly Downloads](https://poser.pugx.org/core23/lastfm-bundle/d/monthly)](https://packagist.org/packages/core23/lastfm-bundle)
[![Daily Downloads](https://poser.pugx.org/core23/lastfm-bundle/d/daily)](https://packagist.org/packages/core23/lastfm-bundle)
[![Total Downloads](https://poser.pugx.org/nucleos/lastfm-bundle/downloads)](https://packagist.org/packages/nucleos/lastfm-bundle)
[![Monthly Downloads](https://poser.pugx.org/nucleos/lastfm-bundle/d/monthly)](https://packagist.org/packages/nucleos/lastfm-bundle)
[![Daily Downloads](https://poser.pugx.org/nucleos/lastfm-bundle/d/daily)](https://packagist.org/packages/nucleos/lastfm-bundle)

[![Continuous Integration](https://github.com/core23/LastFmBundle/workflows/Continuous%20Integration/badge.svg)](https://github.com/core23/LastFmBundle/actions)
[![Code Coverage](https://codecov.io/gh/core23/LastFmBundle/branch/master/graph/badge.svg)](https://codecov.io/gh/core23/LastFmBundle)
[![Continuous Integration](https://github.com/nucleos/NucleosLastFmBundle/workflows/Continuous%20Integration/badge.svg)](https://github.com/nucleos/NucleosLastFmBundle/actions)
[![Code Coverage](https://codecov.io/gh/nucleos/NucleosLastFmBundle/branch/main/graph/badge.svg)](https://codecov.io/gh/nucleos/NucleosLastFmBundle)

This bundle provides a wrapper for using the [Last.fm API] inside symfony.

Expand All @@ -18,7 +18,7 @@ This bundle provides a wrapper for using the [Last.fm API] inside symfony.
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
composer require core23/lastfm-bundle
composer require nucleos/lastfm-bundle
# To define a default http client and message factory
composer require symfony/http-client nyholm/psr7
```
Expand All @@ -32,7 +32,7 @@ Then, enable the bundle by adding it to the list of registered bundles in `confi

return [
// ...
Core23\LastFmBundle\Core23LastFmBundle::class => ['all' => true],
Nucleos\LastFmBundle\NucleosLastFmBundle::class => ['all' => true],
];
```

Expand All @@ -41,9 +41,9 @@ return [
Define the API credentials in your configuration.

```yaml
# config/packages/core23_lastfm.yaml
# config/packages/nucleos_lastfm.yaml

core23_lastfm:
nucleos_lastfm:
api:
app_id: "%lastfm_api.id%"
shared_secret: "%lastfm_api.secret%"
Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "core23/lastfm-bundle",
"name": "nucleos/lastfm-bundle",
"type": "symfony-bundle",
"description": "This bundle provides services for using the last.fm API inside the symfony.",
"keywords": [
Expand All @@ -10,7 +10,7 @@
"crawler",
"webservice client"
],
"homepage": "https://core23.de",
"homepage": "https://nucleos.rocks",
"license": "MIT",
"authors": [
{
Expand All @@ -20,7 +20,7 @@
],
"require": {
"php": "^7.2",
"core23/lastfm-api": "^2.0",
"nucleos/lastfm": "^3.0",
"psr/http-client": "^1.0",
"psr/http-message": "^1.0",
"symfony/config": "^4.4 || ^5.0",
Expand Down Expand Up @@ -50,17 +50,17 @@
},
"extra": {
"branch-alias": {
"dev-master": "1.x-dev"
"dev-main": "1.x-dev"
}
},
"autoload": {
"psr-4": {
"Core23\\LastFmBundle\\": "src/"
"Nucleos\\LastFmBundle\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Core23\\LastFmBundle\\Tests\\": "tests/"
"Nucleos\\LastFmBundle\\Tests\\": "tests/"
}
},
"scripts": {
Expand Down
Loading