excursion 0.1.6 → 0.1.7

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8adccbcad33f1e17f4ead2abe3e7a7fe609838f9
4
- data.tar.gz: b4311758bfd7aeaef8ec1c0ae465c1a58b8f368f
3
+ metadata.gz: f67cb11bb21b6a38218aa2afad67a67a8f201bd1
4
+ data.tar.gz: cd56be564c40918ba209f5bf629f2f7c45c9fd4b
5
5
  SHA512:
6
- metadata.gz: 2b317d7f88316a92d62f55e26815b1504cb9dc3f03805131f62c5ca53e3c4e645b19d876c896f005f01405b2307f5bc02b627cb45c3f24e4f72224271f1abd4b
7
- data.tar.gz: ccb2acee0c222b2bd0b75b5cb132a6e1d01f4eb419c58a09f61543a811e9c063e4b7e162a91323c55e1afe1ad559bbd90308ec7ce6048e40fde2b00753167c38
6
+ metadata.gz: c9f16e87f91349c6f80adcd46d3c9efaef4595cf20cd1e5dc9de723a1d1a28fc0a524497421fe040b52509887f4e2c2fc337df2d0dde23c29d802a0b6f4547bc
7
+ data.tar.gz: 9ffe02f2599c3eb95b42078a71fb522e9c2b15b536bbebfa6d55187117d74cb5c9e83f05118da69ec55d40760f5076667be984ca2e9a0787fbd7ca25aad87f7a
@@ -0,0 +1,6 @@
1
+ class ExcursionController < ActionController::Base
2
+ def cors_preflight
3
+ cors_headers
4
+ render :text => '', :content_type => 'text/plain'
5
+ end
6
+ end
@@ -1,3 +1,3 @@
1
1
  Excursion::Engine.routes.draw do
2
- match '*path' => 'application#cors_preflight', :via => :options if Excursion.configuration.enable_cors
2
+ match '*path' => 'excursion#cors_preflight', :via => :options if Excursion.configuration.enable_cors
3
3
  end
@@ -27,10 +27,5 @@ module Excursion
27
27
  headers['Access-Control-Max-Age'] = Excursion.configuration.cors_max_age.to_s
28
28
  end
29
29
  end
30
-
31
- def cors_preflight
32
- cors_headers
33
- render :text => '', :content_type => 'text/plain'
34
- end
35
30
  end
36
31
  end
@@ -1,3 +1,3 @@
1
1
  module Excursion
2
- VERSION = '0.1.6'
2
+ VERSION = '0.1.7'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: excursion
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Rebec
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-09 00:00:00.000000000 Z
11
+ date: 2014-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -105,6 +105,7 @@ files:
105
105
  - lib/generators/excursion/templates/migration.rb
106
106
  - lib/excursion.rb
107
107
  - app/helpers/excursion/javascript_helper.rb
108
+ - app/controllers/excursion_controller.rb
108
109
  - app/assets/javascripts/excursion.js
109
110
  - app/assets/javascripts/excursion/pool.js.erb
110
111
  - config/routes.rb