immunio 1.0.22 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +23 -0
- data/lib/immunio/authentication.rb +1 -2
- data/lib/immunio/plugins/action_view.rb +1 -1
- data/lib/immunio/version.rb +1 -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: c4a20073cf6c0c115c95a2afc1e6a8881ed83d8b
|
4
|
+
data.tar.gz: 903ba865e4b4cdfd39df4efe4425250d6bcb2234
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6d484d4001d19d66df60d17cf67003d92e812423274f4c995723bd8a82e8be0c1e9d7dcec22ad3e335bcd809a03d35e4f25395f8d255c2266d64a4fb5a5e102
|
7
|
+
data.tar.gz: eb0808e3109763538ebe88867117e377779dbb019a87747306ffa0db2f89d71fb0f063eb434b11470611217c077e56587f430ee3a1b25837916fa02f1647b2ce
|
data/LICENSE
CHANGED
@@ -238,6 +238,29 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
238
238
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
239
239
|
THE SOFTWARE.
|
240
240
|
|
241
|
+
This product includes content covered by the following license:
|
242
|
+
The MIT License (MIT)
|
243
|
+
|
244
|
+
Copyright (c) 2015 simbiose
|
245
|
+
|
246
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
247
|
+
of this software and associated documentation files (the "Software"), to deal
|
248
|
+
in the Software without restriction, including without limitation the rights
|
249
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
250
|
+
copies of the Software, and to permit persons to whom the Software is
|
251
|
+
furnished to do so, subject to the following conditions:
|
252
|
+
|
253
|
+
The above copyright notice and this permission notice shall be included in all
|
254
|
+
copies or substantial portions of the Software.
|
255
|
+
|
256
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
257
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
258
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
259
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
260
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
261
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
262
|
+
SOFTWARE.
|
263
|
+
|
241
264
|
|
242
265
|
All other components of this product are
|
243
266
|
Copyright (c) 2015 Immunio, Inc. All rights reserved.
|
@@ -82,9 +82,8 @@ module Immunio
|
|
82
82
|
info = {}
|
83
83
|
|
84
84
|
info[:user_id] = record.id.to_s if record.respond_to?(:id)
|
85
|
-
info[:email] = record.email.to_s if record.respond_to?(:email)
|
86
85
|
|
87
|
-
attribute = [:username, :login, :name].detect { |attr| record.respond_to?(attr) }
|
86
|
+
attribute = [:username, :login, :email, :name].detect { |attr| record.respond_to?(attr) }
|
88
87
|
info[:username] = record.send(attribute).to_s if attribute
|
89
88
|
|
90
89
|
info
|
data/lib/immunio/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: immunio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Immunio
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|