motorhead 0.3.7 → 0.3.8

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: affa508e71976b3d5ee0a09400e4fbd6dd8714ba
4
- data.tar.gz: c9957713ea57a59882a3e8fb53dc6e8924b06ddc
3
+ metadata.gz: 6c0469f7c9ad97b3f3e2ded5198b004ae2f39a11
4
+ data.tar.gz: 9dca2c7e0fbc2f6bfc5855280f55864f61dec1c2
5
5
  SHA512:
6
- metadata.gz: 9a6c2ee8003a848daf1eac3c943d7516be3ac3288f1f0b63f4254f9467a191bb4e0a31b1cdc2d95333047385b773d0984f9185a0f5269003f69e01a60f00740b
7
- data.tar.gz: 1059096a3bf50415a213d8b750509f7cabc25069851f53fa05d95fefe1084f2539b0f2921d2627e54b6923159212cd0dcc9fea050c3d83e70f2873a8750a3275
6
+ metadata.gz: b3d3ad2d685bb22d43a96b8e9bed03cbc26c0f9b5be79ec55390953abcfc11bfad27145ddfcea2d3a9f3603a095815d6c56f7ae1e0c4ec3bf87eca1d50a370a4
7
+ data.tar.gz: 484a41b5948afce06b1b7d593a2fe254cd44bfc8be7c77f8611f09b442ce3ae455b7ad1ae2726dcbc752fb3fb4eb5aa17ae07c69f8d604d1182bccd636e013f0
@@ -5,7 +5,8 @@ module Motorhead
5
5
  extend ActiveSupport::Concern
6
6
 
7
7
  module ClassMethods
8
- attr_accessor :on_error, :mount_at
8
+ attr_accessor :on_error
9
+ attr_reader :mount_at
9
10
 
10
11
  def active_if(&block)
11
12
  @active_if = block
@@ -8,6 +8,7 @@ module RoadCrew
8
8
  mount_at 'motorhead/road_crew'
9
9
 
10
10
  Motorhead::Engine::ClassMethods.class_eval do
11
+ remove_possible_method :active?
11
12
  # overwrite active? to check cookie value as well
12
13
  def active?(controller)
13
14
  if (settings = controller.send(:cookies)['road_crew_engine_settings'])
@@ -1,3 +1,3 @@
1
1
  module Motorhead
2
- VERSION = '0.3.7'.freeze
2
+ VERSION = '0.3.8'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: motorhead
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.7
4
+ version: 0.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Akira Matsuda
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-12-20 00:00:00.000000000 Z
11
+ date: 2015-12-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -170,4 +170,3 @@ signing_key:
170
170
  specification_version: 4
171
171
  summary: A safe and rapid prototyping framework for Rails
172
172
  test_files: []
173
- has_rdoc: