left_joins 1.0.7 → 1.0.8

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
  SHA1:
3
- metadata.gz: ec2033d0f2d52843771477d957bd0033a0ce9871
4
- data.tar.gz: 74120203c3dd31a28b9622585b9bae16b5993ab6
3
+ metadata.gz: e46fda953bbbbd9e5d47e7db29cb953ff91a2876
4
+ data.tar.gz: aa778cc0465f7d442c460c2b22f3626cf482fae5
5
5
  SHA512:
6
- metadata.gz: 10c48e27f9e0f2bc35fb04077d1d470268d2b2405af120cee090870466953d170e0c5f70376f150f96cca66e8499c21a3f74d6d3b05e40b3640950b4ba2bce09
7
- data.tar.gz: cdcc7b9a4ab4b579131354b8ef7abf9e0750927b5c7778d33167526c9cbae5eaa73ed946ab195fcbfdb6c65f77f1deb04749e13314d3bc19bd4a5b661ad2c73c
6
+ metadata.gz: d11fe1bb06f48b45047c3158e695c34d56c9eb657e34bee3bf6841bbf9c916acfa488d9681d3f17e86bf1006b96185f9194ca9ef9fd86bfdffc8b1d409df51fe
7
+ data.tar.gz: 625167e7291f0bc4857fcb339621c5caadd13081bf5443a2e040597e654385d95897f15062e00aa4192a81879591e30dae3e4dca05491ee994371abeb38334f9
@@ -1,13 +1,11 @@
1
+ sudo: false
2
+ env:
3
+ global:
4
+ - CC_TEST_REPORTER_ID=9f3ed69eaf4cd5087f34c19d2e74f2457cdd1ae031cc43d0c1be308675e95823
1
5
  language: ruby
2
6
  rvm:
3
7
  - 2.2
4
8
  - 2.3
5
- sudo: required
6
- dist: trusty
7
- before_install:
8
- - gem i rubygems-update -v '<3' && update_rubygems
9
- - gem install bundler -v 1.17.3
10
- - gem --version
11
9
  gemfile:
12
10
  - gemfiles/3.2.gemfile
13
11
  - gemfiles/4.0.gemfile
@@ -15,9 +13,16 @@ gemfile:
15
13
  - gemfiles/5.0.gemfile
16
14
  - gemfiles/5.1.gemfile
17
15
  - gemfiles/5.2.gemfile
18
- addons:
19
- code_climate:
20
- repo_token: 9f3ed69eaf4cd5087f34c19d2e74f2457cdd1ae031cc43d0c1be308675e95823
21
- after_success:
22
- - bundle exec codeclimate-test-reporter
16
+ before_install:
17
+ - gem i rubygems-update -v '<3' && update_rubygems
18
+ - gem install bundler -v 1.17.3
19
+ - gem --version
20
+ - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
21
+ - chmod +x ./cc-test-reporter
22
+ - ./cc-test-reporter before-build
23
+ script:
24
+ - bundle exec rake test
25
+ after_script:
26
+ - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
27
+
23
28
 
@@ -1,5 +1,8 @@
1
1
  ## Change Log
2
2
 
3
+ ### [v1.0.7](https://github.com/khiav223577/left_joins/compare/v1.0.6...v1.0.7) 2019/07/03
4
+ - [#14](https://github.com/khiav223577/left_joins/pull/14) Fix: AR ~4.2 counter_cache broken in 1.0.6 (@khiav223577)
5
+
3
6
  ### [v1.0.6](https://github.com/khiav223577/left_joins/compare/v1.0.5...v1.0.6) 2019/06/22
4
7
  - [#12](https://github.com/khiav223577/left_joins/pull/12) Fix: update with left joins (@khiav223577)
5
8
 
@@ -4,7 +4,6 @@ gem "activerecord", "~> 3.2.0"
4
4
 
5
5
  group :test do
6
6
  gem "simplecov"
7
- gem "codeclimate-test-reporter", "~> 1.0.0"
8
7
  gem "sqlite3", "~> 1.3.6"
9
8
  end
10
9
 
@@ -4,7 +4,6 @@ gem "activerecord", "~> 4.0.0"
4
4
 
5
5
  group :test do
6
6
  gem "simplecov"
7
- gem "codeclimate-test-reporter", "~> 1.0.0"
8
7
  gem "sqlite3", "~> 1.3.6"
9
8
  end
10
9
 
@@ -4,7 +4,6 @@ gem "activerecord", "~> 4.2.0"
4
4
 
5
5
  group :test do
6
6
  gem "simplecov"
7
- gem "codeclimate-test-reporter", "~> 1.0.0"
8
7
  gem "sqlite3", "~> 1.3.6"
9
8
  end
10
9
 
@@ -4,7 +4,6 @@ gem "activerecord", "~> 5.0.0"
4
4
 
5
5
  group :test do
6
6
  gem "simplecov"
7
- gem "codeclimate-test-reporter", "~> 1.0.0"
8
7
  gem "sqlite3", "~> 1.3.6"
9
8
  end
10
9
 
@@ -4,7 +4,6 @@ gem "activerecord", "~> 5.1.0"
4
4
 
5
5
  group :test do
6
6
  gem "simplecov"
7
- gem "codeclimate-test-reporter", "~> 1.0.0"
8
7
  gem "sqlite3", "~> 1.3.6"
9
8
  end
10
9
 
@@ -4,7 +4,6 @@ gem "activerecord", "~> 5.2.0"
4
4
 
5
5
  group :test do
6
6
  gem "simplecov"
7
- gem "codeclimate-test-reporter", "~> 1.0.0"
8
7
  gem "sqlite3", "~> 1.3.6"
9
8
  end
10
9
 
@@ -26,11 +26,11 @@ Gem::Specification.new do |spec|
26
26
  spec.bindir = "exe"
27
27
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
28
  spec.require_paths = ["lib"]
29
- spec.metadata = {
29
+ spec.metadata = {
30
30
  'homepage_uri' => 'https://github.com/khiav223577/left_joins',
31
31
  'changelog_uri' => 'https://github.com/khiav223577/left_joins/blob/master/CHANGELOG.md',
32
32
  'source_code_uri' => 'https://github.com/khiav223577/left_joins',
33
- 'documentation_uri' => 'http://www.rubydoc.info/gems/left_joins',
33
+ 'documentation_uri' => 'https://www.rubydoc.info/gems/left_joins',
34
34
  'bug_tracker_uri' => 'https://github.com/khiav223577/left_joins/issues',
35
35
  }
36
36
 
@@ -35,7 +35,7 @@ module ActiveRecord::QueryMethods
35
35
 
36
36
  args.compact!
37
37
  args.flatten!
38
- self.distinct_value = false
38
+ self.distinct_value = false if self.distinct_value == nil
39
39
 
40
40
  return (LeftJoins::IS_RAILS3_FLAG ? clone : spawn).left_outer_joins!(*args)
41
41
  end
@@ -1,3 +1,3 @@
1
1
  module LeftJoins
2
- VERSION = "1.0.7"
2
+ VERSION = "1.0.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: left_joins
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - khiav reoy
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-07-03 00:00:00.000000000 Z
11
+ date: 2019-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -111,7 +111,6 @@ files:
111
111
  - ".travis.yml"
112
112
  - CHANGELOG.md
113
113
  - CODE_OF_CONDUCT.md
114
- - Gemfile
115
114
  - LICENSE.txt
116
115
  - README.md
117
116
  - Rakefile
@@ -134,7 +133,7 @@ metadata:
134
133
  homepage_uri: https://github.com/khiav223577/left_joins
135
134
  changelog_uri: https://github.com/khiav223577/left_joins/blob/master/CHANGELOG.md
136
135
  source_code_uri: https://github.com/khiav223577/left_joins
137
- documentation_uri: http://www.rubydoc.info/gems/left_joins
136
+ documentation_uri: https://www.rubydoc.info/gems/left_joins
138
137
  bug_tracker_uri: https://github.com/khiav223577/left_joins/issues
139
138
  post_install_message:
140
139
  rdoc_options: []
data/Gemfile DELETED
@@ -1,13 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in rails_or.gemspec
4
-
5
- gem "activerecord", "~> 3.2"
6
-
7
- group :test do
8
- gem "simplecov"
9
- gem "codeclimate-test-reporter", "~> 1.0.0"
10
- end
11
-
12
- gemspec :path => "./"
13
-