rooftop-rails 0.1.5 → 0.1.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 88ea19d1fe60db93b285c6ab729f39c77c635cef
4
- data.tar.gz: f78fbc9c7a8d107535fb5bee0ab54fbb98ee0023
3
+ metadata.gz: bb76d1bdee7fc0efbadf4f24e4b5b1220c095184
4
+ data.tar.gz: 86f70d76ef0c007ae590cbfbb829d578a3328442
5
5
  SHA512:
6
- metadata.gz: 2b8eb321d553adf40043c152e46ff1136436c4ad5673a7b5bf69cadb54a34c08c4d10a4e51a7885dc807e0a6071f88a20f7af338cbc18719d07233695abe6a89
7
- data.tar.gz: 32af41894c54d6da455089bf44ef305e121b240a21d8c4408b122d568443bc17d6184abfdcc8528536ce60486fd45c15dd9718116a2aabb0e2a4493074b34dd1
6
+ metadata.gz: 0cc65d4a66fcb2c7558d7eccd49dcb6c51f4f506382d68a01fbfbd5846c8de9246683afae227692663482a38122b57ed0f6af0574b65f57226addca05e0b9149
7
+ data.tar.gz: 45eb8546b32f4ff5d129a0224dbe53bdc0ea230a562d0c0f1c50c79111e6df8526a1975807925c1d73f30c356b4324de443f34b8cd71a41bc6d808c67b64b779
@@ -12,7 +12,7 @@ module Rooftop
12
12
  end
13
13
 
14
14
  def expire_cache!
15
- self.class.send(:expire_cache_for, self)
15
+ self.class.send(:expire_cache_for, self.id)
16
16
  end
17
17
 
18
18
  alias_method :expire!, :expire_cache!
@@ -1,5 +1,5 @@
1
1
  module Rooftop
2
2
  module Rails
3
- VERSION = "0.1.5"
3
+ VERSION = "0.1.5.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rooftop-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Error Studio
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-29 00:00:00.000000000 Z
11
+ date: 2017-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: require_all
@@ -99,7 +99,6 @@ files:
99
99
  - lib/rooftop/rails/engine.rb
100
100
  - lib/rooftop/rails/errors.rb
101
101
  - lib/rooftop/rails/post_type_resolver.rb
102
- - lib/rooftop/rails/rails_controller_factory.rb
103
102
  - lib/rooftop/rails/route_resolver.rb
104
103
  - lib/rooftop/rails/version.rb
105
104
  - test/controllers/rooftop_rails/webhooks_controller_test.rb
@@ -1,9 +0,0 @@
1
- class RailsControllerFactory
2
- def self.determine_rails_version
3
- if Rails.version =~ /^5/
4
- ApplicationController
5
- else
6
- ActionController::Base
7
- end
8
- end
9
- end