pg_ltree 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/Rakefile +29 -0
  4. data/lib/pg_ltree/ltree.rb +190 -0
  5. data/lib/pg_ltree/scoped_for.rb +45 -0
  6. data/lib/pg_ltree/version.rb +8 -0
  7. data/lib/pg_ltree.rb +5 -0
  8. data/lib/tasks/pg_ltree_tasks.rake +4 -0
  9. data/test/doc/_index.html +88 -0
  10. data/test/doc/class_list.html +58 -0
  11. data/test/doc/css/common.css +1 -0
  12. data/test/doc/css/full_list.css +57 -0
  13. data/test/doc/css/style.css +339 -0
  14. data/test/doc/file_list.html +57 -0
  15. data/test/doc/frames.html +26 -0
  16. data/test/doc/index.html +88 -0
  17. data/test/doc/js/app.js +219 -0
  18. data/test/doc/js/full_list.js +181 -0
  19. data/test/doc/js/jquery.js +4 -0
  20. data/test/doc/method_list.html +57 -0
  21. data/test/doc/top-level-namespace.html +102 -0
  22. data/test/dummy/README.rdoc +28 -0
  23. data/test/dummy/Rakefile +6 -0
  24. data/test/dummy/app/assets/javascripts/application.js +13 -0
  25. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  26. data/test/dummy/app/controllers/application_controller.rb +5 -0
  27. data/test/dummy/app/helpers/application_helper.rb +2 -0
  28. data/test/dummy/app/models/not_uniq_tree_node.rb +6 -0
  29. data/test/dummy/app/models/tree_node.rb +3 -0
  30. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  31. data/test/dummy/bin/bundle +3 -0
  32. data/test/dummy/bin/rails +4 -0
  33. data/test/dummy/bin/rake +4 -0
  34. data/test/dummy/bin/setup +29 -0
  35. data/test/dummy/config/application.rb +26 -0
  36. data/test/dummy/config/boot.rb +5 -0
  37. data/test/dummy/config/database.yml.example +14 -0
  38. data/test/dummy/config/environment.rb +5 -0
  39. data/test/dummy/config/environments/development.rb +41 -0
  40. data/test/dummy/config/environments/production.rb +79 -0
  41. data/test/dummy/config/environments/test.rb +42 -0
  42. data/test/dummy/config/initializers/assets.rb +11 -0
  43. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  44. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  45. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  46. data/test/dummy/config/initializers/inflections.rb +16 -0
  47. data/test/dummy/config/initializers/mime_types.rb +4 -0
  48. data/test/dummy/config/initializers/session_store.rb +3 -0
  49. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  50. data/test/dummy/config/locales/en.yml +23 -0
  51. data/test/dummy/config/routes.rb +56 -0
  52. data/test/dummy/config/secrets.yml +22 -0
  53. data/test/dummy/config.ru +4 -0
  54. data/test/dummy/db/migrate/20150809114511_enable_postgres_ltree.rb +13 -0
  55. data/test/dummy/db/migrate/20150809114528_create_tree_node.rb +7 -0
  56. data/test/dummy/db/migrate/20150809114547_create_not_uniq_tree_node.rb +8 -0
  57. data/test/dummy/db/schema.rb +29 -0
  58. data/test/dummy/log/development.log +718 -0
  59. data/test/dummy/log/test.log +34557 -0
  60. data/test/dummy/public/404.html +67 -0
  61. data/test/dummy/public/422.html +67 -0
  62. data/test/dummy/public/500.html +66 -0
  63. data/test/dummy/public/favicon.ico +0 -0
  64. data/test/pg_ltree/ltree_test.rb +154 -0
  65. data/test/pg_ltree/scoped_for_test.rb +157 -0
  66. data/test/pg_ltree_test.rb +7 -0
  67. data/test/test_helper.rb +26 -0
  68. metadata +199 -0
metadata ADDED
@@ -0,0 +1,199 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: pg_ltree
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Andrei Panamarenka
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-08-09 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 4.0.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 4.0.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: pg
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description: Organise ActiveRecord model into a tree structure with PostgreSQL LTree
42
+ (Use clean ltree without additional fields)
43
+ email:
44
+ - andrei.panamarenka@gmail.com
45
+ executables: []
46
+ extensions: []
47
+ extra_rdoc_files: []
48
+ files:
49
+ - MIT-LICENSE
50
+ - Rakefile
51
+ - lib/pg_ltree.rb
52
+ - lib/pg_ltree/ltree.rb
53
+ - lib/pg_ltree/scoped_for.rb
54
+ - lib/pg_ltree/version.rb
55
+ - lib/tasks/pg_ltree_tasks.rake
56
+ - test/doc/_index.html
57
+ - test/doc/class_list.html
58
+ - test/doc/css/common.css
59
+ - test/doc/css/full_list.css
60
+ - test/doc/css/style.css
61
+ - test/doc/file_list.html
62
+ - test/doc/frames.html
63
+ - test/doc/index.html
64
+ - test/doc/js/app.js
65
+ - test/doc/js/full_list.js
66
+ - test/doc/js/jquery.js
67
+ - test/doc/method_list.html
68
+ - test/doc/top-level-namespace.html
69
+ - test/dummy/README.rdoc
70
+ - test/dummy/Rakefile
71
+ - test/dummy/app/assets/javascripts/application.js
72
+ - test/dummy/app/assets/stylesheets/application.css
73
+ - test/dummy/app/controllers/application_controller.rb
74
+ - test/dummy/app/helpers/application_helper.rb
75
+ - test/dummy/app/models/not_uniq_tree_node.rb
76
+ - test/dummy/app/models/tree_node.rb
77
+ - test/dummy/app/views/layouts/application.html.erb
78
+ - test/dummy/bin/bundle
79
+ - test/dummy/bin/rails
80
+ - test/dummy/bin/rake
81
+ - test/dummy/bin/setup
82
+ - test/dummy/config.ru
83
+ - test/dummy/config/application.rb
84
+ - test/dummy/config/boot.rb
85
+ - test/dummy/config/database.yml.example
86
+ - test/dummy/config/environment.rb
87
+ - test/dummy/config/environments/development.rb
88
+ - test/dummy/config/environments/production.rb
89
+ - test/dummy/config/environments/test.rb
90
+ - test/dummy/config/initializers/assets.rb
91
+ - test/dummy/config/initializers/backtrace_silencers.rb
92
+ - test/dummy/config/initializers/cookies_serializer.rb
93
+ - test/dummy/config/initializers/filter_parameter_logging.rb
94
+ - test/dummy/config/initializers/inflections.rb
95
+ - test/dummy/config/initializers/mime_types.rb
96
+ - test/dummy/config/initializers/session_store.rb
97
+ - test/dummy/config/initializers/wrap_parameters.rb
98
+ - test/dummy/config/locales/en.yml
99
+ - test/dummy/config/routes.rb
100
+ - test/dummy/config/secrets.yml
101
+ - test/dummy/db/migrate/20150809114511_enable_postgres_ltree.rb
102
+ - test/dummy/db/migrate/20150809114528_create_tree_node.rb
103
+ - test/dummy/db/migrate/20150809114547_create_not_uniq_tree_node.rb
104
+ - test/dummy/db/schema.rb
105
+ - test/dummy/log/development.log
106
+ - test/dummy/log/test.log
107
+ - test/dummy/public/404.html
108
+ - test/dummy/public/422.html
109
+ - test/dummy/public/500.html
110
+ - test/dummy/public/favicon.ico
111
+ - test/pg_ltree/ltree_test.rb
112
+ - test/pg_ltree/scoped_for_test.rb
113
+ - test/pg_ltree_test.rb
114
+ - test/test_helper.rb
115
+ homepage: https://github.com/sjke/pg_ltree
116
+ licenses:
117
+ - MIT
118
+ metadata: {}
119
+ post_install_message:
120
+ rdoc_options: []
121
+ require_paths:
122
+ - lib
123
+ required_ruby_version: !ruby/object:Gem::Requirement
124
+ requirements:
125
+ - - ">="
126
+ - !ruby/object:Gem::Version
127
+ version: '0'
128
+ required_rubygems_version: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - ">="
131
+ - !ruby/object:Gem::Version
132
+ version: '0'
133
+ requirements: []
134
+ rubyforge_project:
135
+ rubygems_version: 2.4.6
136
+ signing_key:
137
+ specification_version: 4
138
+ summary: Organise ActiveRecord model into a tree structure with PostgreSQL LTree
139
+ test_files:
140
+ - test/pg_ltree/ltree_test.rb
141
+ - test/pg_ltree/scoped_for_test.rb
142
+ - test/doc/_index.html
143
+ - test/doc/class_list.html
144
+ - test/doc/index.html
145
+ - test/doc/file_list.html
146
+ - test/doc/css/full_list.css
147
+ - test/doc/css/style.css
148
+ - test/doc/css/common.css
149
+ - test/doc/js/jquery.js
150
+ - test/doc/js/full_list.js
151
+ - test/doc/js/app.js
152
+ - test/doc/top-level-namespace.html
153
+ - test/doc/method_list.html
154
+ - test/doc/frames.html
155
+ - test/test_helper.rb
156
+ - test/dummy/config.ru
157
+ - test/dummy/db/migrate/20150809114547_create_not_uniq_tree_node.rb
158
+ - test/dummy/db/migrate/20150809114528_create_tree_node.rb
159
+ - test/dummy/db/migrate/20150809114511_enable_postgres_ltree.rb
160
+ - test/dummy/db/schema.rb
161
+ - test/dummy/README.rdoc
162
+ - test/dummy/public/favicon.ico
163
+ - test/dummy/public/404.html
164
+ - test/dummy/public/500.html
165
+ - test/dummy/public/422.html
166
+ - test/dummy/config/routes.rb
167
+ - test/dummy/config/environment.rb
168
+ - test/dummy/config/locales/en.yml
169
+ - test/dummy/config/environments/production.rb
170
+ - test/dummy/config/environments/test.rb
171
+ - test/dummy/config/environments/development.rb
172
+ - test/dummy/config/database.yml.example
173
+ - test/dummy/config/boot.rb
174
+ - test/dummy/config/secrets.yml
175
+ - test/dummy/config/initializers/session_store.rb
176
+ - test/dummy/config/initializers/cookies_serializer.rb
177
+ - test/dummy/config/initializers/backtrace_silencers.rb
178
+ - test/dummy/config/initializers/mime_types.rb
179
+ - test/dummy/config/initializers/assets.rb
180
+ - test/dummy/config/initializers/wrap_parameters.rb
181
+ - test/dummy/config/initializers/inflections.rb
182
+ - test/dummy/config/initializers/filter_parameter_logging.rb
183
+ - test/dummy/config/application.rb
184
+ - test/dummy/log/development.log
185
+ - test/dummy/log/test.log
186
+ - test/dummy/Rakefile
187
+ - test/dummy/bin/rake
188
+ - test/dummy/bin/setup
189
+ - test/dummy/bin/rails
190
+ - test/dummy/bin/bundle
191
+ - test/dummy/app/assets/stylesheets/application.css
192
+ - test/dummy/app/assets/javascripts/application.js
193
+ - test/dummy/app/controllers/application_controller.rb
194
+ - test/dummy/app/views/layouts/application.html.erb
195
+ - test/dummy/app/helpers/application_helper.rb
196
+ - test/dummy/app/models/tree_node.rb
197
+ - test/dummy/app/models/not_uniq_tree_node.rb
198
+ - test/pg_ltree_test.rb
199
+ has_rdoc: