temporal_tables 0.7.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/test.yml +53 -0
  3. data/.rubocop.yml +158 -0
  4. data/.ruby-version +1 -1
  5. data/.travis.yml +5 -7
  6. data/Gemfile +2 -0
  7. data/README.md +21 -5
  8. data/Rakefile +7 -2
  9. data/config.ru +2 -0
  10. data/gemfiles/Gemfile.6.0.mysql +1 -1
  11. data/gemfiles/Gemfile.6.0.mysql.lock +104 -104
  12. data/gemfiles/Gemfile.6.0.pg +1 -1
  13. data/gemfiles/Gemfile.6.0.pg.lock +110 -105
  14. data/gemfiles/{Gemfile.5.1.mysql → Gemfile.6.1.mysql} +2 -2
  15. data/gemfiles/Gemfile.6.1.mysql.lock +180 -0
  16. data/gemfiles/{Gemfile.5.2.pg → Gemfile.6.1.pg} +1 -1
  17. data/gemfiles/Gemfile.6.1.pg.lock +180 -0
  18. data/gemfiles/{Gemfile.5.0.mysql → Gemfile.7.0.mysql} +2 -2
  19. data/gemfiles/Gemfile.7.0.mysql.lock +173 -0
  20. data/gemfiles/{Gemfile.5.1.pg → Gemfile.7.0.pg} +1 -1
  21. data/gemfiles/Gemfile.7.0.pg.lock +173 -0
  22. data/lib/temporal_tables/arel_table.rb +11 -10
  23. data/lib/temporal_tables/association_extensions.rb +2 -0
  24. data/lib/temporal_tables/connection_adapters/mysql_adapter.rb +5 -3
  25. data/lib/temporal_tables/connection_adapters/postgresql_adapter.rb +5 -3
  26. data/lib/temporal_tables/history_hook.rb +8 -5
  27. data/lib/temporal_tables/preloader_extensions.rb +2 -0
  28. data/lib/temporal_tables/reflection_extensions.rb +11 -14
  29. data/lib/temporal_tables/relation_extensions.rb +11 -24
  30. data/lib/temporal_tables/temporal_adapter.rb +82 -88
  31. data/lib/temporal_tables/temporal_class.rb +29 -28
  32. data/lib/temporal_tables/version.rb +3 -1
  33. data/lib/temporal_tables/whodunnit.rb +5 -3
  34. data/lib/temporal_tables.rb +42 -32
  35. data/spec/basic_history_spec.rb +65 -35
  36. data/spec/internal/app/models/broom.rb +2 -0
  37. data/spec/internal/app/models/cat.rb +5 -0
  38. data/spec/internal/app/models/cat_life.rb +5 -0
  39. data/spec/internal/app/models/coven.rb +2 -0
  40. data/spec/internal/app/models/flying_machine.rb +2 -0
  41. data/spec/internal/app/models/person.rb +2 -0
  42. data/spec/internal/app/models/rocket_broom.rb +2 -0
  43. data/spec/internal/app/models/wart.rb +3 -1
  44. data/spec/internal/config/database.ci.yml +12 -0
  45. data/spec/internal/db/schema.rb +22 -0
  46. data/spec/spec_helper.rb +39 -5
  47. data/spec/support/database.rb +10 -6
  48. data/temporal_tables.gemspec +31 -18
  49. metadata +111 -41
  50. data/CHANGELOG.md +0 -73
  51. data/gemfiles/Gemfile.5.0.mysql.lock +0 -147
  52. data/gemfiles/Gemfile.5.0.pg +0 -16
  53. data/gemfiles/Gemfile.5.0.pg.lock +0 -147
  54. data/gemfiles/Gemfile.5.1.mysql.lock +0 -147
  55. data/gemfiles/Gemfile.5.1.pg.lock +0 -147
  56. data/gemfiles/Gemfile.5.2.mysql +0 -16
  57. data/gemfiles/Gemfile.5.2.mysql.lock +0 -155
  58. data/gemfiles/Gemfile.5.2.pg.lock +0 -155
  59. data/lib/temporal_tables/join_extensions.rb +0 -20
  60. data/spec/extensions/combustion.rb +0 -9
  61. data/spec/internal/config/routes.rb +0 -3
@@ -1,147 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- temporal_tables (0.7.0)
5
- rails (>= 5.0, <= 6.0)
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- actioncable (5.1.6.1)
11
- actionpack (= 5.1.6.1)
12
- nio4r (~> 2.0)
13
- websocket-driver (~> 0.6.1)
14
- actionmailer (5.1.6.1)
15
- actionpack (= 5.1.6.1)
16
- actionview (= 5.1.6.1)
17
- activejob (= 5.1.6.1)
18
- mail (~> 2.5, >= 2.5.4)
19
- rails-dom-testing (~> 2.0)
20
- actionpack (5.1.6.1)
21
- actionview (= 5.1.6.1)
22
- activesupport (= 5.1.6.1)
23
- rack (~> 2.0)
24
- rack-test (>= 0.6.3)
25
- rails-dom-testing (~> 2.0)
26
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
27
- actionview (5.1.6.1)
28
- activesupport (= 5.1.6.1)
29
- builder (~> 3.1)
30
- erubi (~> 1.4)
31
- rails-dom-testing (~> 2.0)
32
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
33
- activejob (5.1.6.1)
34
- activesupport (= 5.1.6.1)
35
- globalid (>= 0.3.6)
36
- activemodel (5.1.6.1)
37
- activesupport (= 5.1.6.1)
38
- activerecord (5.1.6.1)
39
- activemodel (= 5.1.6.1)
40
- activesupport (= 5.1.6.1)
41
- arel (~> 8.0)
42
- activesupport (5.1.6.1)
43
- concurrent-ruby (~> 1.0, >= 1.0.2)
44
- i18n (>= 0.7, < 2)
45
- minitest (~> 5.1)
46
- tzinfo (~> 1.1)
47
- arel (8.0.0)
48
- builder (3.2.3)
49
- byebug (10.0.2)
50
- combustion (1.0.0)
51
- activesupport (>= 3.0.0)
52
- railties (>= 3.0.0)
53
- thor (>= 0.14.6)
54
- concurrent-ruby (1.1.4)
55
- crass (1.0.4)
56
- database_cleaner (1.7.0)
57
- diff-lcs (1.3)
58
- erubi (1.8.0)
59
- gemika (0.3.4)
60
- globalid (0.4.1)
61
- activesupport (>= 4.2.0)
62
- i18n (1.5.1)
63
- concurrent-ruby (~> 1.0)
64
- loofah (2.2.3)
65
- crass (~> 1.0.2)
66
- nokogiri (>= 1.5.9)
67
- mail (2.7.1)
68
- mini_mime (>= 0.1.1)
69
- method_source (0.9.2)
70
- mini_mime (1.0.1)
71
- mini_portile2 (2.4.0)
72
- minitest (5.11.3)
73
- mysql2 (0.4.10)
74
- nio4r (2.3.1)
75
- nokogiri (1.10.0)
76
- mini_portile2 (~> 2.4.0)
77
- rack (2.0.6)
78
- rack-test (1.1.0)
79
- rack (>= 1.0, < 3)
80
- rails (5.1.6.1)
81
- actioncable (= 5.1.6.1)
82
- actionmailer (= 5.1.6.1)
83
- actionpack (= 5.1.6.1)
84
- actionview (= 5.1.6.1)
85
- activejob (= 5.1.6.1)
86
- activemodel (= 5.1.6.1)
87
- activerecord (= 5.1.6.1)
88
- activesupport (= 5.1.6.1)
89
- bundler (>= 1.3.0)
90
- railties (= 5.1.6.1)
91
- sprockets-rails (>= 2.0.0)
92
- rails-dom-testing (2.0.3)
93
- activesupport (>= 4.2.0)
94
- nokogiri (>= 1.6)
95
- rails-html-sanitizer (1.0.4)
96
- loofah (~> 2.2, >= 2.2.2)
97
- railties (5.1.6.1)
98
- actionpack (= 5.1.6.1)
99
- activesupport (= 5.1.6.1)
100
- method_source
101
- rake (>= 0.8.7)
102
- thor (>= 0.18.1, < 2.0)
103
- rake (12.3.2)
104
- rspec (3.8.0)
105
- rspec-core (~> 3.8.0)
106
- rspec-expectations (~> 3.8.0)
107
- rspec-mocks (~> 3.8.0)
108
- rspec-core (3.8.0)
109
- rspec-support (~> 3.8.0)
110
- rspec-expectations (3.8.2)
111
- diff-lcs (>= 1.2.0, < 2.0)
112
- rspec-support (~> 3.8.0)
113
- rspec-mocks (3.8.0)
114
- diff-lcs (>= 1.2.0, < 2.0)
115
- rspec-support (~> 3.8.0)
116
- rspec-support (3.8.0)
117
- sprockets (3.7.2)
118
- concurrent-ruby (~> 1.0)
119
- rack (> 1, < 3)
120
- sprockets-rails (3.2.1)
121
- actionpack (>= 4.0)
122
- activesupport (>= 4.0)
123
- sprockets (>= 3.0.0)
124
- thor (0.20.3)
125
- thread_safe (0.3.6)
126
- tzinfo (1.2.5)
127
- thread_safe (~> 0.1)
128
- websocket-driver (0.6.5)
129
- websocket-extensions (>= 0.1.0)
130
- websocket-extensions (0.1.3)
131
-
132
- PLATFORMS
133
- ruby
134
-
135
- DEPENDENCIES
136
- byebug
137
- combustion
138
- database_cleaner
139
- gemika
140
- mysql2 (~> 0.4.4)
141
- rails (~> 5.1.0)
142
- rake
143
- rspec (~> 3.4)
144
- temporal_tables!
145
-
146
- BUNDLED WITH
147
- 1.17.3
@@ -1,147 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- temporal_tables (0.7.0)
5
- rails (>= 5.0, <= 6.0)
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- actioncable (5.1.6.1)
11
- actionpack (= 5.1.6.1)
12
- nio4r (~> 2.0)
13
- websocket-driver (~> 0.6.1)
14
- actionmailer (5.1.6.1)
15
- actionpack (= 5.1.6.1)
16
- actionview (= 5.1.6.1)
17
- activejob (= 5.1.6.1)
18
- mail (~> 2.5, >= 2.5.4)
19
- rails-dom-testing (~> 2.0)
20
- actionpack (5.1.6.1)
21
- actionview (= 5.1.6.1)
22
- activesupport (= 5.1.6.1)
23
- rack (~> 2.0)
24
- rack-test (>= 0.6.3)
25
- rails-dom-testing (~> 2.0)
26
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
27
- actionview (5.1.6.1)
28
- activesupport (= 5.1.6.1)
29
- builder (~> 3.1)
30
- erubi (~> 1.4)
31
- rails-dom-testing (~> 2.0)
32
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
33
- activejob (5.1.6.1)
34
- activesupport (= 5.1.6.1)
35
- globalid (>= 0.3.6)
36
- activemodel (5.1.6.1)
37
- activesupport (= 5.1.6.1)
38
- activerecord (5.1.6.1)
39
- activemodel (= 5.1.6.1)
40
- activesupport (= 5.1.6.1)
41
- arel (~> 8.0)
42
- activesupport (5.1.6.1)
43
- concurrent-ruby (~> 1.0, >= 1.0.2)
44
- i18n (>= 0.7, < 2)
45
- minitest (~> 5.1)
46
- tzinfo (~> 1.1)
47
- arel (8.0.0)
48
- builder (3.2.3)
49
- byebug (10.0.2)
50
- combustion (1.0.0)
51
- activesupport (>= 3.0.0)
52
- railties (>= 3.0.0)
53
- thor (>= 0.14.6)
54
- concurrent-ruby (1.1.4)
55
- crass (1.0.4)
56
- database_cleaner (1.7.0)
57
- diff-lcs (1.3)
58
- erubi (1.8.0)
59
- gemika (0.3.4)
60
- globalid (0.4.1)
61
- activesupport (>= 4.2.0)
62
- i18n (1.5.1)
63
- concurrent-ruby (~> 1.0)
64
- loofah (2.2.3)
65
- crass (~> 1.0.2)
66
- nokogiri (>= 1.5.9)
67
- mail (2.7.1)
68
- mini_mime (>= 0.1.1)
69
- method_source (0.9.2)
70
- mini_mime (1.0.1)
71
- mini_portile2 (2.4.0)
72
- minitest (5.11.3)
73
- nio4r (2.3.1)
74
- nokogiri (1.10.0)
75
- mini_portile2 (~> 2.4.0)
76
- pg (1.1.3)
77
- rack (2.0.6)
78
- rack-test (1.1.0)
79
- rack (>= 1.0, < 3)
80
- rails (5.1.6.1)
81
- actioncable (= 5.1.6.1)
82
- actionmailer (= 5.1.6.1)
83
- actionpack (= 5.1.6.1)
84
- actionview (= 5.1.6.1)
85
- activejob (= 5.1.6.1)
86
- activemodel (= 5.1.6.1)
87
- activerecord (= 5.1.6.1)
88
- activesupport (= 5.1.6.1)
89
- bundler (>= 1.3.0)
90
- railties (= 5.1.6.1)
91
- sprockets-rails (>= 2.0.0)
92
- rails-dom-testing (2.0.3)
93
- activesupport (>= 4.2.0)
94
- nokogiri (>= 1.6)
95
- rails-html-sanitizer (1.0.4)
96
- loofah (~> 2.2, >= 2.2.2)
97
- railties (5.1.6.1)
98
- actionpack (= 5.1.6.1)
99
- activesupport (= 5.1.6.1)
100
- method_source
101
- rake (>= 0.8.7)
102
- thor (>= 0.18.1, < 2.0)
103
- rake (12.3.2)
104
- rspec (3.8.0)
105
- rspec-core (~> 3.8.0)
106
- rspec-expectations (~> 3.8.0)
107
- rspec-mocks (~> 3.8.0)
108
- rspec-core (3.8.0)
109
- rspec-support (~> 3.8.0)
110
- rspec-expectations (3.8.2)
111
- diff-lcs (>= 1.2.0, < 2.0)
112
- rspec-support (~> 3.8.0)
113
- rspec-mocks (3.8.0)
114
- diff-lcs (>= 1.2.0, < 2.0)
115
- rspec-support (~> 3.8.0)
116
- rspec-support (3.8.0)
117
- sprockets (3.7.2)
118
- concurrent-ruby (~> 1.0)
119
- rack (> 1, < 3)
120
- sprockets-rails (3.2.1)
121
- actionpack (>= 4.0)
122
- activesupport (>= 4.0)
123
- sprockets (>= 3.0.0)
124
- thor (0.20.3)
125
- thread_safe (0.3.6)
126
- tzinfo (1.2.5)
127
- thread_safe (~> 0.1)
128
- websocket-driver (0.6.5)
129
- websocket-extensions (>= 0.1.0)
130
- websocket-extensions (0.1.3)
131
-
132
- PLATFORMS
133
- ruby
134
-
135
- DEPENDENCIES
136
- byebug
137
- combustion
138
- database_cleaner
139
- gemika
140
- pg (>= 0.18, < 2.0)
141
- rails (~> 5.1.0)
142
- rake
143
- rspec (~> 3.4)
144
- temporal_tables!
145
-
146
- BUNDLED WITH
147
- 1.17.3
@@ -1,16 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Runtime dependencies
4
- gem 'rails', '~> 5.2.0'
5
- gem 'mysql2', '~> 0.4.4'
6
-
7
- # Development dependencies
8
- gem 'rspec', '~> 3.4'
9
- gem 'rake'
10
- gem 'byebug'
11
- gem 'database_cleaner'
12
- gem 'combustion'
13
- gem 'gemika'
14
-
15
- # Gem under test
16
- gem 'temporal_tables', :path => '..'
@@ -1,155 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- temporal_tables (0.7.0)
5
- rails (>= 5.0, <= 6.0)
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- actioncable (5.2.0)
11
- actionpack (= 5.2.0)
12
- nio4r (~> 2.0)
13
- websocket-driver (>= 0.6.1)
14
- actionmailer (5.2.0)
15
- actionpack (= 5.2.0)
16
- actionview (= 5.2.0)
17
- activejob (= 5.2.0)
18
- mail (~> 2.5, >= 2.5.4)
19
- rails-dom-testing (~> 2.0)
20
- actionpack (5.2.0)
21
- actionview (= 5.2.0)
22
- activesupport (= 5.2.0)
23
- rack (~> 2.0)
24
- rack-test (>= 0.6.3)
25
- rails-dom-testing (~> 2.0)
26
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
27
- actionview (5.2.0)
28
- activesupport (= 5.2.0)
29
- builder (~> 3.1)
30
- erubi (~> 1.4)
31
- rails-dom-testing (~> 2.0)
32
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
33
- activejob (5.2.0)
34
- activesupport (= 5.2.0)
35
- globalid (>= 0.3.6)
36
- activemodel (5.2.0)
37
- activesupport (= 5.2.0)
38
- activerecord (5.2.0)
39
- activemodel (= 5.2.0)
40
- activesupport (= 5.2.0)
41
- arel (>= 9.0)
42
- activestorage (5.2.0)
43
- actionpack (= 5.2.0)
44
- activerecord (= 5.2.0)
45
- marcel (~> 0.3.1)
46
- activesupport (5.2.0)
47
- concurrent-ruby (~> 1.0, >= 1.0.2)
48
- i18n (>= 0.7, < 2)
49
- minitest (~> 5.1)
50
- tzinfo (~> 1.1)
51
- arel (9.0.0)
52
- builder (3.2.3)
53
- byebug (10.0.2)
54
- combustion (0.9.1)
55
- activesupport (>= 3.0.0)
56
- railties (>= 3.0.0)
57
- thor (>= 0.14.6)
58
- concurrent-ruby (1.0.5)
59
- crass (1.0.4)
60
- database_cleaner (1.7.0)
61
- diff-lcs (1.3)
62
- erubi (1.7.1)
63
- gemika (0.3.2)
64
- globalid (0.4.1)
65
- activesupport (>= 4.2.0)
66
- i18n (1.0.1)
67
- concurrent-ruby (~> 1.0)
68
- loofah (2.2.2)
69
- crass (~> 1.0.2)
70
- nokogiri (>= 1.5.9)
71
- mail (2.7.0)
72
- mini_mime (>= 0.1.1)
73
- marcel (0.3.2)
74
- mimemagic (~> 0.3.2)
75
- method_source (0.9.0)
76
- mimemagic (0.3.2)
77
- mini_mime (1.0.0)
78
- mini_portile2 (2.3.0)
79
- minitest (5.11.3)
80
- mysql2 (0.4.10)
81
- nio4r (2.3.1)
82
- nokogiri (1.8.4)
83
- mini_portile2 (~> 2.3.0)
84
- rack (2.0.5)
85
- rack-test (1.0.0)
86
- rack (>= 1.0, < 3)
87
- rails (5.2.0)
88
- actioncable (= 5.2.0)
89
- actionmailer (= 5.2.0)
90
- actionpack (= 5.2.0)
91
- actionview (= 5.2.0)
92
- activejob (= 5.2.0)
93
- activemodel (= 5.2.0)
94
- activerecord (= 5.2.0)
95
- activestorage (= 5.2.0)
96
- activesupport (= 5.2.0)
97
- bundler (>= 1.3.0)
98
- railties (= 5.2.0)
99
- sprockets-rails (>= 2.0.0)
100
- rails-dom-testing (2.0.3)
101
- activesupport (>= 4.2.0)
102
- nokogiri (>= 1.6)
103
- rails-html-sanitizer (1.0.4)
104
- loofah (~> 2.2, >= 2.2.2)
105
- railties (5.2.0)
106
- actionpack (= 5.2.0)
107
- activesupport (= 5.2.0)
108
- method_source
109
- rake (>= 0.8.7)
110
- thor (>= 0.18.1, < 2.0)
111
- rake (12.3.1)
112
- rspec (3.7.0)
113
- rspec-core (~> 3.7.0)
114
- rspec-expectations (~> 3.7.0)
115
- rspec-mocks (~> 3.7.0)
116
- rspec-core (3.7.1)
117
- rspec-support (~> 3.7.0)
118
- rspec-expectations (3.7.0)
119
- diff-lcs (>= 1.2.0, < 2.0)
120
- rspec-support (~> 3.7.0)
121
- rspec-mocks (3.7.0)
122
- diff-lcs (>= 1.2.0, < 2.0)
123
- rspec-support (~> 3.7.0)
124
- rspec-support (3.7.1)
125
- sprockets (3.7.2)
126
- concurrent-ruby (~> 1.0)
127
- rack (> 1, < 3)
128
- sprockets-rails (3.2.1)
129
- actionpack (>= 4.0)
130
- activesupport (>= 4.0)
131
- sprockets (>= 3.0.0)
132
- thor (0.20.0)
133
- thread_safe (0.3.6)
134
- tzinfo (1.2.5)
135
- thread_safe (~> 0.1)
136
- websocket-driver (0.7.0)
137
- websocket-extensions (>= 0.1.0)
138
- websocket-extensions (0.1.3)
139
-
140
- PLATFORMS
141
- ruby
142
-
143
- DEPENDENCIES
144
- byebug
145
- combustion
146
- database_cleaner
147
- gemika
148
- mysql2 (~> 0.4.4)
149
- rails (~> 5.2.0)
150
- rake
151
- rspec (~> 3.4)
152
- temporal_tables!
153
-
154
- BUNDLED WITH
155
- 1.17.3
@@ -1,155 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- temporal_tables (0.7.0)
5
- rails (>= 5.0, <= 6.0)
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- actioncable (5.2.0)
11
- actionpack (= 5.2.0)
12
- nio4r (~> 2.0)
13
- websocket-driver (>= 0.6.1)
14
- actionmailer (5.2.0)
15
- actionpack (= 5.2.0)
16
- actionview (= 5.2.0)
17
- activejob (= 5.2.0)
18
- mail (~> 2.5, >= 2.5.4)
19
- rails-dom-testing (~> 2.0)
20
- actionpack (5.2.0)
21
- actionview (= 5.2.0)
22
- activesupport (= 5.2.0)
23
- rack (~> 2.0)
24
- rack-test (>= 0.6.3)
25
- rails-dom-testing (~> 2.0)
26
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
27
- actionview (5.2.0)
28
- activesupport (= 5.2.0)
29
- builder (~> 3.1)
30
- erubi (~> 1.4)
31
- rails-dom-testing (~> 2.0)
32
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
33
- activejob (5.2.0)
34
- activesupport (= 5.2.0)
35
- globalid (>= 0.3.6)
36
- activemodel (5.2.0)
37
- activesupport (= 5.2.0)
38
- activerecord (5.2.0)
39
- activemodel (= 5.2.0)
40
- activesupport (= 5.2.0)
41
- arel (>= 9.0)
42
- activestorage (5.2.0)
43
- actionpack (= 5.2.0)
44
- activerecord (= 5.2.0)
45
- marcel (~> 0.3.1)
46
- activesupport (5.2.0)
47
- concurrent-ruby (~> 1.0, >= 1.0.2)
48
- i18n (>= 0.7, < 2)
49
- minitest (~> 5.1)
50
- tzinfo (~> 1.1)
51
- arel (9.0.0)
52
- builder (3.2.3)
53
- byebug (10.0.2)
54
- combustion (0.9.1)
55
- activesupport (>= 3.0.0)
56
- railties (>= 3.0.0)
57
- thor (>= 0.14.6)
58
- concurrent-ruby (1.0.5)
59
- crass (1.0.4)
60
- database_cleaner (1.7.0)
61
- diff-lcs (1.3)
62
- erubi (1.7.1)
63
- gemika (0.3.2)
64
- globalid (0.4.1)
65
- activesupport (>= 4.2.0)
66
- i18n (1.0.1)
67
- concurrent-ruby (~> 1.0)
68
- loofah (2.2.2)
69
- crass (~> 1.0.2)
70
- nokogiri (>= 1.5.9)
71
- mail (2.7.0)
72
- mini_mime (>= 0.1.1)
73
- marcel (0.3.2)
74
- mimemagic (~> 0.3.2)
75
- method_source (0.9.0)
76
- mimemagic (0.3.2)
77
- mini_mime (1.0.0)
78
- mini_portile2 (2.3.0)
79
- minitest (5.11.3)
80
- nio4r (2.3.1)
81
- nokogiri (1.8.4)
82
- mini_portile2 (~> 2.3.0)
83
- pg (1.0.0)
84
- rack (2.0.5)
85
- rack-test (1.0.0)
86
- rack (>= 1.0, < 3)
87
- rails (5.2.0)
88
- actioncable (= 5.2.0)
89
- actionmailer (= 5.2.0)
90
- actionpack (= 5.2.0)
91
- actionview (= 5.2.0)
92
- activejob (= 5.2.0)
93
- activemodel (= 5.2.0)
94
- activerecord (= 5.2.0)
95
- activestorage (= 5.2.0)
96
- activesupport (= 5.2.0)
97
- bundler (>= 1.3.0)
98
- railties (= 5.2.0)
99
- sprockets-rails (>= 2.0.0)
100
- rails-dom-testing (2.0.3)
101
- activesupport (>= 4.2.0)
102
- nokogiri (>= 1.6)
103
- rails-html-sanitizer (1.0.4)
104
- loofah (~> 2.2, >= 2.2.2)
105
- railties (5.2.0)
106
- actionpack (= 5.2.0)
107
- activesupport (= 5.2.0)
108
- method_source
109
- rake (>= 0.8.7)
110
- thor (>= 0.18.1, < 2.0)
111
- rake (12.3.1)
112
- rspec (3.7.0)
113
- rspec-core (~> 3.7.0)
114
- rspec-expectations (~> 3.7.0)
115
- rspec-mocks (~> 3.7.0)
116
- rspec-core (3.7.1)
117
- rspec-support (~> 3.7.0)
118
- rspec-expectations (3.7.0)
119
- diff-lcs (>= 1.2.0, < 2.0)
120
- rspec-support (~> 3.7.0)
121
- rspec-mocks (3.7.0)
122
- diff-lcs (>= 1.2.0, < 2.0)
123
- rspec-support (~> 3.7.0)
124
- rspec-support (3.7.1)
125
- sprockets (3.7.2)
126
- concurrent-ruby (~> 1.0)
127
- rack (> 1, < 3)
128
- sprockets-rails (3.2.1)
129
- actionpack (>= 4.0)
130
- activesupport (>= 4.0)
131
- sprockets (>= 3.0.0)
132
- thor (0.20.0)
133
- thread_safe (0.3.6)
134
- tzinfo (1.2.5)
135
- thread_safe (~> 0.1)
136
- websocket-driver (0.7.0)
137
- websocket-extensions (>= 0.1.0)
138
- websocket-extensions (0.1.3)
139
-
140
- PLATFORMS
141
- ruby
142
-
143
- DEPENDENCIES
144
- byebug
145
- combustion
146
- database_cleaner
147
- gemika
148
- pg (>= 0.18, < 2.0)
149
- rails (~> 5.2.0)
150
- rake
151
- rspec (~> 3.4)
152
- temporal_tables!
153
-
154
- BUNDLED WITH
155
- 1.17.3
@@ -1,20 +0,0 @@
1
- module TemporalTables
2
- # This is required for eager_load to work in Rails 5.0.x
3
- module JoinDependencyExtensions
4
- def build_constraint(klass, table, key, foreign_table, foreign_key)
5
- constraint = super
6
- if at_value = Thread.current[:at_time]
7
- constraint = constraint.and(klass.build_temporal_constraint(at_value))
8
- end
9
- constraint
10
- end
11
- end
12
- end
13
-
14
- case Rails::VERSION::MAJOR
15
- when 5
16
- case Rails::VERSION::MINOR
17
- when 0, 1
18
- ActiveRecord::Associations::JoinDependency::JoinAssociation.prepend TemporalTables::JoinDependencyExtensions
19
- end
20
- end
@@ -1,9 +0,0 @@
1
- class Combustion::Database::Reset
2
- def call
3
- configuration = resettable_db_configs[Rails.env]
4
- adapter = configuration["adapter"] ||
5
- configuration["url"].split("://").first
6
-
7
- operator_class(adapter).new(configuration).reset
8
- end
9
- end
@@ -1,3 +0,0 @@
1
- Rails.application.routes.draw do
2
- #
3
- end