active-record-forcible-index 0.0.2 → 0.0.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: 75a873dc6f7c0202761dfe446c0b0cfd9f075ff4
4
- data.tar.gz: 31bed970111f964bcfb68c0fdc9eff4528549ef2
3
+ metadata.gz: b4aec42ce90261576578f90c59e7ac5d9d508381
4
+ data.tar.gz: 0d52453267bac306e366b3a500be9d5f1a487457
5
5
  SHA512:
6
- metadata.gz: 4a4175e860548db575863e858d31981e630b6fad3b9706db14d54a0004d816f22208a2b4b7e99a21901997d3a7b91321eb79ea68fb6d4be5ed367113bfea873f
7
- data.tar.gz: 1d23410bd9442293ac76dfd13d383d7a0cea7a82017061cb46ab4d2f71019f8f0585e3c998c931544536120bed9667c0c2a05fb15db7c280ac6df87c14ff9cbf
6
+ metadata.gz: cef9124b57e2d9fe9c6950957dc29b8f8513f5c32164073a20287bb45fc0fe876a2ed9d759b647fa35b8012c9782f0a6446e728245b4db9c50a96f513b8dca15
7
+ data.tar.gz: de587686eecc189912c09c95bb4f82767d3e4b4bb6eb1154e059e828b9641564933a293d433dbb3398b776b1cdee6dffb4880f7dbf2a4f232352a4628ed9968e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,14 @@
1
+ ## v0.0.3
2
+
3
+ * Refactor and added support for Travis
4
+
5
+ ## v0.0.2
6
+
7
+ * Cleanul Gems
8
+
9
+ * Added Badge
10
+
11
+
1
12
  ## v0.0.1
2
13
 
3
14
  * Initial release
data/Gemfile CHANGED
@@ -2,10 +2,3 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in env_status.gemspec
4
4
  gemspec
5
-
6
- group :test do
7
- gem 'rake'
8
- gem 'rspec'
9
- gem 'ZenTest'
10
- gem 'autotest'
11
- end
data/Gemfile.lock CHANGED
@@ -1,14 +1,13 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- active-record-forcible-index (0.0.2)
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
- include ActiveRecordForcibleIndex
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
- require 'active_record_forcible_index'
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.2"
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.add_dependency 'activerecord', '~> 4.0'
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"
@@ -1,7 +1,7 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  class DummyModel < ActiveRecord::Base
4
- include ActiveRecordForcibleIndex
4
+ require 'active_record_forcible_index'
5
5
  end
6
6
 
7
7
  describe ActiveRecordForcibleIndex do
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.2
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-06 00:00:00.000000000 Z
12
+ date: 2014-05-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord