rest-firebase 0.9.4 → 0.9.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -2
- data/CHANGES.md +4 -0
- data/Rakefile +1 -1
- data/lib/rest-firebase.rb +1 -1
- data/rest-firebase.gemspec +4 -4
- data/test/test_api.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 45df4ea3a44c2d4bd3987e9732b5d3c4bc8244e3
|
4
|
+
data.tar.gz: 558d531d7bd4f7a87bcb1a8d9eb6472aa892ed9d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 040559b33938b07933026e8824b81ff087ed1b83221e23dea9abb8dc0f2d07967d7fa267aa4c3f22f2f1939bf88e5ded0ff27e713f3555887b394388918e1987
|
7
|
+
data.tar.gz: 367a943d81a2eaa5220a6bb737f6f697ffd81c4a6c7dd0eb1c82ed6c099bb20d471cdf6970c09aadfab342ebfe6b44e874147e7b3fa212bee2ebcc2c3510a51a
|
data/.travis.yml
CHANGED
data/CHANGES.md
CHANGED
data/Rakefile
CHANGED
@@ -10,7 +10,7 @@ $LOAD_PATH.unshift(File.expand_path("#{dir}/rest-core/lib"))
|
|
10
10
|
|
11
11
|
Gemgem.init(dir) do |s|
|
12
12
|
s.name = 'rest-firebase'
|
13
|
-
s.version = '0.9.
|
13
|
+
s.version = '0.9.5'
|
14
14
|
s.homepage = 'https://github.com/CodementorIO/rest-firebase'
|
15
15
|
|
16
16
|
s.authors = ['Codementor', 'Lin Jen-Shin (godfat)']
|
data/lib/rest-firebase.rb
CHANGED
@@ -104,7 +104,7 @@ module RestFirebase::Client
|
|
104
104
|
end
|
105
105
|
|
106
106
|
private
|
107
|
-
def base64url str; [str].pack('
|
107
|
+
def base64url str; [str].pack('m0').tr("+/\n", '-_'); end
|
108
108
|
def default_auth ; generate_auth ; end
|
109
109
|
def default_auth_ttl; 82800 ; end
|
110
110
|
def default_iat ; Time.now.to_i ; end
|
data/rest-firebase.gemspec
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# stub: rest-firebase 0.9.
|
2
|
+
# stub: rest-firebase 0.9.5 ruby lib
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "rest-firebase"
|
6
|
-
s.version = "0.9.
|
6
|
+
s.version = "0.9.5"
|
7
7
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
9
9
|
s.require_paths = ["lib"]
|
10
10
|
s.authors = [
|
11
11
|
"Codementor",
|
12
12
|
"Lin Jen-Shin (godfat)"]
|
13
|
-
s.date = "2014-
|
13
|
+
s.date = "2014-11-07"
|
14
14
|
s.description = "Ruby Firebase REST API client built on top of [rest-core][].\n\n[rest-core]: https://github.com/godfat/rest-core"
|
15
15
|
s.email = ["help@codementor.io"]
|
16
16
|
s.files = [
|
@@ -31,7 +31,7 @@ Gem::Specification.new do |s|
|
|
31
31
|
"test/test_api.rb"]
|
32
32
|
s.homepage = "https://github.com/CodementorIO/rest-firebase"
|
33
33
|
s.licenses = ["Apache License 2.0"]
|
34
|
-
s.rubygems_version = "2.4.
|
34
|
+
s.rubygems_version = "2.4.2"
|
35
35
|
s.summary = "Ruby Firebase REST API client built on top of [rest-core][]."
|
36
36
|
s.test_files = ["test/test_api.rb"]
|
37
37
|
|
data/test/test_api.rb
CHANGED
@@ -12,7 +12,7 @@ Pork::API.describe RestFirebase do
|
|
12
12
|
Muack.verify
|
13
13
|
end
|
14
14
|
|
15
|
-
path = 'https://a.json?auth=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9
|
15
|
+
path = 'https://a.json?auth=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ2IjowLCJpYXQiOjg2NDAwLCJkIjpudWxsfQ%3D%3D.SSmw2fUYiQFyYlsFV8WmyQsOCWJ6yvC7aw3bRpwQOYo%3D'
|
16
16
|
|
17
17
|
json = '{"status":"ok"}'
|
18
18
|
rbon = {'status' => 'ok'}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rest-firebase
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Codementor
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-11-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rest-core
|
@@ -70,7 +70,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
72
|
rubyforge_project:
|
73
|
-
rubygems_version: 2.4.
|
73
|
+
rubygems_version: 2.4.2
|
74
74
|
signing_key:
|
75
75
|
specification_version: 4
|
76
76
|
summary: Ruby Firebase REST API client built on top of [rest-core][].
|