model_driven_api 3.0.7 → 3.0.9

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
  SHA256:
3
- metadata.gz: 1822139deff80353dbae231afd40ed1397d7d4cf52da33e7bfc2d1c037cee751
4
- data.tar.gz: 1545317f8c87c9446a3f6cce825468e7bab53754a6031e012c9b2c16f4850bea
3
+ metadata.gz: bcb226fc969c90842e17920d24256d863b67141cc0f7cef853814594422db147
4
+ data.tar.gz: 659524dcdbe3e23c6fb33cedd7496f8d0697bd00232b1ca29687e7703ad9c537
5
5
  SHA512:
6
- metadata.gz: 61f7ee38ad2620dcecbc23e00508a5238c7402408fa10a7f5a8925e3939d030b2cb68f330acaab36497cd9ea329bc20da5f6df1327ea4b2986e4ed350ac7d8c4
7
- data.tar.gz: 9e7b861687ee4e4e798f2fc0d95f925aa06e0d4349d579eb6b6a194a2177bc7d902f9ca630d24fa797b1cfb75a3627e6895a54bf15a792698cfacaa7a3b7fb56
6
+ metadata.gz: 0e6fe054a1d351923df348aa7c4399df559751a109525b3d05c5c6184ae1a53529912a316454cb5738649dacf7806595d38a6d0a9416548343a16f48dff31bf1
7
+ data.tar.gz: 0e48b5e5afde5975a2d130c6512758589f34d83db565855d9fb7e611d0d20f7d14b59a1e2ac6f6c1703f28ab510ea416f8244f8074c8c4ceea870e31921251af
@@ -1,14 +1,13 @@
1
1
  puts "Loading CORS"
2
- # config/initializers/cors_api_thecore.rb
3
2
  Rails.application.config.middleware.insert_before 0, Rack::Cors do
4
- # # Allow Everything
5
- # # Please override to your specific security needs in the actual application
3
+ # Allow Everything
4
+ # Please override to your specific security needs in the actual application
6
5
  allow do
7
6
  origins '*'
8
7
  resource '*',
9
- headers: %w(app lang enc-data user-data session-id x-requested-with content-type origin authorization accept client-security-token Accept Authorization Cache-Control Content-Type DNT If-Modified-Since Keep-Alive Origin User-Agent X-Requested-With Token),
8
+ headers: %w(accept app authorization cache-control client-security-token content-type dnt enc-data if-modified-since keep-alive lang origin session-id token user-agent user-data x-requested-with),
10
9
  methods: [:get, :post, :put, :patch, :delete, :options, :head],
11
- expose: %w(authorization Authorization Content-Length Token),
10
+ expose: %w(authorization content-length token),
12
11
  max_age: 600
13
12
  end
14
13
  end
@@ -1,3 +1,3 @@
1
1
  module ModelDrivenApi
2
- VERSION = "#{`git describe --tags $(git rev-list --tags --max-count=1)`}"
2
+ VERSION = "3.0.9".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: model_driven_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.7
4
+ version: 3.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-07 00:00:00.000000000 Z
11
+ date: 2023-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thecore_backend_commons
@@ -162,7 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
162
162
  - !ruby/object:Gem::Version
163
163
  version: '0'
164
164
  requirements: []
165
- rubygems_version: 3.3.26
165
+ rubygems_version: 3.4.10
166
166
  signing_key:
167
167
  specification_version: 4
168
168
  summary: Convention based RoR engine which uses DB schema introspection to create