fidor_starter_kits 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -1
- data/lib/fidor_starter_kits/version.rb +1 -1
- data/starter_kits/node_tx/example.js +3 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f4965c8a528cc069cc760ae21236cfae18d44c2c
|
4
|
+
data.tar.gz: 1d51a3c6a79360e5ad7052a7e55108a3ab293a5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36e6c3a9d859c0219d4b1997b4f01756c441049bfd65a0efce262d481920a7c464e3f20bc4b93ed5b5aa45f2282be7afd0250b954d89fbd69b77a988e092eb11
|
7
|
+
data.tar.gz: 49667bf7536f7f85b99b41c510a0d8d6e76c71b2496ecae7b182eaa2b2f317e740f10647ccfb6918834540d3f22b693795e862e7604692b3f67b7f5b7ae8b76d
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
# Changelog Fidor Admin API Schema
|
2
2
|
See [commit messages](https://github.com/fidor/fidor_starter_kits/commits/) for details.
|
3
3
|
|
4
|
+
##2015-01 v.0.3.2
|
5
|
+
*bugfix: proper TLS handling for node example
|
4
6
|
|
5
7
|
##2014-12
|
6
8
|
|
@@ -9,4 +11,4 @@ See [commit messages](https://github.com/fidor/fidor_starter_kits/commits/) for
|
|
9
11
|
|
10
12
|
##2014-11
|
11
13
|
|
12
|
-
* init with plain oauth examples for php, ruby, nodejs, golang, java
|
14
|
+
* init with plain oauth examples for php, ruby, nodejs, golang, java
|
@@ -63,7 +63,8 @@ function retrieve_access_token_from_code( code, cb ) {
|
|
63
63
|
}
|
64
64
|
postData = querystring.stringify(postData)
|
65
65
|
|
66
|
-
|
66
|
+
var http_module = oauth_url.protocol == "https:" ? https : http
|
67
|
+
var token_request = http_module.request(postOptions, function (res) {
|
67
68
|
// collect the data chunks we received and reassemble them
|
68
69
|
// on request end ...
|
69
70
|
var data = new Buffer(0)
|
@@ -126,6 +127,7 @@ function listener (request, response) {
|
|
126
127
|
var url = require("url")
|
127
128
|
var querystring = require("querystring")
|
128
129
|
var http = require("http")
|
130
|
+
var https = require("http")
|
129
131
|
|
130
132
|
var _url = url.parse(fidor_config.app_url)
|
131
133
|
fidor_config.app_port = _url.port
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fidor_starter_kits
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Georg Leciejewski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubyzip
|