lol_dba 2.1.4 → 2.1.5

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
- SHA1:
3
- metadata.gz: 87551b6848c7528e111cea58455dbfd97fbbf1a3
4
- data.tar.gz: 72e0e7bd39ef6fa5fb2c197d41a93d041ffa9dfb
2
+ SHA256:
3
+ metadata.gz: 050bb7ec325439428569884cd53d72328d29eabc7179fb9c59035ea874113a16
4
+ data.tar.gz: 25e03042d21ed336a9546b94ca043562c63b5da75078b8dd1b1c5a5de12f5e05
5
5
  SHA512:
6
- metadata.gz: 9ef077e8fb9faa1b4b6f4306e013a9eb2bb3738c3b1bffd9390b215a8271bbe1bb6398a7767ca43e04c75aa25b8a02f99f6abfa63b760b370a06cd9e3a47c30d
7
- data.tar.gz: f491ea5916c7e644f6779cd6e17cd6b8121daa8952cdf20b11123115fda95b76e78ef495365cdbd3e9d6d0dde19d90eb24b7c33f33f00edcdee05bdcc0ffc569
6
+ metadata.gz: 0db9af64ec6878b52122fcc2d27e87d8e332523618b7eb924b0bfa3d8c4bd7027cbb831725b1067205c3dce5f4d87b67e30466c26d80c69d7f34b412c02818a7
7
+ data.tar.gz: e32b5d7ed06fade6461ec05b23406bb67365eccd23d5a815b8474a250535928909ed883d8677e584d147655fa49f4f252cb5c1fe24f2359c09c905b20527b8d3
@@ -3,9 +3,10 @@
3
3
  sudo: false
4
4
  language: ruby
5
5
  rvm:
6
- - 2.2.7
7
- - 2.3.4
8
- - 2.4.1
6
+ - 2.2.9
7
+ - 2.3.6
8
+ - 2.4.3
9
+ - 2.5.0
9
10
  - ruby-head
10
11
  gemfile:
11
12
  - gemfiles/rails_3_2.gemfile
@@ -21,4 +22,6 @@ notifications:
21
22
  matrix:
22
23
  fast_finish: true
23
24
  allow_failures:
25
+ - rvm: 2.2.9
26
+ - rvm: 2.3.6
24
27
  - rvm: ruby-head
data/Appraisals CHANGED
@@ -27,14 +27,14 @@ appraise "rails_4_2" do
27
27
  end
28
28
 
29
29
  appraise "rails_5_0" do
30
- version = "~> 5.0"
30
+ version = "~> 5.0.0"
31
31
  gem 'activerecord', version
32
32
  gem 'actionpack', version
33
33
  gem 'railties', version
34
34
  end
35
35
 
36
36
  appraise "rails_5_1" do
37
- version = "~> 5.1"
37
+ version = "~> 5.1.0"
38
38
  gem 'activerecord', version
39
39
  gem 'actionpack', version
40
40
  gem 'railties', version
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lol_dba (2.1.3)
4
+ lol_dba (2.1.4)
5
5
  actionpack (>= 3.0)
6
6
  activerecord (>= 3.0)
7
7
  railties (>= 3.0)
@@ -9,26 +9,26 @@ PATH
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- actionpack (5.1.1)
13
- actionview (= 5.1.1)
14
- activesupport (= 5.1.1)
12
+ actionpack (5.1.5)
13
+ actionview (= 5.1.5)
14
+ activesupport (= 5.1.5)
15
15
  rack (~> 2.0)
16
- rack-test (~> 0.6.3)
16
+ rack-test (>= 0.6.3)
17
17
  rails-dom-testing (~> 2.0)
18
18
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
19
- actionview (5.1.1)
20
- activesupport (= 5.1.1)
19
+ actionview (5.1.5)
20
+ activesupport (= 5.1.5)
21
21
  builder (~> 3.1)
22
22
  erubi (~> 1.4)
23
23
  rails-dom-testing (~> 2.0)
24
24
  rails-html-sanitizer (~> 1.0, >= 1.0.3)
25
- activemodel (5.1.1)
26
- activesupport (= 5.1.1)
27
- activerecord (5.1.1)
28
- activemodel (= 5.1.1)
29
- activesupport (= 5.1.1)
25
+ activemodel (5.1.5)
26
+ activesupport (= 5.1.5)
27
+ activerecord (5.1.5)
28
+ activemodel (= 5.1.5)
29
+ activesupport (= 5.1.5)
30
30
  arel (~> 8.0)
31
- activesupport (5.1.1)
31
+ activesupport (5.1.5)
32
32
  concurrent-ruby (~> 1.0, >= 1.0.2)
33
33
  i18n (~> 0.7)
34
34
  minitest (~> 5.1)
@@ -40,55 +40,58 @@ GEM
40
40
  arel (8.0.0)
41
41
  builder (3.2.3)
42
42
  concurrent-ruby (1.0.5)
43
+ crass (1.0.3)
43
44
  diff-lcs (1.3)
44
- erubi (1.6.0)
45
- i18n (0.8.4)
46
- loofah (2.0.3)
45
+ erubi (1.7.0)
46
+ i18n (0.9.5)
47
+ concurrent-ruby (~> 1.0)
48
+ loofah (2.2.0)
49
+ crass (~> 1.0.2)
47
50
  nokogiri (>= 1.5.9)
48
- method_source (0.8.2)
49
- mini_portile2 (2.2.0)
50
- minitest (5.10.2)
51
- nokogiri (1.8.0)
52
- mini_portile2 (~> 2.2.0)
53
- power_assert (1.0.2)
54
- rack (2.0.3)
55
- rack-test (0.6.3)
56
- rack (>= 1.0)
51
+ method_source (0.9.0)
52
+ mini_portile2 (2.3.0)
53
+ minitest (5.11.3)
54
+ nokogiri (1.8.2)
55
+ mini_portile2 (~> 2.3.0)
56
+ power_assert (1.1.1)
57
+ rack (2.0.4)
58
+ rack-test (0.8.3)
59
+ rack (>= 1.0, < 3)
57
60
  rails-dom-testing (2.0.3)
58
61
  activesupport (>= 4.2.0)
59
62
  nokogiri (>= 1.6)
60
63
  rails-html-sanitizer (1.0.3)
61
64
  loofah (~> 2.0)
62
- railties (5.1.1)
63
- actionpack (= 5.1.1)
64
- activesupport (= 5.1.1)
65
+ railties (5.1.5)
66
+ actionpack (= 5.1.5)
67
+ activesupport (= 5.1.5)
65
68
  method_source
66
69
  rake (>= 0.8.7)
67
70
  thor (>= 0.18.1, < 2.0)
68
- rake (12.0.0)
69
- rspec-core (3.6.0)
70
- rspec-support (~> 3.6.0)
71
- rspec-expectations (3.6.0)
71
+ rake (12.3.0)
72
+ rspec-core (3.7.1)
73
+ rspec-support (~> 3.7.0)
74
+ rspec-expectations (3.7.0)
72
75
  diff-lcs (>= 1.2.0, < 2.0)
73
- rspec-support (~> 3.6.0)
74
- rspec-mocks (3.6.0)
76
+ rspec-support (~> 3.7.0)
77
+ rspec-mocks (3.7.0)
75
78
  diff-lcs (>= 1.2.0, < 2.0)
76
- rspec-support (~> 3.6.0)
77
- rspec-rails (3.6.0)
79
+ rspec-support (~> 3.7.0)
80
+ rspec-rails (3.7.2)
78
81
  actionpack (>= 3.0)
79
82
  activesupport (>= 3.0)
80
83
  railties (>= 3.0)
81
- rspec-core (~> 3.6.0)
82
- rspec-expectations (~> 3.6.0)
83
- rspec-mocks (~> 3.6.0)
84
- rspec-support (~> 3.6.0)
85
- rspec-support (3.6.0)
84
+ rspec-core (~> 3.7.0)
85
+ rspec-expectations (~> 3.7.0)
86
+ rspec-mocks (~> 3.7.0)
87
+ rspec-support (~> 3.7.0)
88
+ rspec-support (3.7.1)
86
89
  sqlite3 (1.3.13)
87
- test-unit (3.2.4)
90
+ test-unit (3.2.7)
88
91
  power_assert
89
- thor (0.19.4)
92
+ thor (0.20.0)
90
93
  thread_safe (0.3.6)
91
- tzinfo (1.2.3)
94
+ tzinfo (1.2.5)
92
95
  thread_safe (~> 0.1)
93
96
 
94
97
  PLATFORMS
@@ -105,4 +108,4 @@ DEPENDENCIES
105
108
  test-unit
106
109
 
107
110
  BUNDLED WITH
108
- 1.15.1
111
+ 1.16.1
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- lol_dba (2.1.3)
4
+ lol_dba (2.1.4)
5
5
  actionpack (>= 3.0)
6
6
  activerecord (>= 3.0)
7
7
  railties (>= 3.0)
@@ -36,16 +36,18 @@ GEM
36
36
  thor (>= 0.14.0)
37
37
  arel (3.0.3)
38
38
  builder (3.0.4)
39
+ concurrent-ruby (1.0.5)
39
40
  diff-lcs (1.3)
40
41
  erubis (2.7.0)
41
42
  hike (1.2.3)
42
- i18n (0.8.4)
43
+ i18n (0.9.5)
44
+ concurrent-ruby (~> 1.0)
43
45
  journey (1.0.4)
44
46
  json (1.8.6)
45
- multi_json (1.12.1)
46
- power_assert (1.0.2)
47
+ multi_json (1.13.1)
48
+ power_assert (1.1.1)
47
49
  rack (1.4.7)
48
- rack-cache (1.7.0)
50
+ rack-cache (1.7.1)
49
51
  rack (>= 0.4)
50
52
  rack-ssl (1.3.4)
51
53
  rack
@@ -58,35 +60,35 @@ GEM
58
60
  rake (>= 0.8.7)
59
61
  rdoc (~> 3.4)
60
62
  thor (>= 0.14.6, < 2.0)
61
- rake (12.0.0)
63
+ rake (12.3.0)
62
64
  rdoc (3.12.2)
63
65
  json (~> 1.4)
64
- rspec-core (3.6.0)
65
- rspec-support (~> 3.6.0)
66
- rspec-expectations (3.6.0)
66
+ rspec-core (3.7.1)
67
+ rspec-support (~> 3.7.0)
68
+ rspec-expectations (3.7.0)
67
69
  diff-lcs (>= 1.2.0, < 2.0)
