rest-firebase 0.9.4 → 0.9.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1f2db17b6fa83221766213702a434d81bb5edbcd
4
- data.tar.gz: 5a744aaf2246b0bf036e98caf70bd8a2ed7fdb8c
3
+ metadata.gz: 45df4ea3a44c2d4bd3987e9732b5d3c4bc8244e3
4
+ data.tar.gz: 558d531d7bd4f7a87bcb1a8d9eb6472aa892ed9d
5
5
  SHA512:
6
- metadata.gz: 5766c28549a550d4f36c7ad1fc377c085eeea3d91b823bd4f7b9dd7980f050fd62b8fe5d102b232df9cffa69342e92f4c48a55bff6496dabaeeb6029e6febdd6
7
- data.tar.gz: 5d64c2d8904495049ec0a25b8b49841c1152587e309f77d45a94ea2270acccb6052bc38945b8bf2571d4d197c26fb421592af24ea2e747fff54236402c879c68
6
+ metadata.gz: 040559b33938b07933026e8824b81ff087ed1b83221e23dea9abb8dc0f2d07967d7fa267aa4c3f22f2f1939bf88e5ded0ff27e713f3555887b394388918e1987
7
+ data.tar.gz: 367a943d81a2eaa5220a6bb737f6f697ffd81c4a6c7dd0eb1c82ed6c099bb20d471cdf6970c09aadfab342ebfe6b44e874147e7b3fa212bee2ebcc2c3510a51a
@@ -2,8 +2,9 @@ before_install: 'git submodule update --init'
2
2
  script: 'ruby -r bundler/setup -S rake test'
3
3
 
4
4
  rvm:
5
- - 1.9.3
6
- - 2.0.0
5
+ - 1.9
6
+ - 2.0
7
+ - 2.1
7
8
  - ruby
8
9
  - rbx-2
9
10
  - jruby
data/CHANGES.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGES
2
2
 
3
+ ## rest-firebase 0.9.5 -- 2014-11-07
4
+
5
+ * Base64url encoded JWT would no longer contain any newlines.
6
+
3
7
  ## rest-firebase 0.9.4 -- 2014-09-01
4
8
 
5
9
  * Should really properly refresh the auth (query)
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.4'
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)']
@@ -104,7 +104,7 @@ module RestFirebase::Client
104
104
  end
105
105
 
106
106
  private
107
- def base64url str; [str].pack('m').tr('+/', '-_'); end
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
@@ -1,16 +1,16 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: rest-firebase 0.9.4 ruby lib
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.4"
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-09-01"
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.1"
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
 
@@ -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%0A.eyJ2IjowLCJpYXQiOjg2NDAwLCJkIjpudWxsfQ%3D%3D%0A.cAZWmKD66jARF-BXEi5J1aqJ6khDbFdPAfAqXVbGpZk%3D%0A'
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
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-09-01 00:00:00.000000000 Z
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.1
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][].