lol_dba 2.1.2 → 2.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1eb862f72474561328443108c60b5471004f6b4c
4
- data.tar.gz: c41dd4604eaa71dc66086a894b349baa5736e07a
3
+ metadata.gz: d5708b98402c2d75c94e3a22dec8d38c590738a4
4
+ data.tar.gz: e845013005889035fa6d03ad5faf579365226d37
5
5
  SHA512:
6
- metadata.gz: 9d26a8031db16786d8af5d31c6d420f48560c8b514468bdd0861994929e1d5d2b6f04cca13ab3cd36e0fb1fe5cfde3c759def79452d6acb8dfbe46ded5709936
7
- data.tar.gz: 9df7446dff0854eea8a597a13e9f01fe4f306057895ce98280b0bf45bfdeebac8a149643eec1ecd193bce901d54ed5b8880e6dbae2d26cacead990f333c5b330
6
+ metadata.gz: ce7b54e95d682597c8fa0a539a9d9e2c98c54d8aca4e642bf707069c3c3e174b1d34c127c24b634c4f7a7430bc80267e9741c57b20c242d3d415567afeb65658
7
+ data.tar.gz: 81e37a772a2f044aa11a0e1de544ab3cce0ea6d40d254ca72e99bc2ca4c083b529fbc296052a82f6dbcd8a1884d72249e62eed16e58365171957bb9ebe09d31c
data/.travis.yml CHANGED
@@ -3,9 +3,9 @@
3
3
  sudo: false
4
4
  language: ruby
5
5
  rvm:
6
- - 2.2.6
7
- - 2.3.3
8
- - 2.4.0
6
+ - 2.2.7
7
+ - 2.3.4
8
+ - 2.4.1
9
9
  - ruby-head
10
10
  gemfile:
11
11
  - gemfiles/rails_3_2.gemfile
@@ -13,6 +13,7 @@ gemfile:
13
13
  - gemfiles/rails_4_1.gemfile
14
14
  - gemfiles/rails_4_2.gemfile
15
15
  - gemfiles/rails_5_0.gemfile
16
+ - gemfiles/rails_5_1.gemfile
16
17
  script: "bundle exec rake"
17
18
  notifications:
18
19
  recipients:
data/Appraisals CHANGED
@@ -32,3 +32,10 @@ appraise "rails_5_0" do
32
32
  gem 'actionpack', version
33
33
  gem 'railties', version
34
34
  end
35
+
36
+ appraise "rails_5_1" do
37
+ version = "~> 5.1"
38
+ gem 'activerecord', version
39
+ gem 'actionpack', version
40
+ gem 'railties', version
41
+ end
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lol_dba (2.1.2)
4
+ lol_dba (2.1.3)
5
5
  actionpack (>= 3.0)
6
6
  activerecord (>= 3.0)
7
7
  railties (>= 3.0)
@@ -9,82 +9,82 @@ PATH
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- actionpack (5.0.2)
13
- actionview (= 5.0.2)
14
- activesupport (= 5.0.2)
12
+ actionpack (5.1.1)
13
+ actionview (= 5.1.1)
14
+ activesupport (= 5.1.1)
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.0.2)
20
- activesupport (= 5.0.2)
19
+ actionview (5.1.1)
20
+ activesupport (= 5.1.1)
21
21
  builder (~> 3.1)
22
- erubis (~> 2.7.0)
22
+ erubi (~> 1.4)
23
23
  rails-dom-testing (~> 2.0)
24
24
  rails-html-sanitizer (~> 1.0, >= 1.0.3)
25
- activemodel (5.0.2)
26
- activesupport (= 5.0.2)
27
- activerecord (5.0.2)
28
- activemodel (= 5.0.2)
29
- activesupport (= 5.0.2)
30
- arel (~> 7.0)
31
- activesupport (5.0.2)
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)
32
32
  concurrent-ruby (~> 1.0, >= 1.0.2)
33
33
  i18n (~> 0.7)
34
34
  minitest (~> 5.1)
35
35
  tzinfo (~> 1.1)
36
- appraisal (1.0.3)
36
+ appraisal (2.2.0)
37
37
  bundler
38
38
  rake
39
39
  thor (>= 0.14.0)
40
- arel (7.1.4)
40
+ arel (8.0.0)
41
41
  builder (3.2.3)
