softwear-lib 1.7.17 → 1.7.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/lib/softwear/auth/stubbed_model.rb +2 -1
- data/lib/softwear/lib/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: a4ad19a049aa6ed309681d7726da562d18cc7203
|
4
|
+
data.tar.gz: da83417a7dc1d39ac00c833146da311f55edf9fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af8a7b1b89a6a4995d88a2ba79fe4056f19f433c5d96cc4366bb4b5c68b7a7b381782a0aa602fd726bd9527a350d920b11b6fbf92264bc73e567f02b75a886c4
|
7
|
+
data.tar.gz: 0528a7cd13e35a1e184eb60187923f7ab5b54764087f5bcd192b3560bf84cacd19aba1952d6acfeb40a25db6809f9784740590dfe108249e3c9cd22ad87faf6d
|
data/.gitignore
CHANGED
@@ -34,7 +34,8 @@ users:
|
|
34
34
|
# =======================================================================
|
35
35
|
class StubbedModel < Softwear::Auth::StandardModel
|
36
36
|
class << self
|
37
|
-
def raw_query(m, *)
|
37
|
+
def raw_query(m, *args)
|
38
|
+
return 'yes' if m.strip == 'token'
|
38
39
|
raise %[Cannot perform auth server queries on stubbed auth model. (tried to send "#{m.split(/\s+/).first} ..." query)]
|
39
40
|
end
|
40
41
|
|
data/lib/softwear/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: softwear-lib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nigel Baillie
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|