68
- rspec-support (~> 3.6.0)
69
- rspec-mocks (3.6.0)
70
+ rspec-support (~> 3.7.0)
71
+ rspec-mocks (3.7.0)
70
72
  diff-lcs (>= 1.2.0, < 2.0)
71
- rspec-support (~> 3.6.0)
72
- rspec-rails (3.6.0)
73
+ rspec-support (~> 3.7.0)
74
+ rspec-rails (3.7.2)
73
75
  actionpack (>= 3.0)
74
76
  activesupport (>= 3.0)
75
77
  railties (>= 3.0)
76
- rspec-core (~> 3.6.0)
77
- rspec-expectations (~> 3.6.0)
78
- rspec-mocks (~> 3.6.0)
79
- rspec-support (~> 3.6.0)
80
- rspec-support (3.6.0)
78
+ rspec-core (~> 3.7.0)
79
+ rspec-expectations (~> 3.7.0)
80
+ rspec-mocks (~> 3.7.0)
81
+ rspec-support (~> 3.7.0)
82
+ rspec-support (3.7.1)
81
83
  sprockets (2.2.3)
82
84
  hike (~> 1.2)
83
85
  multi_json (~> 1.0)
84
86
  rack (~> 1.0)
85
87
  tilt (~> 1.1, != 1.3.0)
86
88
  sqlite3 (1.3.13)
87
- test-unit (3.2.4)
89
+ test-unit (3.2.7)
88
90
  power_assert
89
- thor (0.19.4)
91
+ thor (0.20.0)
90
92
  tilt (1.4.1)
91
93
  tzinfo (0.3.53)
92
94
 
@@ -104,4 +106,4 @@ DEPENDENCIES
104
106
  test-unit
105
107
 
106
108
  BUNDLED WITH
107
- 1.15.1
109
+ 1.16.1
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- lol_dba (2.1.3)
4
+ lol_dba (2.1.4)
5
5
  actionpack (>= 3.0)
6
6
  activerecord (>= 3.0)
7
7
  railties (>= 3.0)
@@ -36,12 +36,14 @@ GEM
36
36
  thor (>= 0.14.0)
37
37
  arel (4.0.2)
38
38
  builder (3.1.4)
39
+ concurrent-ruby (1.0.5)
39
40
  diff-lcs (1.3)
40
41
  erubis (2.7.0)
41
- i18n (0.8.4)
42
+ i18n (0.9.5)
43
+ concurrent-ruby (~> 1.0)
42
44
  minitest (4.7.5)
43
- multi_json (1.12.1)
44
- power_assert (1.0.2)
45
+ multi_json (1.13.1)
46
+ power_assert (1.1.1)
45
47
  rack (1.5.5)
46
48
  rack-test (0.6.3)
47
49
  rack (>= 1.0)
@@ -50,28 +52,28 @@ GEM
50
52
  activesupport (= 4.0.13)
51
53
  rake (>= 0.8.7)
52
54
  thor (>= 0.18.1, < 2.0)
53
- rake (12.0.0)
54
- rspec-core (3.6.0)
55
- rspec-support (~> 3.6.0)
56
- rspec-expectations (3.6.0)
55
+ rake (12.3.0)
56
+ rspec-core (3.7.1)
57
+ rspec-support (~> 3.7.0)
58
+ rspec-expectations (3.7.0)
57
59
  diff-lcs (>= 1.2.0, < 2.0)
58
- rspec-support (~> 3.6.0)
59
- rspec-mocks (3.6.0)
60
+ rspec-support (~> 3.7.0)
61
+ rspec-mocks (3.7.0)
60
62
  diff-lcs (>= 1.2.0, < 2.0)
61
- rspec-support (~> 3.6.0)
62
- rspec-rails (3.6.0)
63
+ rspec-support (~> 3.7.0)
64
+ rspec-rails (3.7.2)
63
65
  actionpack (>= 3.0)
64
66
  activesupport (>= 3.0)
65
67
  railties (>= 3.0)
66
- rspec-core (~> 3.6.0)
67
- rspec-expectations (~> 3.6.0)
68
- rspec-mocks (~> 3.6.0)
69
- rspec-support (~> 3.6.0)
70
- rspec-support (3.6.0)
68
+ rspec-core (~> 3.7.0)
69
+ rspec-expectations (~> 3.7.0)
70
+ rspec-mocks (~> 3.7.0)
71
+ rspec-support (~> 3.7.0)
72
+ rspec-support (3.7.1)
71
73
  sqlite3 (1.3.13)
72
- test-unit (3.2.4)
74
+ test-unit (3.2.7)
73
75
  power_assert
74
- thor (0.19.4)
76
+ thor (0.20.0)
75
77
  thread_safe (0.3.6)
76
78
  tzinfo (0.3.53)
77
79
 
@@ -89,4 +91,4 @@ DEPENDENCIES
89
91
  test-unit
90
92
 
91
93
  BUNDLED WITH
92
- 1.15.1
94
+ 1.16.1
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- lol_dba (2.1.3)
4
+ lol_dba (2.1.4)
5
5
  actionpack (>= 3.0)
6
6
  activerecord (>= 3.0)
7
7
  railties (>= 3.0)
@@ -37,12 +37,14 @@ GEM
37
37
  thor (>= 0.14.0)
38
38
  arel (5.0.1.20140414130214)
39
39
  builder (3.2.3)
40
+ concurrent-ruby (1.0.5)
40
41
  diff-lcs (1.3)
41
42
  erubis (2.7.0)
42
- i18n (0.8.4)
43
+ i18n (0.9.5)
44
+ concurrent-ruby (~> 1.0)
43
45
  json (1.8.6)
44
- minitest (5.10.2)
45
- power_assert (1.0.2)
46
+ minitest (5.11.3)
47
+ power_assert (1.1.1)
46
48
  rack (1.5.5)
47
49
  rack-test (0.6.3)
48
50
  rack (>= 1.0)
@@ -51,30 +53,30 @@ GEM
51
53
  activesupport (= 4.1.16)
52
54
  rake (>= 0.8.7)
53
55
  thor (>= 0.18.1, < 2.0)
54
- rake (12.0.0)
55
- rspec-core (3.6.0)
56
- rspec-support (~> 3.6.0)
57
- rspec-expectations (3.6.0)
56
+ rake (12.3.0)
57
+ rspec-core (3.7.1)
58
+ rspec-support (~> 3.7.0)
59
+ rspec-expectations (3.7.0)
58
60
  diff-lcs (>= 1.2.0, < 2.0)
59
- rspec-support (~> 3.6.0)
60
- rspec-mocks (3.6.0)
61
+ rspec-support (~> 3.7.0)
62
+ rspec-mocks (3.7.0)
61
63
  diff-lcs (>= 1.2.0, < 2.0)
62
- rspec-support (~> 3.6.0)
63
- rspec-rails (3.6.0)
64
+ rspec-support (~> 3.7.0)
65
+ rspec-rails (3.7.2)
64
66
  actionpack (>= 3.0)
65
67
  activesupport (>= 3.0)
66
68
  railties (>= 3.0)
67
- rspec-core (~> 3.6.0)
68
- rspec-expectations (~> 3.6.0)
69
- rspec-mocks (~> 3.6.0)
70
- rspec-support (~> 3.6.0)
71
- rspec-support (3.6.0)
69
+ rspec-core (~> 3.7.0)
70
+ rspec-expectations (~> 3.7.0)
71
+ rspec-mocks (~> 3.7.0)
72
+ rspec-support (~> 3.7.0)
73
+ rspec-support (3.7.1)
72
74
  sqlite3 (1.3.13)
73
- test-unit (3.2.4)
75
+ test-unit (3.2.7)
74
76
  power_assert
75
- thor (0.19.4)
77
+ thor (0.20.0)
76
78
  thread_safe (0.3.6)
77
- tzinfo (1.2.3)
79
+ tzinfo (1.2.5)
78
80
  thread_safe (~> 0.1)
79
81
 
80
82
  PLATFORMS
@@ -91,4 +93,4 @@ DEPENDENCIES
91
93
  test-unit
92
94
 
93
95
  BUNDLED WITH
94
- 1.15.1
96
+ 1.16.1
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- lol_dba (2.1.3)
4
+ lol_dba (2.1.4)
5
5
  actionpack (>= 3.0)
6
6
  activerecord (>= 3.0)
7
7
  railties (>= 3.0)
@@ -9,27 +9,27 @@ PATH
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- actionpack (4.2.8)
13
- actionview (= 4.2.8)
14
- activesupport (= 4.2.8)
12
+ actionpack (4.2.10)
13
+ actionview (= 4.2.10)
14
+ activesupport (= 4.2.10)
15
15
  rack (~> 1.6)
16
16
  rack-test (~> 0.6.2)
17
17
  rails-dom-testing (~> 1.0, >= 1.0.5)
18
18
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
19
- actionview (4.2.8)
20
- activesupport (= 4.2.8)
19
+ actionview (4.2.10)
20
+ activesupport (= 4.2.10)
21
21
  builder (~> 3.1)
22
22
  erubis (~> 2.7.0)
23
23
  rails-dom-testing (~> 1.0, >= 1.0.5)
24
24
  rails-html-sanitizer (~> 1.0, >= 1.0.3)
25
- activemodel (4.2.8)
26
- activesupport (= 4.2.8)
25
+ activemodel (4.2.10)
26
+ activesupport (= 4.2.10)
27
27
  builder (~> 3.1)
28
- activerecord (4.2.8)
29
- activemodel (= 4.2.8)
30
- activesupport (= 4.2.8)
28
+ activerecord (4.2.10)
29
+ activemodel (= 4.2.10)
30
+ activesupport (= 4.2.10)
31
31
  arel (~> 6.0)
32
- activesupport (4.2.8)
32
+ activesupport (4.2.10)
33
33
  i18n (~> 0.7)
34
34
  minitest (~> 5.1)
35
35
  thread_safe (~> 0.3, >= 0.3.4)
@@ -40,56 +40,60 @@ GEM
40
40
  thor (>= 0.14.0)
41
41
  arel (6.0.4)
42
42
  builder (3.2.3)
43
+ concurrent-ruby (1.0.5)
44
+ crass (1.0.3)
43
45
  diff-lcs (1.3)
44
46
  erubis (2.7.0)
45
- i18n (0.8.4)
46
- loofah (2.0.3)
47
+ i18n (0.9.5)
48
+ concurrent-ruby (~> 1.0)
49
+ loofah (2.2.0)
50
+ crass (~> 1.0.2)
47
51
  nokogiri (>= 1.5.9)
48
- mini_portile2 (2.2.0)
49
- minitest (5.10.2)
50
- nokogiri (1.8.0)
51
- mini_portile2 (~> 2.2.0)
52
- power_assert (1.0.2)
53
- rack (1.6.8)
52
+ mini_portile2 (2.3.0)
53
+ minitest (5.11.3)
54
+ nokogiri (1.8.2)
55
+ mini_portile2 (~> 2.3.0)
56
+ power_assert (1.1.1)
57
+ rack (1.6.9)
54
58
  rack-test (0.6.3)
55
59
  rack (>= 1.0)
56
60
  rails-deprecated_sanitizer (1.0.3)
57
61
  activesupport (>= 4.2.0.alpha)
58
- rails-dom-testing (1.0.8)
59
- activesupport (>= 4.2.0.beta, < 5.0)
62
+ rails-dom-testing (1.0.9)
63
+ activesupport (>= 4.2.0, < 5.0)
60
64
  nokogiri (~> 1.6)
61
65
  rails-deprecated_sanitizer (>= 1.0.1)
62
66
  rails-html-sanitizer (1.0.3)
63
67
  loofah (~> 2.0)
64
- railties (4.2.8)
65
- actionpack (= 4.2.8)
66
- activesupport (= 4.2.8)
68
+ railties (4.2.10)
69
+ actionpack (= 4.2.10)
70
+ activesupport (= 4.2.10)
67
71
  rake (>= 0.8.7)
68
72
  thor (>= 0.18.1, < 2.0)
69
- rake (12.0.0)
70
- rspec-core (3.6.0)
71
- rspec-support (~> 3.6.0)
72
- rspec-expectations (3.6.0)
73
+ rake (12.3.0)
74
+ rspec-core (3.7.1)
75
+ rspec-support (~> 3.7.0)
76
+ rspec-expectations (3.7.0)
73
77
  diff-lcs (>= 1.2.0, < 2.0)
74
- rspec-support (~> 3.6.0)
75
- rspec-mocks (3.6.0)
78
+ rspec-support (~> 3.7.0)
79
+ rspec-mocks (3.7.0)
76
80
  diff-lcs (>= 1.2.0, < 2.0)
77
- rspec-support (~> 3.6.0)
78
- rspec-rails (3.6.0)
81
+ rspec-support (~> 3.7.0)
82
+ rspec-rails (3.7.2)
79
83
  actionpack (>= 3.0)
80
84
  activesupport (>= 3.0)
81
85
  railties (>= 3.0)
82
- rspec-core (~> 3.6.0)
83
- rspec-expectations (~> 3.6.0)
84
- rspec-mocks (~> 3.6.0)
85
- rspec-support (~> 3.6.0)
86
- rspec-support (3.6.0)
86
+ rspec-core (~> 3.7.0)
87
+ rspec-expectations (~> 3.7.0)
88
+ rspec-mocks (~> 3.7.0)
89
+ rspec-support (~> 3.7.0)
90
+ rspec-support (3.7.1)
87
91
  sqlite3 (1.3.13)
88
- test-unit (3.2.4)
92
+ test-unit (3.2.7)
89
93
  power_assert
90
- thor (0.19.4)
94
+ thor (0.20.0)
91
95
  thread_safe (0.3.6)
92
- tzinfo (1.2.3)
96
+ tzinfo (1.2.5)
93
97
  thread_safe (~> 0.1)
94
98
 
95
99
  PLATFORMS
@@ -106,4 +110,4 @@ DEPENDENCIES
106
110
  test-unit
107
111
 
108
112
  BUNDLED WITH
109
- 1.15.1
113
+ 1.16.1
@@ -2,9 +2,9 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "activerecord", "~> 5.0"
6
- gem "actionpack", "~> 5.0"
7
- gem "railties", "~> 5.0"
5
+ gem "activerecord", "~> 5.0.0"
6
+ gem "actionpack", "~> 5.0.0"
7
+ gem "railties", "~> 5.0.0"
8
8
  gem "rspec-rails"
9
9
  gem "test-unit"
10
10
  gem "sqlite3"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- lol_dba (2.1.3)
4
+ lol_dba (2.1.4)
5
5
  actionpack (>= 3.0)
6
6
  activerecord (>= 3.0)
7
7
  railties (>= 3.0)
@@ -9,26 +9,26 @@ PATH
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- actionpack (5.1.1)
13
- actionview (= 5.1.1)
14
- activesupport (= 5.1.1)
12
+ actionpack (5.0.6)
13
+ actionview (= 5.0.6)
14
+ activesupport (= 5.0.6)
15
15
  rack (~> 2.0)
16
16
  rack-test (~> 0.6.3)
17
17
  rails-dom-testing (~> 2.0)
18
18
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
19
- actionview (5.1.1)
20
- activesupport (= 5.1.1)
19
+ actionview (5.0.6)
20
+ activesupport (= 5.0.6)
21
21
  builder (~> 3.1)
22
- erubi (~> 1.4)
22
+ erubis (~> 2.7.0)
23
23
  rails-dom-testing (~> 2.0)
24
24
  rails-html-sanitizer (~> 1.0, >= 1.0.3)
