active-record-forcible-index 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -0
- data/Gemfile +0 -7
- data/Gemfile.lock +2 -7
- data/README.md +2 -2
- data/active-record-forcible-index.gemspec +7 -3
- data/spec/active_record_forcible_index_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4aec42ce90261576578f90c59e7ac5d9d508381
|
4
|
+
data.tar.gz: 0d52453267bac306e366b3a500be9d5f1a487457
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cef9124b57e2d9fe9c6950957dc29b8f8513f5c32164073a20287bb45fc0fe876a2ed9d759b647fa35b8012c9782f0a6446e728245b4db9c50a96f513b8dca15
|
7
|
+
data.tar.gz: de587686eecc189912c09c95bb4f82767d3e4b4bb6eb1154e059e828b9641564933a293d433dbb3398b776b1cdee6dffb4880f7dbf2a4f232352a4628ed9968e
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
active-record-forcible-index (0.0.
|
4
|
+
active-record-forcible-index (0.0.3)
|
5
5
|
activerecord (~> 4.0)
|
6
6
|
bundler (~> 1.3)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
ZenTest (4.10.0)
|
12
11
|
activemodel (4.1.0)
|
13
12
|
activesupport (= 4.1.0)
|
14
13
|
builder (~> 3.1)
|
@@ -23,8 +22,6 @@ GEM
|
|
23
22
|
thread_safe (~> 0.1)
|
24
23
|
tzinfo (~> 1.1)
|
25
24
|
arel (5.0.1.20140414130214)
|
26
|
-
autotest (4.4.6)
|
27
|
-
ZenTest (>= 4.4.1)
|
28
25
|
builder (3.2.2)
|
29
26
|
diff-lcs (1.2.5)
|
30
27
|
given_core (3.5.4)
|
@@ -53,9 +50,7 @@ PLATFORMS
|
|
53
50
|
ruby
|
54
51
|
|
55
52
|
DEPENDENCIES
|
56
|
-
ZenTest
|
57
53
|
active-record-forcible-index!
|
58
|
-
autotest
|
59
54
|
rake
|
60
|
-
rspec
|
55
|
+
rspec (~> 2.0)
|
61
56
|
rspec-given
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# ActiveRecord::ForcibleIndex
|
1
|
+
# ActiveRecord::ForcibleIndex [![Gem Version](https://badge.fury.io/rb/active-record-forcible-index.svg)](http://badge.fury.io/rb/active-record-forcible-index) [![Build Status](https://travis-ci.org/ducknorris/active-record-forcible-index.svg?branch=master)](https://travis-ci.org/ducknorris/active-record-forcible-index)
|
2
2
|
|
3
3
|
ActiveRecord extension that implements USE INDEX and FORCE INDEX.
|
4
4
|
|
@@ -16,7 +16,7 @@ Having the model bellow:
|
|
16
16
|
|
17
17
|
```
|
18
18
|
class DummyModel < ActiveRecord::Base
|
19
|
-
|
19
|
+
require 'active_record_forcible_index'
|
20
20
|
end
|
21
21
|
```
|
22
22
|
|
@@ -1,11 +1,15 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
lib = File.expand_path('../lib', __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
|
4
|
+
begin
|
5
|
+
require 'active_record_forcible_index'
|
6
|
+
rescue
|
7
|
+
#
|
8
|
+
end
|
5
9
|
|
6
10
|
Gem::Specification.new do |spec|
|
7
11
|
spec.name = "active-record-forcible-index"
|
8
|
-
spec.version = "0.0.
|
12
|
+
spec.version = "0.0.3"
|
9
13
|
spec.authors = ["Catalin Ilinca", "Alexandru Emil Lupu"]
|
10
14
|
spec.email = ["c@talin.ro", "contact@alecslupu.ro"]
|
11
15
|
spec.description = %q{ActiveRecord extension that gives USE and FORCE index to any ActiveRecord Model.}
|
@@ -22,7 +26,7 @@ Gem::Specification.new do |spec|
|
|
22
26
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
23
27
|
spec.require_paths = ["lib"]
|
24
28
|
|
25
|
-
spec.
|
29
|
+
spec.add_runtime_dependency 'activerecord', '~> 4.0'
|
26
30
|
spec.add_development_dependency 'rspec', '~> 2.0'
|
27
31
|
spec.add_development_dependency "rspec-given"
|
28
32
|
spec.add_dependency "bundler", "~> 1.3"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active-record-forcible-index
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Catalin Ilinca
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-05-
|
12
|
+
date: 2014-05-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|