42
42
  concurrent-ruby (1.0.5)
43
43
  diff-lcs (1.3)
44
- erubis (2.7.0)
45
- i18n (0.8.1)
44
+ erubi (1.6.0)
45
+ i18n (0.8.4)
46
46
  loofah (2.0.3)
47
47
  nokogiri (>= 1.5.9)
48
48
  method_source (0.8.2)
49
- mini_portile2 (2.1.0)
50
- minitest (5.10.1)
51
- nokogiri (1.7.1)
52
- mini_portile2 (~> 2.1.0)
53
- power_assert (1.0.1)
54
- rack (2.0.1)
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
55
  rack-test (0.6.3)
56
56
  rack (>= 1.0)
57
- rails-dom-testing (2.0.2)
58
- activesupport (>= 4.2.0, < 6.0)
59
- nokogiri (~> 1.6)
57
+ rails-dom-testing (2.0.3)
58
+ activesupport (>= 4.2.0)
59
+ nokogiri (>= 1.6)
60
60
  rails-html-sanitizer (1.0.3)
61
61
  loofah (~> 2.0)
62
- railties (5.0.2)
63
- actionpack (= 5.0.2)
64
- activesupport (= 5.0.2)
62
+ railties (5.1.1)
63
+ actionpack (= 5.1.1)
64
+ activesupport (= 5.1.1)
65
65
  method_source
66
66
  rake (>= 0.8.7)
67
67
  thor (>= 0.18.1, < 2.0)
68
68
  rake (12.0.0)
69
- rspec-core (3.5.4)
70
- rspec-support (~> 3.5.0)
71
- rspec-expectations (3.5.0)
69
+ rspec-core (3.6.0)
70
+ rspec-support (~> 3.6.0)
71
+ rspec-expectations (3.6.0)
72
72
  diff-lcs (>= 1.2.0, < 2.0)
73
- rspec-support (~> 3.5.0)
74
- rspec-mocks (3.5.0)
73
+ rspec-support (~> 3.6.0)
74
+ rspec-mocks (3.6.0)
75
75
  diff-lcs (>= 1.2.0, < 2.0)
76
- rspec-support (~> 3.5.0)
77
- rspec-rails (3.5.2)
76
+ rspec-support (~> 3.6.0)
77
+ rspec-rails (3.6.0)
78
78
  actionpack (>= 3.0)
79
79
  activesupport (>= 3.0)
80
80
  railties (>= 3.0)
81
- rspec-core (~> 3.5.0)
82
- rspec-expectations (~> 3.5.0)
83
- rspec-mocks (~> 3.5.0)
84
- rspec-support (~> 3.5.0)
85
- rspec-support (3.5.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)
86
86
  sqlite3 (1.3.13)
87
- test-unit (3.2.3)
87
+ test-unit (3.2.4)
88
88
  power_assert
89
89
  thor (0.19.4)
90
90
  thread_safe (0.3.6)
@@ -97,7 +97,7 @@ PLATFORMS
97
97
  DEPENDENCIES
98
98
  actionpack
99
99
  activerecord
100
- appraisal (~> 1.0)
100
+ appraisal
101
101
  lol_dba!
102
102
  railties
103
103
  rspec-rails
@@ -105,4 +105,4 @@ DEPENDENCIES
105
105
  test-unit
106
106
 
107
107
  BUNDLED WITH
108
- 1.14.3
108
+ 1.15.1
@@ -9,4 +9,4 @@ gem "rspec-rails"
9
9
  gem "test-unit"
10
10
  gem "sqlite3"
11
11
 
12
- gemspec :path => "../"
12
+ gemspec path: "../"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- lol_dba (2.1.2)
4
+ lol_dba (2.1.3)
5
5
  actionpack (>= 3.0)
6
6
  activerecord (>= 3.0)
7
7
  railties (>= 3.0)
@@ -30,7 +30,7 @@ GEM
30
30
  activesupport (3.2.22.5)
31
31
  i18n (~> 0.6, >= 0.6.4)
32
32
  multi_json (~> 1.0)
33
- appraisal (1.0.3)
33
+ appraisal (2.2.0)
34
34
  bundler
35
35
  rake
36
36
  thor (>= 0.14.0)
@@ -39,11 +39,11 @@ GEM
39
39
  diff-lcs (1.3)
40
40
  erubis (2.7.0)
