Comparing version 2.2.2 to 2.2.3
@@ -1,2 +0,2 @@ | ||
2.2.0 - 2.2.2 / 2013-07-27 | ||
2.2.0 - 2.2.3 / 2013-07-27 | ||
========================== | ||
@@ -3,0 +3,0 @@ |
@@ -38,5 +38,3 @@ "use strict"; | ||
branchesURL: '/v1/branch/list', | ||
stationsURL: '/data2/stations.php', | ||
stationsStreamURL: '/data2/stations.php?updateOnly=true', // TODO : make param not separate url | ||
stationsURL: '/data2/stations.php' | ||
}; | ||
@@ -43,0 +41,0 @@ |
@@ -15,3 +15,3 @@ { | ||
], | ||
"version": "2.2.2", | ||
"version": "2.2.3", | ||
"author": "Kevin Coughlin <kevintcoughlin@gmail.com>", | ||
@@ -18,0 +18,0 @@ "contributors": [ |
@@ -168,3 +168,3 @@ /** | ||
request | ||
.get(citibike.defaults.stationsStreamURL) | ||
.get(citibike.defaults.stationsURL + '?updateOnly=true') | ||
.set('Accept', 'application/json') | ||
@@ -171,0 +171,0 @@ .expect(200) |
@@ -44,3 +44,3 @@ /** | ||
it('should successfully complete request', function (done) { | ||
citibike.getStations(null, function(data) { | ||
citibike.getStations({}, function(data) { | ||
should.exist(data); | ||
@@ -47,0 +47,0 @@ data.results.should.not.be.empty; |
@@ -27,4 +27,3 @@ /** | ||
branchesURL: '/v1/branch/list', | ||
stationsURL: '/data2/stations.php', | ||
stationsStreamURL: '/data2/stations.php?updateOnly=true' | ||
stationsURL: '/data2/stations.php' | ||
}; | ||
@@ -42,3 +41,2 @@ | ||
citibike.defaults.stationsURL.should.equal('/data2/stations.php'); | ||
citibike.defaults.stationsStreamURL.should.equal('/data2/stations.php?updateOnly=true'); | ||
}); | ||
@@ -60,5 +58,3 @@ | ||
branchesURL: '/v1/branch/list', | ||
stationsURL: '/data2/stations.php', | ||
stationsStreamURL: '/data2/stations.php?updateOnly=true' | ||
stationsURL: '/data2/stations.php' | ||
}, | ||
@@ -65,0 +61,0 @@ options = { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24526
486