pluck_all 2.0.0 → 2.0.1

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
  SHA256:
3
- metadata.gz: aa1aa7d453681e40416df834c94c2b53a062ac7e8a6bf49274ea4b672ecbca42
4
- data.tar.gz: 3c993741218094a58a85636ed87346164791ff4d041a0f0d8c9fb0cfbf3b158b
3
+ metadata.gz: 415795cf15898dd776d37f690006f4398492259c668cec7f949d34f2cee40e3e
4
+ data.tar.gz: 02d37d28c52025bb1407e5b605a5fd9125eef2f5ec2742bccc1c19c03600a2e4
5
5
  SHA512:
6
- metadata.gz: 8bbec73a952c75b7d7dbdeb4ecc5f15ad4e83e4c22a7dc171cc92f1061798e00c35581d4d68f47aabcb889218bda0f1668c28dcbc8fc06969378e9c416cfec8b
7
- data.tar.gz: 5063080302396865c965a5b3c187934c74097db57abb07ada6c80c2ca491faa6e1ef7c390234f9267677d813bc1dfc0af52505202095c9fcb9bb1bb265f2c65b
6
+ metadata.gz: 9c0a8cd821a79f0957356036c0a3323b7326c273e0dae0cac45a98e3c975f84b26d17b3cf51d0e6d94e53c0d4e023f9df67efd997831a94abc922a95c3685b06
7
+ data.tar.gz: f5c57fe8d958b1081f51a0dad6ad4c96d5fe5ac3715b3a81606f44c25c307903b2b4495412b069f0fbcdf0ba3442ad46526f68bb43b422a6661c3b833e16a424
data/.travis.yml CHANGED
@@ -9,6 +9,7 @@ rvm:
9
9
  services:
10
10
  - mongodb
11
11
  gemfile:
12
+ - gemfiles/no_mongoid.gemfile
12
13
  - gemfiles/3.2.gemfile
13
14
  - gemfiles/4.2.gemfile
14
15
  - gemfiles/5.0.gemfile
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  ## Change Log
2
2
 
3
- ### [upcoming](https://github.com/khiav223577/pluck_all/compare/v1.2.4...HEAD) 2018/04/05
3
+ ### [v2.0.0](https://github.com/khiav223577/pluck_all/compare/v1.2.4...v2.0.0) 2018/05/27
4
+ - [#24](https://github.com/khiav223577/pluck_all/pull/24) Support Mongoid! (@khiav223577)
5
+ - [#23](https://github.com/khiav223577/pluck_all/pull/23) Refactoring Coding Style (@khiav223577)
6
+ - [#22](https://github.com/khiav223577/pluck_all/pull/22) test Rails 5.2 (@khiav223577)
7
+ - [#21](https://github.com/khiav223577/pluck_all/pull/21) should test both 5.0.x and 5.1.x (@khiav223577)
4
8
  - [#20](https://github.com/khiav223577/pluck_all/pull/20) test pluck_all in rails 5.1.x (@khiav223577)
5
9
  - [#19](https://github.com/khiav223577/pluck_all/pull/19) add test cases to test `join` with table name and `alias` (@khiav223577)
6
10
 
@@ -0,0 +1,13 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in pluck_all.gemspec
4
+
5
+ gem "activerecord", "~> 5.2.0"
6
+
7
+ group :test do
8
+ gem "simplecov"
9
+ gem 'carrierwave', '~> 0.11.0'
10
+ end
11
+
12
+ gemspec :path => "../"
13
+
data/lib/pluck_all.rb CHANGED
@@ -4,7 +4,8 @@ require 'active_record'
4
4
  begin
5
5
  require 'mongoid'
6
6
  require 'pluck_all/mongoid_pluck_all'
7
- rescue Gem::LoadError
7
+ rescue LoadError, Gem::LoadError
8
+
8
9
  end
9
10
 
10
11
  class ActiveRecord::Base
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module PluckAll
3
- VERSION = '2.0.0'
3
+ VERSION = '2.0.1'
4
4
  end
data/pluck_all.gemspec CHANGED
@@ -31,7 +31,6 @@ Gem::Specification.new do |spec|
31
31
  spec.add_development_dependency "rake", "~> 12.0"
32
32
  spec.add_development_dependency "sqlite3", "~> 1.3"
33
33
  spec.add_development_dependency "minitest", "~> 5.0"
34
- spec.add_development_dependency "mongoid", ">= 3.1.7"
35
34
 
36
35
  spec.add_dependency "activerecord", ">= 3"
37
36
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pluck_all
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - khiav reoy
@@ -66,20 +66,6 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '5.0'
69
- - !ruby/object:Gem::Dependency
70
- name: mongoid
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: 3.1.7
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: 3.1.7
83
69
  - !ruby/object:Gem::Dependency
84
70
  name: activerecord
85
71
  requirement: !ruby/object:Gem::Requirement
@@ -118,6 +104,7 @@ files:
118
104
  - gemfiles/5.0.gemfile
119
105
  - gemfiles/5.1.gemfile
120
106
  - gemfiles/5.2.gemfile
107
+ - gemfiles/no_mongoid.gemfile
121
108
  - lib/pluck_all.rb
122
109
  - lib/pluck_all/mongoid_pluck_all.rb
123
110
  - lib/pluck_all/version.rb