roqua-core-api 0.0.20 → 0.0.21

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: d2cd98e56ba4d73c4f68068fd460a0c1e5212e97
4
- data.tar.gz: f845ee0239f0d43502632157fb20416d1842c72d
3
+ metadata.gz: 2d609eacc83c719ce7dbfabe970b66fe3189e1de
4
+ data.tar.gz: 9d8db70691a96786f28648270e1f39e5700c8665
5
5
  SHA512:
6
- metadata.gz: 2037c2d9f575c8a89e7540406d214e2d053f17c882ec1e196f12cfb1a5b6841177a06f07151efd7d59c2378264eab199caa936f44b190183f775bdbe2a63dd06
7
- data.tar.gz: 081bce5e66255ecd985d79e6bbc26e77d9def18467b51f5a0e2ea1f5ed7c1a7b4193762f24f25ead3f14c5a53f3c83ad51310bcb20bf7f6209a320cc940a916e
6
+ metadata.gz: df1dc2e47298644e1c839610154f02ad45bfdc554c117be04e8f637736ff1106231b597d60e5ef4822aef18f10aa280c810cf0b08241aec86e7e9cd99f63c5bf
7
+ data.tar.gz: 25742b2abb19132e90b3e90fe260f215f977232092cb6ff19581703eae012a2a75dc9cc6c03403be36153fe7b962e12c13ff520a3b130fed01c2afa56a8951ac
data/ChangeLog.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 0.0.21 / 2014-03-18
2
+
3
+ * Add role to /api/v1/me
4
+
1
5
  ### 0.0.20 / 2014-03-17
2
6
 
3
7
  * Fix return_to on logout
@@ -1,5 +1,5 @@
1
1
  module Roqua
2
2
  module CoreApi
3
- VERSION = "0.0.20"
3
+ VERSION = '0.0.21'
4
4
  end
5
5
  end
@@ -11,7 +11,8 @@ module OmniAuth
11
11
 
12
12
  info do
13
13
  {dossier_id: raw_info['dossier_id'],
14
- username: raw_info['username']}
14
+ username: raw_info['username'],
15
+ role: raw_info['role']}
15
16
  end
16
17
 
17
18
  def raw_info
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roqua-core-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.20
4
+ version: 0.0.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marten Veldthuis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-17 00:00:00.000000000 Z
11
+ date: 2014-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -234,7 +234,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
234
234
  version: '0'
235
235
  requirements: []
236
236
  rubyforge_project:
237
- rubygems_version: 2.2.1
237
+ rubygems_version: 2.2.0
238
238
  signing_key:
239
239
  specification_version: 4
240
240
  summary: API wrapper gem around Core's API