tabulator-rails 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (98) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +3 -0
  3. data/README.md +6 -7
  4. data/VERSIONS.md +2 -0
  5. data/lib/tabulator-rails/version.rb +1 -1
  6. data/tabulator-rails.gemspec +0 -1
  7. metadata +2 -107
  8. data/bin/console +0 -14
  9. data/bin/setup +0 -8
  10. data/test-app/.gitignore +0 -23
  11. data/test-app/Gemfile +0 -59
  12. data/test-app/Gemfile.lock +0 -210
  13. data/test-app/README.md +0 -24
  14. data/test-app/Rakefile +0 -6
  15. data/test-app/app/assets/config/manifest.js +0 -3
  16. data/test-app/app/assets/images/.keep +0 -0
  17. data/test-app/app/assets/javascripts/application.js +0 -17
  18. data/test-app/app/assets/javascripts/cable.js +0 -13
  19. data/test-app/app/assets/javascripts/channels/.keep +0 -0
  20. data/test-app/app/assets/javascripts/posts.js +0 -28
  21. data/test-app/app/assets/stylesheets/application.css +0 -16
  22. data/test-app/app/assets/stylesheets/posts.scss +0 -3
  23. data/test-app/app/assets/stylesheets/scaffolds.scss +0 -84
  24. data/test-app/app/channels/application_cable/channel.rb +0 -4
  25. data/test-app/app/channels/application_cable/connection.rb +0 -4
  26. data/test-app/app/controllers/application_controller.rb +0 -3
  27. data/test-app/app/controllers/concerns/.keep +0 -0
  28. data/test-app/app/controllers/posts_controller.rb +0 -3
  29. data/test-app/app/helpers/application_helper.rb +0 -2
  30. data/test-app/app/helpers/posts_helper.rb +0 -2
  31. data/test-app/app/jobs/application_job.rb +0 -2
  32. data/test-app/app/mailers/application_mailer.rb +0 -4
  33. data/test-app/app/models/application_record.rb +0 -3
  34. data/test-app/app/models/concerns/.keep +0 -0
  35. data/test-app/app/models/post.rb +0 -2
  36. data/test-app/app/views/layouts/application.html.erb +0 -14
  37. data/test-app/app/views/layouts/mailer.html.erb +0 -13
  38. data/test-app/app/views/layouts/mailer.text.erb +0 -1
  39. data/test-app/app/views/posts/index.html.erb +0 -3
  40. data/test-app/bin/bundle +0 -3
  41. data/test-app/bin/rails +0 -9
  42. data/test-app/bin/rake +0 -9
  43. data/test-app/bin/setup +0 -38
  44. data/test-app/bin/spring +0 -17
  45. data/test-app/bin/update +0 -29
  46. data/test-app/bin/yarn +0 -11
  47. data/test-app/config.ru +0 -5
  48. data/test-app/config/application.rb +0 -18
  49. data/test-app/config/boot.rb +0 -3
  50. data/test-app/config/cable.yml +0 -10
  51. data/test-app/config/database.yml +0 -25
  52. data/test-app/config/environment.rb +0 -5
  53. data/test-app/config/environments/development.rb +0 -54
  54. data/test-app/config/environments/production.rb +0 -91
  55. data/test-app/config/environments/test.rb +0 -42
  56. data/test-app/config/initializers/application_controller_renderer.rb +0 -8
  57. data/test-app/config/initializers/assets.rb +0 -14
  58. data/test-app/config/initializers/backtrace_silencers.rb +0 -7
  59. data/test-app/config/initializers/cookies_serializer.rb +0 -5
  60. data/test-app/config/initializers/filter_parameter_logging.rb +0 -4
  61. data/test-app/config/initializers/inflections.rb +0 -16
  62. data/test-app/config/initializers/mime_types.rb +0 -4
  63. data/test-app/config/initializers/wrap_parameters.rb +0 -14
  64. data/test-app/config/locales/en.yml +0 -33
  65. data/test-app/config/puma.rb +0 -56
  66. data/test-app/config/routes.rb +0 -6
  67. data/test-app/config/secrets.yml +0 -32
  68. data/test-app/config/spring.rb +0 -6
  69. data/test-app/db/migrate/20180109155755_create_posts.rb +0 -8
  70. data/test-app/db/schema.rb +0 -20
  71. data/test-app/db/seeds.rb +0 -7
  72. data/test-app/lib/assets/.keep +0 -0
  73. data/test-app/lib/tasks/.keep +0 -0
  74. data/test-app/log/.keep +0 -0
  75. data/test-app/package.json +0 -5
  76. data/test-app/public/404.html +0 -67
  77. data/test-app/public/422.html +0 -67
  78. data/test-app/public/500.html +0 -66
  79. data/test-app/public/apple-touch-icon-precomposed.png +0 -0
  80. data/test-app/public/apple-touch-icon.png +0 -0
  81. data/test-app/public/favicon.ico +0 -0
  82. data/test-app/public/robots.txt +0 -1
  83. data/test-app/test/application_system_test_case.rb +0 -5
  84. data/test-app/test/controllers/.keep +0 -0
  85. data/test-app/test/controllers/posts_controller_test.rb +0 -48
  86. data/test-app/test/fixtures/.keep +0 -0
  87. data/test-app/test/fixtures/files/.keep +0 -0
  88. data/test-app/test/fixtures/posts.yml +0 -11
  89. data/test-app/test/helpers/.keep +0 -0
  90. data/test-app/test/integration/.keep +0 -0
  91. data/test-app/test/mailers/.keep +0 -0
  92. data/test-app/test/models/.keep +0 -0
  93. data/test-app/test/models/post_test.rb +0 -7
  94. data/test-app/test/system/.keep +0 -0
  95. data/test-app/test/system/posts_test.rb +0 -9
  96. data/test-app/test/test_helper.rb +0 -9
  97. data/test-app/tmp/.keep +0 -0
  98. data/test-app/vendor/.keep +0 -0
