catchex 0.0.4 → 0.0.5

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.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/lib/catchex.rb +4 -4
  3. metadata +3 -3
data/Rakefile CHANGED
@@ -12,7 +12,7 @@ require 'rake/testtask'
12
12
  require 'fileutils'
13
13
  spec = Gem::Specification.new do |s|
14
14
  s.name = 'catchex'
15
- s.version = '0.0.4'
15
+ s.version = '0.0.5'
16
16
  s.has_rdoc = false
17
17
  s.bindir = 'bin'
18
18
  s.add_dependency('rake', '>= 0.8')
data/lib/catchex.rb CHANGED
@@ -62,7 +62,7 @@ module CatchEx
62
62
  end
63
63
  end
64
64
 
65
- module ActionController
65
+ module ActionControllerExt
66
66
  def self.included(base) #:nodoc:
67
67
  base.send :include, InstanceMethods
68
68
  end
@@ -80,12 +80,12 @@ module CatchEx
80
80
  end
81
81
  end
82
82
 
83
- module ActionView
83
+ module ActionViewExt
84
84
  def catchex_js
85
85
  javascript_include_tag URI.encode("http://www.catchex.com/apps/ce?porject_key=#{Config.prject_key}&scenario=#{Config.scenario}")
86
86
  end
87
87
  end
88
88
  end
89
89
 
90
- ActionController::Base.send :include, CatchEx::ActionController if defined? ActionController::Base
91
- ActionView::Base.send :include, CatchEx::ActionView if defined? ActionView::Base
90
+ ActionController::Base.send :include, CatchEx::ActionControllerExt if defined? ActionController::Base
91
+ ActionView::Base.send :include, CatchEx::ActionViewExt if defined? ActionView::Base
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: catchex
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 4
10
- version: 0.0.4
9
+ - 5
10
+ version: 0.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Braisdom