From 11770638b5c488ad39f83e7f8ab409f7da576201 Mon Sep 17 00:00:00 2001 From: nicgirault Date: Sat, 28 Nov 2015 14:49:51 +0100 Subject: [PATCH] rename service --- bower.json | 2 +- dist/angular-trello-api-client.js | 8 ++++---- package.json | 2 +- src/config.coffee | 2 +- src/interceptor.coffee | 2 +- src/module.coffee | 2 +- src/provider.coffee | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/bower.json b/bower.json index 1404ced..c821e7d 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { "name": "angular-trello-api-client", "homepage": "https://github.com/nicgirault/angular-trello-api-client", - "version": "1.0.2", + "version": "1.0.4", "authors": [ "nicgirault " ], diff --git a/dist/angular-trello-api-client.js b/dist/angular-trello-api-client.js index f983a1b..8c82c9b 100644 --- a/dist/angular-trello-api-client.js +++ b/dist/angular-trello-api-client.js @@ -1,6 +1,6 @@ -angular.module('angular-trello-api-client', ['satellizer']); +angular.module('trello-api-client', ['satellizer']); -angular.module('angular-trello-api-client').constant('TrelloClientConfig', { +angular.module('trello-api-client').constant('TrelloClientConfig', { key: null, appName: null, authEndpoint: 'https://trello.com', @@ -12,7 +12,7 @@ angular.module('angular-trello-api-client').constant('TrelloClientConfig', { localStoragePrefix: 'trello' }); -angular.module('angular-trello-api-client').factory('TrelloInterceptor', [ +angular.module('trello-api-client').factory('TrelloInterceptor', [ '$q', 'SatellizerConfig', 'SatellizerStorage', 'SatellizerShared', 'TrelloClientConfig', function($q, config, storage, shared, TrelloClientConfig) { return { request: function(request) { @@ -42,7 +42,7 @@ angular.module('angular-trello-api-client').factory('TrelloInterceptor', [ } ]); -angular.module('angular-trello-api-client').provider('TrelloClient', function($authProvider, TrelloClientConfig) { +angular.module('trello-api-client').provider('TrelloClient', function($authProvider, TrelloClientConfig) { this.init = function(config) { if (config == null) { return; diff --git a/package.json b/package.json index be532f2..ec10dc1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "angular-trello-api-client", - "version": "1.0.2", + "version": "1.0.4", "description": "", "main": "gulpfile.js", "dependencies": { diff --git a/src/config.coffee b/src/config.coffee index 0f7154d..85ddedb 100644 --- a/src/config.coffee +++ b/src/config.coffee @@ -1,4 +1,4 @@ -angular.module 'angular-trello-api-client' +angular.module 'trello-api-client' .constant 'TrelloClientConfig', { key: null appName: null diff --git a/src/interceptor.coffee b/src/interceptor.coffee index c8dd936..320e58b 100644 --- a/src/interceptor.coffee +++ b/src/interceptor.coffee @@ -1,4 +1,4 @@ -angular.module 'angular-trello-api-client' +angular.module 'trello-api-client' .factory 'TrelloInterceptor', [ '$q' 'SatellizerConfig' diff --git a/src/module.coffee b/src/module.coffee index 0cbf0d2..eb09148 100644 --- a/src/module.coffee +++ b/src/module.coffee @@ -1 +1 @@ -angular.module 'angular-trello-api-client', ['satellizer'] +angular.module 'trello-api-client', ['satellizer'] diff --git a/src/provider.coffee b/src/provider.coffee index 77e4b03..8c0234a 100644 --- a/src/provider.coffee +++ b/src/provider.coffee @@ -1,4 +1,4 @@ -angular.module 'angular-trello-api-client' +angular.module 'trello-api-client' .provider 'TrelloClient', ($authProvider, TrelloClientConfig) -> @init = (config) -> return unless config?