25
- activemodel (5.1.1)
26
- activesupport (= 5.1.1)
27
- activerecord (5.1.1)
28
- activemodel (= 5.1.1)
29
- activesupport (= 5.1.1)
30
- arel (~> 8.0)
31
- activesupport (5.1.1)
25
+ activemodel (5.0.6)
26
+ activesupport (= 5.0.6)
27
+ activerecord (5.0.6)
28
+ activemodel (= 5.0.6)
29
+ activesupport (= 5.0.6)
30
+ arel (~> 7.0)
31
+ activesupport (5.0.6)
32
32
  concurrent-ruby (~> 1.0, >= 1.0.2)
33
33
  i18n (~> 0.7)
34
34
  minitest (~> 5.1)
@@ -37,21 +37,24 @@ GEM
37
37
  bundler
38
38
  rake
39
39
  thor (>= 0.14.0)
40
- arel (8.0.0)
40
+ arel (7.1.4)
41
41
  builder (3.2.3)
42
42
  concurrent-ruby (1.0.5)
43
+ crass (1.0.3)
43
44
  diff-lcs (1.3)
44
- erubi (1.6.0)
45
- i18n (0.8.4)
46
- loofah (2.0.3)
45
+ erubis (2.7.0)
46
+ i18n (0.9.5)
47
+ concurrent-ruby (~> 1.0)
48
+ loofah (2.2.0)
49
+ crass (~> 1.0.2)
47
50
  nokogiri (>= 1.5.9)
48
- method_source (0.8.2)
49
- mini_portile2 (2.2.0)
50
- minitest (5.10.2)
51
- nokogiri (1.8.0)
52
- mini_portile2 (~> 2.2.0)
53
- power_assert (1.0.2)
54
- rack (2.0.3)
51
+ method_source (0.9.0)
52
+ mini_portile2 (2.3.0)
53
+ minitest (5.11.3)
54
+ nokogiri (1.8.2)
55
+ mini_portile2 (~> 2.3.0)
56
+ power_assert (1.1.1)
57
+ rack (2.0.4)
55
58
  rack-test (0.6.3)
56
59
  rack (>= 1.0)
57
60
  rails-dom-testing (2.0.3)
@@ -59,50 +62,50 @@ GEM
59
62
  nokogiri (>= 1.6)
60
63
  rails-html-sanitizer (1.0.3)
61
64
  loofah (~> 2.0)
62
- railties (5.1.1)
63
- actionpack (= 5.1.1)
64
- activesupport (= 5.1.1)
65
+ railties (5.0.6)
66
+ actionpack (= 5.0.6)
67
+ activesupport (= 5.0.6)
65
68
  method_source
66
69
  rake (>= 0.8.7)
67
70
  thor (>= 0.18.1, < 2.0)
68
- rake (12.0.0)
69
- rspec-core (3.6.0)
70
- rspec-support (~> 3.6.0)
71
- rspec-expectations (3.6.0)
71
+ rake (12.3.0)
72
+ rspec-core (3.7.1)
73
+ rspec-support (~> 3.7.0)
74
+ rspec-expectations (3.7.0)
72
75
  diff-lcs (>= 1.2.0, < 2.0)
73
- rspec-support (~> 3.6.0)
74
- rspec-mocks (3.6.0)
76
+ rspec-support (~> 3.7.0)
77
+ rspec-mocks (3.7.0)
75
78
  diff-lcs (>= 1.2.0, < 2.0)
76
- rspec-support (~> 3.6.0)
77
- rspec-rails (3.6.0)
79
+ rspec-support (~> 3.7.0)
80
+ rspec-rails (3.7.2)
78
81
  actionpack (>= 3.0)
79
82
  activesupport (>= 3.0)
80
83
  railties (>= 3.0)
81
- rspec-core (~> 3.6.0)
82
- rspec-expectations (~> 3.6.0)
83
- rspec-mocks (~> 3.6.0)
84
- rspec-support (~> 3.6.0)
85
- rspec-support (3.6.0)
84
+ rspec-core (~> 3.7.0)
85
+ rspec-expectations (~> 3.7.0)
86
+ rspec-mocks (~> 3.7.0)
87
+ rspec-support (~> 3.7.0)
88
+ rspec-support (3.7.1)
86
89
  sqlite3 (1.3.13)
87
- test-unit (3.2.4)
90
+ test-unit (3.2.7)
88
91
  power_assert
89
- thor (0.19.4)
92
+ thor (0.20.0)
90
93
  thread_safe (0.3.6)
91
- tzinfo (1.2.3)
94
+ tzinfo (1.2.5)
92
95
  thread_safe (~> 0.1)
93
96
 
94
97
  PLATFORMS
95
98
  ruby
96
99
 
97
100
  DEPENDENCIES
98
- actionpack (~> 5.0)
99
- activerecord (~> 5.0)
101
+ actionpack (~> 5.0.0)
102
+ activerecord (~> 5.0.0)
100
103
  appraisal
101
104
  lol_dba!
102
- railties (~> 5.0)
105
+ railties (~> 5.0.0)
103
106
  rspec-rails
104
107
  sqlite3
105
108
  test-unit
106
109
 
107
110
  BUNDLED WITH
108
- 1.15.1
111
+ 1.16.1
@@ -2,9 +2,9 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "activerecord", "~> 5.1"
6
- gem "actionpack", "~> 5.1"
7
- gem "railties", "~> 5.1"
5
+ gem "activerecord", "~> 5.1.0"
6
+ gem "actionpack", "~> 5.1.0"
7
+ gem "railties", "~> 5.1.0"
8
8
  gem "rspec-rails"
9
9
  gem "test-unit"
10
10
  gem "sqlite3"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- lol_dba (2.1.3)
4
+ lol_dba (2.1.4)
5
5
  actionpack (>= 3.0)
6
6
  activerecord (>= 3.0)
7
7
  railties (>= 3.0)
@@ -9,26 +9,26 @@ PATH
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- actionpack (5.1.1)
13
- actionview (= 5.1.1)
14
- activesupport (= 5.1.1)
12
+ actionpack (5.1.5)
13
+ actionview (= 5.1.5)
14
+ activesupport (= 5.1.5)
15
15
  rack (~> 2.0)
16
- rack-test (~> 0.6.3)
16
+ rack-test (>= 0.6.3)
17
17
  rails-dom-testing (~> 2.0)
18
18
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
19
- actionview (5.1.1)
20
- activesupport (= 5.1.1)
19
+ actionview (5.1.5)
20
+ activesupport (= 5.1.5)
21
21
  builder (~> 3.1)
22
22
  erubi (~> 1.4)
23
23
  rails-dom-testing (~> 2.0)
24
24
  rails-html-sanitizer (~> 1.0, >= 1.0.3)
25
- activemodel (5.1.1)
26
- activesupport (= 5.1.1)
27
- activerecord (5.1.1)
28
- activemodel (= 5.1.1)
29
- activesupport (= 5.1.1)
25
+ activemodel (5.1.5)
26
+ activesupport (= 5.1.5)
27
+ activerecord (5.1.5)
28
+ activemodel (= 5.1.5)
29
+ activesupport (= 5.1.5)
30
30
  arel (~> 8.0)
31
- activesupport (5.1.1)
31
+ activesupport (5.1.5)
32
32
  concurrent-ruby (~> 1.0, >= 1.0.2)
33
33
  i18n (~> 0.7)
34
34
  minitest (~> 5.1)
@@ -40,69 +40,72 @@ GEM
40
40
  arel (8.0.0)
41
41
  builder (3.2.3)
42
42
  concurrent-ruby (1.0.5)
43
+ crass (1.0.3)
43
44
  diff-lcs (1.3)
44
- erubi (1.6.0)
45
- i18n (0.8.4)
46
- loofah (2.0.3)
45
+ erubi (1.7.0)
46
+ i18n (0.9.5)
47
+ concurrent-ruby (~> 1.0)
48
+ loofah (2.2.0)
49
+ crass (~> 1.0.2)
47
50
  nokogiri (>= 1.5.9)
48
- method_source (0.8.2)
49
- mini_portile2 (2.2.0)
50
- minitest (5.10.2)
51
- nokogiri (1.8.0)
52
- mini_portile2 (~> 2.2.0)
53
- power_assert (1.0.2)
54
- rack (2.0.3)
55
- rack-test (0.6.3)
56
- rack (>= 1.0)
51
+ method_source (0.9.0)
52
+ mini_portile2 (2.3.0)
53
+ minitest (5.11.3)
54
+ nokogiri (1.8.2)
55
+ mini_portile2 (~> 2.3.0)
56
+ power_assert (1.1.1)
57
+ rack (2.0.4)
58
+ rack-test (0.8.3)
59
+ rack (>= 1.0, < 3)
57
60
  rails-dom-testing (2.0.3)
58
61
  activesupport (>= 4.2.0)
59
62
  nokogiri (>= 1.6)
60
63
  rails-html-sanitizer (1.0.3)
61
64
  loofah (~> 2.0)
62
- railties (5.1.1)
63
- actionpack (= 5.1.1)
64
- activesupport (= 5.1.1)
65
+ railties (5.1.5)
66
+ actionpack (= 5.1.5)
67
+ activesupport (= 5.1.5)
65
68
  method_source
66
69
  rake (>= 0.8.7)
67
70
  thor (>= 0.18.1, < 2.0)
68
- rake (12.0.0)
69
- rspec-core (3.6.0)
70
- rspec-support (~> 3.6.0)
71
- rspec-expectations (3.6.0)
71
+ rake (12.3.0)
72
+ rspec-core (3.7.1)
73
+ rspec-support (~> 3.7.0)
74
+ rspec-expectations (3.7.0)
72
75
  diff-lcs (>= 1.2.0, < 2.0)
73
- rspec-support (~> 3.6.0)
74
- rspec-mocks (3.6.0)
76
+ rspec-support (~> 3.7.0)
77
+ rspec-mocks (3.7.0)
75
78
  diff-lcs (>= 1.2.0, < 2.0)
76
- rspec-support (~> 3.6.0)
77
- rspec-rails (3.6.0)
79
+ rspec-support (~> 3.7.0)
80
+ rspec-rails (3.7.2)
78
81
  actionpack (>= 3.0)
79
82
  activesupport (>= 3.0)
80
83
  railties (>= 3.0)
81
- rspec-core (~> 3.6.0)
82
- rspec-expectations (~> 3.6.0)
83
- rspec-mocks (~> 3.6.0)
84
- rspec-support (~> 3.6.0)
85
- rspec-support (3.6.0)
84
+ rspec-core (~> 3.7.0)
85
+ rspec-expectations (~> 3.7.0)
86
+ rspec-mocks (~> 3.7.0)
87
+ rspec-support (~> 3.7.0)
88
+ rspec-support (3.7.1)
86
89
  sqlite3 (1.3.13)
87
- test-unit (3.2.4)
90
+ test-unit (3.2.7)
88
91
  power_assert
89
- thor (0.19.4)
92
+ thor (0.20.0)
90
93
  thread_safe (0.3.6)
91
- tzinfo (1.2.3)
94
+ tzinfo (1.2.5)
92
95
  thread_safe (~> 0.1)
93
96
 
94
97
  PLATFORMS
95
98
  ruby
96
99
 
97
100
  DEPENDENCIES
98
- actionpack (~> 5.1)
99
- activerecord (~> 5.1)
101
+ actionpack (~> 5.1.0)
102
+ activerecord (~> 5.1.0)
100
103
  appraisal
101
104
  lol_dba!
102
- railties (~> 5.1)
105
+ railties (~> 5.1.0)
103
106
  rspec-rails
104
107
  sqlite3
105
108
  test-unit
106
109
 
107
110
  BUNDLED WITH
108
- 1.15.1
111
+ 1.16.1
@@ -80,8 +80,8 @@ EOM
80
80
  end
81
81
 
82
82
  model_classes = []
83
- ObjectSpace.each_object(Module) do |obj|
84
- if Class == obj.class && obj != ActiveRecord::Base && obj.ancestors.include?(ActiveRecord::Base) && (!defined?(ActiveRecord::SessionStore::Session) || obj != ActiveRecord::SessionStore::Session)
83
+ ActiveRecord::Base.descendants.each do |obj|
84
+ if Class == obj.class && (!defined?(ActiveRecord::SessionStore::Session) || obj != ActiveRecord::SessionStore::Session)
85
85
  model_classes << obj
86
86
  end
87
87
  end
@@ -1,3 +1,3 @@
1
1
  module LolDba
2
- VERSION = "2.1.4" unless defined? LolDba::VERSION
2
+ VERSION = "2.1.5" unless defined? LolDba::VERSION
3
3
  end
@@ -1,6 +1,6 @@
1
1
  require 'spec_helper'
2
2
 
3
- describe "Collect indexes based on associations:" do
3
+ RSpec.describe "Collect indexes based on associations:" do
4
4
 
5
5
  before :all do
6
6
  lol_dba = LolDba.check_for_indexes
@@ -1,6 +1,6 @@
1
1
  require 'spec_helper'
2
2
 
3
- describe "Function form_migration_content:" do
3
+ RSpec.describe "Function form_migration_content:" do
4
4
 
5
5
  before do
6
6
  @add = ["add_index :report, :_id_test_plan"]
@@ -17,7 +17,7 @@ describe "Function form_migration_content:" do
17
17
  end
18
18
  end
19
19
 
20
- describe "Function form_data_for_migration:" do
20
+ RSpec.describe "Function form_data_for_migration:" do
21
21
 
22
22
  it "return data for migrations for non-indexed single key in table" do
23
23
  relationship_indexes = {:users => [:user_id]}
@@ -46,7 +46,7 @@ describe "Function form_data_for_migration:" do
46
46
 
47
47
  end
48
48
 
49
- describe "Function key_exists?:" do
49
+ RSpec.describe "Function key_exists?:" do
50
50
 
51
51
  it "return true if key is already indexed" do
52
52
  expect(LolDba.key_exists?("companies", "country_id")).to be_truthy
@@ -66,7 +66,7 @@ describe "Function key_exists?:" do
66
66
 
67
67
  end
68
68
 
69
- describe "Function puts_migration_content:" do
69
+ RSpec.describe "Function puts_migration_content:" do
70
70
 
71
71
  before do
72
72
  @relationship_indexes, warning_messages = LolDba.check_for_indexes
@@ -93,4 +93,4 @@ describe "Function puts_migration_content:" do
93
93
  LolDba.puts_migration_content("TestMigration",{}, "")
94
94
  end
95
95
 
96
- end
96
+ end
@@ -1,6 +1,5 @@
1
1
  require 'rails/all'
2
2
  require 'lol_dba'
3
- require 'rspec/rails'
4
3
 
5
4
  ENV["RAILS_ENV"] ||= 'test'
6
5
 
@@ -23,3 +22,13 @@ root_dir = File.dirname(__FILE__)
23
22
 
24
23
  #add current dir to the load path
25
24
  $:.unshift('.')
25
+ RSpec.configure do |config|
26
+ config.expect_with :rspec do |expectations|
27
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
28
+ end
29
+ config.mock_with :rspec do |mocks|
30
+ mocks.allow_message_expectations_on_nil = true
31
+ mocks.verify_partial_doubles = true
32
+ end
33
+ config.disable_monkey_patching!
34
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lol_dba
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.4
4
+ version: 2.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Diego Plentz
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2017-07-04 00:00:00.000000000 Z
15
+ date: 2018-03-04 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: activerecord
@@ -156,7 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
156
156
  version: '0'
157
157
  requirements: []
158
158
  rubyforge_project:
159
- rubygems_version: 2.6.11
159
+ rubygems_version: 2.7.6
160
160
  signing_key:
161
161
  specification_version: 4
162
162
  summary: A small package of rake tasks to track down missing database indexes and