Skip to content

Commit

Permalink
Fix installation error (bug #1)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alban Jubert committed Mar 8, 2019
1 parent f1401dd commit a2756fa
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .craftplugin
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"pluginName":"Google Tag Manager","pluginDescription":"Google Tag Manager","pluginVersion":"1.0.0","pluginAuthorName":"La Haute Société","pluginVendorName":"lhs","pluginAuthorUrl":"https://www.lahautesociete.com","pluginAuthorGithub":"","codeComments":"","pluginComponents":["settings","variables"],"consolecommandName":"","controllerName":"","cpsectionName":"","elementName":"","fieldName":"","modelName":"","purchasableName":"","recordName":"","serviceName":"","taskName":"","utilityName":"","widgetName":"","apiVersion":"api_version_3_0"}
{"pluginName":"Google Tag Manager","pluginDescription":"Google Tag Manager","pluginVersion":"1.0.1,1.0.0","pluginAuthorName":"La Haute Société","pluginVendorName":"lhs","pluginAuthorUrl":"https://www.lahautesociete.com","pluginAuthorGithub":"","codeComments":"","pluginComponents":["settings","variables"],"consolecommandName":"","controllerName":"","cpsectionName":"","elementName":"","fieldName":"","modelName":"","purchasableName":"","recordName":"","serviceName":"","taskName":"","utilityName":"","widgetName":"","apiVersion":"api_version_3_0"}
8 changes: 5 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# Google Tag Manager Changelog

All notable changes to this project will be documented in this file.
## 1.0.1 - 2019-03-08

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).
### Fixed
- Classes file name issue causing installation error in some systems (#1)

## 1.0.0 - 2019-01-19

## 1.0.0-beta.1 - 2019-01-19
### Added
- Initial release
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "la-haute-societe/craft-google-tag-manager",
"description": "This Craft 3 plugin allows you to configure the Google Tag Manager \"ContainerID\" from the control panel and inject the GTM tags into the template.",
"type": "craft-plugin",
"version": "1.0.0",
"version": "1.0.1",
"keywords": [
"craft",
"cms",
Expand All @@ -26,12 +26,13 @@
},
"autoload": {
"psr-4": {
"lhs\\googletagmanager\\": "src/"
"lhs\\googletagmanager\\": "src/"
}
},
"extra": {
"name": "Google Tag Manager",
"handle": "google-tag-manager",
"schemaVersion": "1.0.1",
"hasCpSettings": true,
"hasCpSection": false,
"changelogUrl": "https://github.com/la-haute-societe/craft-google-tag-manager/blob/master/CHANGELOG.md",
Expand Down
8 changes: 2 additions & 6 deletions src/Googletagmanager.php → src/GoogleTagManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,11 @@

namespace lhs\googletagmanager;

use lhs\googletagmanager\variables\GoogleTagManagerVariable;
use lhs\googletagmanager\models\Settings;

use Craft;
use craft\base\Plugin;
use craft\services\Plugins;
use craft\events\PluginEvent;
use craft\web\twig\variables\CraftVariable;

use lhs\googletagmanager\models\Settings;
use lhs\googletagmanager\variables\GoogleTagManagerVariable;
use yii\base\Event;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,10 @@

namespace lhs\googletagmanager\variables;

use Craft;
use craft\web\View;
use lhs\googletagmanager\GoogleTagManager;

use Craft;

/**
* @author La Haute Société
* @package GoogleTagManager
Expand Down

0 comments on commit a2756fa

Please sign in to comment.