41
41
  hike (1.2.3)
42
- i18n (0.8.1)
42
+ i18n (0.8.4)
43
43
  journey (1.0.4)
44
44
  json (1.8.6)
45
45
  multi_json (1.12.1)
46
- power_assert (1.0.1)
46
+ power_assert (1.0.2)
47
47
  rack (1.4.7)
48
48
  rack-cache (1.7.0)
49
49
  rack (>= 0.4)
@@ -61,30 +61,30 @@ GEM
61
61
  rake (12.0.0)
62
62
  rdoc (3.12.2)
63
63
  json (~> 1.4)
64
- rspec-core (3.5.4)
65
- rspec-support (~> 3.5.0)
66
- rspec-expectations (3.5.0)
64
+ rspec-core (3.6.0)
65
+ rspec-support (~> 3.6.0)
66
+ rspec-expectations (3.6.0)
67
67
  diff-lcs (>= 1.2.0, < 2.0)
68
- rspec-support (~> 3.5.0)
69
- rspec-mocks (3.5.0)
68
+ rspec-support (~> 3.6.0)
69
+ rspec-mocks (3.6.0)
70
70
  diff-lcs (>= 1.2.0, < 2.0)
71
- rspec-support (~> 3.5.0)
72
- rspec-rails (3.5.2)
71
+ rspec-support (~> 3.6.0)
72
+ rspec-rails (3.6.0)
73
73
  actionpack (>= 3.0)
74
74
  activesupport (>= 3.0)
75
75
  railties (>= 3.0)
76
- rspec-core (~> 3.5.0)
77
- rspec-expectations (~> 3.5.0)
78
- rspec-mocks (~> 3.5.0)
79
- rspec-support (~> 3.5.0)
80
- rspec-support (3.5.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)
81
81
  sprockets (2.2.3)
82
82
  hike (~> 1.2)
83
83
  multi_json (~> 1.0)
84
84
  rack (~> 1.0)
85
85
  tilt (~> 1.1, != 1.3.0)
86
86
  sqlite3 (1.3.13)
87
- test-unit (3.2.3)
87
+ test-unit (3.2.4)
88
88
  power_assert
89
89
  thor (0.19.4)
90
90
  tilt (1.4.1)
@@ -96,7 +96,7 @@ PLATFORMS
96
96
  DEPENDENCIES
97
97
  actionpack (~> 3.2.21)
98
98
  activerecord (~> 3.2.21)
99
- appraisal (~> 1.0)
99
+ appraisal
100
100
  lol_dba!
101
101
  railties (~> 3.2.21)
102
102
  rspec-rails
@@ -104,4 +104,4 @@ DEPENDENCIES
104
104
  test-unit
105
105
 
106
106
  BUNDLED WITH
107
- 1.14.3
107
+ 1.15.1
@@ -9,4 +9,4 @@ gem "rspec-rails"
9
9
  gem "test-unit"
10
10
  gem "sqlite3"
11
11
 
12
- gemspec :path => "../"
12
+ gemspec path: "../"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- lol_dba (2.1.2)
4
+ lol_dba (2.1.3)
5
5
  actionpack (>= 3.0)
6
6
  activerecord (>= 3.0)
7
7
  railties (>= 3.0)
@@ -30,7 +30,7 @@ GEM
30
30
  multi_json (~> 1.3)
31
31
  thread_safe (~> 0.1)
32
32
  tzinfo (~> 0.3.37)
33
- appraisal (1.0.3)
33
+ appraisal (2.2.0)
34
34
  bundler
35
35
  rake
36
36
  thor (>= 0.14.0)
@@ -38,10 +38,10 @@ GEM
38
38
  builder (3.1.4)
39
39
  diff-lcs (1.3)
40
40
  erubis (2.7.0)
41
- i18n (0.8.1)
41
+ i18n (0.8.4)
42
42
  minitest (4.7.5)
43
43
  multi_json (1.12.1)
44
- power_assert (1.0.1)
44
+ power_assert (1.0.2)
45
45
  rack (1.5.5)
46
46
  rack-test (0.6.3)
47
47
  rack (>= 1.0)
@@ -51,25 +51,25 @@ GEM
51
51
  rake (>= 0.8.7)
52
52
  thor (>= 0.18.1, < 2.0)
53
53
  rake (12.0.0)
