enum_extensions 1.0.1 → 1.0.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
  SHA1:
3
- metadata.gz: 7d6dcc940c68eada8719ff5ea66d810dcf4c6f9c
4
- data.tar.gz: 2423ed2ef930e54404b371154fc03ab5e0f634c8
3
+ metadata.gz: 78bbd1ad31946c5992111778bd26fe0610901352
4
+ data.tar.gz: 5c625cd8027bdb41b6620489af1db88f51f4ee86
5
5
  SHA512:
6
- metadata.gz: 05ef2f091d6f1b531f0099cfafe797836f31aac97418049ae061bcbe0ac65c4701801083569c1966904c101df8fd4fdd18688cb520d08ec28a46874f5368897a
7
- data.tar.gz: b4cb7b7793675e60d44568ef9eaadb2ad58a07d40a58de8648d5a0601859421410845b059c24d79586effb945777827c039cf9508e7fc22e8a5c39c637d7905b
6
+ metadata.gz: d79716ff157c0b6275b60cd8e3a14cf2372f984c1b4cbba8be25339e9612f43e91bd4bb131083e9d7d93f97eee29351783240108bb29eaff835583ae2c010f70
7
+ data.tar.gz: 4f72e4348a43ff81c3f067652ccc02a235048aa77b6102a40e322eaba0025c0d8db0093131eb5efe0293f66db662a03af62657c0a7264538ec1c90d0917664e2
@@ -1,3 +1,3 @@
1
1
  module EnumExtensions
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
@@ -18,9 +18,6 @@ module Dummy
18
18
  # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
19
19
  # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
20
20
  # config.i18n.default_locale = :de
21
-
22
- # Do not swallow errors in after_commit/after_rollback callbacks.
23
- config.active_record.raise_in_transactional_callbacks = true
24
21
  end
25
22
  end
26
23
 
@@ -13,8 +13,8 @@ Rails.application.configure do
13
13
  config.eager_load = false
14
14
 
15
15
  # Configure static file server for tests with Cache-Control for performance.
16
- config.serve_static_files = true
17
- config.static_cache_control = 'public, max-age=3600'
16
+ config.public_file_server.enabled = true
17
+ config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=3600' }
18
18
 
19
19
  # Show full error reports and disable caching.
20
20
  config.consider_all_requests_local = true
Binary file
Binary file
@@ -1,25 +1,8 @@
1
-  (1.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
2
-  (0.1ms) select sqlite_version(*)
3
-  (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5
- Migrating to CreateBooks (20151002191153)
6
-  (0.2ms) begin transaction
7
-  (1.3ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer DEFAULT 0, "read_status" integer DEFAULT 0, "nullable_status" integer)
8
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151002191153"]]
9
-  (1.1ms) commit transaction
10
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
11
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
12
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
13
- Migrating to CreateBooks (20151002191153)
14
-  (0.1ms) begin transaction
15
-  (19.7ms) DROP TABLE "books"
16
- SQL (0.3ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = ? [["version", "20151002191153"]]
17
-  (1.9ms) commit transaction
18
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
19
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
20
- Migrating to CreateBooks (20151002191153)
21
-  (0.1ms) begin transaction
22
-  (0.6ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "format" varchar, "status" integer DEFAULT 0, "read_status" integer DEFAULT 0, "nullable_status" integer)
23
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151002191153"]]
24
-  (9.5ms) commit transaction
25
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1
+ DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from <top (required)> at /Users/jd/Dropbox/rails/activerecord-enum-extensions/test/dummy/config/environment.rb:5)
2
+  (1.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
3
+  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
4
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
5
+  (0.1ms) begin transaction
6
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", 2016-08-09 23:48:44 UTC], ["updated_at", 2016-08-09 23:48:44 UTC]]
7
+  (0.8ms) commit transaction
8
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"