tuning 4.0.1.0 → 4.0.1.1

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: 0081e87effa4ecfe09631c0c22126443a67f18d3
4
- data.tar.gz: 3f234d3653f242828c700f97b068cfff2a64bb37
3
+ metadata.gz: 1230f719f8a1a88ec9c4a108293e46a6ea56b9a0
4
+ data.tar.gz: 2c9bbe5ab5687f1d3ae37d581ba9e346f57bd2d9
5
5
  SHA512:
6
- metadata.gz: 92b149af8b9fa5e62cb30e293d6db0f7d12c994700f14e2177a3aab378d2f80f612d7c830f65f6d580eab22376b38e02624fb62ec97913914d957fdfb5c2b329
7
- data.tar.gz: 4317d216eeab34efc94a3704fd29e0ff3f38654e6d4b3b112ed716d4943b49c2dac2f560dcbf51ef5746e61344019dab691cdc0b2d9052baf6595bd22b8d0d67
6
+ metadata.gz: 58d2496b78f1669c76e7b5c237e3b3d7f9f1cd7b81d7e9acf8689c8edad3861b3cd5645ed3a62ca1c7f21f672e958657ce1a28f907f220ed009bc96a204c11cd
7
+ data.tar.gz: dc88ac5caee3427896c8f5a1720f01be64bc0ab5c4acd099041afce424724722a59b4f0164ad27d9de6af3529314ca522845e8b8f0289976a5bce7621b3f6d2b
data/README.md CHANGED
@@ -141,6 +141,12 @@ end
141
141
 
142
142
  NOTE: Take a look at lib/tuning/locales to know the i18n keys.
143
143
 
144
+ ## Contributing
145
+
146
+ Any issue, pull request, comment of any kind is more than welcome!
147
+
148
+ I will mainly ensure compatibility to PostgreSQL, AWS, Redis, Elasticsearch, FreeBSD and Memcached. 
149
+
144
150
  ## Credits
145
151
 
146
152
  This gem is maintained and funded by [mmontossi](https://github.com/mmontossi).
@@ -1,33 +1,50 @@
1
1
  module Tuning
2
2
  class Railtie < Rails::Railtie
3
3
 
4
- initializer 'tuning.extensions' do
5
- ::ActionController::Base.include(
6
- Tuning::Extensions::ActionController::Base
7
- )
8
- ::ActionMailer::Base.include(
9
- Tuning::Extensions::ActionMailer::Base
10
- )
11
- ::ActionView::Base.include(
12
- Tuning::Extensions::ActionView::Base
13
- )
14
- ::ActionView::Template::Handlers.include(
15
- Tuning::Extensions::ActionView::Handlers
16
- )
17
- ::ActiveRecord::Base.include(
18
- Tuning::Extensions::ActiveRecord::Base,
19
- Tuning::Validations
20
- )
4
+ initializer 'tuning.active_model' do
21
5
  ::ActiveModel::Model.include(
22
6
  Tuning::Validations
23
7
  )
24
8
  end
25
9
 
26
- initializer 'tuning.template_handler' do
27
- ActionView::Template.register_template_handler(
28
- :ruby,
29
- ActionView::Template::Handlers::Ruby.new
30
- )
10
+ initializer 'tuning.active_record' do
11
+ ActiveSupport.on_load :active_record do
12
+ ::ActiveRecord::Base.include(
13
+ Tuning::Extensions::ActiveRecord::Base,
14
+ Tuning::Validations
15
+ )
16
+ end
17
+ end
18
+
19
+ initializer 'tuning.action_controller' do
20
+ ActiveSupport.on_load :action_controller do
21
+ ::ActionController::Base.include(
22
+ Tuning::Extensions::ActionController::Base
23
+ )
24
+ end
25
+ end
26
+
27
+ initializer 'tuning.action_mailer' do
28
+ ActiveSupport.on_load :action_mailer do
29
+ ::ActionMailer::Base.include(
30
+ Tuning::Extensions::ActionMailer::Base
31
+ )
32
+ end
33
+ end
34
+
35
+ initializer 'tuning.action_view' do
36
+ ActiveSupport.on_load :action_view do
37
+ ::ActionView::Base.include(
38
+ Tuning::Extensions::ActionView::Base
39
+ )
40
+ ::ActionView::Template::Handlers.include(
41
+ Tuning::Extensions::ActionView::Handlers
42
+ )
43
+ ::ActionView::Template.register_template_handler(
44
+ :ruby,
45
+ ::ActionView::Template::Handlers::Ruby.new
46
+ )
47
+ end
31
48
  end
32
49
 
33
50
  end
@@ -1,5 +1,5 @@
1
1
  module Tuning
2
2
 
3
- VERSION = '4.0.1.0'
3
+ VERSION = '4.0.1.1'
4
4
 
5
5
  end
@@ -1,7 +1,10 @@
1
- development:
1
+ default: &default
2
2
  adapter: postgresql
3
+
4
+ development:
5
+ <<: *default
3
6
  database: tuning_development
4
7
 
5
8
  test:
6
- adapter: postgresql
9
+ <<: *default
7
10
  database: tuning_test
@@ -18,4 +18,25 @@ WHERE c.contype = 'f'
18
18
  AND t1.relname = 'users'
19
19
  AND t3.nspname = ANY (current_schemas(false))
20
20
  ORDER BY c.conname
21
+ 
22
+  (2.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
23
+  (22.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
24
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
25
+ Migrating to CreateUsers (20161020200126)
26
+  (0.1ms) BEGIN
27
+  (20.2ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
28
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20161020200126"]]
29
+  (0.5ms) COMMIT
30
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
31
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
32
+ FROM pg_constraint c
33
+ JOIN pg_class t1 ON c.conrelid = t1.oid
34
+ JOIN pg_class t2 ON c.confrelid = t2.oid
35
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
36
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
37
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
38
+ WHERE c.contype = 'f'
39
+ AND t1.relname = 'users'
40
+ AND t3.nspname = ANY (current_schemas(false))
41
+ ORDER BY c.conname
21
42
  
@@ -2963,3 +2963,479 @@ ControllerTest: test_callbacks
2963
2963
  ControllerTest: test_render
2964
2964
  ---------------------------
2965
2965
   (0.1ms) ROLLBACK
2966
+ ActiveRecord::SchemaMigration Load (2.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
2967
+  (0.2ms) BEGIN
2968
+ --------------------------
2969
+ ValidationTest: test_count
2970
+ --------------------------
2971
+  (0.2ms) ROLLBACK
2972
+  (0.1ms) BEGIN
2973
+ ----------------------------
2974
+ ValidationTest: test_methods
2975
+ ----------------------------
2976
+  (0.1ms) ROLLBACK
2977
+  (0.1ms) BEGIN
2978
+ -------------------------------
2979
+ ValidationTest: test_complexity
2980
+ -------------------------------
2981
+  (0.1ms) ROLLBACK
2982
+  (0.1ms) BEGIN
2983
+ -------------------------
2984
+ ValidationTest: test_time
2985
+ -------------------------
2986
+  (0.1ms) ROLLBACK
2987
+  (0.1ms) BEGIN
2988
+ ----------------------
2989
+ ViewTest: test_handler
2990
+ ----------------------
2991
+  (0.1ms) SAVEPOINT active_record_1
2992
+ SQL (17.9ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mario"], ["created_at", "2016-12-13 18:05:30.002952"], ["updated_at", "2016-12-13 18:05:30.002952"]]
2993
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2994
+  (0.1ms) SAVEPOINT active_record_1
2995
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "juan"], ["created_at", "2016-12-13 18:05:30.024212"], ["updated_at", "2016-12-13 18:05:30.024212"]]
2996
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2997
+ Started GET "/users.json" for 127.0.0.1 at 2016-12-13 15:05:30 -0300
2998
+ Processing by UsersController#index as JSON
2999
+ User Load (0.3ms) SELECT "users".* FROM "users"
3000
+ Rendered users/index.json.ruby (1.1ms)
3001
+ Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.3ms)
3002
+ Started GET "/users.xml" for 127.0.0.1 at 2016-12-13 15:05:30 -0300
3003
+ Processing by UsersController#index as XML
3004
+ User Load (0.3ms) SELECT "users".* FROM "users"
3005
+ Rendered users/index.xml.ruby (10.5ms)
3006
+ Completed 200 OK in 13ms (Views: 12.9ms | ActiveRecord: 0.3ms)
3007
+  (0.2ms) ROLLBACK
3008
+  (0.1ms) BEGIN
3009
+ ------------------------------
3010
+ ControllerTest: test_callbacks
3011
+ ------------------------------
3012
+  (0.1ms) ROLLBACK
3013
+  (0.1ms) BEGIN
3014
+ ---------------------------
3015
+ ControllerTest: test_render
3016
+ ---------------------------
3017
+  (0.1ms) ROLLBACK
3018
+  (0.1ms) BEGIN
3019
+ -------------------------
3020
+ RecordTest: test_validate
3021
+ -------------------------
3022
+  (0.1ms) ROLLBACK
3023
+  (0.1ms) BEGIN
3024
+ ------------------------------
3025
+ RecordTest: test_nilify_blanks
3026
+ ------------------------------
3027
+  (0.1ms) SAVEPOINT active_record_1
3028
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-13 18:05:30.061752"], ["updated_at", "2016-12-13 18:05:30.061752"]]
3029
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3030
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 77]]
3031
+  (0.1ms) ROLLBACK
3032
+  (0.1ms) BEGIN
3033
+ ------------------------------
3034
+ MailerTest: test_normalization
3035
+ ------------------------------
3036
+ Rendered user_mailer/invite.text.erb (0.7ms)
3037
+
3038
+ UserMailer#invite: processed outbound mail in 10.2ms
3039
+  (0.2ms) ROLLBACK
3040
+  (0.1ms) BEGIN
3041
+ --------------------------
3042
+ HelperTest: test_extending
3043
+ --------------------------
3044
+ Rendered layouts/application.html.erb (0.2ms)
3045
+ Rendered layouts/market.html.erb (6.7ms)
3046
+  (0.2ms) ROLLBACK
3047
+  (0.1ms) BEGIN
3048
+ -----------------------------
3049
+ HelperTest: test_active_trail
3050
+ -----------------------------
3051
+  (0.1ms) ROLLBACK
3052
+  (0.1ms) BEGIN
3053
+ -------------------------------
3054
+ HelperTest: test_content_tag_if
3055
+ -------------------------------
3056
+  (0.1ms) ROLLBACK
3057
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
3058
+  (0.2ms) BEGIN
3059
+ ------------------------------
3060
+ ControllerTest: test_callbacks
3061
+ ------------------------------
3062
+  (0.1ms) ROLLBACK
3063
+  (0.1ms) BEGIN
3064
+ ---------------------------
3065
+ ControllerTest: test_render
3066
+ ---------------------------
3067
+  (0.1ms) ROLLBACK
3068
+  (0.1ms) BEGIN
3069
+ ------------------------------
3070
+ RecordTest: test_nilify_blanks
3071
+ ------------------------------
3072
+  (0.1ms) SAVEPOINT active_record_1
3073
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-13 18:08:23.127506"], ["updated_at", "2016-12-13 18:08:23.127506"]]
3074
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3075
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 78]]
3076
+  (0.1ms) ROLLBACK
3077
+  (0.1ms) BEGIN
3078
+ -------------------------
3079
+ RecordTest: test_validate
3080
+ -------------------------
3081
+  (0.1ms) ROLLBACK
3082
+  (0.1ms) BEGIN
3083
+ -------------------------------
3084
+ ValidationTest: test_complexity
3085
+ -------------------------------
3086
+  (0.2ms) ROLLBACK
3087
+  (0.1ms) BEGIN
3088
+ --------------------------
3089
+ ValidationTest: test_count
3090
+ --------------------------
3091
+  (0.1ms) ROLLBACK
3092
+  (0.1ms) BEGIN
3093
+ ----------------------------
3094
+ ValidationTest: test_methods
3095
+ ----------------------------
3096
+  (0.1ms) ROLLBACK
3097
+  (0.1ms) BEGIN
3098
+ -------------------------
3099
+ ValidationTest: test_time
3100
+ -------------------------
3101
+  (0.1ms) ROLLBACK
3102
+  (0.1ms) BEGIN
3103
+ ------------------------------
3104
+ MailerTest: test_normalization
3105
+ ------------------------------
3106
+ Rendered user_mailer/invite.text.erb (0.6ms)
3107
+
3108
+ UserMailer#invite: processed outbound mail in 11.0ms
3109
+  (0.2ms) ROLLBACK
3110
+  (0.1ms) BEGIN
3111
+ ----------------------
3112
+ ViewTest: test_handler
3113
+ ----------------------
3114
+  (0.1ms) SAVEPOINT active_record_1
3115
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mario"], ["created_at", "2016-12-13 18:08:23.275330"], ["updated_at", "2016-12-13 18:08:23.275330"]]
3116
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3117
+  (0.1ms) SAVEPOINT active_record_1
3118
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "juan"], ["created_at", "2016-12-13 18:08:23.276754"], ["updated_at", "2016-12-13 18:08:23.276754"]]
3119
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3120
+ Started GET "/users.json" for 127.0.0.1 at 2016-12-13 15:08:23 -0300
3121
+ Processing by UsersController#index as JSON
3122
+ User Load (0.3ms) SELECT "users".* FROM "users"
3123
+ Rendered users/index.json.ruby (0.9ms)
3124
+ Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.3ms)
3125
+ Started GET "/users.xml" for 127.0.0.1 at 2016-12-13 15:08:23 -0300
3126
+ Processing by UsersController#index as XML
3127
+ User Load (0.2ms) SELECT "users".* FROM "users"
3128
+ Rendered users/index.xml.ruby (4.9ms)
3129
+ Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.2ms)
3130
+  (0.2ms) ROLLBACK
3131
+  (0.1ms) BEGIN
3132
+ -----------------------------
3133
+ HelperTest: test_active_trail
3134
+ -----------------------------
3135
+  (0.1ms) ROLLBACK
3136
+  (0.1ms) BEGIN
3137
+ -------------------------------
3138
+ HelperTest: test_content_tag_if
3139
+ -------------------------------
3140
+  (0.1ms) ROLLBACK
3141
+  (0.1ms) BEGIN
3142
+ --------------------------
3143
+ HelperTest: test_extending
3144
+ --------------------------
3145
+ Rendered layouts/application.html.erb (0.2ms)
3146
+ Rendered layouts/market.html.erb (6.4ms)
3147
+  (0.2ms) ROLLBACK
3148
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
3149
+  (0.2ms) BEGIN
3150
+ --------------------------
3151
+ ValidationTest: test_count
3152
+ --------------------------
3153
+  (0.2ms) ROLLBACK
3154
+  (0.1ms) BEGIN
3155
+ ----------------------------
3156
+ ValidationTest: test_methods
3157
+ ----------------------------
3158
+  (0.1ms) ROLLBACK
3159
+  (0.1ms) BEGIN
3160
+ -------------------------------
3161
+ ValidationTest: test_complexity
3162
+ -------------------------------
3163
+  (0.1ms) ROLLBACK
3164
+  (0.1ms) BEGIN
3165
+ -------------------------
3166
+ ValidationTest: test_time
3167
+ -------------------------
3168
+  (0.1ms) ROLLBACK
3169
+  (0.1ms) BEGIN
3170
+ --------------------------
3171
+ HelperTest: test_extending
3172
+ --------------------------
3173
+ Rendered layouts/application.html.erb (0.2ms)
3174
+ Rendered layouts/market.html.erb (6.7ms)
3175
+  (0.2ms) ROLLBACK
3176
+  (0.1ms) BEGIN
3177
+ -----------------------------
3178
+ HelperTest: test_active_trail
3179
+ -----------------------------
3180
+  (0.1ms) ROLLBACK
3181
+  (0.1ms) BEGIN
3182
+ -------------------------------
3183
+ HelperTest: test_content_tag_if
3184
+ -------------------------------
3185
+  (0.1ms) ROLLBACK
3186
+  (0.1ms) BEGIN
3187
+ ------------------------------
3188
+ ControllerTest: test_callbacks
3189
+ ------------------------------
3190
+  (0.1ms) ROLLBACK
3191
+  (0.1ms) BEGIN
3192
+ ---------------------------
3193
+ ControllerTest: test_render
3194
+ ---------------------------
3195
+  (0.1ms) ROLLBACK
3196
+  (0.1ms) BEGIN
3197
+ ------------------------------
3198
+ RecordTest: test_nilify_blanks
3199
+ ------------------------------
3200
+  (0.1ms) SAVEPOINT active_record_1
3201
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-13 18:08:56.589545"], ["updated_at", "2016-12-13 18:08:56.589545"]]
3202
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3203
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 81]]
3204
+  (0.1ms) ROLLBACK
3205
+  (0.1ms) BEGIN
3206
+ -------------------------
3207
+ RecordTest: test_validate
3208
+ -------------------------
3209
+  (0.1ms) ROLLBACK
3210
+  (0.1ms) BEGIN
3211
+ ------------------------------
3212
+ MailerTest: test_normalization
3213
+ ------------------------------
3214
+ Rendered user_mailer/invite.text.erb (0.2ms)
3215
+
3216
+ UserMailer#invite: processed outbound mail in 8.3ms
3217
+  (0.2ms) ROLLBACK
3218
+  (0.1ms) BEGIN
3219
+ ----------------------
3220
+ ViewTest: test_handler
3221
+ ----------------------
3222
+  (0.1ms) SAVEPOINT active_record_1
3223
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mario"], ["created_at", "2016-12-13 18:08:56.725756"], ["updated_at", "2016-12-13 18:08:56.725756"]]
3224
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3225
+  (0.1ms) SAVEPOINT active_record_1
3226
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "juan"], ["created_at", "2016-12-13 18:08:56.727163"], ["updated_at", "2016-12-13 18:08:56.727163"]]
3227
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3228
+ Started GET "/users.json" for 127.0.0.1 at 2016-12-13 15:08:56 -0300
3229
+ Processing by UsersController#index as JSON
3230
+ User Load (0.3ms) SELECT "users".* FROM "users"
3231
+ Rendered users/index.json.ruby (0.9ms)
3232
+ Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.3ms)
3233
+ Started GET "/users.xml" for 127.0.0.1 at 2016-12-13 15:08:56 -0300
3234
+ Processing by UsersController#index as XML
3235
+ User Load (0.2ms) SELECT "users".* FROM "users"
3236
+ Rendered users/index.xml.ruby (4.9ms)
3237
+ Completed 200 OK in 7ms (Views: 6.9ms | ActiveRecord: 0.2ms)
3238
+  (0.2ms) ROLLBACK
3239
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
3240
+  (0.2ms) BEGIN
3241
+ --------------------------
3242
+ ValidationTest: test_count
3243
+ --------------------------
3244
+  (0.2ms) ROLLBACK
3245
+  (0.2ms) BEGIN
3246
+ -------------------------------
3247
+ ValidationTest: test_complexity
3248
+ -------------------------------
3249
+  (0.1ms) ROLLBACK
3250
+  (0.1ms) BEGIN
3251
+ ----------------------------
3252
+ ValidationTest: test_methods
3253
+ ----------------------------
3254
+  (0.1ms) ROLLBACK
3255
+  (0.1ms) BEGIN
3256
+ -------------------------
3257
+ ValidationTest: test_time
3258
+ -------------------------
3259
+  (0.2ms) ROLLBACK
3260
+  (0.1ms) BEGIN
3261
+ ------------------------------
3262
+ MailerTest: test_normalization
3263
+ ------------------------------
3264
+ Rendered user_mailer/invite.text.erb (0.6ms)
3265
+
3266
+ UserMailer#invite: processed outbound mail in 11.5ms
3267
+  (0.2ms) ROLLBACK
3268
+  (0.1ms) BEGIN
3269
+ ----------------------
3270
+ ViewTest: test_handler
3271
+ ----------------------
3272
+  (0.1ms) SAVEPOINT active_record_1
3273
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mario"], ["created_at", "2016-12-13 18:09:21.677311"], ["updated_at", "2016-12-13 18:09:21.677311"]]
3274
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3275
+  (0.1ms) SAVEPOINT active_record_1
3276
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "juan"], ["created_at", "2016-12-13 18:09:21.680317"], ["updated_at", "2016-12-13 18:09:21.680317"]]
3277
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3278
+ Started GET "/users.json" for 127.0.0.1 at 2016-12-13 15:09:21 -0300
3279
+ Processing by UsersController#index as JSON
3280
+ User Load (0.3ms) SELECT "users".* FROM "users"
3281
+ Rendered users/index.json.ruby (1.1ms)
3282
+ Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.3ms)
3283
+ Started GET "/users.xml" for 127.0.0.1 at 2016-12-13 15:09:21 -0300
3284
+ Processing by UsersController#index as XML
3285
+ User Load (0.2ms) SELECT "users".* FROM "users"
3286
+ Rendered users/index.xml.ruby (4.9ms)
3287
+ Completed 200 OK in 7ms (Views: 6.9ms | ActiveRecord: 0.2ms)
3288
+  (0.2ms) ROLLBACK
3289
+  (0.1ms) BEGIN
3290
+ ---------------------------
3291
+ ControllerTest: test_render
3292
+ ---------------------------
3293
+  (0.1ms) ROLLBACK
3294
+  (0.1ms) BEGIN
3295
+ ------------------------------
3296
+ ControllerTest: test_callbacks
3297
+ ------------------------------
3298
+  (0.1ms) ROLLBACK
3299
+  (0.1ms) BEGIN
3300
+ -------------------------------
3301
+ HelperTest: test_content_tag_if
3302
+ -------------------------------
3303
+  (0.1ms) ROLLBACK
3304
+  (0.1ms) BEGIN
3305
+ --------------------------
3306
+ HelperTest: test_extending
3307
+ --------------------------
3308
+ Rendered layouts/application.html.erb (0.2ms)
3309
+ Rendered layouts/market.html.erb (6.0ms)
3310
+  (0.2ms) ROLLBACK
3311
+  (0.1ms) BEGIN
3312
+ -----------------------------
3313
+ HelperTest: test_active_trail
3314
+ -----------------------------
3315
+  (0.1ms) ROLLBACK
3316
+  (0.1ms) BEGIN
3317
+ -------------------------
3318
+ RecordTest: test_validate
3319
+ -------------------------
3320
+  (0.1ms) ROLLBACK
3321
+  (0.1ms) BEGIN
3322
+ ------------------------------
3323
+ RecordTest: test_nilify_blanks
3324
+ ------------------------------
3325
+  (0.1ms) SAVEPOINT active_record_1
3326
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-13 18:09:21.724440"], ["updated_at", "2016-12-13 18:09:21.724440"]]
3327
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3328
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 86]]
3329
+  (0.1ms) ROLLBACK
3330
+ ActiveRecord::SchemaMigration Load (6.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
3331
+  (0.2ms) BEGIN
3332
+ ----------------------
3333
+ ViewTest: test_handler
3334
+ ----------------------
3335
+  (0.1ms) SAVEPOINT active_record_1
3336
+ SQL (0.6ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "mario"], ["created_at", "2016-12-13 20:27:03.464116"], ["updated_at", "2016-12-13 20:27:03.464116"]]
3337
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3338
+  (0.1ms) SAVEPOINT active_record_1
3339
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "juan"], ["created_at", "2016-12-13 20:27:03.468189"], ["updated_at", "2016-12-13 20:27:03.468189"]]
3340
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3341
+ Started GET "/users.json" for 127.0.0.1 at 2016-12-13 17:27:03 -0300
3342
+ Processing by UsersController#index as JSON
3343
+ User Load (0.7ms) SELECT "users".* FROM "users"
3344
+ Rendered users/index.json.ruby (2.0ms)
3345
+ Completed 200 OK in 11ms (Views: 9.7ms | ActiveRecord: 0.7ms)
3346
+ Started GET "/users.xml" for 127.0.0.1 at 2016-12-13 17:27:03 -0300
3347
+ Processing by UsersController#index as XML
3348
+ User Load (0.3ms) SELECT "users".* FROM "users"
3349
+ Rendered users/index.xml.ruby (12.1ms)
3350
+ Completed 200 OK in 15ms (Views: 14.8ms | ActiveRecord: 0.3ms)
3351
+  (0.2ms) ROLLBACK
3352
+  (0.1ms) BEGIN
3353
+ ---------------------------
3354
+ ControllerTest: test_render
3355
+ ---------------------------
3356
+  (0.1ms) ROLLBACK
3357
+  (0.1ms) BEGIN
3358
+ ------------------------------
3359
+ ControllerTest: test_callbacks
3360
+ ------------------------------
3361
+  (0.1ms) ROLLBACK
3362
+  (0.1ms) BEGIN
3363
+ ------------------------------
3364
+ MailerTest: test_normalization
3365
+ ------------------------------
3366
+ Rendered user_mailer/invite.text.erb (1.2ms)
3367
+
3368
+ UserMailer#invite: processed outbound mail in 15.9ms
3369
+  (0.2ms) ROLLBACK
3370
+  (0.1ms) BEGIN
3371
+ -------------------------------
3372
+ ValidationTest: test_complexity
3373
+ -------------------------------
3374
+  (0.1ms) ROLLBACK
3375
+  (0.1ms) BEGIN
3376
+ --------------------------
3377
+ ValidationTest: test_count
3378
+ --------------------------
3379
+  (0.2ms) ROLLBACK
3380
+  (0.1ms) BEGIN
3381
+ ----------------------------
3382
+ ValidationTest: test_methods
3383
+ ----------------------------
3384
+  (0.1ms) ROLLBACK
3385
+  (0.1ms) BEGIN
3386
+ -------------------------
3387
+ ValidationTest: test_time
3388
+ -------------------------
3389
+  (0.2ms) ROLLBACK
3390
+  (0.1ms) BEGIN
3391
+ -----------------------------
3392
+ HelperTest: test_active_trail
3393
+ -----------------------------
3394
+  (0.1ms) ROLLBACK
3395
+  (0.1ms) BEGIN
3396
+ -------------------------------
3397
+ HelperTest: test_content_tag_if
3398
+ -------------------------------
3399
+  (0.1ms) ROLLBACK
3400
+  (0.1ms) BEGIN
3401
+ --------------------------
3402
+ HelperTest: test_extending
3403
+ --------------------------
3404
+ Rendered layouts/application.html.erb (0.3ms)
3405
+ Rendered layouts/market.html.erb (7.4ms)
3406
+  (0.2ms) ROLLBACK
3407
+  (0.1ms) BEGIN
3408
+ ------------------------------
3409
+ RecordTest: test_nilify_blanks
3410
+ ------------------------------
3411
+  (0.1ms) SAVEPOINT active_record_1
3412
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-13 20:27:03.710582"], ["updated_at", "2016-12-13 20:27:03.710582"]]
3413
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3414
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 89]]
3415
+  (0.2ms) ROLLBACK
3416
+  (0.1ms) BEGIN
3417
+ -------------------------
3418
+ RecordTest: test_validate
3419
+ -------------------------
3420
+  (0.1ms) ROLLBACK
3421
+  (2.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
3422
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3423
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
3424
+ Migrating to CreateUsers (20161020200126)
3425
+  (0.1ms) BEGIN
3426
+  (2.7ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
3427
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20161020200126"]]
3428
+  (0.5ms) COMMIT
3429
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
3430
+  (1.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
3431
+ FROM pg_constraint c
3432
+ JOIN pg_class t1 ON c.conrelid = t1.oid
3433
+ JOIN pg_class t2 ON c.confrelid = t2.oid
3434
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
3435
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
3436
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
3437
+ WHERE c.contype = 'f'
3438
+ AND t1.relname = 'users'
3439
+ AND t3.nspname = ANY (current_schemas(false))
3440
+ ORDER BY c.conname
3441
+ 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tuning
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.1.0
4
+ version: 4.0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - mmontossi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-09 00:00:00.000000000 Z
11
+ date: 2016-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails