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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 18fefcf9d26b58898c0d5a5a27703e993f2f7f91d433c1a555cb95eccbe9a27f
4
- data.tar.gz: 53c2de821f712fb8b736642b8435735802f389e609ba0a8cf04195d5a48d99fb
3
+ metadata.gz: d3250f8da33d6536b495ad242be6bddd601288bfb19f0219719fa462e7e1b9fd
4
+ data.tar.gz: 72fe7450d6e2ed88dc05dbcf570106ed108656d8c9f52179b77f3c0a06b7c691
5
5
  SHA512:
6
- metadata.gz: 29863c7261f534c2767e2f9f99830b951370b5909d9537fd90b2f9dd9c5b3504a135a2e9d06ba77c06d7b633098e331cc2455808f055587263f769e803150797
7
- data.tar.gz: b1663b7f2fc25465c6e2e551103966b30a63cef1fcb0676c77bd0f3df9f3cd631c89dac191abcff8673bbb15d65c929e53eaf39a5da2f2b91aef35c0ca20c6f1
6
+ metadata.gz: 921d9cbc16cc268ef1db0b12f1d0288d24365300a7af285f8719fb0cf60d0bd2407978a6959065ae4fefa9656cc4e292e0a3c3a363a273f73a73e0008e97e7cc
7
+ data.tar.gz: 1d42083e9e933d6e5a9f0ea61aaff2d5ddda63e05341f926a5e68420ec886f501cbf86064efaf8227202e0d0feb9d192ed42590ce88b9cc967bd0bd04b4934cd
@@ -1,13 +1,14 @@
1
1
  sudo: false
2
2
  language: ruby
3
3
  rvm:
4
- - 2.3.6
5
- - 2.4.3
6
- - 2.5.0
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
- before_install: gem install bundler -v 1.14.6
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
@@ -1,6 +1,12 @@
1
1
  ## Unreleased
2
2
 
3
3
 
4
+ ## 0.1.2 (2018-11-06)
5
+
6
+ * Support Rails 5.2
7
+ * Fix gem metadata
8
+
9
+
4
10
  ## 0.1.1 (2018-03-09)
5
11
 
6
12
  * Add `delegate :pick, to: :all`
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # ActiveRecord::Pick
2
2
 
3
- Backport of `ActiveRecord::Calculations#pick` for Rails 5 and 4.2 applications.
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
  [![Gem Version](https://badge.fury.io/rb/activerecord-pick.svg)](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/[USERNAME]/activerecord-pick.
41
+ Bug reports and pull requests are welcome on GitHub at https://github.com/yujideveloper/activerecord-pick.
42
42
 
43
43
 
44
44
  ## License
@@ -1,7 +1,6 @@
1
-
2
1
  # frozen_string_literal: true
3
2
 
4
- lib = File.expand_path("../lib", __FILE__)
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::Calculations#pick for Rails 5 and 4.2 apps."
15
- spec.description = "This gem provides the functionality of ActiveRecord::Calculations#pick for Rails 5 and 4.2 apps."
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
 
@@ -1,6 +1,7 @@
1
- source "http://rubygems.org/"
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org/"
2
4
 
3
5
  gem "activerecord", "~> 4.2.0"
4
- gem "activesupport", "~> 4.2.0"
5
6
 
6
- gemspec :path => "../"
7
+ gemspec path: "../"
@@ -1,6 +1,7 @@
1
- source "http://rubygems.org/"
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org/"
2
4
 
3
5
  gem "activerecord", "~> 5.0.0"
4
- gem "activesupport", "~> 5.0.0"
5
6
 
6
- gemspec :path => "../"
7
+ gemspec path: "../"
@@ -1,6 +1,7 @@
1
- source "http://rubygems.org/"
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org/"
2
4
 
3
5
  gem "activerecord", "~> 5.1.0"
4
- gem "activesupport", "~> 5.1.0"
5
6
 
6
- gemspec :path => "../"
7
+ gemspec path: "../"
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org/"
4
+
5
+ gem "activerecord", "~> 5.2.0"
6
+
7
+ gemspec path: "../"
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ActiveRecord
4
4
  module Pick
5
- VERSION = "0.1.1"
5
+ VERSION = "0.1.2"
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.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-03-09 00:00:00.000000000 Z
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::Calculations#pick
104
- for Rails 5 and 4.2 apps.
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::Calculations#pick for
154
- Rails 5 and 4.2 apps.
154
+ summary: This gem provides the functionality of ActiveRecord::Relation#pick for Rails
155
+ 5 and 4.2 apps.
155
156
  test_files: []