active_record-deselect 0.1.1 → 0.2.0

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: 132d754338138de6eb3c65c48fc6a54ccb1d17f2
4
- data.tar.gz: 32e39afffbd04a019e87b050c236f7711068502c
3
+ metadata.gz: b835e491ce30e20fb42aad1210c989b33e2c1be0
4
+ data.tar.gz: 07077f76df7753aeb39bdf8db4d3adc399bf83a8
5
5
  SHA512:
6
- metadata.gz: b8f22e9c7f5178f3098d548d5e633c278ca4fecc5e4a3d436392137e14732765a01cabb636bd2b160e9b1fefb8a5691e91547e28919fe30e17ecb95365683b6b
7
- data.tar.gz: 8e1c15447df029780a2cbb38f1a889057df1fb50d001e0818c9a6da9e023fa03c11182c14d05ce0bc7622d7909283bffbf1a612cacf7bd2f584419dca564d22b
6
+ metadata.gz: 31a4cfa72fbdaae5122e89bcd68e92a11409ab92bd6963680aebd017e8d3340df20fac53db40427339db9511819355f320e2dde5dc0df445f808fa02dff5b06d
7
+ data.tar.gz: fecf66631ea8f792046cf120e73ac858584df81cff87fe6849338fd61d6d703f03f3e9c54703479edf9828dfcdb7e884cb49b1699a38b5f53b4ba51cb37bd844
@@ -19,9 +19,9 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ["lib"]
20
20
 
21
21
  spec.add_dependency 'activerecord', '> 3.0.0'
22
- spec.add_development_dependency "bundler", "~> 1.3"
22
+ spec.add_development_dependency "bundler", "> 1.3"
23
23
  spec.add_development_dependency "rake"
24
- spec.add_development_dependency "rspec", "~> 3.0.0.beta1"
24
+ spec.add_development_dependency "rspec", "~> 3.0.0"
25
25
  spec.add_development_dependency "pry"
26
26
  spec.add_development_dependency "sqlite3"
27
27
  end
@@ -31,4 +31,4 @@ module ActiveRecord
31
31
  end
32
32
  end
33
33
 
34
- ActiveRecord::Querying.send(:include, ActiveRecord::Deselect)
34
+ ActiveRecord::Base.send(:extend, ActiveRecord::Deselect)
@@ -1,5 +1,5 @@
1
1
  module ActiveRecord
2
2
  module Deselect
3
- VERSION = "0.1.1"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
@@ -1,6 +1,5 @@
1
1
  require 'sqlite3'
2
2
  require 'active_record'
3
- require 'active_record/deselect'
4
3
  require 'pry'
5
4
 
6
5
 
@@ -9,5 +8,7 @@ ActiveRecord::Base.establish_connection(
9
8
  database: ':memory:'
10
9
  )
11
10
 
11
+ require 'active_record/deselect'
12
+
12
13
  RSpec.configure do |config|
13
14
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_record-deselect
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - fukayatsu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-26 00:00:00.000000000 Z
11
+ date: 2014-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -28,14 +28,14 @@ dependencies:
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '1.3'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.3'
41
41
  - !ruby/object:Gem::Dependency
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 3.0.0.beta1
61
+ version: 3.0.0
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 3.0.0.beta1
68
+ version: 3.0.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: pry
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -133,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
133
133
  version: '0'
134
134
  requirements: []
135
135
  rubyforge_project:
136
- rubygems_version: 2.2.0
136
+ rubygems_version: 2.2.2
137
137
  signing_key:
138
138
  specification_version: 4
139
139
  summary: Adds deselect logic to ActiveRecord