softwear-lib 2.0.3 → 2.0.4

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: d4c0937104c4201ea1b00ee87c47bfffa63b0893
4
- data.tar.gz: 06928cd04fd35138f1b2974ed69bc2c27c140358
3
+ metadata.gz: fc3fb9a32735ab94300da8b9383204ead9b50da8
4
+ data.tar.gz: 3cfcb465924c9866f36d80a1eda0fd7dbf627a3f
5
5
  SHA512:
6
- metadata.gz: 84ea4a1646863322fc607f254d7f1897044710ab54121afa47472c614a7addbe07911f744ff3788c7869e67fcda54a785c2029e7382d3b202c4fbf29d7497e95
7
- data.tar.gz: 8b5a79264f72479cc107c9486c08fdce4ed870d2d9607c41caee9755ca85bb7902ecf9b011e87c8ea05ba23754a7f05ab865009a2544bc4bc245ff084ede20a3
6
+ metadata.gz: f8269719c5b571dc2ea70fba292fc3399967b5eab32651b1c6ffcc9840f7885998b0dc19ebde4f8f1b88ca205c2151bda237319eeb56edffacb4531f142b16c7
7
+ data.tar.gz: 66135cc44f897fc8d7dab0a9ff2d1e3fb979cbd1a7627988003989aecdc9b0a7a4a46dd1605b4812fc894f5912a77a8d5edcddafb6a613d4e1feeae97da593e6
@@ -1,9 +1,11 @@
1
1
  module Softwear
2
- module EmailsHelper
3
- def backtrace_is_from_app?(line)
4
- !(line.include?('/gems/') || /^kernel\// =~ line || line.include?('/vendor_ruby/'))
5
- end
2
+ module Auth
3
+ module EmailsHelper
4
+ def backtrace_is_from_app?(line)
5
+ !(line.include?('/gems/') || /^kernel\// =~ line || line.include?('/vendor_ruby/'))
6
+ end
6
7
 
7
- extend self
8
+ extend self
9
+ end
8
10
  end
9
11
  end
@@ -16,7 +16,7 @@ module Softwear
16
16
 
17
17
  allow(Figaro.env).to receive(:softwear_hub_url).and_return 'http://hub.example.com'
18
18
 
19
- allow_any_instance_of(Softwear::Lib::ControllerAuthentication)
19
+ allow_any_instance_of(Softwear::Library::ControllerAuthentication)
20
20
  .to receive(:user_token)
21
21
  .and_return('')
22
22
 
@@ -48,7 +48,7 @@ module Softwear
48
48
  def sign_in_as(user)
49
49
  @_signed_in_user = user
50
50
 
51
- allow_any_instance_of(Softwear::Lib::ControllerAuthentication)
51
+ allow_any_instance_of(Softwear::Library::ControllerAuthentication)
52
52
  .to receive(:user_token).and_return 'abc123'
53
53
 
54
54
  if respond_to?(:session) && session.respond_to?(:[]=)
@@ -1,5 +1,5 @@
1
1
  module Softwear
2
2
  module Library
3
- VERSION = "2.0.3"
3
+ VERSION = "2.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: softwear-lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nigel Baillie