softwear-lib 1.7.17 → 1.7.18

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: 7103af9628babf5a3d8266c526a0980e4713b36a
4
- data.tar.gz: 3261771068d3b789f6394ebc68a7834cf03dccc2
3
+ metadata.gz: a4ad19a049aa6ed309681d7726da562d18cc7203
4
+ data.tar.gz: da83417a7dc1d39ac00c833146da311f55edf9fc
5
5
  SHA512:
6
- metadata.gz: d742ac579f30f15271195635ae24945de46e1305d957826bf675269c9a17aabd7540d088c638558e0d0d02d425ab9bdb383f952ff24b1c22afda06df25e3f453
7
- data.tar.gz: 20fbe66ee0f4a4509dd718249cb570cb6f89951d4f7b16d34b5652046e6cdc5ba8bce12109a9addcc46efe67dd9c1f74dace3537d2b5625ae97a850e0385be42
6
+ metadata.gz: af8a7b1b89a6a4995d88a2ba79fe4056f19f433c5d96cc4366bb4b5c68b7a7b381782a0aa602fd726bd9527a350d920b11b6fbf92264bc73e567f02b75a886c4
7
+ data.tar.gz: 0528a7cd13e35a1e184eb60187923f7ab5b54764087f5bcd192b3560bf84cacd19aba1952d6acfeb40a25db6809f9784740590dfe108249e3c9cd22ad87faf6d
data/.gitignore CHANGED
@@ -13,3 +13,5 @@
13
13
  *.a
14
14
  mkmf.log
15
15
  *.swp
16
+ *.sublime-project
17
+ *.sublime-workspace
@@ -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
 
@@ -1,5 +1,5 @@
1
1
  module Softwear
2
2
  module Lib
3
- VERSION = "1.7.17"
3
+ VERSION = "1.7.18"
4
4
  end
5
5
  end
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.17
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-09 00:00:00.000000000 Z
11
+ date: 2016-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler