activerecord-hierarchical_query 0.1.5 → 0.2.0

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
- SHA1:
3
- metadata.gz: 1549f26e6ece270b3daacb073b2a817bfd1af1fa
4
- data.tar.gz: 8138b6f92c03fb569464026187be7a8f16d4b52d
2
+ SHA256:
3
+ metadata.gz: 6c42356f33dc54b6465666e31e25c1e4339e81d188dca9b128c9a6435239adf3
4
+ data.tar.gz: d2f9c3703c91a157bee7ce70dc83f4c11d52a88f65e0b29a50ad570aa6e412bb
5
5
  SHA512:
6
- metadata.gz: 9873c2dd645746f3d42bdcee30e77dd30e5bf0a2df2a3bb7446f978a48614feeb9b713e3c199f6c8c1a3429127f9a2851096d3bb18522faf79bff9e1065d7b62
7
- data.tar.gz: 43272bdb02606a2b32f32b5bf282758418727fd911b98bcd0fdb8d7cdb3a4199558c1f4e96a8006511e5d11c2e5f9236dcfba9020b74d57459708e0cd8796b3b
6
+ metadata.gz: fe4ae82ba1fb0b099bc945e33d320f3499ae3f158922cf49692fda4bde3d92f5a58d73304d4d7ba474ef98a55640e46004ee31a4e64421cbac3d8829fdc6bed7
7
+ data.tar.gz: 186ffb55554c0d61d83f5dafdc2f7f76fb164f594337a7ff0c72baa4cce62a7d094426aa542146f8f2cba9da67bdcb2cad9e49dca0c906db93e0c90327513412
data/README.md CHANGED
@@ -6,6 +6,21 @@
6
6
  [![Dependency Status](https://gemnasium.com/take-five/activerecord-hierarchical_query.png)](https://gemnasium.com/take-five/activerecord-hierarchical_query)
7
7
  [![Gem Version](https://badge.fury.io/rb/activerecord-hierarchical_query.png)](http://badge.fury.io/rb/activerecord-hierarchical_query)
8
8
 
9
+ ## Rails 4 Only
10
+
11
+ This is the README for the **Rails 4 version**. Support for Rails 4 is
12
+ ending soon. Please upgrade to Rails 5 which is supported on the
13
+ master branch.
14
+
15
+ Be aware that this README and the gems dependencies for Rails 4
16
+ may be out of date. If you must use Rails 4 please monitor this
17
+ branch's requirements for security releases.
18
+
19
+ If you are on a ruby version greater than 2.3 be sure that you
20
+ are on Rails 4.2.
21
+
22
+ ## Introduction
23
+
9
24
  Create hierarchical queries using simple DSL, recursively traverse trees using single SQL query.
10
25
 
11
26
  If a table contains hierarchical data, then you can select rows in hierarchical order using hierarchical query builder.
@@ -65,7 +80,7 @@ crumbs = records.pluck(:name).join(' / ')
65
80
 
66
81
  ## Requirements
67
82
 
68
- * ActiveRecord >= 3.1.0 (Rails 5.0 not supported yet)
83
+ * ActiveRecord >= 4.0, < 5.0
69
84
  * PostgreSQL >= 8.4
70
85
 
71
86
  ## Installation
@@ -1,5 +1,5 @@
1
1
  module ActiveRecord
2
2
  module HierarchicalQuery
3
- VERSION = '0.1.5'
3
+ VERSION = '0.2.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,108 +1,110 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-hierarchical_query
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexei Mikhailov
8
+ - Zach Aysan
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2016-11-10 00:00:00.000000000 Z
12
+ date: 2018-09-22 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: activerecord
15
16
  requirement: !ruby/object:Gem::Requirement
16
17
  requirements:
17
- - - ">="
18
+ - - ">"
18
19
  - !ruby/object:Gem::Version
19
- version: 3.1.0
20
+ version: '4.0'
20
21
  - - "<"
21
22
  - !ruby/object:Gem::Version
22
- version: 5.0.0
23
+ version: '5.0'
23
24
  type: :runtime
24
25
  prerelease: false
25
26
  version_requirements: !ruby/object:Gem::Requirement
26
27
  requirements:
27
- - - ">="
28
+ - - ">"
28
29
  - !ruby/object:Gem::Version
29
- version: 3.1.0
30
+ version: '4.0'
30
31
  - - "<"
31
32
  - !ruby/object:Gem::Version
32
- version: 5.0.0
33
+ version: '5.0'
33
34
  - !ruby/object:Gem::Dependency
34
35
  name: bundler
35
36
  requirement: !ruby/object:Gem::Requirement
36
37
  requirements:
37
38
  - - "~>"
38
39
  - !ruby/object:Gem::Version
39
- version: '1.5'
40
+ version: '1.16'
40
41
  type: :development
41
42
  prerelease: false
42
43
  version_requirements: !ruby/object:Gem::Requirement
43
44
  requirements:
44
45
  - - "~>"
45
46
  - !ruby/object:Gem::Version
46
- version: '1.5'
47
+ version: '1.16'
47
48
  - !ruby/object:Gem::Dependency
48
49
  name: rake
49
50
  requirement: !ruby/object:Gem::Requirement
50
51
  requirements:
51
52
  - - "~>"
52
53
  - !ruby/object:Gem::Version
53
- version: 10.4.2
54
+ version: '12.3'
54
55
  type: :development
55
56
  prerelease: false
56
57
  version_requirements: !ruby/object:Gem::Requirement
57
58
  requirements:
58
59
  - - "~>"
59
60
  - !ruby/object:Gem::Version
60
- version: 10.4.2
61
+ version: '12.3'
61
62
  - !ruby/object:Gem::Dependency
62
63
  name: rspec
63
64
  requirement: !ruby/object:Gem::Requirement
64
65
  requirements:
65
66
  - - "~>"
66
67
  - !ruby/object:Gem::Version
67
- version: 3.1.0
68
+ version: '3.8'
68
69
  type: :development
69
70
  prerelease: false
70
71
  version_requirements: !ruby/object:Gem::Requirement
71
72
  requirements:
72
73
  - - "~>"
73
74
  - !ruby/object:Gem::Version
74
- version: 3.1.0
75
+ version: '3.8'
75
76
  - !ruby/object:Gem::Dependency
76
77
  name: database_cleaner
77
78
  requirement: !ruby/object:Gem::Requirement
78
79
  requirements:
79
80
  - - "~>"
80
81
  - !ruby/object:Gem::Version
81
- version: 1.3.0
82
+ version: '1.7'
82
83
  type: :development
83
84
  prerelease: false
84
85
  version_requirements: !ruby/object:Gem::Requirement
85
86
  requirements:
86
87
  - - "~>"
87
88
  - !ruby/object:Gem::Version
88
- version: 1.3.0
89
+ version: '1.7'
89
90
  - !ruby/object:Gem::Dependency
90
91
  name: simplecov
91
92
  requirement: !ruby/object:Gem::Requirement
92
93
  requirements:
93
94
  - - "~>"
94
95
  - !ruby/object:Gem::Version
95
- version: 0.9.1
96
+ version: '0.16'
96
97
  type: :development
97
98
  prerelease: false
98
99
  version_requirements: !ruby/object:Gem::Requirement
99
100
  requirements:
100
101
  - - "~>"
101
102
  - !ruby/object:Gem::Version
102
- version: 0.9.1
103
+ version: '0.16'
103
104
  description:
104
105
  email:
105
106
  - amikhailov83@gmail.com
107
+ - zachaysan@gmail.com
106
108
  executables: []
107
109
  extensions: []
108
110
  extra_rdoc_files: []
@@ -148,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
148
150
  version: '0'
149
151
  requirements: []
150
152
  rubyforge_project:
151
- rubygems_version: 2.4.8
153
+ rubygems_version: 2.7.7
152
154
  signing_key:
153
155
  specification_version: 4
154
156
  summary: Recursively traverse trees using a single SQL query