54
- rspec-core (3.5.4)
55
- rspec-support (~> 3.5.0)
56
- rspec-expectations (3.5.0)
54
+ rspec-core (3.6.0)
55
+ rspec-support (~> 3.6.0)
56
+ rspec-expectations (3.6.0)
57
57
  diff-lcs (>= 1.2.0, < 2.0)
58
- rspec-support (~> 3.5.0)
59
- rspec-mocks (3.5.0)
58
+ rspec-support (~> 3.6.0)
59
+ rspec-mocks (3.6.0)
60
60
  diff-lcs (>= 1.2.0, < 2.0)
61
- rspec-support (~> 3.5.0)
62
- rspec-rails (3.5.2)
61
+ rspec-support (~> 3.6.0)
62
+ rspec-rails (3.6.0)
63
63
  actionpack (>= 3.0)
64
64
  activesupport (>= 3.0)
65
65
  railties (>= 3.0)
66
- rspec-core (~> 3.5.0)
67
- rspec-expectations (~> 3.5.0)
68
- rspec-mocks (~> 3.5.0)
69
- rspec-support (~> 3.5.0)
70
- rspec-support (3.5.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)
71
71
  sqlite3 (1.3.13)
72
- test-unit (3.2.3)
72
+ test-unit (3.2.4)
73
73
  power_assert
74
74
  thor (0.19.4)
75
75
  thread_safe (0.3.6)
@@ -81,7 +81,7 @@ PLATFORMS
81
81
  DEPENDENCIES
82
82
  actionpack (~> 4.0.13)
83
83
  activerecord (~> 4.0.13)
84
- appraisal (~> 1.0)
84
+ appraisal
85
85
  lol_dba!
86
86
  railties (~> 4.0.13)
87
87
  rspec-rails
@@ -89,4 +89,4 @@ DEPENDENCIES
89
89
  test-unit
90
90
 
91
91
  BUNDLED WITH
92
- 1.14.3
92
+ 1.15.1
@@ -9,4 +9,4 @@ gem "rspec-rails"
9
9
  gem "test-unit"
10
10
  gem "sqlite3"
11
11
 
12
- gemspec :path => "../"
12
+ gemspec path: "../"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- lol_dba (2.1.2)
4
+ lol_dba (2.1.3)
5
5
  actionpack (>= 3.0)
6
6
  activerecord (>= 3.0)
7
7
  railties (>= 3.0)
@@ -31,7 +31,7 @@ GEM
31
31
  minitest (~> 5.1)
32
32
  thread_safe (~> 0.1)
33
33
  tzinfo (~> 1.1)
34
- appraisal (1.0.3)
34
+ appraisal (2.2.0)
35
35
  bundler
36
36
  rake
37
37
  thor (>= 0.14.0)
@@ -39,10 +39,10 @@ GEM
39
39
  builder (3.2.3)
40
40
  diff-lcs (1.3)
41
41
  erubis (2.7.0)
42
- i18n (0.8.1)
42
+ i18n (0.8.4)
43
43
  json (1.8.6)
44
- minitest (5.10.1)
45
- power_assert (1.0.1)
44
+ minitest (5.10.2)
45
+ power_assert (1.0.2)
46
46
  rack (1.5.5)
47
47
  rack-test (0.6.3)
48
48
  rack (>= 1.0)
@@ -52,25 +52,25 @@ GEM
52
52
  rake (>= 0.8.7)
53
53
  thor (>= 0.18.1, < 2.0)
54
54
  rake (12.0.0)
55
- rspec-core (3.5.4)
56
- rspec-support (~> 3.5.0)
57
- rspec-expectations (3.5.0)
55
+ rspec-core (3.6.0)
56
+ rspec-support (~> 3.6.0)
57
+ rspec-expectations (3.6.0)
58
58
  diff-lcs (>= 1.2.0, < 2.0)
59
- rspec-support (~> 3.5.0)
60
- rspec-mocks (3.5.0)
59
+ rspec-support (~> 3.6.0)
60
+ rspec-mocks (3.6.0)
61
61
  diff-lcs (>= 1.2.0, < 2.0)
62
- rspec-support (~> 3.5.0)
63
- rspec-rails (3.5.2)
62
+ rspec-support (~> 3.6.0)
63
+ rspec-rails (3.6.0)
64
64
  actionpack (>= 3.0)
65
65
  activesupport (>= 3.0)
66
66
  railties (>= 3.0)
67
- rspec-core (~> 3.5.0)
68
- rspec-expectations (~> 3.5.0)
69
- rspec-mocks (~> 3.5.0)
70
- rspec-support (~> 3.5.0)
71
- rspec-support (3.5.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)
72
72
  sqlite3 (1.3.13)
73
- test-unit (3.2.3)
73
+ test-unit (3.2.4)
74
74
  power_assert
75
75
  thor (0.19.4)
76
76
  thread_safe (0.3.6)
@@ -83,7 +83,7 @@ PLATFORMS
83
83
  DEPENDENCIES
84
84
  actionpack (~> 4.1.9)
85
85
  activerecord (~> 4.1.9)
86
- appraisal (~> 1.0)
86
+ appraisal
87
87
  lol_dba!
88
88
  railties (~> 4.1.9)
89
89
  rspec-rails
@@ -91,4 +91,4 @@ DEPENDENCIES
91
91
  test-unit
92
92
 
93
93
  BUNDLED WITH
94
- 1.14.3
94
+ 1.15.1
@@ -9,4 +9,4 @@ gem "rspec-rails"
9
9
  gem "test-unit"
10
10
  gem "sqlite3"
11
11
 
12
- gemspec :path => "../"
12
+ gemspec path: "../"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- lol_dba (2.1.2)
4
+ lol_dba (2.1.3)
5
5
  actionpack (>= 3.0)
6
6
  activerecord (>= 3.0)
7
7
  railties (>= 3.0)
@@ -34,7 +34,7 @@ GEM
34
34
  minitest (~> 5.1)
35
35
  thread_safe (~> 0.3, >= 0.3.4)
36
36
  tzinfo (~> 1.1)
37
- appraisal (1.0.3)
37
+ appraisal (2.2.0)
38
38
  bundler
39
39
  rake
40
40
  thor (>= 0.14.0)
@@ -42,15 +42,15 @@ GEM
42
42
  builder (3.2.3)
43
43
  diff-lcs (1.3)
44
44
  erubis (2.7.0)
45
- i18n (0.8.1)
45
+ i18n (0.8.4)
46
46
  loofah (2.0.3)
47
47
  nokogiri (>= 1.5.9)
48
- mini_portile2 (2.1.0)
49
- minitest (5.10.1)
50
- nokogiri (1.7.1)
51
- mini_portile2 (~> 2.1.0)
52
- power_assert (1.0.1)
53
- rack (1.6.5)
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)
54
54
  rack-test (0.6.3)
55
55
  rack (>= 1.0)
56
56
  rails-deprecated_sanitizer (1.0.3)
@@ -67,25 +67,25 @@ GEM
67
67
  rake (>= 0.8.7)
68
68
  thor (>= 0.18.1, < 2.0)
69
69
  rake (12.0.0)
70
- rspec-core (3.5.4)
71
- rspec-support (~> 3.5.0)
72
- rspec-expectations (3.5.0)
70
+ rspec-core (3.6.0)
71
+ rspec-support (~> 3.6.0)
72
+ rspec-expectations (3.6.0)
73
73
  diff-lcs (>= 1.2.0, < 2.0)
74
- rspec-support (~> 3.5.0)
75
- rspec-mocks (3.5.0)
74
+ rspec-support (~> 3.6.0)
75
+ rspec-mocks (3.6.0)
76
76
  diff-lcs (>= 1.2.0, < 2.0)
77
- rspec-support (~> 3.5.0)
78
- rspec-rails (3.5.2)
77
+ rspec-support (~> 3.6.0)
78
+ rspec-rails (3.6.0)
79
79
  actionpack (>= 3.0)
80
80
  activesupport (>= 3.0)
81
81
  railties (>= 3.0)
82
- rspec-core (~> 3.5.0)
83
- rspec-expectations (~> 3.5.0)
84
- rspec-mocks (~> 3.5.0)
85
- rspec-support (~> 3.5.0)
86
- rspec-support (3.5.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)
87
87
  sqlite3 (1.3.13)
88
- test-unit (3.2.3)
88
+ test-unit (3.2.4)
89
89
  power_assert
90
90
  thor (0.19.4)
91
91
  thread_safe (0.3.6)
@@ -98,7 +98,7 @@ PLATFORMS
98
98
  DEPENDENCIES
