hocus_pocus 0.1.1 → 0.1.2

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.
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ == 0.1.2
2
+
3
+ * Add after_filter contents only when format.html? [schin]
4
+
1
5
  == 0.1.1
2
6
 
3
7
  * Ensure not to fail on test env
@@ -1,4 +1,4 @@
1
- Copyright (c) 2010 Akira Matsuda
1
+ Copyright (c) 2010-2011 Akira Matsuda
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.rdoc CHANGED
@@ -16,5 +16,5 @@ Feel free to message me on Github (amatsuda) or Twitter (@a_matsuda) ☇3☇3
16
16
 
17
17
  == Copyright
18
18
 
19
- Copyright (c) 2011 Akira Matsuda. See LICENSE.txt for
19
+ Copyright (c) 2010-2011 Akira Matsuda. See MIT-LICENSE for
20
20
  further details.
@@ -8,7 +8,7 @@ module HocusPocus
8
8
  end
9
9
 
10
10
  def self.after(controller)
11
- unless controller.request.format.js?
11
+ if controller.request.format.html?
12
12
  filter = self.new(controller)
13
13
  filter.add_steak_recorder if HocusPocus.config.enable_scenario_recorder
14
14
  # filter.add_js
@@ -1,3 +1,3 @@
1
1
  module HocusPocus
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hocus_pocus
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Akira Matsuda
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-05-08 00:00:00 Z
18
+ date: 2011-05-24 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: nested_scaffold
@@ -47,7 +47,7 @@ files:
47
47
  - .gitignore
48
48
  - CHANGELOG
49
49
  - Gemfile
50
- - LICENSE.txt
50
+ - MIT-LICENSE
51
51
  - README.rdoc
52
52
  - Rakefile
53
53
  - app/controllers/hocus_pocus/application_controller.rb
@@ -107,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
107
107
  requirements: []
108
108
 
109
109
  rubyforge_project: hocus_pocus
110
- rubygems_version: 1.8.1
110
+ rubygems_version: 1.8.3
111
111
  signing_key:
112
112
  specification_version: 3
113
113
  summary: An Isolated Engine that casts a spell on your Rails 3.1 app