activerecord-pick 0.1.0 → 0.1.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: abbd19669c7d1fdbda2f34fcc1e58674a090f672a0d04e4dc345bf502edb86be
4
- data.tar.gz: 4927bdb4b121665761a5aaa19b5343ee54a7bd9725e93295c8d0de37c622b460
3
+ metadata.gz: 18fefcf9d26b58898c0d5a5a27703e993f2f7f91d433c1a555cb95eccbe9a27f
4
+ data.tar.gz: 53c2de821f712fb8b736642b8435735802f389e609ba0a8cf04195d5a48d99fb
5
5
  SHA512:
6
- metadata.gz: 579f085cf595c37c7c8abd79e2e38d978d18a8ac99c1fd10e917e8420a11b207ebcb191c7b707a2b94f9957ccec1bad98a046df5fb65b5ed2fb86d9c2d96559b
7
- data.tar.gz: 24651c496c580d2d5a1200b17cfeba6e4537273d1af66bbb53c0accc06f7b975e949b2ed89569f29e0d555c8da5d7be4a6aa0ae2e06bd11be277f8093fb8ab0d
6
+ metadata.gz: 29863c7261f534c2767e2f9f99830b951370b5909d9537fd90b2f9dd9c5b3504a135a2e9d06ba77c06d7b633098e331cc2455808f055587263f769e803150797
7
+ data.tar.gz: b1663b7f2fc25465c6e2e551103966b30a63cef1fcb0676c77bd0f3df9f3cd631c89dac191abcff8673bbb15d65c929e53eaf39a5da2f2b91aef35c0ca20c6f1
@@ -1,5 +1,11 @@
1
1
  ## Unreleased
2
2
 
3
+
4
+ ## 0.1.1 (2018-03-09)
5
+
6
+ * Add `delegate :pick, to: :all`
7
+
8
+
3
9
  ## 0.1.0 (2018-03-03)
4
10
 
5
11
  * Initial release
data/README.md CHANGED
@@ -3,6 +3,7 @@
3
3
  Backport of `ActiveRecord::Calculations#pick` for Rails 5 and 4.2 applications.
4
4
  https://github.com/rails/rails/pull/31941
5
5
 
6
+ [![Gem Version](https://badge.fury.io/rb/activerecord-pick.svg)](https://badge.fury.io/rb/activerecord-pick)
6
7
  [![Build Status](https://travis-ci.org/yujideveloper/activerecord-pick.svg?branch=master)](https://travis-ci.org/yujideveloper/activerecord-pick)
7
8
  [![Maintainability](https://api.codeclimate.com/v1/badges/69b57b07aa990b2b5965/maintainability)](https://codeclimate.com/github/yujideveloper/activerecord-pick/maintainability)
8
9
 
@@ -3,6 +3,7 @@
3
3
  require "activerecord/pick/version"
4
4
  require "active_record"
5
5
  require "activerecord/pick/relation/calculations"
6
+ require "activerecord/pick/querying"
6
7
 
7
8
  module ActiveRecord
8
9
  module Pick
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module ActiveRecord
4
+ module Querying
5
+ delegate :pick, to: :all
6
+ end
7
+ end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ActiveRecord
4
4
  module Pick
5
- VERSION = "0.1.0"
5
+ VERSION = "0.1.1"
6
6
  end
7
7
  end
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.0
4
+ version: 0.1.1
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-03-02 00:00:00.000000000 Z
11
+ date: 2018-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -124,6 +124,7 @@ files:
124
124
  - gemfiles/activerecord_5.0.gemfile
125
125
  - gemfiles/activerecord_5.1.gemfile
126
126
  - lib/activerecord/pick.rb
127
+ - lib/activerecord/pick/querying.rb
127
128
  - lib/activerecord/pick/relation/calculations.rb
128
129
  - lib/activerecord/pick/version.rb
129
130
  homepage: https://github.com/yujideveloper/activerecord-pick