activerecord-setops 0.1.0 → 0.1.1

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: 825c886304c118ae19d8993c4dc9529ee2bbd39af385054a2f28c26cae6b210a
4
- data.tar.gz: b652c44096b150959940b71b6c45de9e70e21ce4d10efe29ab69c78ffbebc1c4
3
+ metadata.gz: 250e160c4a314f3dbd70006d8c0578f65f2f96bfa7a6184347e117a82c7100c2
4
+ data.tar.gz: 9c237499708d5a17742433567eb0ef9440a47038c676def5692fd276c7dc2934
5
5
  SHA512:
6
- metadata.gz: 2f3bbb031e2bdeeb92a88b913b930494c8e5e7abf65fe78686c0061af1a6175ba683aa03f86ee6cc6782b2e0408563fce1b41810379c4415109655687e4ce809
7
- data.tar.gz: 324d14a9905f256045f07e6bb9730ea165b669bb8f1f95031c52478fe9a58f4531c94ff9fd93bad8721f91d27c6de1baffb57ff4b8535541f97aeb4538a8058d
6
+ metadata.gz: dec7c60d171dd79b8cc2a3dd27a10a8d5e87ad77ff20a74d61ed342350e1c390431b7f7a4c8f8ad10e5aa50d24dca6a08b6e95289a4f4b41b31a09189854dbd4
7
+ data.tar.gz: 07031403f8457b12f01578846fde1f5e7ff6d5efd6cd695b16413cdaf55deaaeae7a64906b201fd547c7ad984ef0cc4f624dd3a8f879377807f7f8ae68011fdc
@@ -15,6 +15,7 @@ jobs:
15
15
  ruby-version: 2.6.x
16
16
  - name: Build and test with Rake
17
17
  run: |
18
+ sudo apt-get install libsqlite3-dev
18
19
  gem install bundler
19
20
  bundle install --jobs 4 --retry 3
20
21
  bundle exec rake
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- activerecord-setops (0.1.0)
4
+ activerecord-setops (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ ![Ruby](https://github.com/delonnewman/activerecord-setops/workflows/Ruby/badge.svg)
2
+
1
3
  # ActiveRecord::Setops
2
4
 
3
5
  Union, Intersect, and Difference set operations for ActiveRecord (also, SQL's UnionAll).
@@ -6,7 +8,9 @@ Has only been tested with Rails 5.
6
8
  # Why?
7
9
 
8
10
  Joins can be difficult to reason about in Arel (an SQL for that matter). Many joins can be replaced
9
- with set operations which are much simplers beasts and have consistent mathetical properties.
11
+ with set operations which are much simpler beasts, may offer performance gains, and have consistent
12
+ mathematical properties. But these operations while present in Arel are missing in ActiveRecord. This
13
+ module attempts to correct this lack.
10
14
 
11
15
  # Installation
12
16
 
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
9
9
  spec.email = ["contact@delonnewman.name"]
10
10
 
11
11
  spec.summary = %q{Set operations for ActiveRecord}
12
- spec.description = %q{Union, Intesection, and Difference operations for ActiveRecord}
12
+ spec.description = %q{Union, Intersection, and Difference operations for ActiveRecord}
13
13
  spec.homepage = "https://github.com/delonnewman/activerecord-setops#readme"
14
14
  spec.license = "MIT"
15
15
 
@@ -21,6 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.metadata["homepage_uri"] = spec.homepage
22
22
  spec.metadata["source_code_uri"] = "https://github.com/delonnewman/activerecord-setops"
23
23
  spec.metadata["changelog_uri"] = "https://github.com/delonnewman/activerecord-setops#changelog"
24
+ spec.metadata["documentation_uri"] = 'https://www.rubydoc.info/gems/activerecord-setops'
24
25
  else
25
26
  raise "RubyGems 2.0 or newer is required to protect against " \
26
27
  "public gem pushes."
@@ -1,5 +1,5 @@
1
1
  module ActiveRecord
2
2
  module Setops
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-setops
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
  - Delon Newman
@@ -108,7 +108,7 @@ dependencies:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
110
  version: 1.4.2
111
- description: Union, Intesection, and Difference operations for ActiveRecord
111
+ description: Union, Intersection, and Difference operations for ActiveRecord
112
112
  email:
113
113
  - contact@delonnewman.name
114
114
  executables: []
@@ -134,6 +134,7 @@ metadata:
134
134
  homepage_uri: https://github.com/delonnewman/activerecord-setops#readme
135
135
  source_code_uri: https://github.com/delonnewman/activerecord-setops
136
136
  changelog_uri: https://github.com/delonnewman/activerecord-setops#changelog
137
+ documentation_uri: https://www.rubydoc.info/gems/activerecord-setops
137
138
  post_install_message:
138
139
  rdoc_options: []
139
140
  require_paths: