chillout 0.8.7 → 0.8.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +8 -0
  3. data/CHANGELOG.md +5 -0
  4. data/lib/chillout.rb +1 -0
  5. data/lib/chillout/integrations/state_machine.rb +90 -0
  6. data/lib/chillout/railtie.rb +15 -1
  7. data/lib/chillout/version.rb +1 -1
  8. data/test/acceptance/client_sends_state_machine_metrics_test.rb +45 -0
  9. data/test/support/rails_4_0_0/Gemfile +1 -0
  10. data/test/support/rails_4_0_0/app/controllers/entities_controller.rb +1 -1
  11. data/test/support/rails_4_0_0/app/controllers/transitions_controller.rb +8 -0
  12. data/test/support/rails_4_0_0/app/models/entity.rb +35 -1
  13. data/test/support/rails_4_0_0/config/routes.rb +1 -0
  14. data/test/support/rails_4_0_0/db/schema.rb +2 -0
  15. data/test/support/rails_4_0_13/Gemfile +1 -0
  16. data/test/support/rails_4_0_13/app/controllers/entities_controller.rb +1 -1
  17. data/test/support/rails_4_0_13/app/controllers/transitions_controller.rb +8 -0
  18. data/test/support/rails_4_0_13/app/models/entity.rb +35 -1
  19. data/test/support/rails_4_0_13/config/routes.rb +1 -0
  20. data/test/support/rails_4_0_13/db/schema.rb +2 -0
  21. data/test/support/rails_4_1_0/Gemfile +1 -0
  22. data/test/support/rails_4_1_0/app/controllers/entities_controller.rb +1 -1
  23. data/test/support/rails_4_1_0/app/controllers/transitions_controller.rb +8 -0
  24. data/test/support/rails_4_1_0/app/models/entity.rb +35 -1
  25. data/test/support/rails_4_1_0/config/initializers/state_machine_integration_hack.rb +3 -0
  26. data/test/support/rails_4_1_0/config/routes.rb +1 -0
  27. data/test/support/rails_4_1_0/db/schema.rb +2 -0
  28. data/test/support/rails_4_1_16/Gemfile +2 -1
  29. data/test/support/rails_4_1_16/app/controllers/entities_controller.rb +1 -1
  30. data/test/support/rails_4_1_16/app/controllers/transitions_controller.rb +8 -0
  31. data/test/support/rails_4_1_16/app/jobs/create_entity_job.rb +1 -1
  32. data/test/support/rails_4_1_16/app/models/entity.rb +35 -1
  33. data/test/support/rails_4_1_16/config/initializers/state_machine_integration_hack.rb +3 -0
  34. data/test/support/rails_4_1_16/config/routes.rb +1 -0
  35. data/test/support/rails_4_1_16/db/schema.rb +2 -0
  36. data/test/support/rails_4_2_0/Gemfile +2 -1
  37. data/test/support/rails_4_2_0/app/controllers/entities_controller.rb +1 -1
  38. data/test/support/rails_4_2_0/app/controllers/transitions_controller.rb +8 -0
  39. data/test/support/rails_4_2_0/app/jobs/create_entity_job.rb +1 -1
  40. data/test/support/rails_4_2_0/app/models/entity.rb +35 -1
  41. data/test/support/rails_4_2_0/config/initializers/state_machine_integration_hack.rb +3 -0
  42. data/test/support/rails_4_2_0/config/routes.rb +1 -0
  43. data/test/support/rails_4_2_0/db/schema.rb +2 -0
  44. data/test/support/rails_4_2_8/Gemfile +7 -1
  45. data/test/support/rails_4_2_8/app/controllers/entities_controller.rb +1 -1
  46. data/test/support/rails_4_2_8/app/controllers/transitions_controller.rb +8 -0
  47. data/test/support/rails_4_2_8/app/jobs/create_entity_job.rb +1 -1
  48. data/test/support/rails_4_2_8/app/models/entity.rb +35 -1
  49. data/test/support/rails_4_2_8/config/initializers/state_machine_integration_hack.rb +3 -0
  50. data/test/support/rails_4_2_8/config/routes.rb +1 -0
  51. data/test/support/rails_4_2_8/db/schema.rb +2 -0
  52. data/test/support/rails_5_0_3/Gemfile +7 -1
  53. data/test/support/rails_5_0_3/app/controllers/entities_controller.rb +1 -1
  54. data/test/support/rails_5_0_3/app/controllers/transitions_controller.rb +8 -0
  55. data/test/support/rails_5_0_3/app/jobs/create_entity_job.rb +1 -1
  56. data/test/support/rails_5_0_3/app/models/entity.rb +35 -1
  57. data/test/support/rails_5_0_3/config/initializers/state_machine_integration_hack.rb +3 -0
  58. data/test/support/rails_5_0_3/config/routes.rb +1 -0
  59. data/test/support/rails_5_0_3/db/schema.rb +2 -0
  60. data/test/support/rails_5_1_1/Gemfile +6 -0
  61. data/test/support/rails_5_1_1/app/controllers/entities_controller.rb +1 -1
  62. data/test/support/rails_5_1_1/app/controllers/transitions_controller.rb +8 -0
  63. data/test/support/rails_5_1_1/app/jobs/create_entity_job.rb +1 -1
  64. data/test/support/rails_5_1_1/app/models/application_record.rb +3 -0
  65. data/test/support/rails_5_1_1/app/models/entity.rb +35 -1
  66. data/test/support/rails_5_1_1/app/models/user.rb +2 -0
  67. data/test/support/rails_5_1_1/config/routes.rb +2 -1
  68. data/test/support/rails_5_1_1/db/schema.rb +2 -0
  69. data/test/test_helper.rb +19 -3
  70. metadata +36 -3
@@ -1,6 +1,6 @@
1
1
  class CreateEntityJob
2
2
  include Sidekiq::Worker
3
3
  def perform
4
- Entity.create!(name: Time.current.to_s)
4
+ Entity.create!(name: Time.current.to_s, state: "parked")
5
5
  end
6
6
  end
@@ -0,0 +1,3 @@
1
+ class ApplicationRecord < ActiveRecord::Base
2
+ self.abstract_class = true
3
+ end
@@ -1,2 +1,36 @@
1
1
  class Entity < ActiveRecord::Base
2
- end
2
+ state_machine :initial => :parked do
3
+ before_transition :parked => any - :parked, do: :put_on_seatbelt
4
+ after_transition any => :parked do |vehicle, _transition|
5
+ vehicle.seatbelt = 'off'
6
+ end
7
+ around_transition :benchmark
8
+
9
+ event :ignite do
10
+ transition :parked => :idling
11
+ end
12
+
13
+ event :shift_up do
14
+ transition :idling => :first_gear,
15
+ :first_gear => :second_gear,
16
+ :second_gear => :third_gear
17
+ end
18
+
19
+ state :first_gear, :second_gear do
20
+ validates_presence_of :seatbelt_on
21
+ end
22
+ end
23
+
24
+ def put_on_seatbelt
25
+ sleep(0.1)
26
+ self.seatbelt = 'on'
27
+ end
28
+
29
+ def benchmark
30
+ yield
31
+ end
32
+
33
+ def seatbelt_on
34
+ self.seatbelt == 'on'
35
+ end
36
+ end
@@ -0,0 +1,2 @@
1
+ class User < ApplicationRecord
2
+ end
@@ -1,4 +1,5 @@
1
1
  Rails400::Application.routes.draw do
2
2
  resources :entities
3
- resources :purchases, only: %i(create)
3
+ resources :purchases, only: %i(create)
4
+ resources :transitions, only: %i(create)
4
5
  end
@@ -15,6 +15,8 @@ ActiveRecord::Schema.define(:version => 20130103115400) do
15
15
 
16
16
  create_table "entities", :force => true do |t|
17
17
  t.string "name"
18
+ t.string "state"
19
+ t.string "seatbelt"
18
20
  t.datetime "created_at", :null => false
19
21
  t.datetime "updated_at", :null => false
20
22
  end
@@ -68,6 +68,12 @@ class TestUser
68
68
  end
69
69
  end
70
70
 
71
+ def transition_entity(name)
72
+ Net::HTTP.start('127.0.0.1', 3000) do |http|
73
+ http.post('/transitions', "entity[name]=#{name}")
74
+ end
75
+ end
76
+
71
77
  def purchase
72
78
  Net::HTTP.start('127.0.0.1', 3000) do |http|
73
79
  http.post('/purchases', "")
@@ -156,7 +162,7 @@ class TestEndpoint
156
162
  end
157
163
 
158
164
  def listen
159
- Thread.new do
165
+ @thread = Thread.new do
160
166
  Rack::Server.start(
161
167
  :app => self,
162
168
  :Host => 'localhost',
@@ -205,19 +211,29 @@ class TestEndpoint
205
211
  look_for_series("sidekiq_jobs")
206
212
  end
207
213
 
214
+ def has_one_state_machine_metric
215
+ look_for_series("Entity#state")
216
+ end
217
+
208
218
  private
209
219
 
210
220
  def look_for(&search)
211
221
  10.times do
212
222
  begin
213
223
  metric = @all_metrics.find(&search)
214
- return metric if metric
224
+ if metric
225
+ @all_metrics.delete(metric)
226
+ return metric
227
+ end
215
228
 
216
229
  many = metrics.pop(true)
217
230
  @all_metrics.concat(many["measurements"])
218
231
 
219
232
  metric = @all_metrics.find(&search)
220
- return metric if metric
233
+ if metric
234
+ @all_metrics.delete(metric)
235
+ return metric
236
+ end
221
237
  rescue ThreadError
222
238
  sleep(1)
223
239
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chillout
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.7
4
+ version: 0.8.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michal Lomnicki
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2017-07-07 00:00:00.000000000 Z
14
+ date: 2017-07-12 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: multi_json
@@ -209,6 +209,7 @@ files:
209
209
  - lib/chillout/custom_advanced_metric.rb
210
210
  - lib/chillout/generators/install.rb
211
211
  - lib/chillout/integrations/sidekiq.rb
212
+ - lib/chillout/integrations/state_machine.rb
212
213
  - lib/chillout/job.rb
213
214
  - lib/chillout/listener_injector.rb
214
215
  - lib/chillout/middleware/creations_monitor.rb
@@ -227,6 +228,7 @@ files:
227
228
  - test/acceptance/client_sends_advanced_metrics_test.rb
228
229
  - test/acceptance/client_sends_controller_performance_test.rb
229
230
  - test/acceptance/client_sends_metrics_test.rb
231
+ - test/acceptance/client_sends_state_machine_metrics_test.rb
230
232
  - test/acceptance/sidekiq_workers_send_metrics_test.rb
231
233
  - test/check_result_test.rb
232
234
  - test/chillout_test.rb
@@ -252,6 +254,7 @@ files:
252
254
  - test/support/rails_4_0_0/app/controllers/concerns/.keep
253
255
  - test/support/rails_4_0_0/app/controllers/entities_controller.rb
254
256
  - test/support/rails_4_0_0/app/controllers/purchases_controller.rb
257
+ - test/support/rails_4_0_0/app/controllers/transitions_controller.rb
255
258
  - test/support/rails_4_0_0/app/helpers/application_helper.rb
256
259
  - test/support/rails_4_0_0/app/models/.keep
257
260
  - test/support/rails_4_0_0/app/models/concerns/.keep
@@ -297,6 +300,7 @@ files:
297
300
  - test/support/rails_4_0_13/app/controllers/concerns/.keep
298
301
  - test/support/rails_4_0_13/app/controllers/entities_controller.rb
299
302
  - test/support/rails_4_0_13/app/controllers/purchases_controller.rb
303
+ - test/support/rails_4_0_13/app/controllers/transitions_controller.rb
300
304
  - test/support/rails_4_0_13/app/helpers/application_helper.rb
301
305
  - test/support/rails_4_0_13/app/models/.keep
302
306
  - test/support/rails_4_0_13/app/models/concerns/.keep
@@ -342,6 +346,7 @@ files:
342
346
  - test/support/rails_4_1_0/app/controllers/concerns/.keep
343
347
  - test/support/rails_4_1_0/app/controllers/entities_controller.rb
344
348
  - test/support/rails_4_1_0/app/controllers/purchases_controller.rb
349
+ - test/support/rails_4_1_0/app/controllers/transitions_controller.rb
345
350
  - test/support/rails_4_1_0/app/helpers/application_helper.rb
346
351
  - test/support/rails_4_1_0/app/models/.keep
347
352
  - test/support/rails_4_1_0/app/models/concerns/.keep
@@ -367,6 +372,7 @@ files:
367
372
  - test/support/rails_4_1_0/config/initializers/mime_types.rb
368
373
  - test/support/rails_4_1_0/config/initializers/secret_token.rb
369
374
  - test/support/rails_4_1_0/config/initializers/session_store.rb
375
+ - test/support/rails_4_1_0/config/initializers/state_machine_integration_hack.rb
370
376
  - test/support/rails_4_1_0/config/initializers/wrap_parameters.rb
371
377
  - test/support/rails_4_1_0/config/locales/en.yml
372
378
  - test/support/rails_4_1_0/config/routes.rb
@@ -387,6 +393,7 @@ files:
387
393
  - test/support/rails_4_1_16/app/controllers/concerns/.keep
388
394
  - test/support/rails_4_1_16/app/controllers/entities_controller.rb
389
395
  - test/support/rails_4_1_16/app/controllers/purchases_controller.rb
396
+ - test/support/rails_4_1_16/app/controllers/transitions_controller.rb
390
397
  - test/support/rails_4_1_16/app/helpers/application_helper.rb
391
398
  - test/support/rails_4_1_16/app/jobs/create_entity_job.rb
392
399
  - test/support/rails_4_1_16/app/models/.keep
@@ -413,6 +420,7 @@ files:
413
420
  - test/support/rails_4_1_16/config/initializers/mime_types.rb
414
421
  - test/support/rails_4_1_16/config/initializers/secret_token.rb
415
422
  - test/support/rails_4_1_16/config/initializers/session_store.rb
423
+ - test/support/rails_4_1_16/config/initializers/state_machine_integration_hack.rb
416
424
  - test/support/rails_4_1_16/config/initializers/wrap_parameters.rb
417
425
  - test/support/rails_4_1_16/config/locales/en.yml
418
426
  - test/support/rails_4_1_16/config/routes.rb
@@ -433,6 +441,7 @@ files:
433
441
  - test/support/rails_4_2_0/app/controllers/concerns/.keep
434
442
  - test/support/rails_4_2_0/app/controllers/entities_controller.rb
435
443
  - test/support/rails_4_2_0/app/controllers/purchases_controller.rb
444
+ - test/support/rails_4_2_0/app/controllers/transitions_controller.rb
436
445
  - test/support/rails_4_2_0/app/helpers/application_helper.rb
437
446
  - test/support/rails_4_2_0/app/jobs/create_entity_job.rb
438
447
  - test/support/rails_4_2_0/app/models/.keep
@@ -459,6 +468,7 @@ files:
459
468
  - test/support/rails_4_2_0/config/initializers/mime_types.rb
460
469
  - test/support/rails_4_2_0/config/initializers/secret_token.rb
461
470
  - test/support/rails_4_2_0/config/initializers/session_store.rb
471
+ - test/support/rails_4_2_0/config/initializers/state_machine_integration_hack.rb
462
472
  - test/support/rails_4_2_0/config/initializers/wrap_parameters.rb
463
473
  - test/support/rails_4_2_0/config/locales/en.yml
464
474
  - test/support/rails_4_2_0/config/routes.rb
@@ -479,6 +489,7 @@ files:
479
489
  - test/support/rails_4_2_8/app/controllers/concerns/.keep
480
490
  - test/support/rails_4_2_8/app/controllers/entities_controller.rb
481
491
  - test/support/rails_4_2_8/app/controllers/purchases_controller.rb
492
+ - test/support/rails_4_2_8/app/controllers/transitions_controller.rb
482
493
  - test/support/rails_4_2_8/app/helpers/application_helper.rb
483
494
  - test/support/rails_4_2_8/app/jobs/create_entity_job.rb
484
495
  - test/support/rails_4_2_8/app/models/.keep
@@ -505,6 +516,7 @@ files:
505
516
  - test/support/rails_4_2_8/config/initializers/mime_types.rb
506
517
  - test/support/rails_4_2_8/config/initializers/secret_token.rb
507
518
  - test/support/rails_4_2_8/config/initializers/session_store.rb
519
+ - test/support/rails_4_2_8/config/initializers/state_machine_integration_hack.rb
508
520
  - test/support/rails_4_2_8/config/initializers/wrap_parameters.rb
509
521
  - test/support/rails_4_2_8/config/locales/en.yml
510
522
  - test/support/rails_4_2_8/config/routes.rb
@@ -525,6 +537,7 @@ files:
525
537
  - test/support/rails_5_0_3/app/controllers/concerns/.keep
526
538
  - test/support/rails_5_0_3/app/controllers/entities_controller.rb
527
539
  - test/support/rails_5_0_3/app/controllers/purchases_controller.rb
540
+ - test/support/rails_5_0_3/app/controllers/transitions_controller.rb
528
541
  - test/support/rails_5_0_3/app/helpers/application_helper.rb
529
542
  - test/support/rails_5_0_3/app/jobs/create_entity_job.rb
530
543
  - test/support/rails_5_0_3/app/models/.keep
@@ -551,6 +564,7 @@ files:
551
564
  - test/support/rails_5_0_3/config/initializers/mime_types.rb
552
565
  - test/support/rails_5_0_3/config/initializers/secret_token.rb
553
566
  - test/support/rails_5_0_3/config/initializers/session_store.rb
567
+ - test/support/rails_5_0_3/config/initializers/state_machine_integration_hack.rb
554
568
  - test/support/rails_5_0_3/config/initializers/wrap_parameters.rb
555
569
  - test/support/rails_5_0_3/config/locales/en.yml
556
570
  - test/support/rails_5_0_3/config/routes.rb
@@ -571,11 +585,14 @@ files:
571
585
  - test/support/rails_5_1_1/app/controllers/concerns/.keep
572
586
  - test/support/rails_5_1_1/app/controllers/entities_controller.rb
573
587
  - test/support/rails_5_1_1/app/controllers/purchases_controller.rb
588
+ - test/support/rails_5_1_1/app/controllers/transitions_controller.rb
574
589
  - test/support/rails_5_1_1/app/helpers/application_helper.rb
575
590
  - test/support/rails_5_1_1/app/jobs/create_entity_job.rb
576
591
  - test/support/rails_5_1_1/app/models/.keep
592
+ - test/support/rails_5_1_1/app/models/application_record.rb
577
593
  - test/support/rails_5_1_1/app/models/concerns/.keep
578
594
  - test/support/rails_5_1_1/app/models/entity.rb
595
+ - test/support/rails_5_1_1/app/models/user.rb
579
596
  - test/support/rails_5_1_1/app/views/entities/_form.html.erb
580
597
  - test/support/rails_5_1_1/app/views/entities/edit.html.erb
581
598
  - test/support/rails_5_1_1/app/views/entities/index.html.erb
@@ -632,7 +649,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
632
649
  version: '0'
633
650
  requirements: []
634
651
  rubyforge_project:
635
- rubygems_version: 2.6.12
652
+ rubygems_version: 2.5.2
636
653
  signing_key:
637
654
  specification_version: 4
638
655
  summary: Chillout.io Ruby client
@@ -640,6 +657,7 @@ test_files:
640
657
  - test/acceptance/client_sends_advanced_metrics_test.rb
641
658
  - test/acceptance/client_sends_controller_performance_test.rb
642
659
  - test/acceptance/client_sends_metrics_test.rb
660
+ - test/acceptance/client_sends_state_machine_metrics_test.rb
643
661
  - test/acceptance/sidekiq_workers_send_metrics_test.rb
644
662
  - test/check_result_test.rb
645
663
  - test/chillout_test.rb
@@ -665,6 +683,7 @@ test_files:
665
683
  - test/support/rails_4_0_0/app/controllers/concerns/.keep
666
684
  - test/support/rails_4_0_0/app/controllers/entities_controller.rb
667
685
  - test/support/rails_4_0_0/app/controllers/purchases_controller.rb
686
+ - test/support/rails_4_0_0/app/controllers/transitions_controller.rb
668
687
  - test/support/rails_4_0_0/app/helpers/application_helper.rb
669
688
  - test/support/rails_4_0_0/app/models/.keep
670
689
  - test/support/rails_4_0_0/app/models/concerns/.keep
@@ -710,6 +729,7 @@ test_files:
710
729
  - test/support/rails_4_0_13/app/controllers/concerns/.keep
711
730
  - test/support/rails_4_0_13/app/controllers/entities_controller.rb
712
731
  - test/support/rails_4_0_13/app/controllers/purchases_controller.rb
732
+ - test/support/rails_4_0_13/app/controllers/transitions_controller.rb
713
733
  - test/support/rails_4_0_13/app/helpers/application_helper.rb
714
734
  - test/support/rails_4_0_13/app/models/.keep
715
735
  - test/support/rails_4_0_13/app/models/concerns/.keep
@@ -755,6 +775,7 @@ test_files:
755
775
  - test/support/rails_4_1_0/app/controllers/concerns/.keep
756
776
  - test/support/rails_4_1_0/app/controllers/entities_controller.rb
757
777
  - test/support/rails_4_1_0/app/controllers/purchases_controller.rb
778
+ - test/support/rails_4_1_0/app/controllers/transitions_controller.rb
758
779
  - test/support/rails_4_1_0/app/helpers/application_helper.rb
759
780
  - test/support/rails_4_1_0/app/models/.keep
760
781
  - test/support/rails_4_1_0/app/models/concerns/.keep
@@ -780,6 +801,7 @@ test_files:
780
801
  - test/support/rails_4_1_0/config/initializers/mime_types.rb
781
802
  - test/support/rails_4_1_0/config/initializers/secret_token.rb
782
803
  - test/support/rails_4_1_0/config/initializers/session_store.rb
804
+ - test/support/rails_4_1_0/config/initializers/state_machine_integration_hack.rb
783
805
  - test/support/rails_4_1_0/config/initializers/wrap_parameters.rb
784
806
  - test/support/rails_4_1_0/config/locales/en.yml
785
807
  - test/support/rails_4_1_0/config/routes.rb
@@ -800,6 +822,7 @@ test_files:
800
822
  - test/support/rails_4_1_16/app/controllers/concerns/.keep
801
823
  - test/support/rails_4_1_16/app/controllers/entities_controller.rb
802
824
  - test/support/rails_4_1_16/app/controllers/purchases_controller.rb
825
+ - test/support/rails_4_1_16/app/controllers/transitions_controller.rb
803
826
  - test/support/rails_4_1_16/app/helpers/application_helper.rb
804
827
  - test/support/rails_4_1_16/app/jobs/create_entity_job.rb
805
828
  - test/support/rails_4_1_16/app/models/.keep
@@ -826,6 +849,7 @@ test_files:
826
849
  - test/support/rails_4_1_16/config/initializers/mime_types.rb
827
850
  - test/support/rails_4_1_16/config/initializers/secret_token.rb
828
851
  - test/support/rails_4_1_16/config/initializers/session_store.rb
852
+ - test/support/rails_4_1_16/config/initializers/state_machine_integration_hack.rb
829
853
  - test/support/rails_4_1_16/config/initializers/wrap_parameters.rb
830
854
  - test/support/rails_4_1_16/config/locales/en.yml
831
855
  - test/support/rails_4_1_16/config/routes.rb
@@ -846,6 +870,7 @@ test_files:
846
870
  - test/support/rails_4_2_0/app/controllers/concerns/.keep
847
871
  - test/support/rails_4_2_0/app/controllers/entities_controller.rb
848
872
  - test/support/rails_4_2_0/app/controllers/purchases_controller.rb
873
+ - test/support/rails_4_2_0/app/controllers/transitions_controller.rb
849
874
  - test/support/rails_4_2_0/app/helpers/application_helper.rb
850
875
  - test/support/rails_4_2_0/app/jobs/create_entity_job.rb
851
876
  - test/support/rails_4_2_0/app/models/.keep
@@ -872,6 +897,7 @@ test_files:
872
897
  - test/support/rails_4_2_0/config/initializers/mime_types.rb
873
898
  - test/support/rails_4_2_0/config/initializers/secret_token.rb
874
899
  - test/support/rails_4_2_0/config/initializers/session_store.rb
900
+ - test/support/rails_4_2_0/config/initializers/state_machine_integration_hack.rb
875
901
  - test/support/rails_4_2_0/config/initializers/wrap_parameters.rb
876
902
  - test/support/rails_4_2_0/config/locales/en.yml
877
903
  - test/support/rails_4_2_0/config/routes.rb
@@ -892,6 +918,7 @@ test_files:
892
918
  - test/support/rails_4_2_8/app/controllers/concerns/.keep
893
919
  - test/support/rails_4_2_8/app/controllers/entities_controller.rb
894
920
  - test/support/rails_4_2_8/app/controllers/purchases_controller.rb
921
+ - test/support/rails_4_2_8/app/controllers/transitions_controller.rb
895
922
  - test/support/rails_4_2_8/app/helpers/application_helper.rb
896
923
  - test/support/rails_4_2_8/app/jobs/create_entity_job.rb
897
924
  - test/support/rails_4_2_8/app/models/.keep
@@ -918,6 +945,7 @@ test_files:
918
945
  - test/support/rails_4_2_8/config/initializers/mime_types.rb
919
946
  - test/support/rails_4_2_8/config/initializers/secret_token.rb
920
947
  - test/support/rails_4_2_8/config/initializers/session_store.rb
948
+ - test/support/rails_4_2_8/config/initializers/state_machine_integration_hack.rb
921
949
  - test/support/rails_4_2_8/config/initializers/wrap_parameters.rb
922
950
  - test/support/rails_4_2_8/config/locales/en.yml
923
951
  - test/support/rails_4_2_8/config/routes.rb
@@ -938,6 +966,7 @@ test_files:
938
966
  - test/support/rails_5_0_3/app/controllers/concerns/.keep
939
967
  - test/support/rails_5_0_3/app/controllers/entities_controller.rb
940
968
  - test/support/rails_5_0_3/app/controllers/purchases_controller.rb
969
+ - test/support/rails_5_0_3/app/controllers/transitions_controller.rb
941
970
  - test/support/rails_5_0_3/app/helpers/application_helper.rb
942
971
  - test/support/rails_5_0_3/app/jobs/create_entity_job.rb
943
972
  - test/support/rails_5_0_3/app/models/.keep
@@ -964,6 +993,7 @@ test_files:
964
993
  - test/support/rails_5_0_3/config/initializers/mime_types.rb
965
994
  - test/support/rails_5_0_3/config/initializers/secret_token.rb
966
995
  - test/support/rails_5_0_3/config/initializers/session_store.rb
996
+ - test/support/rails_5_0_3/config/initializers/state_machine_integration_hack.rb
967
997
  - test/support/rails_5_0_3/config/initializers/wrap_parameters.rb
968
998
  - test/support/rails_5_0_3/config/locales/en.yml
969
999
  - test/support/rails_5_0_3/config/routes.rb
@@ -984,11 +1014,14 @@ test_files:
984
1014
  - test/support/rails_5_1_1/app/controllers/concerns/.keep
985
1015
  - test/support/rails_5_1_1/app/controllers/entities_controller.rb
986
1016
  - test/support/rails_5_1_1/app/controllers/purchases_controller.rb
1017
+ - test/support/rails_5_1_1/app/controllers/transitions_controller.rb
987
1018
  - test/support/rails_5_1_1/app/helpers/application_helper.rb
988
1019
  - test/support/rails_5_1_1/app/jobs/create_entity_job.rb
989
1020
  - test/support/rails_5_1_1/app/models/.keep
1021
+ - test/support/rails_5_1_1/app/models/application_record.rb
990
1022
  - test/support/rails_5_1_1/app/models/concerns/.keep
991
1023
  - test/support/rails_5_1_1/app/models/entity.rb
1024
+ - test/support/rails_5_1_1/app/models/user.rb
992
1025
  - test/support/rails_5_1_1/app/views/entities/_form.html.erb
993
1026
  - test/support/rails_5_1_1/app/views/entities/edit.html.erb
994
1027
  - test/support/rails_5_1_1/app/views/entities/index.html.erb