99
99
  actionpack (~> 4.2.0)
100
100
  activerecord (~> 4.2.0)
101
- appraisal (~> 1.0)
101
+ appraisal
102
102
  lol_dba!
103
103
  railties (~> 4.2.0)
104
104
  rspec-rails
@@ -106,4 +106,4 @@ DEPENDENCIES
106
106
  test-unit
107
107
 
108
108
  BUNDLED WITH
109
- 1.14.3
109
+ 1.15.1
@@ -9,4 +9,4 @@ gem "rspec-rails"
9
9
  gem "test-unit"
10
10
  gem "sqlite3"
11
11
 
12
- gemspec :path => "../"
12
+ gemspec path: "../"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- lol_dba (2.1.2)
4
+ lol_dba (2.1.3)
5
5
  actionpack (>= 3.0)
6
6
  activerecord (>= 3.0)
7
7
  railties (>= 3.0)
@@ -9,82 +9,82 @@ PATH
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- actionpack (5.0.2)
13
- actionview (= 5.0.2)
14
- activesupport (= 5.0.2)
12
+ actionpack (5.1.1)
13
+ actionview (= 5.1.1)
14
+ activesupport (= 5.1.1)
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.0.2)
20
- activesupport (= 5.0.2)
19
+ actionview (5.1.1)
20
+ activesupport (= 5.1.1)
21
21
  builder (~> 3.1)
22
- erubis (~> 2.7.0)
22
+ erubi (~> 1.4)
23
23
  rails-dom-testing (~> 2.0)
24
24
  rails-html-sanitizer (~> 1.0, >= 1.0.3)
25
- activemodel (5.0.2)
26
- activesupport (= 5.0.2)
27
- activerecord (5.0.2)
28
- activemodel (= 5.0.2)
29
- activesupport (= 5.0.2)
30
- arel (~> 7.0)
31
- activesupport (5.0.2)
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)
32
32
  concurrent-ruby (~> 1.0, >= 1.0.2)
33
33
  i18n (~> 0.7)
34
34
  minitest (~> 5.1)
35
35
  tzinfo (~> 1.1)
36
- appraisal (1.0.3)
36
+ appraisal (2.2.0)
37
37
  bundler
38
38
  rake
39
39
  thor (>= 0.14.0)
40
- arel (7.1.4)
40
+ arel (8.0.0)
41
41
  builder (3.2.3)
42
42
  concurrent-ruby (1.0.5)
43
43
  diff-lcs (1.3)
44
- erubis (2.7.0)
45
- i18n (0.8.1)
44
+ erubi (1.6.0)
45
+ i18n (0.8.4)
46
46
  loofah (2.0.3)
47
47
  nokogiri (>= 1.5.9)
48
48
  method_source (0.8.2)
49
- mini_portile2 (2.1.0)
50
- minitest (5.10.1)
51
- nokogiri (1.7.1)
52
- mini_portile2 (~> 2.1.0)
53
- power_assert (1.0.1)
54
- rack (2.0.1)
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
55
  rack-test (0.6.3)
56
56
  rack (>= 1.0)
57
- rails-dom-testing (2.0.2)
58
- activesupport (>= 4.2.0, < 6.0)
59
- nokogiri (~> 1.6)
57
+ rails-dom-testing (2.0.3)
58
+ activesupport (>= 4.2.0)
59
+ nokogiri (>= 1.6)
60
60
  rails-html-sanitizer (1.0.3)
61
61
  loofah (~> 2.0)
62
- railties (5.0.2)
63
- actionpack (= 5.0.2)
64
- activesupport (= 5.0.2)
62
+ railties (5.1.1)
63
+ actionpack (= 5.1.1)
64
+ activesupport (= 5.1.1)
65
65
  method_source
66
66
  rake (>= 0.8.7)
67
67
  thor (>= 0.18.1, < 2.0)
68
68
  rake (12.0.0)
69
- rspec-core (3.5.4)
70
- rspec-support (~> 3.5.0)
71
- rspec-expectations (3.5.0)
69
+ rspec-core (3.6.0)
70
+ rspec-support (~> 3.6.0)
71
+ rspec-expectations (3.6.0)
72
72
  diff-lcs (>= 1.2.0, < 2.0)
