eve 1.0.0 → 1.0.1
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/History.txt +3 -0
- data/README.rdoc +1 -3
- data/lib/eve.rb +1 -1
- data/lib/eve/trust/controller_helpers.rb +1 -1
- data/spec/support/controllers/trust_controller.rb +1 -1
- metadata +3 -3
data/History.txt
CHANGED
data/README.rdoc
CHANGED
@@ -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
|
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
@@ -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 ::
|
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
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 1
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 1.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-
|
17
|
+
date: 2010-03-22 00:00:00 -04:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|