activerecord-pick 0.1.1 → 0.1.2
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 +4 -4
- data/.travis.yml +5 -4
- data/CHANGELOG.md +6 -0
- data/README.md +2 -2
- data/activerecord-pick.gemspec +3 -4
- data/gemfiles/activerecord_4.2.gemfile +4 -3
- data/gemfiles/activerecord_5.0.gemfile +4 -3
- data/gemfiles/activerecord_5.1.gemfile +4 -3
- data/gemfiles/activerecord_5.2.gemfile +7 -0
- data/lib/activerecord/pick/version.rb +1 -1
- metadata +7 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d3250f8da33d6536b495ad242be6bddd601288bfb19f0219719fa462e7e1b9fd
|
|
4
|
+
data.tar.gz: 72fe7450d6e2ed88dc05dbcf570106ed108656d8c9f52179b77f3c0a06b7c691
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 921d9cbc16cc268ef1db0b12f1d0288d24365300a7af285f8719fb0cf60d0bd2407978a6959065ae4fefa9656cc4e292e0a3c3a363a273f73a73e0008e97e7cc
|
|
7
|
+
data.tar.gz: 1d42083e9e933d6e5a9f0ea61aaff2d5ddda63e05341f926a5e68420ec886f501cbf86064efaf8227202e0d0feb9d192ed42590ce88b9cc967bd0bd04b4934cd
|
data/.travis.yml
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
sudo: false
|
|
2
2
|
language: ruby
|
|
3
3
|
rvm:
|
|
4
|
-
- 2.3.
|
|
5
|
-
- 2.4.
|
|
6
|
-
- 2.5.
|
|
4
|
+
- 2.3.8
|
|
5
|
+
- 2.4.5
|
|
6
|
+
- 2.5.3
|
|
7
7
|
gemfile:
|
|
8
8
|
- gemfiles/activerecord_4.2.gemfile
|
|
9
9
|
- gemfiles/activerecord_5.0.gemfile
|
|
10
10
|
- gemfiles/activerecord_5.1.gemfile
|
|
11
|
-
|
|
11
|
+
- gemfiles/activerecord_5.2.gemfile
|
|
12
|
+
before_install: gem install bundler -v 1.16.1
|
|
12
13
|
script:
|
|
13
14
|
- bundle exec rake spec
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# ActiveRecord::Pick
|
|
2
2
|
|
|
3
|
-
Backport of `ActiveRecord::
|
|
3
|
+
Backport of `ActiveRecord::Relation#pick` for Rails 5 and 4.2 applications.
|
|
4
4
|
https://github.com/rails/rails/pull/31941
|
|
5
5
|
|
|
6
6
|
[](https://badge.fury.io/rb/activerecord-pick)
|
|
@@ -38,7 +38,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
|
38
38
|
|
|
39
39
|
## Contributing
|
|
40
40
|
|
|
41
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
|
41
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/yujideveloper/activerecord-pick.
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
## License
|
data/activerecord-pick.gemspec
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
1
|
# frozen_string_literal: true
|
|
3
2
|
|
|
4
|
-
lib = File.expand_path("
|
|
3
|
+
lib = File.expand_path("lib", __dir__)
|
|
5
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
6
5
|
require "activerecord/pick/version"
|
|
7
6
|
|
|
@@ -11,8 +10,8 @@ Gem::Specification.new do |spec|
|
|
|
11
10
|
spec.authors = ["Yuji Hanamura"]
|
|
12
11
|
spec.email = ["yuji.developer@gmail.com"]
|
|
13
12
|
|
|
14
|
-
spec.summary = "This gem provides the functionality of ActiveRecord::
|
|
15
|
-
spec.description = "This gem provides the functionality of ActiveRecord::
|
|
13
|
+
spec.summary = "This gem provides the functionality of ActiveRecord::Relation#pick for Rails 5 and 4.2 apps."
|
|
14
|
+
spec.description = "This gem provides the functionality of ActiveRecord::Relation#pick for Rails 5 and 4.2 apps."
|
|
16
15
|
spec.homepage = "https://github.com/yujideveloper/activerecord-pick"
|
|
17
16
|
spec.license = "MIT"
|
|
18
17
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: activerecord-pick
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yuji Hanamura
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-11-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activerecord
|
|
@@ -100,8 +100,8 @@ dependencies:
|
|
|
100
100
|
- - "~>"
|
|
101
101
|
- !ruby/object:Gem::Version
|
|
102
102
|
version: '1.0'
|
|
103
|
-
description: This gem provides the functionality of ActiveRecord::
|
|
104
|
-
|
|
103
|
+
description: This gem provides the functionality of ActiveRecord::Relation#pick for
|
|
104
|
+
Rails 5 and 4.2 apps.
|
|
105
105
|
email:
|
|
106
106
|
- yuji.developer@gmail.com
|
|
107
107
|
executables: []
|
|
@@ -123,6 +123,7 @@ files:
|
|
|
123
123
|
- gemfiles/activerecord_4.2.gemfile
|
|
124
124
|
- gemfiles/activerecord_5.0.gemfile
|
|
125
125
|
- gemfiles/activerecord_5.1.gemfile
|
|
126
|
+
- gemfiles/activerecord_5.2.gemfile
|
|
126
127
|
- lib/activerecord/pick.rb
|
|
127
128
|
- lib/activerecord/pick/querying.rb
|
|
128
129
|
- lib/activerecord/pick/relation/calculations.rb
|
|
@@ -150,6 +151,6 @@ rubyforge_project:
|
|
|
150
151
|
rubygems_version: 2.7.6
|
|
151
152
|
signing_key:
|
|
152
153
|
specification_version: 4
|
|
153
|
-
summary: This gem provides the functionality of ActiveRecord::
|
|
154
|
-
|
|
154
|
+
summary: This gem provides the functionality of ActiveRecord::Relation#pick for Rails
|
|
155
|
+
5 and 4.2 apps.
|
|
155
156
|
test_files: []
|