73
- rspec-support (~> 3.5.0)
74
- rspec-mocks (3.5.0)
73
+ rspec-support (~> 3.6.0)
74
+ rspec-mocks (3.6.0)
75
75
  diff-lcs (>= 1.2.0, < 2.0)
76
- rspec-support (~> 3.5.0)
77
- rspec-rails (3.5.2)
76
+ rspec-support (~> 3.6.0)
77
+ rspec-rails (3.6.0)
78
78
  actionpack (>= 3.0)
79
79
  activesupport (>= 3.0)
80
80
  railties (>= 3.0)
81
- rspec-core (~> 3.5.0)
82
- rspec-expectations (~> 3.5.0)
83
- rspec-mocks (~> 3.5.0)
84
- rspec-support (~> 3.5.0)
85
- rspec-support (3.5.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)
86
86
  sqlite3 (1.3.13)
87
- test-unit (3.2.3)
87
+ test-unit (3.2.4)
88
88
  power_assert
89
89
  thor (0.19.4)
90
90
  thread_safe (0.3.6)
@@ -97,7 +97,7 @@ PLATFORMS
97
97
  DEPENDENCIES
98
98
  actionpack (~> 5.0)
99
99
  activerecord (~> 5.0)
100
- appraisal (~> 1.0)
100
+ appraisal
101
101
  lol_dba!
102
102
  railties (~> 5.0)
103
103
  rspec-rails
@@ -105,4 +105,4 @@ DEPENDENCIES
105
105
  test-unit
106
106
 
107
107
  BUNDLED WITH
108
- 1.14.3
108
+ 1.15.1
@@ -0,0 +1,12 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "~> 5.1"
6
+ gem "actionpack", "~> 5.1"
7
+ gem "railties", "~> 5.1"
8
+ gem "rspec-rails"
9
+ gem "test-unit"
10
+ gem "sqlite3"
11
+
12
+ gemspec path: "../"
@@ -0,0 +1,108 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ lol_dba (2.1.3)
5
+ actionpack (>= 3.0)
6
+ activerecord (>= 3.0)
7
+ railties (>= 3.0)
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ actionpack (5.1.1)
13
+ actionview (= 5.1.1)
14
+ activesupport (= 5.1.1)
15
+ rack (~> 2.0)
16
+ rack-test (~> 0.6.3)
17
+ rails-dom-testing (~> 2.0)
18
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
19
+ actionview (5.1.1)
20
+ activesupport (= 5.1.1)
21
+ builder (~> 3.1)
22
+ erubi (~> 1.4)
23
+ rails-dom-testing (~> 2.0)
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)
32
+ concurrent-ruby (~> 1.0, >= 1.0.2)
33
+ i18n (~> 0.7)
34
+ minitest (~> 5.1)
35
+ tzinfo (~> 1.1)
36
+ appraisal (2.2.0)
37
+ bundler
38
+ rake
39
+ thor (>= 0.14.0)
40
+ arel (8.0.0)
41
+ builder (3.2.3)
42
+ concurrent-ruby (1.0.5)
43
+ diff-lcs (1.3)
44
+ erubi (1.6.0)
45
+ i18n (0.8.4)
46
+ loofah (2.0.3)
47
+ 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)
57
+ rails-dom-testing (2.0.3)
58
+ activesupport (>= 4.2.0)
59
+ nokogiri (>= 1.6)
60
+ rails-html-sanitizer (1.0.3)
61
+ loofah (~> 2.0)
62
+ railties (5.1.1)
63
+ actionpack (= 5.1.1)
64
+ activesupport (= 5.1.1)
65
+ method_source
66
+ rake (>= 0.8.7)
67
+ 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)
72
+ diff-lcs (>= 1.2.0, < 2.0)
73
+ rspec-support (~> 3.6.0)
74
+ rspec-mocks (3.6.0)
75
+ diff-lcs (>= 1.2.0, < 2.0)
76
+ rspec-support (~> 3.6.0)
77
+ rspec-rails (3.6.0)
78
+ actionpack (>= 3.0)
79
+ activesupport (>= 3.0)
80
+ 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)
86
+ sqlite3 (1.3.13)
87
+ test-unit (3.2.4)
88
+ power_assert
89
+ thor (0.19.4)
90
+ thread_safe (0.3.6)
91
+ tzinfo (1.2.3)
92
+ thread_safe (~> 0.1)
93
+
94
+ PLATFORMS
95
+ ruby
96
+
97
+ DEPENDENCIES
98
+ actionpack (~> 5.1)
99
+ activerecord (~> 5.1)
100
+ appraisal
101
+ lol_dba!
102
+ railties (~> 5.1)
103
+ rspec-rails
104
+ sqlite3
105
+ test-unit
106
+
107
+ BUNDLED WITH
108
+ 1.15.1
@@ -1,7 +1,7 @@
1
1
  module LolDba
2
2
  class SqlGenerator
3
3
  class << self
4
-
4
+
5
5
  def connection
6
6
  ActiveRecord::Base.connection
7
7
  end
@@ -40,23 +40,23 @@ module LolDba
40
40
  connection.class.send(:alias_method, "orig_#{method_name}".to_sym, method_name)
41
41
  end
42
42
  end
43
-
43
+
44
44
  def reset_methods
45
45
  methods_to_modify.each do |method_name|
46
46
  connection.class.send(:alias_method, method_name, "orig_#{method_name}".to_sym) rescue nil
47
47
  end
48
48
  end
49
-
49
+
50
50
  def generate_instead_of_executing(&block)
51
51
  LolDba::Writer.reset
52
52
  redefine_execute_methods
53
53
  yield
54
54
  reset_methods
55
55
  end
56
-
56
+
57
57
  def migrations(which)
58
58
  migrator = nil
59
- if ::ActiveRecord::VERSION::MAJOR =~ /^4./
59
+ if ::ActiveRecord::VERSION::MAJOR == 4
60
60
  migrator = ActiveRecord::Migrator.new(:up, ActiveRecord::Migrator.migrations(ActiveRecord::Migrator.migrations_path))
61
61
  else
62
62
  migrator = ActiveRecord::Migrator.new(:up, ActiveRecord::Migrator.migrations_path)
@@ -79,11 +79,11 @@ module LolDba
79
79
  end
80
80
  end
81
81
  end
82
-
82
+
83
83
  def generate(which)
84
84
  generate_instead_of_executing { migrations(which).each { |file| up_and_down(file) } }
85
85
  end
86
-
86
+
87
87
  def up_and_down(file)
88
88
  migration = LolDba::Migration.new(file)
89
89
  LolDba::Writer.file_name = "#{migration}.sql"
@@ -1,3 +1,3 @@
1
1
  module LolDba
2
- VERSION = "2.1.2" unless defined? LolDba::VERSION
2
+ VERSION = "2.1.3" unless defined? LolDba::VERSION
3
3
  end
data/lol_dba.gemspec CHANGED
@@ -23,5 +23,5 @@ Gem::Specification.new do |s|
23
23
  s.add_dependency "actionpack", ">= 3.0"
24
24
  s.add_dependency "railties", ">= 3.0"
25
25
 
26
- s.add_development_dependency "appraisal", "~> 1.0"
26
+ s.add_development_dependency "appraisal"
27
27
  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.2
4
+ version: 2.1.3
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-04-05 00:00:00.000000000 Z
15
+ date: 2017-06-15 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: activerecord
@@ -60,16 +60,16 @@ dependencies:
60
60
  name: appraisal
61
61
  requirement: !ruby/object:Gem::Requirement
62
62
  requirements:
63
- - - "~>"
63
+ - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: '1.0'
65
+ version: '0'
66
66
  type: :development
67
67
  prerelease: false
68
68
  version_requirements: !ruby/object:Gem::Requirement
69
69
  requirements:
70
- - - "~>"
70
+ - - ">="
71
71
  - !ruby/object:Gem::Version
72
- version: '1.0'
72
+ version: '0'
73
73
  description: lol_dba is a small package of rake tasks that scan your application models
74
74
  and displays a list of columns that probably should be indexed. Also, it can generate
75
75
  .sql migration scripts.
@@ -101,6 +101,8 @@ files:
101
101
  - gemfiles/rails_4_2.gemfile.lock
102
102
  - gemfiles/rails_5_0.gemfile
103
103
  - gemfiles/rails_5_0.gemfile.lock
104
+ - gemfiles/rails_5_1.gemfile
105
+ - gemfiles/rails_5_1.gemfile.lock
104
106
  - lib/lol_dba.rb
105
107
  - lib/lol_dba/cli.rb
106
108
  - lib/lol_dba/migration.rb