lol_dba 1.4.2 → 1.4.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,6 +20,7 @@ module LolDba
20
20
  connection.class.send(:define_method, :tables) { |*args| [] }
21
21
  connection.class.send(:define_method, :select_all) { |*args| [] }
22
22
  connection.class.send(:define_method, :indexes) { |*args| [] }
23
+ connection.class.send(:define_method, :index_name_exists?) { |*args| args[2] } #returns always the default(args[2])
23
24
  end
24
25
 
25
26
  def save_original_methods
@@ -1,3 +1,3 @@
1
1
  module LolDba
2
- VERSION = "1.4.2" unless defined? LolDba::VERSION
2
+ VERSION = "1.4.3" unless defined? LolDba::VERSION
3
3
  end
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lol_dba
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 1.4.2
4
+ version: 1.4.3
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Diego Plentz
@@ -10,60 +10,62 @@ authors:
10
10
  - Eric Davis
11
11
  - Muness Alrubaie
12
12
  - Vladimir Sharshov
13
- autorequire:
13
+ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2013-01-29 00:00:00.000000000 Z
16
+ date: 2013-01-31 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: activerecord
20
- version_requirements: !ruby/object:Gem::Requirement
20
+ requirement: !ruby/object:Gem::Requirement
21
+ none: false
21
22
  requirements:
22
- - - ">="
23
+ - - ! '>='
23
24
  - !ruby/object:Gem::Version
24
25
  version: '3.0'
26
+ type: :runtime
27
+ prerelease: false
28
+ version_requirements: !ruby/object:Gem::Requirement
25
29
  none: false
26
- requirement: !ruby/object:Gem::Requirement
27
30
  requirements:
28
- - - ">="
31
+ - - ! '>='
29
32
  - !ruby/object:Gem::Version
30
33
  version: '3.0'
31
- none: false
32
- prerelease: false
33
- type: :runtime
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: actionpack
36
- version_requirements: !ruby/object:Gem::Requirement
36
+ requirement: !ruby/object:Gem::Requirement
37
+ none: false
37
38
  requirements:
38
- - - ">="
39
+ - - ! '>='
39
40
  - !ruby/object:Gem::Version
40
41
  version: '3.0'
42
+ type: :runtime
43
+ prerelease: false
44
+ version_requirements: !ruby/object:Gem::Requirement
41
45
  none: false
42
- requirement: !ruby/object:Gem::Requirement
43
46
  requirements:
44
- - - ">="
47
+ - - ! '>='
45
48
  - !ruby/object:Gem::Version
46
49
  version: '3.0'
47
- none: false
48
- prerelease: false
49
- type: :runtime
50
50
  - !ruby/object:Gem::Dependency
51
51
  name: railties
52
- version_requirements: !ruby/object:Gem::Requirement
52
+ requirement: !ruby/object:Gem::Requirement
53
+ none: false
53
54
  requirements:
54
- - - ">="
55
+ - - ! '>='
55
56
  - !ruby/object:Gem::Version
56
57
  version: '3.0'
58
+ type: :runtime
59
+ prerelease: false
60
+ version_requirements: !ruby/object:Gem::Requirement
57
61
  none: false
58
- requirement: !ruby/object:Gem::Requirement
59
62
  requirements:
60
- - - ">="
63
+ - - ! '>='
61
64
  - !ruby/object:Gem::Version
62
65
  version: '3.0'
63
- none: false
64
- prerelease: false
65
- type: :runtime
66
- description: lol_dba is a small package of rake tasks that scan your application models and displays a list of columns that probably should be indexed. Also, it can generate .sql migration scripts.
66
+ description: lol_dba is a small package of rake tasks that scan your application models
67
+ and displays a list of columns that probably should be indexed. Also, it can generate
68
+ .sql migration scripts.
67
69
  email:
68
70
  - diego@plentz.org
69
71
  - elad@eizesus.com
@@ -73,8 +75,8 @@ executables: []
73
75
  extensions: []
74
76
  extra_rdoc_files: []
75
77
  files:
76
- - ".gitignore"
77
- - ".travis.yml"
78
+ - .gitignore
79
+ - .travis.yml
78
80
  - Gemfile
79
81
  - Gemfile.lock
80
82
  - README.md
@@ -107,31 +109,30 @@ files:
107
109
  - spec/spec_helper.rb
108
110
  homepage: https://github.com/plentz/lol_dba
109
111
  licenses: []
110
- post_install_message:
112
+ post_install_message:
111
113
  rdoc_options: []
112
114
  require_paths:
113
115
  - lib
114
116
  - lib/lol_dba
115
117
  required_ruby_version: !ruby/object:Gem::Requirement
118
+ none: false
116
119
  requirements:
117
- - - ">="
120
+ - - ! '>='
118
121
  - !ruby/object:Gem::Version
119
- version: !binary |-
120
- MA==
121
- none: false
122
+ version: '0'
122
123
  required_rubygems_version: !ruby/object:Gem::Requirement
124
+ none: false
123
125
  requirements:
124
- - - ">="
126
+ - - ! '>='
125
127
  - !ruby/object:Gem::Version
126
- version: !binary |-
127
- MA==
128
- none: false
128
+ version: '0'
129
129
  requirements: []
130
- rubyforge_project:
130
+ rubyforge_project:
131
131
  rubygems_version: 1.8.24
132
- signing_key:
132
+ signing_key:
133
133
  specification_version: 3
134
- summary: A small package of rake tasks to track down missing database indexes and generate sql migration scripts
134
+ summary: A small package of rake tasks to track down missing database indexes and
135
+ generate sql migration scripts
135
136
  test_files:
136
137
  - spec/associations_index_spec.rb
137
138
  - spec/common_function_spec.rb