action-hero 0.1.0 → 0.2.0

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: 33c72992fb39f78faad1dfd830fdb08727163293
4
- data.tar.gz: deab7549b395659d3517c827be52c74b542f60e6
3
+ metadata.gz: 434b3671e7e32c30c300da0a69a343c8c06566ea
4
+ data.tar.gz: 3abb0c879b821b3cfda7d762ed732d4ab8596212
5
5
  SHA512:
6
- metadata.gz: 58d2b25fffb2ecad60810d066b69ca362d5b8ccd189baabe5773ce17bba06dea9fd10c2888d73c0bc47e9772772834bf4c3e97bbb261e4d4ba8edfe6d402483b
7
- data.tar.gz: fe08fc4bc67513626538a34c699d9abdf755ab7ec249dfb88836d82096fdff78e354f6f368fd2f6d673e0bbaba6643b9464757384458dd2f99a4baf0736a70fb
6
+ metadata.gz: 25ffffedc01886a86d605046f086604a0db2172b44965b713483b6e90dc71ef98ca842bedd51e674adce7178e076946225558d618f1230db1b9efaad861fce55
7
+ data.tar.gz: 607d2cc784c0548b623e23b8d44882e929c298b5740f08d9f027e040929a70edf486041ecba8a37be31ce82138528693afd16bd41f7e712b02f54203c836a78e
data/.ruby-gemset ADDED
@@ -0,0 +1 @@
1
+ gemdev
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ ruby-2.0.0-p247
data/README.md CHANGED
@@ -160,3 +160,36 @@ Define a controller with a show action method and define an action class for the
160
160
  end
161
161
  end
162
162
  end
163
+
164
+ ### Controller Methods Available in Action Class
165
+
166
+ The following methods forwarded from the the action class to the controller.
167
+
168
+ * action_name
169
+ * env
170
+ * flash
171
+ * formats
172
+ * head
173
+ * headers
174
+ * params
175
+ * redirect_to
176
+ * render
177
+ * render_to_string
178
+ * request
179
+ * reset_session
180
+ * respond_with
181
+ * response
182
+ * session
183
+ * url_for
184
+ * url_options
185
+
186
+ ### Logging And Implicit Controllers
187
+
188
+ When an implicit controller is used ActionHero adds a line to the normal Rails request logging in order
189
+ to clarify that the implicit controller is being used in place of an explicit controller, giving the
190
+ correct information of what th eexplicit controller would be inorder to clarify what is going on and
191
+ aid in debugging, etc.
192
+
193
+ Started GET "/" for 127.0.0.1 at 2013-09-08 12:38:26 -0500 │
194
+ [Action Hero] No explicit DashboardController defined, using ImplicitController
195
+ Processing by ImplicitController#show as HTML
@@ -4,7 +4,7 @@ module ActionHero
4
4
  def start_processing( event )
5
5
  controller_name = "#{event.payload[:params]['controller'].camelize}Controller"
6
6
  unless event.payload[:controller] == controller_name
7
- info "[ActionHero] No explicit #{controller_name} falling back to #{event.payload[:controller]}"
7
+ info "[Action Hero] No explicit #{controller_name} defined, using #{event.payload[:controller]}"
8
8
  end
9
9
  end
10
10
 
@@ -1,5 +1,5 @@
1
1
  module ActionHero
2
2
 
3
- VERSION = "0.1.0"
3
+ VERSION = "0.2.0"
4
4
 
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: action-hero
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - C. Jason Harrelson
@@ -60,6 +60,8 @@ extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
62
  - .gitignore
63
+ - .ruby-gemset
64
+ - .ruby-version
63
65
  - Gemfile
64
66
  - LICENSE.txt
65
67
  - README.md