dase 5.0.0 → 5.1.0

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
  SHA1:
3
- metadata.gz: 0d42f2f6bf205d546db57406749a4935e6fe3e1d
4
- data.tar.gz: 19839d040347fa604178b5f41e9df9b8698a7ec7
3
+ metadata.gz: 96bed01281202184b72a0ee9be77356796a466d4
4
+ data.tar.gz: 0b96c597bbd2a1a7355406c5f8f53f1563805671
5
5
  SHA512:
6
- metadata.gz: c5c8fdee1fc38c543b4aeb92563b2b85a23a28f1b82c051e448807772df8a33ead27837a4c5f87a135cd6e388e3c1befedcf3a819b641054c291a414ba40e6bc
7
- data.tar.gz: 54e1c5977247e364655a58aa779239ad4724deb305809933521078b61a7d3032583fbe89e22b1a51207bbb8bb082d8bf525cb55f6de780c6075d434286db38cd
6
+ metadata.gz: ed6fec2810b13200238383a3a97575e9c64b5ce918cbc8d0950f9a6a9cf98c6326e0050e05e67c87cba114c6cad380e072efc3cad1fb79e89ee563e1169d4bbf
7
+ data.tar.gz: 832a821c73234c8553f47035131b23bb055be14873369242fe66f4bdf343f4e57ed66ac30639913e1535170ca8c346f75acd320e6879b689969d72c9a87d5840
@@ -1,3 +1,10 @@
1
1
  language: ruby
2
2
  rvm:
3
- - "2.4.0"
3
+ - "1.9.3"
4
+ - "2.1.4"
5
+ #- rbx-19mode
6
+ #- jruby-19mode # JRuby in 1.9 mode
7
+
8
+ # uncomment this line if your project needs to run something other than `rake`:
9
+ # script: bundle exec rspec spec
10
+
data/README.md CHANGED
@@ -24,7 +24,7 @@ you can now write this:
24
24
 
25
25
  with conditions on associated records (only articles in year 2012)
26
26
  ```
27
- Author.includes_count_of(:articles, where: {year: 2012} )
27
+ Author.includes_count_of(:articles, where: {year: 2012} )
28
28
  ```
29
29
 
30
30
  using lambda syntax (in v4.1 and greater)
@@ -49,8 +49,7 @@ with multiple associations counted at once
49
49
  | 3.2.x | gem 'dase', '~> 3.2.0' |
50
50
  | 4.0.x | ----- N/A ----- |
51
51
  | 4.1.x | gem 'dase', '~> 4.1.0' |
52
- | 4.2.x | gem 'dase', '~> 4.2.0' |
53
- | 5.1.x | gem 'dase', '~> 5.1.0' |
52
+ | 4.2.0.beta2 | gem 'dase', :github => 'vovayartsev/dase', :branch => 'rails-4-2' |
54
53
 
55
54
  ## Under the hood
56
55
 
@@ -71,7 +70,7 @@ Dase calculates counters dynamically every time you make an SQL query. It makes
71
70
  ## Name origin
72
71
 
73
72
  The gem is named by the german mathematician [Johann Dase](http://en.wikipedia.org/wiki/Zacharias_Dase),
74
- who was a [mental calculator](http://en.wikipedia.org/wiki/Mental_calculator) and could add and multiply numbers very quickly.
73
+ who was a [mental calculator](http://en.wikipedia.org/wiki/Mental_calculator) and could add and multiply numbers very quickly.
75
74
 
76
75
  ## Contributing
77
76
 
@@ -83,4 +82,9 @@ who was a [mental calculator](http://en.wikipedia.org/wiki/Mental_calculator) an
83
82
 
84
83
 
85
84
 
86
- [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/vovayartsev/dase/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
85
+ [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/vovayartsev/dase/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
86
+
87
+
88
+
89
+
90
+
@@ -13,12 +13,12 @@ Gem::Specification.new do |gem|
13
13
  gem.summary = %q{Provides includes_count_of method on ActiveRecord::Relation to count associated records efficiently}
14
14
  gem.homepage = "https://github.com/vovayartsev/dase"
15
15
 
16
- gem.add_runtime_dependency "activesupport", "~> 5.0", '<5.1.4'
16
+ gem.add_runtime_dependency "activesupport", "~> 5.1", '>= 5.1.4'
17
17
 
18
18
  if defined? JRUBY_VERSION
19
19
  gem.add_development_dependency 'activerecord-jdbcsqlite3-adapter'
20
20
  else
21
- gem.add_runtime_dependency 'activerecord', "~> 5.0", '<5.1.4'
21
+ gem.add_runtime_dependency 'activerecord', "~> 5.1", '>= 5.1.4'
22
22
  gem.add_development_dependency 'sqlite3', '~> 1.3'
23
23
  end
24
24
 
@@ -1,3 +1,3 @@
1
1
  module Dase
2
- VERSION = '5.0.0'
2
+ VERSION = '5.1.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dase
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0
4
+ version: 5.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vladimir Yartsev
@@ -16,8 +16,8 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '5.0'
20
- - - "<"
19
+ version: '5.1'
20
+ - - ">="
21
21
  - !ruby/object:Gem::Version
22
22
  version: 5.1.4
23
23
  type: :runtime
@@ -26,8 +26,8 @@ dependencies:
26
26
  requirements:
27
27
  - - "~>"
28
28
  - !ruby/object:Gem::Version
29
- version: '5.0'
30
- - - "<"
29
+ version: '5.1'
30
+ - - ">="
31
31
  - !ruby/object:Gem::Version
32
32
  version: 5.1.4
33
33
  - !ruby/object:Gem::Dependency
@@ -36,8 +36,8 @@ dependencies:
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '5.0'
40
- - - "<"
39
+ version: '5.1'
40
+ - - ">="
41
41
  - !ruby/object:Gem::Version
42
42
  version: 5.1.4
43
43
  type: :runtime
@@ -46,8 +46,8 @@ dependencies:
46
46
  requirements:
47
47
  - - "~>"
48
48
  - !ruby/object:Gem::Version
49
- version: '5.0'
50
- - - "<"
49
+ version: '5.1'
50
+ - - ">="
51
51
  - !ruby/object:Gem::Version
52
52
  version: 5.1.4
53
53
  - !ruby/object:Gem::Dependency