Skip to content

Commit

Permalink
Update version
Browse files Browse the repository at this point in the history
  • Loading branch information
snapjay committed Aug 5, 2015
1 parent 0fd4450 commit ef4133c
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Shopping Cart built for AngularJS",
"keywords": ["AngularJS", "module", "directive", "shopping cart", "e-commerce", "cart", "basket", "shopping"],
"authors": {"name":"Dan Shreim", "email":"[email protected]>", "homepage":"http://www.snapjay.com/"},
"version": "0.0.3-rc.1",
"version": "1.0.0",
"homepage": "http://ngcart.snapjay.com",
"license": "MIT",
"main": "dist/ngCart.js",
Expand Down
4 changes: 2 additions & 2 deletions dist/ngCart.js
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ angular.module('ngCart', ['ngCart.directives'])

}])

.value('version', '0.0.3-rc.1');
.value('version', '1.0.0');
;'use strict';


Expand Down Expand Up @@ -426,7 +426,7 @@ angular.module('ngCart.directives', ['ngCart.fulfilment'])
$scope.checkout = function () {
fulfilmentProvider.setService($scope.service);
fulfilmentProvider.setSettings($scope.settings);
var promise = fulfilmentProvider.checkout()
fulfilmentProvider.checkout()
.success(function (data, status, headers, config) {
$rootScope.$broadcast('ngCart:checkout_succeeded', data);
})
Expand Down
4 changes: 2 additions & 2 deletions dist/ngCart.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ngCart",
"private": false,
"version": "0.0.3-rc.1",
"version": "1.0.0",
"description": "Really simple shopping cart for AngularJS",
"license": "MIT",
"tags": "AngularJS, directive, module, shopping cart, shopping basket",
Expand Down
2 changes: 1 addition & 1 deletion src/ngCart.directives.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ angular.module('ngCart.directives', ['ngCart.fulfilment'])
$scope.checkout = function () {
fulfilmentProvider.setService($scope.service);
fulfilmentProvider.setSettings($scope.settings);
var promise = fulfilmentProvider.checkout()
fulfilmentProvider.checkout()
.success(function (data, status, headers, config) {
$rootScope.$broadcast('ngCart:checkout_succeeded', data);
})
Expand Down
2 changes: 1 addition & 1 deletion src/ngCart.js
Original file line number Diff line number Diff line change
Expand Up @@ -331,4 +331,4 @@ angular.module('ngCart', ['ngCart.directives'])

}])

.value('version', '0.0.3-rc.1');
.value('version', '1.0.0');
2 changes: 1 addition & 1 deletion src/ngCart_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ describe('ngCart module', function() {

describe('value - version', function() {
it('should return current version', inject(function(version) {
expect(version).toEqual('0.0.3-rc.1');
expect(version).toEqual('1.0.0');
}));
});

Expand Down

4 comments on commit ef4133c

@amejiarosario
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @snapjay

Did you push the 1.0.0 version to npm?

bower install ngcart#1.0.0 --save
bower not-cached    git://github.com/snapjay/ngCart.git#1.0.0
bower resolve       git://github.com/snapjay/ngCart.git#1.0.0
bower ENORESTARGET  No tag found that was able to satisfy 1.0.0

Additional error details:
Available versions: 0.0.3-rc.2, 0.0.3-rc.1, 0.0.2-rc.1.0, 0.0.2-rc.1, 0.0.1-rc.2, 0.0.1-rc.1

@snapjay
Copy link
Owner Author

@snapjay snapjay commented on ef4133c Aug 14, 2015 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@amejiarosario
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's working now! Thanks a lot. I'm testing it and including this version on the book.

@snapjay
Copy link
Owner Author

@snapjay snapjay commented on ef4133c Aug 14, 2015 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.