leases 1.1.0 → 1.1.1

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: 0ce803216d2e26f09fb7b819de4c44a65959855a
4
- data.tar.gz: b85c860f0ab647bf449911897ab3c024aabba784
3
+ metadata.gz: a0272b4ffe02c9178666b100a884fc4377ca77dc
4
+ data.tar.gz: efbd8eff430aa8e69310bd76bd9dcb4df80aba6e
5
5
  SHA512:
6
- metadata.gz: 4364efabe681179e5828cf555864e05f39a7fe3e5224ec7121d753520515317580eac5993c75dc5ac2a921a727912a0435976100158a3a8603156b7ca6263ec3
7
- data.tar.gz: 97a5b807cb7651f3845c05bc7721ed1707682e504c1ac00cb31ecec0a59a037032a06d88f215841e2feefc9723289796ba24a22d717348f0aab9bdca14545b50
6
+ metadata.gz: f6aaba2581ca5bd0b3f8b5c9d255ff64c84d20e717da9d7e7eea74e342460a15e9c0d251431d0f5bd97943b08f648caf5fb6154fd3fd31e17d81c48b8aa7e50d
7
+ data.tar.gz: 082ac37d51838378389fdaa8591a4b2c101c98cdc21da4c33ec743c0e5a1294d47c90d9545225dff6db0b24125ee167a42563678b95f7d5d584c7f53d395352f
@@ -42,7 +42,7 @@ module Leases
42
42
  Apartment.excluded_models += [self.name]
43
43
  Apartment.excluded_models.uniq!
44
44
 
45
- Apartment::Tenant.process_excluded_models
45
+ Apartment::Tenant.init
46
46
  end
47
47
 
48
48
  end
@@ -1,3 +1,3 @@
1
1
  module Leases
2
- VERSION = '1.1.0'
2
+ VERSION = '1.1.1'
3
3
  end
@@ -16,12 +16,13 @@ RSpec.configure do |config|
16
16
  config.extend WithModel
17
17
 
18
18
  config.before(:each) do
19
+ Apartment.excluded_models = []
20
+
19
21
  # Stub Apartment database interactions
20
22
  Apartment::Tenant.stub(:switch)
21
23
  Apartment::Tenant.stub(:reset)
22
24
  Apartment::Tenant.stub(:create)
23
25
  Apartment::Tenant.stub(:drop)
24
- Apartment::Tenant.stub(:process_excluded_models)
25
26
  end
26
27
 
27
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: leases
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arjen Oosterkamp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-26 00:00:00.000000000 Z
11
+ date: 2015-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler