remotty-rails 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8f6ccd78f35337a9c3c3d792fdabde36039f5d6f
4
- data.tar.gz: c7843836c41da3fe9ada856e5251fde05f869302
3
+ metadata.gz: e6960562dfbab1ec6034c7d2abd71581b06b0d39
4
+ data.tar.gz: 5d541c3ffa8cd6d7afcbbd80ed5b07e0bef4ef6c
5
5
  SHA512:
6
- metadata.gz: 605523b11aa7f6db42d58e2e4b704b53aa3f5ed2fa1f2a3ede9677e0d7a278b28e4fb89a61d06d3ff78256ab5a321b2239d2a3271a99695e1c42f93f16027e79
7
- data.tar.gz: 9d79cce96ee058f90a70b09eefe81f727075e8a6871b6696708c32ad7634fdac92e1c94300ec470a3e6905aeff93fd254ba4b575d1196b4b505eadd800f55a6b
6
+ metadata.gz: 815036baf909cff38a18825a91e82d0acd7ec29b5b29ffc08bfc4595ea4b1eca58b588a56ae791fda049cdb19e05a014bffe301edb057fc2553d6cfc0353b41d
7
+ data.tar.gz: a3bed3b08f5d250edd27cb816fa552a5828c5c4cdad13df6340aec198cca3ff304502381bc7a77bea0c36446dd9cd47cf093a6a77d6723cc16c522fe64c41bb5
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.1.2
2
+
3
+ - support x-auth-header params
4
+
1
5
  # 0.1.1
2
6
 
3
7
  - support omniauth with popup or window
@@ -58,11 +58,11 @@ module Remotty::Rails
58
58
  end
59
59
 
60
60
  def header_email
61
- request.headers["X-Auth-Email"]
61
+ request.headers["X-Auth-Email"] || request.params["X-Auth-Email"]
62
62
  end
63
63
 
64
64
  def header_token
65
- request.headers["X-Auth-Token"]
65
+ request.headers["X-Auth-Token"] || request.params["X-Auth-Token"]
66
66
  end
67
67
 
68
68
  end
@@ -1,5 +1,5 @@
1
1
  module Remotty
2
2
  module Rails
3
- VERSION = '0.1.1'
3
+ VERSION = '0.1.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: remotty-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chungsub Kim
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-05-09 00:00:00.000000000 Z
12
+ date: 2015-05-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rack-cors