eve 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,7 @@
1
1
  === 0.0.1 2010-03-09
2
2
 
3
+ * 1 bugfix:
4
+ * Resolved interference with before filters added after the gem has been loaded
5
+
3
6
  * 1 major enhancement:
4
7
  * Initial release
@@ -73,7 +73,7 @@ usage examples.
73
73
  APIs.
74
74
 
75
75
  * Controller helpers: Eve::Trust
76
- * There are several helper methods added to ApplicationController, and they are designed to facilitate interaction
76
+ * There are several helper methods added to ActionController::Base, and they are designed to facilitate interaction
77
77
  with the in-game browser (IGB). In particular, these helpers allow you to establish trust with the client browser,
78
78
  which will then provide more information about the player's current in-game status (such as his/her current
79
79
  location).
@@ -81,8 +81,6 @@ usage examples.
81
81
  are using some other browser. If a view with the ".igb.erb" extension is found, the controller will render that view
82
82
  by default for IGB clients. If the client is using some other browser, or a view with the ".igb.erb" extension is
83
83
  not found, then the default view will be rendered instead.
84
- * To take advantage of these helpers, your application must extend ApplicationController, which is a default in Ruby
85
- on Rails.
86
84
 
87
85
  * View helpers: Eve::Helpers::JavascriptHelper
88
86
  * There are several helper methods added to ActionView, and they are designed to facilitate easy and intuitive
data/lib/eve.rb CHANGED
@@ -9,7 +9,7 @@ require 'eve/trust'
9
9
  require 'eve/helpers'
10
10
 
11
11
  module Eve
12
- VERSION = '1.0.0'
12
+ VERSION = '1.0.1'
13
13
 
14
14
  class << self
15
15
  def cache_store
@@ -3,7 +3,7 @@ module Eve
3
3
  module ControllerHelpers
4
4
  # None of this exists unless ActionController exists first.
5
5
  if defined?(ActionController::Base)
6
- class ::ApplicationController < ActionController::Base
6
+ class ::ActionController::Base
7
7
  hide_action :trust_message, :trust_message=, :detect_igb, :template_exists?,
8
8
  :set_igb_or_default, :default_template_exists?, :mock_methods_for_testing!,
9
9
  :igb, :igb?, :set_igb, :require_trust, :prefer_trust, :deliver_trust_message
@@ -1,4 +1,4 @@
1
- class TrustController < ApplicationController
1
+ class TrustController < ActionController::Base
2
2
  requires_trust
3
3
 
4
4
  def index
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 0
9
- version: 1.0.0
8
+ - 1
9
+ version: 1.0.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Colin MacKenzie IV
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-03-18 00:00:00 -04:00
17
+ date: 2010-03-22 00:00:00 -04:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency