activesorting 0.5.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 +7 -0
- data/.codeclimate.yml +16 -0
- data/.coveralls.yml +1 -0
- data/.gitignore +9 -0
- data/.rubocop.yml +1156 -0
- data/.travis.yml +24 -0
- data/Appraisals +15 -0
- data/CONTRIBUTING.md +29 -0
- data/Gemfile +4 -0
- data/LICENSE +21 -0
- data/README.md +63 -0
- data/Rakefile +7 -0
- data/activesorting.gemspec +30 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/gemfiles/40.gemfile +7 -0
- data/gemfiles/40.gemfile.lock +124 -0
- data/gemfiles/41.gemfile +7 -0
- data/gemfiles/41.gemfile.lock +128 -0
- data/gemfiles/42.gemfile +7 -0
- data/gemfiles/42.gemfile.lock +153 -0
- data/gemfiles/50.gemfile +7 -0
- data/gemfiles/50.gemfile.lock +163 -0
- data/lib/active_sorting/engine.rb +7 -0
- data/lib/active_sorting/model.rb +159 -0
- data/lib/active_sorting/version.rb +3 -0
- data/lib/active_sorting.rb +5 -0
- data/lib/activesorting.rb +1 -0
- metadata +183 -0
data/.travis.yml
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
language: ruby
|
|
2
|
+
rvm:
|
|
3
|
+
- 2.3.0
|
|
4
|
+
- 2.2.4
|
|
5
|
+
- 2.1.8
|
|
6
|
+
- 2.0.0
|
|
7
|
+
- rbx-2
|
|
8
|
+
before_install:
|
|
9
|
+
- gem install bundler -v '~> 1.11'
|
|
10
|
+
gemfile:
|
|
11
|
+
- gemfiles/40.gemfile
|
|
12
|
+
- gemfiles/41.gemfile
|
|
13
|
+
- gemfiles/42.gemfile
|
|
14
|
+
- gemfiles/50.gemfile
|
|
15
|
+
matrix:
|
|
16
|
+
exclude:
|
|
17
|
+
- rvm: 2.0.0
|
|
18
|
+
gemfile: gemfiles/50.gemfile
|
|
19
|
+
- rvm: 2.1.8
|
|
20
|
+
gemfile: gemfiles/50.gemfile
|
|
21
|
+
- rvm: rbx-2
|
|
22
|
+
gemfile: gemfiles/50.gemfile
|
|
23
|
+
cache:
|
|
24
|
+
- bundler
|
data/Appraisals
ADDED
data/CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
I love pull requests. Here's a quick guide:
|
|
2
|
+
|
|
3
|
+
1. Fork the repo.
|
|
4
|
+
|
|
5
|
+
2. Run the tests. We only take pull requests with passing tests, and it's great
|
|
6
|
+
to know that you have a clean slate: `bundle && rake`
|
|
7
|
+
|
|
8
|
+
3. Add a test for your change. Only refactoring and documentation changes
|
|
9
|
+
require no new tests. If you are adding functionality or fixing a bug, we need
|
|
10
|
+
a test!
|
|
11
|
+
|
|
12
|
+
4. Make the test pass.
|
|
13
|
+
|
|
14
|
+
5. Run `rubocop` and fix code style issues.
|
|
15
|
+
|
|
16
|
+
6. Push to your fork and submit a pull request.
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
At this point you're waiting on us. We like to at least comment on, if not
|
|
20
|
+
accept, pull requests within three business days (and, typically, one business
|
|
21
|
+
day). We may suggest some changes or improvements or alternatives.
|
|
22
|
+
|
|
23
|
+
Some things that will increase the chance that your pull request is accepted,
|
|
24
|
+
taken straight from the Ruby on Rails guide:
|
|
25
|
+
|
|
26
|
+
* Use Rails idioms and helpers
|
|
27
|
+
* Include tests that fail without your code, and pass with it
|
|
28
|
+
* Update the documentation, the surrounding one, examples elsewhere, guides,
|
|
29
|
+
whatever is affected by your contribution
|
data/Gemfile
ADDED
data/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2016 Omar Abdel-Wahab
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# ActiveSorting
|
|
2
|
+
[](https://codeclimate.com/github/owahab/active_sorting)
|
|
3
|
+
[](https://travis-ci.org/owahab/active_sorting)
|
|
4
|
+
[](https://coveralls.io/github/owahab/active_sorting?branch=master)
|
|
5
|
+
[](http://inch-ci.org/github/owahab/active_sorting)
|
|
6
|
+
[](https://hakiri.io/github/owahab/active_sorting/master)
|
|
7
|
+
|
|
8
|
+
Allows sorting Rails models using a custom field.
|
|
9
|
+
|
|
10
|
+
[Code Documentation](http://www.rubydoc.info/github/owahab/activesorting)
|
|
11
|
+
|
|
12
|
+
## Requirements
|
|
13
|
+
|
|
14
|
+
Minimum requirements are:
|
|
15
|
+
|
|
16
|
+
1. Rails __4.0.0+__
|
|
17
|
+
2. Ruby __2.0.0+__
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
## Installation
|
|
21
|
+
|
|
22
|
+
Add this line to your application's Gemfile:
|
|
23
|
+
|
|
24
|
+
```ruby
|
|
25
|
+
gem 'activesorting'
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
And then execute:
|
|
29
|
+
|
|
30
|
+
$ bundle
|
|
31
|
+
|
|
32
|
+
Or install it yourself as:
|
|
33
|
+
|
|
34
|
+
$ gem install activesorting
|
|
35
|
+
|
|
36
|
+
## Usage
|
|
37
|
+
|
|
38
|
+
Adds sorting support to Rails models.
|
|
39
|
+
|
|
40
|
+
To sort by a model field `position`:
|
|
41
|
+
|
|
42
|
+
class Example < ActiveRecord::Base
|
|
43
|
+
sortable :position
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
You can customize the sorting behavior by
|
|
47
|
+
passing an options hash. The following keys are supported:
|
|
48
|
+
|
|
49
|
+
`order` sorting direction, defaults to :asc
|
|
50
|
+
`step` stepping value, defaults to 500
|
|
51
|
+
`scope` scopes, defaults to []
|
|
52
|
+
|
|
53
|
+
## Development
|
|
54
|
+
|
|
55
|
+
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
|
56
|
+
|
|
57
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
|
58
|
+
|
|
59
|
+
## Contributing
|
|
60
|
+
|
|
61
|
+
Please see CONTRIBUTING.md for details.
|
|
62
|
+
|
|
63
|
+
## Credits
|
data/Rakefile
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
|
+
require 'active_sorting/version'
|
|
5
|
+
|
|
6
|
+
Gem::Specification.new do |spec|
|
|
7
|
+
spec.name = 'activesorting'
|
|
8
|
+
spec.version = ActiveSorting::VERSION
|
|
9
|
+
spec.authors = ['Omar Abdel-Wahab']
|
|
10
|
+
spec.email = ['owahab@gmail.com']
|
|
11
|
+
|
|
12
|
+
spec.summary = 'Adds ability to sort models using a custom field'
|
|
13
|
+
spec.homepage = 'http://github.com/owahab/active_sorting'
|
|
14
|
+
|
|
15
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
|
16
|
+
spec.bindir = 'exe'
|
|
17
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
18
|
+
spec.require_paths = ['lib']
|
|
19
|
+
spec.license = 'MIT'
|
|
20
|
+
|
|
21
|
+
spec.add_development_dependency 'bundler', '~> 1.11'
|
|
22
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
|
23
|
+
spec.add_development_dependency 'rspec'
|
|
24
|
+
spec.add_development_dependency 'sqlite3'
|
|
25
|
+
spec.add_development_dependency 'coveralls'
|
|
26
|
+
spec.add_development_dependency 'appraisal'
|
|
27
|
+
|
|
28
|
+
spec.add_dependency 'activerecord', '>= 4.0.0'
|
|
29
|
+
spec.add_dependency 'railties', '>= 4.0.0'
|
|
30
|
+
end
|
data/bin/console
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
|
|
3
|
+
require "bundler/setup"
|
|
4
|
+
require "activesorting"
|
|
5
|
+
|
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
|
8
|
+
|
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
|
10
|
+
# require "pry"
|
|
11
|
+
# Pry.start
|
|
12
|
+
|
|
13
|
+
require "irb"
|
|
14
|
+
IRB.start
|
data/bin/setup
ADDED
data/gemfiles/40.gemfile
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: ../
|
|
3
|
+
specs:
|
|
4
|
+
activesorting (0.5.0)
|
|
5
|
+
activerecord (>= 4.0.0)
|
|
6
|
+
railties (>= 4.0.0)
|
|
7
|
+
|
|
8
|
+
GEM
|
|
9
|
+
remote: https://rubygems.org/
|
|
10
|
+
specs:
|
|
11
|
+
actionmailer (4.0.13)
|
|
12
|
+
actionpack (= 4.0.13)
|
|
13
|
+
mail (~> 2.5, >= 2.5.4)
|
|
14
|
+
actionpack (4.0.13)
|
|
15
|
+
activesupport (= 4.0.13)
|
|
16
|
+
builder (~> 3.1.0)
|
|
17
|
+
erubis (~> 2.7.0)
|
|
18
|
+
rack (~> 1.5.2)
|
|
19
|
+
rack-test (~> 0.6.2)
|
|
20
|
+
activemodel (4.0.13)
|
|
21
|
+
activesupport (= 4.0.13)
|
|
22
|
+
builder (~> 3.1.0)
|
|
23
|
+
activerecord (4.0.13)
|
|
24
|
+
activemodel (= 4.0.13)
|
|
25
|
+
activerecord-deprecated_finders (~> 1.0.2)
|
|
26
|
+
activesupport (= 4.0.13)
|
|
27
|
+
arel (~> 4.0.0)
|
|
28
|
+
activerecord-deprecated_finders (1.0.4)
|
|
29
|
+
activesupport (4.0.13)
|
|
30
|
+
i18n (~> 0.6, >= 0.6.9)
|
|
31
|
+
minitest (~> 4.2)
|
|
32
|
+
multi_json (~> 1.3)
|
|
33
|
+
thread_safe (~> 0.1)
|
|
34
|
+
tzinfo (~> 0.3.37)
|
|
35
|
+
appraisal (2.1.0)
|
|
36
|
+
bundler
|
|
37
|
+
rake
|
|
38
|
+
thor (>= 0.14.0)
|
|
39
|
+
arel (4.0.2)
|
|
40
|
+
builder (3.1.4)
|
|
41
|
+
concurrent-ruby (1.0.1)
|
|
42
|
+
coveralls (0.8.13)
|
|
43
|
+
json (~> 1.8)
|
|
44
|
+
simplecov (~> 0.11.0)
|
|
45
|
+
term-ansicolor (~> 1.3)
|
|
46
|
+
thor (~> 0.19.1)
|
|
47
|
+
tins (~> 1.6.0)
|
|
48
|
+
diff-lcs (1.2.5)
|
|
49
|
+
docile (1.1.5)
|
|
50
|
+
erubis (2.7.0)
|
|
51
|
+
i18n (0.7.0)
|
|
52
|
+
json (1.8.3)
|
|
53
|
+
mail (2.6.4)
|
|
54
|
+
mime-types (>= 1.16, < 4)
|
|
55
|
+
mime-types (3.0)
|
|
56
|
+
mime-types-data (~> 3.2015)
|
|
57
|
+
mime-types-data (3.2016.0221)
|
|
58
|
+
minitest (4.7.5)
|
|
59
|
+
multi_json (1.11.2)
|
|
60
|
+
rack (1.5.5)
|
|
61
|
+
rack-test (0.6.3)
|
|
62
|
+
rack (>= 1.0)
|
|
63
|
+
rails (4.0.13)
|
|
64
|
+
actionmailer (= 4.0.13)
|
|
65
|
+
actionpack (= 4.0.13)
|
|
66
|
+
activerecord (= 4.0.13)
|
|
67
|
+
activesupport (= 4.0.13)
|
|
68
|
+
bundler (>= 1.3.0, < 2.0)
|
|
69
|
+
railties (= 4.0.13)
|
|
70
|
+
sprockets-rails (~> 2.0)
|
|
71
|
+
railties (4.0.13)
|
|
72
|
+
actionpack (= 4.0.13)
|
|
73
|
+
activesupport (= 4.0.13)
|
|
74
|
+
rake (>= 0.8.7)
|
|
75
|
+
thor (>= 0.18.1, < 2.0)
|
|
76
|
+
rake (10.5.0)
|
|
77
|
+
rspec (3.4.0)
|
|
78
|
+
rspec-core (~> 3.4.0)
|
|
79
|
+
rspec-expectations (~> 3.4.0)
|
|
80
|
+
rspec-mocks (~> 3.4.0)
|
|
81
|
+
rspec-core (3.4.4)
|
|
82
|
+
rspec-support (~> 3.4.0)
|
|
83
|
+
rspec-expectations (3.4.0)
|
|
84
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
85
|
+
rspec-support (~> 3.4.0)
|
|
86
|
+
rspec-mocks (3.4.1)
|
|
87
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
88
|
+
rspec-support (~> 3.4.0)
|
|
89
|
+
rspec-support (3.4.1)
|
|
90
|
+
simplecov (0.11.2)
|
|
91
|
+
docile (~> 1.1.0)
|
|
92
|
+
json (~> 1.8)
|
|
93
|
+
simplecov-html (~> 0.10.0)
|
|
94
|
+
simplecov-html (0.10.0)
|
|
95
|
+
sprockets (3.5.2)
|
|
96
|
+
concurrent-ruby (~> 1.0)
|
|
97
|
+
rack (> 1, < 3)
|
|
98
|
+
sprockets-rails (2.3.3)
|
|
99
|
+
actionpack (>= 3.0)
|
|
100
|
+
activesupport (>= 3.0)
|
|
101
|
+
sprockets (>= 2.8, < 4.0)
|
|
102
|
+
sqlite3 (1.3.11)
|
|
103
|
+
term-ansicolor (1.3.2)
|
|
104
|
+
tins (~> 1.0)
|
|
105
|
+
thor (0.19.1)
|
|
106
|
+
thread_safe (0.3.5)
|
|
107
|
+
tins (1.6.0)
|
|
108
|
+
tzinfo (0.3.48)
|
|
109
|
+
|
|
110
|
+
PLATFORMS
|
|
111
|
+
ruby
|
|
112
|
+
|
|
113
|
+
DEPENDENCIES
|
|
114
|
+
appraisal
|
|
115
|
+
bundler (~> 1.11)
|
|
116
|
+
coveralls
|
|
117
|
+
rails (~> 4.0.0)
|
|
118
|
+
rake (~> 10.0)
|
|
119
|
+
rspec
|
|
120
|
+
sqlite3
|
|
121
|
+
activesorting!
|
|
122
|
+
|
|
123
|
+
BUNDLED WITH
|
|
124
|
+
1.11.2
|
data/gemfiles/41.gemfile
ADDED
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: ../
|
|
3
|
+
specs:
|
|
4
|
+
activesorting (0.5.0)
|
|
5
|
+
activerecord (>= 4.0.0)
|
|
6
|
+
railties (>= 4.0.0)
|
|
7
|
+
|
|
8
|
+
GEM
|
|
9
|
+
remote: https://rubygems.org/
|
|
10
|
+
specs:
|
|
11
|
+
actionmailer (4.1.15)
|
|
12
|
+
actionpack (= 4.1.15)
|
|
13
|
+
actionview (= 4.1.15)
|
|
14
|
+
mail (~> 2.5, >= 2.5.4)
|
|
15
|
+
actionpack (4.1.15)
|
|
16
|
+
actionview (= 4.1.15)
|
|
17
|
+
activesupport (= 4.1.15)
|
|
18
|
+
rack (~> 1.5.2)
|
|
19
|
+
rack-test (~> 0.6.2)
|
|
20
|
+
actionview (4.1.15)
|
|
21
|
+
activesupport (= 4.1.15)
|
|
22
|
+
builder (~> 3.1)
|
|
23
|
+
erubis (~> 2.7.0)
|
|
24
|
+
activemodel (4.1.15)
|
|
25
|
+
activesupport (= 4.1.15)
|
|
26
|
+
builder (~> 3.1)
|
|
27
|
+
activerecord (4.1.15)
|
|
28
|
+
activemodel (= 4.1.15)
|
|
29
|
+
activesupport (= 4.1.15)
|
|
30
|
+
arel (~> 5.0.0)
|
|
31
|
+
activesupport (4.1.15)
|
|
32
|
+
i18n (~> 0.6, >= 0.6.9)
|
|
33
|
+
json (~> 1.7, >= 1.7.7)
|
|
34
|
+
minitest (~> 5.1)
|
|
35
|
+
thread_safe (~> 0.1)
|
|
36
|
+
tzinfo (~> 1.1)
|
|
37
|
+
appraisal (2.1.0)
|
|
38
|
+
bundler
|
|
39
|
+
rake
|
|
40
|
+
thor (>= 0.14.0)
|
|
41
|
+
arel (5.0.1.20140414130214)
|
|
42
|
+
builder (3.2.2)
|
|
43
|
+
concurrent-ruby (1.0.1)
|
|
44
|
+
coveralls (0.8.13)
|
|
45
|
+
json (~> 1.8)
|
|
46
|
+
simplecov (~> 0.11.0)
|
|
47
|
+
term-ansicolor (~> 1.3)
|
|
48
|
+
thor (~> 0.19.1)
|
|
49
|
+
tins (~> 1.6.0)
|
|
50
|
+
diff-lcs (1.2.5)
|
|
51
|
+
docile (1.1.5)
|
|
52
|
+
erubis (2.7.0)
|
|
53
|
+
i18n (0.7.0)
|
|
54
|
+
json (1.8.3)
|
|
55
|
+
mail (2.6.4)
|
|
56
|
+
mime-types (>= 1.16, < 4)
|
|
57
|
+
mime-types (3.0)
|
|
58
|
+
mime-types-data (~> 3.2015)
|
|
59
|
+
mime-types-data (3.2016.0221)
|
|
60
|
+
minitest (5.8.4)
|
|
61
|
+
rack (1.5.5)
|
|
62
|
+
rack-test (0.6.3)
|
|
63
|
+
rack (>= 1.0)
|
|
64
|
+
rails (4.1.15)
|
|
65
|
+
actionmailer (= 4.1.15)
|
|
66
|
+
actionpack (= 4.1.15)
|
|
67
|
+
actionview (= 4.1.15)
|
|
68
|
+
activemodel (= 4.1.15)
|
|
69
|
+
activerecord (= 4.1.15)
|
|
70
|
+
activesupport (= 4.1.15)
|
|
71
|
+
bundler (>= 1.3.0, < 2.0)
|
|
72
|
+
railties (= 4.1.15)
|
|
73
|
+
sprockets-rails (~> 2.0)
|
|
74
|
+
railties (4.1.15)
|
|
75
|
+
actionpack (= 4.1.15)
|
|
76
|
+
activesupport (= 4.1.15)
|
|
77
|
+
rake (>= 0.8.7)
|
|
78
|
+
thor (>= 0.18.1, < 2.0)
|
|
79
|
+
rake (10.5.0)
|
|
80
|
+
rspec (3.4.0)
|
|
81
|
+
rspec-core (~> 3.4.0)
|
|
82
|
+
rspec-expectations (~> 3.4.0)
|
|
83
|
+
rspec-mocks (~> 3.4.0)
|
|
84
|
+
rspec-core (3.4.4)
|
|
85
|
+
rspec-support (~> 3.4.0)
|
|
86
|
+
rspec-expectations (3.4.0)
|
|
87
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
88
|
+
rspec-support (~> 3.4.0)
|
|
89
|
+
rspec-mocks (3.4.1)
|
|
90
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
91
|
+
rspec-support (~> 3.4.0)
|
|
92
|
+
rspec-support (3.4.1)
|
|
93
|
+
simplecov (0.11.2)
|
|
94
|
+
docile (~> 1.1.0)
|
|
95
|
+
json (~> 1.8)
|
|
96
|
+
simplecov-html (~> 0.10.0)
|
|
97
|
+
simplecov-html (0.10.0)
|
|
98
|
+
sprockets (3.5.2)
|
|
99
|
+
concurrent-ruby (~> 1.0)
|
|
100
|
+
rack (> 1, < 3)
|
|
101
|
+
sprockets-rails (2.3.3)
|
|
102
|
+
actionpack (>= 3.0)
|
|
103
|
+
activesupport (>= 3.0)
|
|
104
|
+
sprockets (>= 2.8, < 4.0)
|
|
105
|
+
sqlite3 (1.3.11)
|
|
106
|
+
term-ansicolor (1.3.2)
|
|
107
|
+
tins (~> 1.0)
|
|
108
|
+
thor (0.19.1)
|
|
109
|
+
thread_safe (0.3.5)
|
|
110
|
+
tins (1.6.0)
|
|
111
|
+
tzinfo (1.2.2)
|
|
112
|
+
thread_safe (~> 0.1)
|
|
113
|
+
|
|
114
|
+
PLATFORMS
|
|
115
|
+
ruby
|
|
116
|
+
|
|
117
|
+
DEPENDENCIES
|
|
118
|
+
appraisal
|
|
119
|
+
bundler (~> 1.11)
|
|
120
|
+
coveralls
|
|
121
|
+
rails (~> 4.1.0)
|
|
122
|
+
rake (~> 10.0)
|
|
123
|
+
rspec
|
|
124
|
+
sqlite3
|
|
125
|
+
activesorting!
|
|
126
|
+
|
|
127
|
+
BUNDLED WITH
|
|
128
|
+
1.11.2
|
data/gemfiles/42.gemfile
ADDED
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: ../
|
|
3
|
+
specs:
|
|
4
|
+
activesorting (0.5.0)
|
|
5
|
+
activerecord (>= 4.0.0)
|
|
6
|
+
railties (>= 4.0.0)
|
|
7
|
+
|
|
8
|
+
GEM
|
|
9
|
+
remote: https://rubygems.org/
|
|
10
|
+
specs:
|
|
11
|
+
actionmailer (4.2.6)
|
|
12
|
+
actionpack (= 4.2.6)
|
|
13
|
+
actionview (= 4.2.6)
|
|
14
|
+
activejob (= 4.2.6)
|
|
15
|
+
mail (~> 2.5, >= 2.5.4)
|
|
16
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
|
17
|
+
actionpack (4.2.6)
|
|
18
|
+
actionview (= 4.2.6)
|
|
19
|
+
activesupport (= 4.2.6)
|
|
20
|
+
rack (~> 1.6)
|
|
21
|
+
rack-test (~> 0.6.2)
|
|
22
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
|
23
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
|
24
|
+
actionview (4.2.6)
|
|
25
|
+
activesupport (= 4.2.6)
|
|
26
|
+
builder (~> 3.1)
|
|
27
|
+
erubis (~> 2.7.0)
|
|
28
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
|
29
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
|
30
|
+
activejob (4.2.6)
|
|
31
|
+
activesupport (= 4.2.6)
|
|
32
|
+
globalid (>= 0.3.0)
|
|
33
|
+
activemodel (4.2.6)
|
|
34
|
+
activesupport (= 4.2.6)
|
|
35
|
+
builder (~> 3.1)
|
|
36
|
+
activerecord (4.2.6)
|
|
37
|
+
activemodel (= 4.2.6)
|
|
38
|
+
activesupport (= 4.2.6)
|
|
39
|
+
arel (~> 6.0)
|
|
40
|
+
activesupport (4.2.6)
|
|
41
|
+
i18n (~> 0.7)
|
|
42
|
+
json (~> 1.7, >= 1.7.7)
|
|
43
|
+
minitest (~> 5.1)
|
|
44
|
+
thread_safe (~> 0.3, >= 0.3.4)
|
|
45
|
+
tzinfo (~> 1.1)
|
|
46
|
+
appraisal (2.1.0)
|
|
47
|
+
bundler
|
|
48
|
+
rake
|
|
49
|
+
thor (>= 0.14.0)
|
|
50
|
+
arel (6.0.3)
|
|
51
|
+
builder (3.2.2)
|
|
52
|
+
concurrent-ruby (1.0.1)
|
|
53
|
+
coveralls (0.8.13)
|
|
54
|
+
json (~> 1.8)
|
|
55
|
+
simplecov (~> 0.11.0)
|
|
56
|
+
term-ansicolor (~> 1.3)
|
|
57
|
+
thor (~> 0.19.1)
|
|
58
|
+
tins (~> 1.6.0)
|
|
59
|
+
diff-lcs (1.2.5)
|
|
60
|
+
docile (1.1.5)
|
|
61
|
+
erubis (2.7.0)
|
|
62
|
+
globalid (0.3.6)
|
|
63
|
+
activesupport (>= 4.1.0)
|
|
64
|
+
i18n (0.7.0)
|
|
65
|
+
json (1.8.3)
|
|
66
|
+
loofah (2.0.3)
|
|
67
|
+
nokogiri (>= 1.5.9)
|
|
68
|
+
mail (2.6.4)
|
|
69
|
+
mime-types (>= 1.16, < 4)
|
|
70
|
+
mime-types (3.0)
|
|
71
|
+
mime-types-data (~> 3.2015)
|
|
72
|
+
mime-types-data (3.2016.0221)
|
|
73
|
+
mini_portile2 (2.0.0)
|
|
74
|
+
minitest (5.8.4)
|
|
75
|
+
nokogiri (1.6.7.2)
|
|
76
|
+
mini_portile2 (~> 2.0.0.rc2)
|
|
77
|
+
rack (1.6.4)
|
|
78
|
+
rack-test (0.6.3)
|
|
79
|
+
rack (>= 1.0)
|
|
80
|
+
rails (4.2.6)
|
|
81
|
+
actionmailer (= 4.2.6)
|
|
82
|
+
actionpack (= 4.2.6)
|
|
83
|
+
actionview (= 4.2.6)
|
|
84
|
+
activejob (= 4.2.6)
|
|
85
|
+
activemodel (= 4.2.6)
|
|
86
|
+
activerecord (= 4.2.6)
|
|
87
|
+
activesupport (= 4.2.6)
|
|
88
|
+
bundler (>= 1.3.0, < 2.0)
|
|
89
|
+
railties (= 4.2.6)
|
|
90
|
+
sprockets-rails
|
|
91
|
+
rails-deprecated_sanitizer (1.0.3)
|
|
92
|
+
activesupport (>= 4.2.0.alpha)
|
|
93
|
+
rails-dom-testing (1.0.7)
|
|
94
|
+
activesupport (>= 4.2.0.beta, < 5.0)
|
|
95
|
+
nokogiri (~> 1.6.0)
|
|
96
|
+
rails-deprecated_sanitizer (>= 1.0.1)
|
|
97
|
+
rails-html-sanitizer (1.0.3)
|
|
98
|
+
loofah (~> 2.0)
|
|
99
|
+
railties (4.2.6)
|
|
100
|
+
actionpack (= 4.2.6)
|
|
101
|
+
activesupport (= 4.2.6)
|
|
102
|
+
rake (>= 0.8.7)
|
|
103
|
+
thor (>= 0.18.1, < 2.0)
|
|
104
|
+
rake (10.5.0)
|
|
105
|
+
rspec (3.4.0)
|
|
106
|
+
rspec-core (~> 3.4.0)
|
|
107
|
+
rspec-expectations (~> 3.4.0)
|
|
108
|
+
rspec-mocks (~> 3.4.0)
|
|
109
|
+
rspec-core (3.4.4)
|
|
110
|
+
rspec-support (~> 3.4.0)
|
|
111
|
+
rspec-expectations (3.4.0)
|
|
112
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
113
|
+
rspec-support (~> 3.4.0)
|
|
114
|
+
rspec-mocks (3.4.1)
|
|
115
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
116
|
+
rspec-support (~> 3.4.0)
|
|
117
|
+
rspec-support (3.4.1)
|
|
118
|
+
simplecov (0.11.2)
|
|
119
|
+
docile (~> 1.1.0)
|
|
120
|
+
json (~> 1.8)
|
|
121
|
+
simplecov-html (~> 0.10.0)
|
|
122
|
+
simplecov-html (0.10.0)
|
|
123
|
+
sprockets (3.5.2)
|
|
124
|
+
concurrent-ruby (~> 1.0)
|
|
125
|
+
rack (> 1, < 3)
|
|
126
|
+
sprockets-rails (3.0.4)
|
|
127
|
+
actionpack (>= 4.0)
|
|
128
|
+
activesupport (>= 4.0)
|
|
129
|
+
sprockets (>= 3.0.0)
|
|
130
|
+
sqlite3 (1.3.11)
|
|
131
|
+
term-ansicolor (1.3.2)
|
|
132
|
+
tins (~> 1.0)
|
|
133
|
+
thor (0.19.1)
|
|
134
|
+
thread_safe (0.3.5)
|
|
135
|
+
tins (1.6.0)
|
|
136
|
+
tzinfo (1.2.2)
|
|
137
|
+
thread_safe (~> 0.1)
|
|
138
|
+
|
|
139
|
+
PLATFORMS
|
|
140
|
+
ruby
|
|
141
|
+
|
|
142
|
+
DEPENDENCIES
|
|
143
|
+
appraisal
|
|
144
|
+
bundler (~> 1.11)
|
|
145
|
+
coveralls
|
|
146
|
+
rails (~> 4.2.0)
|
|
147
|
+
rake (~> 10.0)
|
|
148
|
+
rspec
|
|
149
|
+
sqlite3
|
|
150
|
+
activesorting!
|
|
151
|
+
|
|
152
|
+
BUNDLED WITH
|
|
153
|
+
1.11.2
|