mockley_crew 1.1.1 → 1.1.2

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: '0392eb80c7e81b964ba7cf3f43f72acc81f98e9a1b0eefe67361a22021d32ec9'
4
- data.tar.gz: c2ffc88b49b70c9495b4a107d0b7009f5f468b6735071ce302957adc73a2f511
3
+ metadata.gz: 2173887caca7d1a8f4945f42342939cdda27af7a23bf893c195b89abf572617f
4
+ data.tar.gz: 69fe859155a03e7acbbf4f24c1c4f3616b7fd7b3f15f338b1bd0e2cfd652f5d5
5
5
  SHA512:
6
- metadata.gz: 60eca5b4e51e4847ca035d6adf59c768ceaf10f41899cdefd3c9e70b72ab324e9e4d67e9611e277c4854da0050969637f0c26c1409146c7a6b048b9ee8460d7a
7
- data.tar.gz: dddc0c18c05d82b648d1454f048061b66980f57c3022515bb02e72f6203d51313c8db18faccc30b66d4ad7a3466f171f93b74c1d1e1739f0c9bfb41293f38955
6
+ metadata.gz: 46f2e44568148c58d5986ee653715faeed8be209aaa8134cad9169023bb425c683418d4150c13efc9010531acd5ef37e3badf9b0a2679123afd8ef7585cf439f
7
+ data.tar.gz: 3edba0f6cb879044cf602dc8fe445a8e0869b969bb29de6a4ba7860979a9e71faf20fec21c32552d6e8d1694c2c2120a19bc1486a481315ed0d5b03d1ba0476a
@@ -1,4 +1,4 @@
1
1
  module MockleyCrew
2
- class ApplicationController < ActionController::API
2
+ class MockleyController < ActionController::API
3
3
  end
4
4
  end
@@ -1,5 +1,5 @@
1
1
  module MockleyCrew
2
- class Database::DataController < ApplicationController
2
+ class Database::DataController < MockleyController
3
3
  rescue_from MockleyCrew::Errors::InvalidDataError do |exception|
4
4
  render json: { success: false, message: "Invalid body structure" }, status: 400
5
5
  end
@@ -1,5 +1,5 @@
1
1
  module MockleyCrew
2
- class DatabaseController < ApplicationController
2
+ class DatabaseController < MockleyController
3
3
  skip_before_action :activate_database
4
4
  skip_after_action :restore_database
5
5
  skip_after_action :set_response_header
@@ -1,3 +1,3 @@
1
1
  module MockleyCrew
2
- VERSION = '1.1.1'
2
+ VERSION = '1.1.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mockley_crew
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ariel Schvartz