@@ -1,32 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Your secret key is used for verifying the integrity of signed cookies.
4
- # If you change this key, all old signed cookies will become invalid!
5
-
6
- # Make sure the secret is at least 30 characters and all random,
7
- # no regular words or you'll be exposed to dictionary attacks.
8
- # You can use `rails secret` to generate a secure secret key.
9
-
10
- # Make sure the secrets in this file are kept private
11
- # if you're sharing your code publicly.
12
-
13
- # Shared secrets are available across all environments.
14
-
15
- # shared:
16
- # api_key: a1B2c3D4e5F6
17
-
18
- # Environmental secrets are only available for that specific environment.
19
-
20
- development:
21
- secret_key_base: 2889b9c6ca307207d5d3685c563afcc2dbff3bc6357d8e4453cf5264cbf3d8b7d0b8b47b908731ba8428cf6cfd4f45852e32440bc910a866bb3526ffba2402e4
22
-
23
- test:
24
- secret_key_base: a5aab365687ff395776d4f4d577d8aea57b412b401d38db8c1b2f6256e0de684fc79c70db8429599ea0784b766ad45e77cf9dc981d8502d108fc9cecd8e692a7
25
-
26
- # Do not keep production secrets in the unencrypted secrets file.
27
- # Instead, either read values from the environment.
28
- # Or, use `bin/rails secrets:setup` to configure encrypted secrets
29
- # and move the `production:` environment over there.
30
-
31
- production:
32
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
@@ -1,6 +0,0 @@
1
- %w(
2
- .ruby-version
3
- .rbenv-vars
4
- tmp/restart.txt
5
- tmp/caching-dev.txt
6
- ).each { |path| Spring.watch(path) }
@@ -1,8 +0,0 @@
1
- class CreatePosts < ActiveRecord::Migration[5.1]
2
- def change
3
- create_table :posts do |t|
4
-
5
- t.timestamps
6
- end
7
- end
8
- end
@@ -1,20 +0,0 @@
1
- # This file is auto-generated from the current state of the database. Instead
2
- # of editing this file, please use the migrations feature of Active Record to
3
- # incrementally modify your database, and then regenerate this schema definition.
4
- #
5
- # Note that this schema.rb definition is the authoritative source for your
6
- # database schema. If you need to create the application database on another
7
- # system, you should be using db:schema:load, not running all the migrations
8
- # from scratch. The latter is a flawed and unsustainable approach (the more migrations
9
- # you'll amass, the slower it'll run and the greater likelihood for issues).
10
- #
11
- # It's strongly recommended that you check this file into your version control system.
12
-
13
- ActiveRecord::Schema.define(version: 20180109155755) do
14
-
15
- create_table "posts", force: :cascade do |t|
16
- t.datetime "created_at", null: false
17
- t.datetime "updated_at", null: false
18
- end
19
-
20
- end
data/test-app/db/seeds.rb DELETED
@@ -1,7 +0,0 @@
1
- # This file should contain all the record creation needed to seed the database with its default values.
2
- # The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
3
- #
4
- # Examples:
5
- #
6
- # movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
7
- # Character.create(name: 'Luke', movie: movies.first)
File without changes
File without changes
data/test-app/log/.keep DELETED
File without changes
@@ -1,5 +0,0 @@
1
- {
2
- "name": "test-app",
3
- "private": true,
4
- "dependencies": {}
5
- }
@@ -1,67 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>The page you were looking for doesn't exist (404)</title>
5
- <meta name="viewport" content="width=device-width,initial-scale=1">
6
- <style>
7
- .rails-default-error-page {
8
- background-color: #EFEFEF;
9
- color: #2E2F30;
10
- text-align: center;
11
- font-family: arial, sans-serif;
12
- margin: 0;
13
- }
14
-
15
- .rails-default-error-page div.dialog {
16
- width: 95%;
17
- max-width: 33em;
18
- margin: 4em auto 0;
19
- }
20
-
21
- .rails-default-error-page div.dialog > div {
22
- border: 1px solid #CCC;
23
- border-right-color: #999;
24
- border-left-color: #999;
25
- border-bottom-color: #BBB;
26
- border-top: #B00100 solid 4px;
27
- border-top-left-radius: 9px;
28
- border-top-right-radius: 9px;
29
- background-color: white;
30
- padding: 7px 12% 0;
31
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
- }
33
-
34
- .rails-default-error-page h1 {
35
- font-size: 100%;
36
- color: #730E15;
37
- line-height: 1.5em;
38
- }
39
-
40
- .rails-default-error-page div.dialog > p {
41
- margin: 0 0 1em;
42
- padding: 1em;
43
- background-color: #F7F7F7;
44
- border: 1px solid #CCC;
45
- border-right-color: #999;
46
- border-left-color: #999;
47
- border-bottom-color: #999;
48
- border-bottom-left-radius: 4px;
49
- border-bottom-right-radius: 4px;
50
- border-top-color: #DADADA;
51
- color: #666;
52
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
- }
54
- </style>
55
- </head>
56
-
57
- <body class="rails-default-error-page">
58
- <!-- This file lives in public/404.html -->
59
- <div class="dialog">
60
- <div>
61
- <h1>The page you were looking for doesn't exist.</h1>
62
- <p>You may have mistyped the address or the page may have moved.</p>
63
- </div>
64
- <p>If you are the application owner check the logs for more information.</p>
65
- </div>
66
- </body>
67
- </html>
@@ -1,67 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>The change you wanted was rejected (422)</title>
5
- <meta name="viewport" content="width=device-width,initial-scale=1">
6
- <style>
7
- .rails-default-error-page {
8
- background-color: #EFEFEF;
9
- color: #2E2F30;
10
- text-align: center;
11
- font-family: arial, sans-serif;
12
- margin: 0;
13
- }
14
-
15
- .rails-default-error-page div.dialog {
16
- width: 95%;
17
- max-width: 33em;
18
- margin: 4em auto 0;
19
- }
20
-
21
- .rails-default-error-page div.dialog > div {
22
- border: 1px solid #CCC;
23
- border-right-color: #999;
24
- border-left-color: #999;
25
- border-bottom-color: #BBB;
26
- border-top: #B00100 solid 4px;
27
- border-top-left-radius: 9px;
28
- border-top-right-radius: 9px;
29
- background-color: white;
30
- padding: 7px 12% 0;
31
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
- }
33
-
34
- .rails-default-error-page h1 {
35
- font-size: 100%;
36
- color: #730E15;
37
- line-height: 1.5em;
38
- }
39
-
40
- .rails-default-error-page div.dialog > p {
41
- margin: 0 0 1em;
42
- padding: 1em;
43
- background-color: #F7F7F7;
44
- border: 1px solid #CCC;
45
- border-right-color: #999;
46
- border-left-color: #999;
47
- border-bottom-color: #999;
48
- border-bottom-left-radius: 4px;
49
- border-bottom-right-radius: 4px;
50
- border-top-color: #DADADA;
51
- color: #666;
52
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
- }
54
- </style>
55
- </head>
56
-
57
- <body class="rails-default-error-page">
58
- <!-- This file lives in public/422.html -->
59
- <div class="dialog">
60
- <div>
61
- <h1>The change you wanted was rejected.</h1>
62
- <p>Maybe you tried to change something you didn't have access to.</p>
63
- </div>
64
- <p>If you are the application owner check the logs for more information.</p>
65
- </div>
66
- </body>
67
- </html>
@@ -1,66 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>We're sorry, but something went wrong (500)</title>
5
- <meta name="viewport" content="width=device-width,initial-scale=1">
6
- <style>
7
- .rails-default-error-page {
8
- background-color: #EFEFEF;
9
- color: #2E2F30;
10
- text-align: center;
11
- font-family: arial, sans-serif;
12
- margin: 0;
13
- }
14
-
15
- .rails-default-error-page div.dialog {
16
- width: 95%;
17
- max-width: 33em;
18
- margin: 4em auto 0;
19
- }
20
-
21
- .rails-default-error-page div.dialog > div {
22
- border: 1px solid #CCC;
23
- border-right-color: #999;
24
- border-left-color: #999;
25
- border-bottom-color: #BBB;
26
- border-top: #B00100 solid 4px;
27
- border-top-left-radius: 9px;
28
- border-top-right-radius: 9px;
29
- background-color: white;
30
- padding: 7px 12% 0;
31
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
- }
33
-
34
- .rails-default-error-page h1 {
35
- font-size: 100%;
36
- color: #730E15;
37
- line-height: 1.5em;
38
- }
39
-
40
- .rails-default-error-page div.dialog > p {
41
- margin: 0 0 1em;
42
- padding: 1em;
43
- background-color: #F7F7F7;
44
- border: 1px solid #CCC;
45
- border-right-color: #999;
46
- border-left-color: #999;
47
- border-bottom-color: #999;
48
- border-bottom-left-radius: 4px;
49
- border-bottom-right-radius: 4px;
50
- border-top-color: #DADADA;
51
- color: #666;
52
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
- }
54
- </style>
55
- </head>
56
-
57
- <body class="rails-default-error-page">
58
- <!-- This file lives in public/500.html -->
59
- <div class="dialog">
60
- <div>
61
- <h1>We're sorry, but something went wrong.</h1>
62
- </div>
63
- <p>If you are the application owner check the logs for more information.</p>
64
- </div>
65
- </body>
66
- </html>
File without changes
File without changes
File without changes
@@ -1 +0,0 @@
1
- # See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
@@ -1,5 +0,0 @@
1
- require "test_helper"
2
-
3
- class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
4
- driven_by :selenium, using: :chrome, screen_size: [1400, 1400]
5
- end
File without changes
@@ -1,48 +0,0 @@
1
- require 'test_helper'
2
-
3
- class PostsControllerTest < ActionDispatch::IntegrationTest
4
- setup do
5
- @post = posts(:one)
6
- end
7
-
8
- test "should get index" do
9
- get posts_url
10
- assert_response :success
11
- end
12
-
13
- test "should get new" do
14
- get new_post_url
15
- assert_response :success
16
- end
17
-
18
- test "should create post" do
19
- assert_difference('Post.count') do
20
- post posts_url, params: { post: { } }
21
- end
22
-
23
- assert_redirected_to post_url(Post.last)
24
- end
25
-
26
- test "should show post" do
27
- get post_url(@post)
28
- assert_response :success
29
- end
30
-
31
- test "should get edit" do
32
- get edit_post_url(@post)
33
- assert_response :success
34
- end
35
-
36
- test "should update post" do
37
- patch post_url(@post), params: { post: { } }
38
- assert_redirected_to post_url(@post)
39
- end
40
-
41
- test "should destroy post" do
42
- assert_difference('Post.count', -1) do
43
- delete post_url(@post)
44
- end
45
-
46
- assert_redirected_to posts_url
47
- end
48
- end
File without changes
File without changes
@@ -1,11 +0,0 @@
1
- # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
2
-
3
- # This model initially had no columns defined. If you add columns to the
4
- # model remove the '{}' from the fixture names and add the columns immediately
5
- # below each fixture, per the syntax in the comments below
6
- #
7
- one: {}
8
- # column: value
9
- #
10
- two: {}
11
- # column: value
File without changes
File without changes
File without changes
File without changes
@@ -1,7 +0,0 @@
1
- require 'test_helper'
2
-
3
- class PostTest < ActiveSupport::TestCase
4
- # test "the truth" do
5
- # assert true
6
- # end
7
- end
File without changes
@@ -1,9 +0,0 @@
1
- require "application_system_test_case"
2
-
3
- class PostsTest < ApplicationSystemTestCase
4
- # test "visiting the index" do
5
- # visit posts_url
6
- #
7
- # assert_selector "h1", text: "Post"
8
- # end
9
- end
@@ -1,9 +0,0 @@
1
- require File.expand_path('../../config/environment', __FILE__)
2
- require 'rails/test_help'
3
-
4
- class ActiveSupport::TestCase
5
- # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
6
- fixtures :all
7
-
8
- # Add more helper methods to be used by all tests here...
9
- end
data/test-app/tmp/.keep DELETED
File without changes
File without changes