cable 0.9.4 → 0.9.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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.4
1
+ 0.9.5
data/lib/cable/engine.rb CHANGED
@@ -4,7 +4,7 @@ require 'cable'
4
4
  module Cable
5
5
  class Engine < Rails::Engine
6
6
  initializer "static assets" do |app|
7
- # app.middleware.use ::ActionDispatch::Static, "#{root}/public"
7
+ app.middleware.use ::ActionDispatch::Static, "#{root}/public"
8
8
  app.middleware.insert_after ::ActionDispatch::Static, ::ActionDispatch::Static, "#{root}/public"
9
9
  end
10
10
 
data/lib/cable/schema.rb CHANGED
@@ -15,6 +15,7 @@ module Cable
15
15
 
16
16
  def nameable
17
17
  apply_cable_schema :first_name, String
18
+ apply_cable_schema :middle_name, String
18
19
  apply_cable_schema :last_name, String
19
20
  end
20
21
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: cable
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.9.4
5
+ version: 0.9.5
6
6
  platform: ruby
7
7
  authors:
8
8
  - Spencer Markowski
@@ -12,7 +12,7 @@ autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
14
 
15
- date: 2011-03-21 00:00:00 -04:00
15
+ date: 2011-03-22 00:00:00 -04:00
16
16
  default_executable:
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency