ordy 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +1 -0
- data/.travis.yml +23 -0
- data/Appraisals +14 -0
- data/Dockerfile +18 -0
- data/Gemfile +3 -0
- data/Gemfile.lock +89 -0
- data/LICENSE +21 -0
- data/Rakefile +8 -0
- data/VERSION +1 -0
- data/docker-compose.yml +6 -0
- data/gemfiles/rails_4.gemfile +8 -0
- data/gemfiles/rails_4.gemfile.lock +97 -0
- data/gemfiles/rails_5_0.gemfile +8 -0
- data/gemfiles/rails_5_0.gemfile.lock +91 -0
- data/gemfiles/rails_5_2.gemfile +8 -0
- data/gemfiles/rails_5_2.gemfile.lock +91 -0
- data/lib/config/settings.rb +9 -0
- data/lib/config/settings.yml +5 -0
- data/lib/ordy/helpers/action_view/orderable_link_helper.rb +61 -0
- data/lib/ordy/orm/active_record/orderable/by_association.rb +17 -0
- data/lib/ordy/orm/active_record/orderable/by_column.rb +17 -0
- data/lib/ordy/orm/active_record/orderable/by_specified.rb +23 -0
- data/lib/ordy/orm/active_record/orderable.rb +188 -0
- data/lib/ordy.rb +9 -0
- data/ordy.gemspec +32 -0
- data/readme.md +138 -0
- data/spec/ordy/orm/active_record/orderable_spec.rb +151 -0
- data/spec/spec_helper.rb +5 -0
- data/spec/support/orm/active_record/active_record_test_db.rb +95 -0
- metadata +172 -0
metadata
ADDED
@@ -0,0 +1,172 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ordy
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- nine.ch Development-Team
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-11-23 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rspec
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: pry
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: sqlite3
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: appraisal
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: activerecord
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 4.0.0
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 4.0.0
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: actionview
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 4.0.0
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 4.0.0
|
111
|
+
description: 'Simple sorting gem for RubyObject''s and ORM''s '
|
112
|
+
email: development@nine.ch
|
113
|
+
executables: []
|
114
|
+
extensions: []
|
115
|
+
extra_rdoc_files: []
|
116
|
+
files:
|
117
|
+
- ".gitignore"
|
118
|
+
- ".travis.yml"
|
119
|
+
- Appraisals
|
120
|
+
- Dockerfile
|
121
|
+
- Gemfile
|
122
|
+
- Gemfile.lock
|
123
|
+
- LICENSE
|
124
|
+
- Rakefile
|
125
|
+
- VERSION
|
126
|
+
- docker-compose.yml
|
127
|
+
- gemfiles/rails_4.gemfile
|
128
|
+
- gemfiles/rails_4.gemfile.lock
|
129
|
+
- gemfiles/rails_5_0.gemfile
|
130
|
+
- gemfiles/rails_5_0.gemfile.lock
|
131
|
+
- gemfiles/rails_5_2.gemfile
|
132
|
+
- gemfiles/rails_5_2.gemfile.lock
|
133
|
+
- lib/config/settings.rb
|
134
|
+
- lib/config/settings.yml
|
135
|
+
- lib/ordy.rb
|
136
|
+
- lib/ordy/helpers/action_view/orderable_link_helper.rb
|
137
|
+
- lib/ordy/orm/active_record/orderable.rb
|
138
|
+
- lib/ordy/orm/active_record/orderable/by_association.rb
|
139
|
+
- lib/ordy/orm/active_record/orderable/by_column.rb
|
140
|
+
- lib/ordy/orm/active_record/orderable/by_specified.rb
|
141
|
+
- ordy.gemspec
|
142
|
+
- readme.md
|
143
|
+
- spec/ordy/orm/active_record/orderable_spec.rb
|
144
|
+
- spec/spec_helper.rb
|
145
|
+
- spec/support/orm/active_record/active_record_test_db.rb
|
146
|
+
homepage: http://github.com/ninech/
|
147
|
+
licenses:
|
148
|
+
- MIT
|
149
|
+
metadata: {}
|
150
|
+
post_install_message:
|
151
|
+
rdoc_options: []
|
152
|
+
require_paths:
|
153
|
+
- lib
|
154
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
155
|
+
requirements:
|
156
|
+
- - ">="
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: 2.0.0
|
159
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
160
|
+
requirements:
|
161
|
+
- - ">="
|
162
|
+
- !ruby/object:Gem::Version
|
163
|
+
version: '0'
|
164
|
+
requirements: []
|
165
|
+
rubygems_version: 3.0.3
|
166
|
+
signing_key:
|
167
|
+
specification_version: 4
|
168
|
+
summary: Simple sorting gem
|
169
|
+
test_files:
|
170
|
+
- spec/ordy/orm/active_record/orderable_spec.rb
|
171
|
+
- spec/spec_helper.rb
|
172
|
+
- spec/support/orm/active_record/active_record_test_db.rb
|