tabulator-rails 0.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 +15 -0
- data/CHANGELOG.md +2 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +93 -0
- data/LICENSE.txt +21 -0
- data/README.md +63 -0
- data/Rakefile +6 -0
- data/VERSIONS.md +5 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/tabulator-rails.rb +3 -0
- data/lib/tabulator-rails/engine.rb +6 -0
- data/lib/tabulator-rails/version.rb +5 -0
- data/tabulator-rails.gemspec +38 -0
- data/test-app/.gitignore +23 -0
- data/test-app/Gemfile +59 -0
- data/test-app/Gemfile.lock +210 -0
- data/test-app/README.md +24 -0
- data/test-app/Rakefile +6 -0
- data/test-app/app/assets/config/manifest.js +3 -0
- data/test-app/app/assets/images/.keep +0 -0
- data/test-app/app/assets/javascripts/application.js +17 -0
- data/test-app/app/assets/javascripts/cable.js +13 -0
- data/test-app/app/assets/javascripts/channels/.keep +0 -0
- data/test-app/app/assets/javascripts/posts.js +28 -0
- data/test-app/app/assets/stylesheets/application.css +16 -0
- data/test-app/app/assets/stylesheets/posts.scss +3 -0
- data/test-app/app/assets/stylesheets/scaffolds.scss +84 -0
- data/test-app/app/channels/application_cable/channel.rb +4 -0
- data/test-app/app/channels/application_cable/connection.rb +4 -0
- data/test-app/app/controllers/application_controller.rb +3 -0
- data/test-app/app/controllers/concerns/.keep +0 -0
- data/test-app/app/controllers/posts_controller.rb +3 -0
- data/test-app/app/helpers/application_helper.rb +2 -0
- data/test-app/app/helpers/posts_helper.rb +2 -0
- data/test-app/app/jobs/application_job.rb +2 -0
- data/test-app/app/mailers/application_mailer.rb +4 -0
- data/test-app/app/models/application_record.rb +3 -0
- data/test-app/app/models/concerns/.keep +0 -0
- data/test-app/app/models/post.rb +2 -0
- data/test-app/app/views/layouts/application.html.erb +14 -0
- data/test-app/app/views/layouts/mailer.html.erb +13 -0
- data/test-app/app/views/layouts/mailer.text.erb +1 -0
- data/test-app/app/views/posts/index.html.erb +3 -0
- data/test-app/bin/bundle +3 -0
- data/test-app/bin/rails +9 -0
- data/test-app/bin/rake +9 -0
- data/test-app/bin/setup +38 -0
- data/test-app/bin/spring +17 -0
- data/test-app/bin/update +29 -0
- data/test-app/bin/yarn +11 -0
- data/test-app/config.ru +5 -0
- data/test-app/config/application.rb +18 -0
- data/test-app/config/boot.rb +3 -0
- data/test-app/config/cable.yml +10 -0
- data/test-app/config/database.yml +25 -0
- data/test-app/config/environment.rb +5 -0
- data/test-app/config/environments/development.rb +54 -0
- data/test-app/config/environments/production.rb +91 -0
- data/test-app/config/environments/test.rb +42 -0
- data/test-app/config/initializers/application_controller_renderer.rb +8 -0
- data/test-app/config/initializers/assets.rb +14 -0
- data/test-app/config/initializers/backtrace_silencers.rb +7 -0
- data/test-app/config/initializers/cookies_serializer.rb +5 -0
- data/test-app/config/initializers/filter_parameter_logging.rb +4 -0
- data/test-app/config/initializers/inflections.rb +16 -0
- data/test-app/config/initializers/mime_types.rb +4 -0
- data/test-app/config/initializers/wrap_parameters.rb +14 -0
- data/test-app/config/locales/en.yml +33 -0
- data/test-app/config/puma.rb +56 -0
- data/test-app/config/routes.rb +6 -0
- data/test-app/config/secrets.yml +32 -0
- data/test-app/config/spring.rb +6 -0
- data/test-app/db/migrate/20180109155755_create_posts.rb +8 -0
- data/test-app/db/schema.rb +20 -0
- data/test-app/db/seeds.rb +7 -0
- data/test-app/lib/assets/.keep +0 -0
- data/test-app/lib/tasks/.keep +0 -0
- data/test-app/log/.keep +0 -0
- data/test-app/package.json +5 -0
- data/test-app/public/404.html +67 -0
- data/test-app/public/422.html +67 -0
- data/test-app/public/500.html +66 -0
- data/test-app/public/apple-touch-icon-precomposed.png +0 -0
- data/test-app/public/apple-touch-icon.png +0 -0
- data/test-app/public/favicon.ico +0 -0
- data/test-app/public/robots.txt +1 -0
- data/test-app/test/application_system_test_case.rb +5 -0
- data/test-app/test/controllers/.keep +0 -0
- data/test-app/test/controllers/posts_controller_test.rb +48 -0
- data/test-app/test/fixtures/.keep +0 -0
- data/test-app/test/fixtures/files/.keep +0 -0
- data/test-app/test/fixtures/posts.yml +11 -0
- data/test-app/test/helpers/.keep +0 -0
- data/test-app/test/integration/.keep +0 -0
- data/test-app/test/mailers/.keep +0 -0
- data/test-app/test/models/.keep +0 -0
- data/test-app/test/models/post_test.rb +7 -0
- data/test-app/test/system/.keep +0 -0
- data/test-app/test/system/posts_test.rb +9 -0
- data/test-app/test/test_helper.rb +9 -0
- data/test-app/tmp/.keep +0 -0
- data/test-app/vendor/.keep +0 -0
- data/vendor/assets/javascripts/tabulator.js +14581 -0
- data/vendor/assets/stylesheets/tabulator.css +535 -0
- metadata +195 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 91fb197b269fcdccc70691e083da23222c3c1653
|
4
|
+
data.tar.gz: 92bc567779e3ac66dc0861136165c73152b7499f
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: eca03332812e125cbb503aec1786936ad99576ab2507c72d412f3b59bc1dacd941694fd7480a085fcd3535b8247d6256a7d4c84e018b73434abb6e1a1a82187b
|
7
|
+
data.tar.gz: b0325f90092a669935e1862bb20f2be6a05a7e8e4d92fc45a0ccdbb94cdbb792806937e1b43718c170b0d016db1b82bc7cd04b74b634575a1f0b75477d78ee17
|
data/.gitignore
ADDED
data/CHANGELOG.md
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at tanvir002700@gmail.com. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,93 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
tabulator-rails (0.1.0)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: https://rubygems.org/
|
8
|
+
specs:
|
9
|
+
actionpack (5.1.4)
|
10
|
+
actionview (= 5.1.4)
|
11
|
+
activesupport (= 5.1.4)
|
12
|
+
rack (~> 2.0)
|
13
|
+
rack-test (>= 0.6.3)
|
14
|
+
rails-dom-testing (~> 2.0)
|
15
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
16
|
+
actionview (5.1.4)
|
17
|
+
activesupport (= 5.1.4)
|
18
|
+
builder (~> 3.1)
|
19
|
+
erubi (~> 1.4)
|
20
|
+
rails-dom-testing (~> 2.0)
|
21
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
22
|
+
activesupport (5.1.4)
|
23
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
24
|
+
i18n (~> 0.7)
|
25
|
+
minitest (~> 5.1)
|
26
|
+
tzinfo (~> 1.1)
|
27
|
+
builder (3.2.3)
|
28
|
+
concurrent-ruby (1.0.5)
|
29
|
+
crass (1.0.3)
|
30
|
+
diff-lcs (1.3)
|
31
|
+
erubi (1.7.0)
|
32
|
+
i18n (0.9.1)
|
33
|
+
concurrent-ruby (~> 1.0)
|
34
|
+
jquery-rails (4.3.1)
|
35
|
+
rails-dom-testing (>= 1, < 3)
|
36
|
+
railties (>= 4.2.0)
|
37
|
+
thor (>= 0.14, < 2.0)
|
38
|
+
jquery-ui-rails (6.0.1)
|
39
|
+
railties (>= 3.2.16)
|
40
|
+
loofah (2.1.1)
|
41
|
+
crass (~> 1.0.2)
|
42
|
+
nokogiri (>= 1.5.9)
|
43
|
+
method_source (0.9.0)
|
44
|
+
mini_portile2 (2.3.0)
|
45
|
+
minitest (5.11.1)
|
46
|
+
nokogiri (1.8.1)
|
47
|
+
mini_portile2 (~> 2.3.0)
|
48
|
+
rack (2.0.3)
|
49
|
+
rack-test (0.8.2)
|
50
|
+
rack (>= 1.0, < 3)
|
51
|
+
rails-dom-testing (2.0.3)
|
52
|
+
activesupport (>= 4.2.0)
|
53
|
+
nokogiri (>= 1.6)
|
54
|
+
rails-html-sanitizer (1.0.3)
|
55
|
+
loofah (~> 2.0)
|
56
|
+
railties (5.1.4)
|
57
|
+
actionpack (= 5.1.4)
|
58
|
+
activesupport (= 5.1.4)
|
59
|
+
method_source
|
60
|
+
rake (>= 0.8.7)
|
61
|
+
thor (>= 0.18.1, < 2.0)
|
62
|
+
rake (10.5.0)
|
63
|
+
rspec (3.7.0)
|
64
|
+
rspec-core (~> 3.7.0)
|
65
|
+
rspec-expectations (~> 3.7.0)
|
66
|
+
rspec-mocks (~> 3.7.0)
|
67
|
+
rspec-core (3.7.1)
|
68
|
+
rspec-support (~> 3.7.0)
|
69
|
+
rspec-expectations (3.7.0)
|
70
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
71
|
+
rspec-support (~> 3.7.0)
|
72
|
+
rspec-mocks (3.7.0)
|
73
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
74
|
+
rspec-support (~> 3.7.0)
|
75
|
+
rspec-support (3.7.0)
|
76
|
+
thor (0.20.0)
|
77
|
+
thread_safe (0.3.6)
|
78
|
+
tzinfo (1.2.4)
|
79
|
+
thread_safe (~> 0.1)
|
80
|
+
|
81
|
+
PLATFORMS
|
82
|
+
ruby
|
83
|
+
|
84
|
+
DEPENDENCIES
|
85
|
+
bundler (~> 1.16)
|
86
|
+
jquery-rails
|
87
|
+
jquery-ui-rails
|
88
|
+
rake (~> 10.0)
|
89
|
+
rspec (~> 3.0)
|
90
|
+
tabulator-rails!
|
91
|
+
|
92
|
+
BUNDLED WITH
|
93
|
+
1.16.0
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2018 tanvir hasan
|
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
|
13
|
+
all 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
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,63 @@
|
|
1
|
+
# Tabulator::Rails
|
2
|
+
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/tabulators-rails.svg)](https://rubygems.org/gems/tabulator-rails)
|
4
|
+
[![Downloads](https://img.shields.io/gem/dt/tabulator-rails.svg)](https://rubygems.org/gems/tabulator-rails)
|
5
|
+
[![GitHub last commit (branch)](https://img.shields.io/github/last-commit/tanvir002700/tabulator-rails/master.svg)](https://github.com/tanvir002700/tabulator-rails)
|
6
|
+
[![license](https://img.shields.io/github/license/tanvir002700/tabulator-rails.svg)](https://github.com/tanvir002700/tabulator-rails/blob/master/LICENSE)
|
7
|
+
|
8
|
+
This gem packages the Jquery Tabulator plugin. So you never have to download a custom package through the web interface again.
|
9
|
+
|
10
|
+
See VERSIONS.md to see which versions of tabulator-rails bundle which versions of tabulator.
|
11
|
+
|
12
|
+
## Installation
|
13
|
+
|
14
|
+
Add this line to your application's Gemfile:
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
gem 'tabulator-rails'
|
18
|
+
```
|
19
|
+
|
20
|
+
And then execute:
|
21
|
+
|
22
|
+
$ bundle
|
23
|
+
|
24
|
+
Or install it yourself as:
|
25
|
+
|
26
|
+
$ gem install tabulator-rails
|
27
|
+
|
28
|
+
|
29
|
+
And then edit your app/assets/stylesheets/application.css file to look something like:
|
30
|
+
``` css
|
31
|
+
/*
|
32
|
+
*= require_self
|
33
|
+
*= require jqeury
|
34
|
+
*= require jquery-ui
|
35
|
+
*= require tabulator-rails
|
36
|
+
*= require_tree .
|
37
|
+
*/
|
38
|
+
```
|
39
|
+
|
40
|
+
tabulator-rails is dependant on jQuery, jQuery-UI, so make sure you have it in your Gemfile.
|
41
|
+
|
42
|
+
|
43
|
+
## Usage
|
44
|
+
|
45
|
+
View [Tabulator](http://tabulator.info/quickstart/3.3) for complete useage information.
|
46
|
+
|
47
|
+
## Development
|
48
|
+
|
49
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
50
|
+
|
51
|
+
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).
|
52
|
+
|
53
|
+
## Contributing
|
54
|
+
|
55
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/tanvir002700/tabulator-rails. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
56
|
+
|
57
|
+
## License
|
58
|
+
|
59
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
60
|
+
|
61
|
+
## Code of Conduct
|
62
|
+
|
63
|
+
Everyone interacting in the Tabulator::Rails project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/tanvir002700/tabulator-rails/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
ADDED
data/VERSIONS.md
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "tabulator/rails"
|
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(__FILE__)
|
data/bin/setup
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
|
2
|
+
lib = File.expand_path("../lib", __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require "tabulator-rails/version"
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "tabulator-rails"
|
8
|
+
spec.version = Tabulator::Rails::VERSION
|
9
|
+
spec.authors = ["tanvir hasan"]
|
10
|
+
spec.email = ["tanvir002700@gmail.com"]
|
11
|
+
|
12
|
+
spec.summary = %q{jQuery Plugin}
|
13
|
+
spec.description = %q{This gem packages the jQuery Tabulator plugin. So you never have to download a custom package through the web interface again.}
|
14
|
+
spec.homepage = "https://rubygems.org/gems/tabulator-rails"
|
15
|
+
spec.license = "MIT"
|
16
|
+
spec.metadata = { 'source_code_uri' => 'https://github.com/tanvir002700/tabulator-rails' }
|
17
|
+
|
18
|
+
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
19
|
+
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
20
|
+
if spec.respond_to?(:metadata)
|
21
|
+
spec.metadata["allowed_push_host"] = "https://rubygems.org"
|
22
|
+
else
|
23
|
+
raise "RubyGems 2.0 or newer is required to protect against " \
|
24
|
+
"public gem pushes."
|
25
|
+
end
|
26
|
+
|
27
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
28
|
+
f.match(%r{^(test|spec|features)/})
|
29
|
+
end
|
30
|
+
spec.bindir = "exe"
|
31
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
32
|
+
spec.require_paths = ["lib"]
|
33
|
+
|
34
|
+
spec.add_development_dependency "bundler", "~> 1.16"
|
35
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
36
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
37
|
+
end
|
38
|
+
|
data/test-app/.gitignore
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
|
2
|
+
#
|
3
|
+
# If you find yourself ignoring temporary files generated by your text editor
|
4
|
+
# or operating system, you probably want to add a global ignore instead:
|
5
|
+
# git config --global core.excludesfile '~/.gitignore_global'
|
6
|
+
|
7
|
+
# Ignore bundler config.
|
8
|
+
/.bundle
|
9
|
+
|
10
|
+
# Ignore the default SQLite database.
|
11
|
+
/db/*.sqlite3
|
12
|
+
/db/*.sqlite3-journal
|
13
|
+
|
14
|
+
# Ignore all logfiles and tempfiles.
|
15
|
+
/log/*
|
16
|
+
/tmp/*
|
17
|
+
!/log/.keep
|
18
|
+
!/tmp/.keep
|
19
|
+
|
20
|
+
/node_modules
|
21
|
+
/yarn-error.log
|
22
|
+
|
23
|
+
.byebug_history
|
data/test-app/Gemfile
ADDED
@@ -0,0 +1,59 @@
|
|
1
|
+
source 'https://rubygems.org'
|
2
|
+
|
3
|
+
git_source(:github) do |repo_name|
|
4
|
+
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
|
5
|
+
"https://github.com/#{repo_name}.git"
|
6
|
+
end
|
7
|
+
|
8
|
+
|
9
|
+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
10
|
+
gem 'rails', '~> 5.1.4'
|
11
|
+
# Use sqlite3 as the database for Active Record
|
12
|
+
gem 'sqlite3'
|
13
|
+
# Use Puma as the app server
|
14
|
+
gem 'puma', '~> 3.7'
|
15
|
+
# Use SCSS for stylesheets
|
16
|
+
gem 'sass-rails', '~> 5.0'
|
17
|
+
# Use Uglifier as compressor for JavaScript assets
|
18
|
+
gem 'uglifier', '>= 1.3.0'
|
19
|
+
# See https://github.com/rails/execjs#readme for more supported runtimes
|
20
|
+
# gem 'therubyracer', platforms: :ruby
|
21
|
+
|
22
|
+
# Use CoffeeScript for .coffee assets and views
|
23
|
+
gem 'coffee-rails', '~> 4.2'
|
24
|
+
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
|
25
|
+
gem 'turbolinks', '~> 5'
|
26
|
+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
|
27
|
+
gem 'jbuilder', '~> 2.5'
|
28
|
+
gem 'jquery-rails'
|
29
|
+
gem 'jquery-ui-rails'
|
30
|
+
gem 'tabulator-rails', :path => '..'
|
31
|
+
|
32
|
+
#
|
33
|
+
# Use Redis adapter to run Action Cable in production
|
34
|
+
# gem 'redis', '~> 3.0'
|
35
|
+
# Use ActiveModel has_secure_password
|
36
|
+
# gem 'bcrypt', '~> 3.1.7'
|
37
|
+
|
38
|
+
# Use Capistrano for deployment
|
39
|
+
# gem 'capistrano-rails', group: :development
|
40
|
+
|
41
|
+
group :development, :test do
|
42
|
+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
|
43
|
+
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
|
44
|
+
# Adds support for Capybara system testing and selenium driver
|
45
|
+
gem 'capybara', '~> 2.13'
|
46
|
+
gem 'selenium-webdriver'
|
47
|
+
end
|
48
|
+
|
49
|
+
group :development do
|
50
|
+
# Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
|
51
|
+
gem 'web-console', '>= 3.3.0'
|
52
|
+
gem 'listen', '>= 3.0.5', '< 3.2'
|
53
|
+
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
|
54
|
+
gem 'spring'
|
55
|
+
gem 'spring-watcher-listen', '~> 2.0.0'
|
56
|
+
end
|
57
|
+
|
58
|
+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
59
|
+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|