lol_dba 1.6.3 → 1.6.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e004e87813b94769799ff853372933777fb27d74
4
- data.tar.gz: 16853f9065b4890d0aa86f3a1b727b1caf67e93f
3
+ metadata.gz: 40a0cac346cb77869a426efa8ff1838c230100a6
4
+ data.tar.gz: aa7ea3476a95e5b1cb01be80846fd1798b479343
5
5
  SHA512:
6
- metadata.gz: 728ac00b5e349131dde9a81f2fc1dfeaa7262c806643fa7b765bd932db75274d61eeeae13b2b3f4e2f7715e6c2bf1c570078f9e841a6fb48d4be6e14f5643ffb
7
- data.tar.gz: c4f388f8b5fe4e41a7cdadcd0a50b74f1367ead5742ed483bffbceb01cdc4f3c61de07bede98a9c09a6fe14a2867e623adfb277b2642b3fd17e0f6b7224d9ee3
6
+ metadata.gz: a3aeac0eef635979e9abb15f9e53d0b9a8136f379d1b91da4d4f50cb2d3fd161405648ea3fe28d1741d1e7197351723a884ade1861e7e727eab35b21542ee668
7
+ data.tar.gz: 12140e5f8a44ab544fb6540035f3bd9c046973d7c0b5e44845a0e4a2238cdb447e3aa381f30f99e441e9c0953ba790098056e071f65ab2df95a89e03e63ab7ea
@@ -74,7 +74,7 @@ EOM
74
74
  end
75
75
 
76
76
  def self.check_for_indexes(migration_format = false)
77
- Rails.application.eager_load! unless ENV["RAILS_ENV"] == 'test'
77
+ Rails.application.eager_load! unless Rails.env.test?
78
78
 
79
79
  model_classes = []
80
80
  ObjectSpace.each_object(Module) do |obj|
@@ -1,3 +1,3 @@
1
1
  module LolDba
2
- VERSION = "1.6.3" unless defined? LolDba::VERSION
2
+ VERSION = "1.6.4" unless defined? LolDba::VERSION
3
3
  end
@@ -18,7 +18,8 @@ Gem::Specification.new do |s|
18
18
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
19
19
  s.require_paths = ["lib", "lib/lol_dba"]
20
20
 
21
- s.add_dependency "activerecord", ">= 3.0", "< 5.0"
22
- s.add_dependency "actionpack", ">= 3.0", "< 5.0"
23
- s.add_dependency "railties", ">= 3.0", "< 5.0"
21
+ s.required_ruby_version = ">= 1.9.1"
22
+ s.add_dependency "activerecord", ">= 3.0"
23
+ s.add_dependency "actionpack", ">= 3.0"
24
+ s.add_dependency "railties", ">= 3.0"
24
25
  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: 1.6.3
4
+ version: 1.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Diego Plentz
@@ -21,9 +21,6 @@ dependencies:
21
21
  - - ">="
22
22
  - !ruby/object:Gem::Version
23
23
  version: '3.0'
24
- - - "<"
25
- - !ruby/object:Gem::Version
26
- version: '5.0'
27
24
  type: :runtime
28
25
  prerelease: false
29
26
  version_requirements: !ruby/object:Gem::Requirement
@@ -31,9 +28,6 @@ dependencies:
31
28
  - - ">="
32
29
  - !ruby/object:Gem::Version
33
30
  version: '3.0'
34
- - - "<"
35
- - !ruby/object:Gem::Version
36
- version: '5.0'
37
31
  - !ruby/object:Gem::Dependency
38
32
  name: actionpack
39
33
  requirement: !ruby/object:Gem::Requirement
@@ -41,9 +35,6 @@ dependencies:
41
35
  - - ">="
42
36
  - !ruby/object:Gem::Version
43
37
  version: '3.0'
44
- - - "<"
45
- - !ruby/object:Gem::Version
46
- version: '5.0'
47
38
  type: :runtime
48
39
  prerelease: false
49
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -51,9 +42,6 @@ dependencies:
51
42
  - - ">="
52
43
  - !ruby/object:Gem::Version
53
44
  version: '3.0'
54
- - - "<"
55
- - !ruby/object:Gem::Version
56
- version: '5.0'
57
45
  - !ruby/object:Gem::Dependency
58
46
  name: railties
59
47
  requirement: !ruby/object:Gem::Requirement
@@ -61,9 +49,6 @@ dependencies:
61
49
  - - ">="
62
50
  - !ruby/object:Gem::Version
63
51
  version: '3.0'
64
- - - "<"
65
- - !ruby/object:Gem::Version
66
- version: '5.0'
67
52
  type: :runtime
68
53
  prerelease: false
69
54
  version_requirements: !ruby/object:Gem::Requirement
@@ -71,9 +56,6 @@ dependencies:
71
56
  - - ">="
72
57
  - !ruby/object:Gem::Version
73
58
  version: '3.0'
74
- - - "<"
75
- - !ruby/object:Gem::Version
76
- version: '5.0'
77
59
  description: lol_dba is a small package of rake tasks that scan your application models
78
60
  and displays a list of columns that probably should be indexed. Also, it can generate
79
61
  .sql migration scripts.
@@ -134,7 +116,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
134
116
  requirements:
135
117
  - - ">="
136
118
  - !ruby/object:Gem::Version
137
- version: '0'
119
+ version: 1.9.1
138
120
  required_rubygems_version: !ruby/object:Gem::Requirement
139
121
  requirements:
140
122
  - - ">="