thecore_api 1.1.18 → 1.1.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/thecore_api/engine.rb +0 -6
- data/lib/thecore_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb3f1313669274d375e66ac65d076013046d8f1e
|
4
|
+
data.tar.gz: 251e902eb7f430c4a9f8d75cf2df6db752b66696
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8a4ef6afc9ba184054446ce343946cd233a5b9e15c7a3f7910ea6efbdc7518a01f0870c9851aae3a99393109a20db6b35f18b0e2f0a90e9692cd2be5f1ffcca
|
7
|
+
data.tar.gz: 29a425758f62d2b10c56a326538adebec7b4e4b7c8f0426ddc18c75eca36a28c7b0a72e1459d4dd78f2eb963654618c0044f959efe6c96dc9b13acdccfa20c68
|
data/lib/thecore_api/engine.rb
CHANGED
@@ -2,12 +2,6 @@ module ThecoreApi
|
|
2
2
|
class Engine < ::Rails::Engine
|
3
3
|
# appending migrations to the main app's ones
|
4
4
|
initializer :append_migrations do |app|
|
5
|
-
config.middleware.insert_before 0, "Rack::Cors" do
|
6
|
-
allow do
|
7
|
-
origins '*'
|
8
|
-
resource '*', :headers => :any, :methods => [:get, :post, :put, :patch, :delete, :options, :head]
|
9
|
-
end
|
10
|
-
end
|
11
5
|
unless app.root.to_s == root.to_s
|
12
6
|
config.paths["db/migrate"].expanded.each do |expanded_path|
|
13
7
|
app.config.paths["db/migrate"] << expanded_path
|
data/lib/thecore_api/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thecore_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriele Tassoni
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-11-
|
11
|
+
date: 2018-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thecore
|