tidy-table-rails 2.2.2 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -0
  3. data/.rspec +3 -0
  4. data/.travis.yml +4 -0
  5. data/README.md +3 -3
  6. data/Rakefile +5 -0
  7. data/lib/tidy/table/rails/version.rb +1 -1
  8. data/spec/dummy/README.rdoc +28 -0
  9. data/spec/dummy/Rakefile +6 -0
  10. data/spec/dummy/app/assets/images/.keep +0 -0
  11. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  12. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  13. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  14. data/spec/dummy/app/controllers/concerns/.keep +0 -0
  15. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  16. data/spec/dummy/app/mailers/.keep +0 -0
  17. data/spec/dummy/app/models/.keep +0 -0
  18. data/spec/dummy/app/models/concerns/.keep +0 -0
  19. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  20. data/spec/dummy/bin/bundle +3 -0
  21. data/spec/dummy/bin/rails +4 -0
  22. data/spec/dummy/bin/rake +4 -0
  23. data/spec/dummy/bin/setup +29 -0
  24. data/spec/dummy/config/application.rb +31 -0
  25. data/spec/dummy/config/boot.rb +5 -0
  26. data/spec/dummy/config/database.yml +25 -0
  27. data/spec/dummy/config/environment.rb +5 -0
  28. data/spec/dummy/config/environments/development.rb +41 -0
  29. data/spec/dummy/config/environments/production.rb +79 -0
  30. data/spec/dummy/config/environments/test.rb +42 -0
  31. data/spec/dummy/config/initializers/assets.rb +11 -0
  32. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  33. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  34. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  35. data/spec/dummy/config/initializers/inflections.rb +16 -0
  36. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  37. data/spec/dummy/config/initializers/session_store.rb +3 -0
  38. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  39. data/spec/dummy/config/locales/en.yml +23 -0
  40. data/spec/dummy/config/routes.rb +56 -0
  41. data/spec/dummy/config/secrets.yml +22 -0
  42. data/spec/dummy/config.ru +4 -0
  43. data/spec/dummy/db/test.sqlite3 +0 -0
  44. data/spec/dummy/lib/assets/.keep +0 -0
  45. data/spec/dummy/log/.keep +0 -0
  46. data/spec/dummy/log/test.log +2 -0
  47. data/spec/dummy/public/404.html +67 -0
  48. data/spec/dummy/public/422.html +67 -0
  49. data/spec/dummy/public/500.html +66 -0
  50. data/spec/dummy/public/favicon.ico +0 -0
  51. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/9dUiGLnCoYGlMMoyJxiA6sYZaTzO5E0z3LXIndUkZxA.cache +1 -0
  52. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/I7iA12QXi0v_d_m9KnwGlJs0i-jxq8jOTjoSGgThLS8.cache +0 -0
  53. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/IdEQpyq95L1ZCKsvyYXpmwrJ5m4re1-PU4QWSvGO2cA.cache +3 -0
  54. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/J0T-ieNYyNasfJXbNOX-i8gPFlnz7umulnY5jHQ8cMg.cache +0 -0
  55. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/RArjhRyejO70EgWK-qg6b3QMyrhdPgj5Zi3dagQrXqE.cache +1 -0
  56. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/UE6Uhwge2PToyGuiqGSQteTsHGYAmixLx_rU0U6e1s0.cache +3 -0
  57. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/UvnNaNyNiZ6RVDZb8QtaAxMilES3-i161zcJdqBni8k.cache +2 -0
  58. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/YwCR5bONajMEo7HvhY050SUpBt5yJPUJICk_rWmhGAk.cache +0 -0
  59. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/e46AYnIIxZHGEJgpFAx3S37NZDTxLp11WZxCi7cf8l8.cache +2 -0
  60. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/hCbJZ7N6h55f6Ebq0l5bneTKIpaMVaSh0PpNRkN5lEM.cache +1 -0
  61. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/uufkynyrXOoO6kmUBbcwIGiKVVoM5NavmXUQH2vidWA.cache +0 -0
  62. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/vP_muxnzZtn8RNqAm02_r_zYcckWlo8C7xmvFctN44c.cache +0 -0
  63. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/wr7plbJR8oEsGvgnc_0dRRL3L0dPh9yZ-MVE6mSpRbI.cache +1 -0
  64. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/zpU64aTKUJH4CAknZnsxZxRdJDE3H7fAuZX0ObycI5Q.cache +1 -0
  65. data/spec/features/assets_spec.rb +13 -0
  66. data/spec/spec_helper.rb +4 -0
  67. data/tidy-table-rails.gemspec +5 -1
  68. data/vendor/assets/javascripts/tidy-table.js +124 -132
  69. data/vendor/assets/stylesheets/tidy-table.css +1 -4
  70. metadata +169 -20
File without changes
@@ -0,0 +1,2 @@
1
+ Started GET "/assets/tidy-table.js" for 127.0.0.1 at 2016-03-25 14:56:42 +0100
2
+ Started GET "/assets/tidy-table.css" for 127.0.0.1 at 2016-03-25 14:56:42 +0100
@@ -0,0 +1,67 @@
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
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ 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
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ 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>
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>
@@ -0,0 +1,67 @@
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
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ 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
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ 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>
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>
@@ -0,0 +1,66 @@
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
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ 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
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ 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>
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
@@ -0,0 +1 @@
1
+ I"�/home/vagrant/Sources/host-main/tidy-table-rails/vendor/assets/stylesheets/tidy-table.css?type=text/css&id=99d96ebaf561822b13b904580797774e0094b92dc4ee34a5f1828085b377c6a8:ET
@@ -0,0 +1,3 @@
1
+ [o:Set:
2
+ @hash}
3
+ I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"kfile-digest:///home/vagrant/Sources/host-main/tidy-table-rails/vendor/assets/javascripts/tidy-table.js;TTF
@@ -0,0 +1 @@
1
+ I"�/home/vagrant/Sources/host-main/tidy-table-rails/vendor/assets/javascripts/tidy-table.js?type=application/javascript&pipeline=self&id=4474f94c6cf1eceff927e31277b3e43e1ef06ffad6117bf74d28f811bf1d8c7a:ET
@@ -0,0 +1,3 @@
1
+ [o:Set:
2
+ @hash}
3
+ I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"lfile-digest:///home/vagrant/Sources/host-main/tidy-table-rails/vendor/assets/stylesheets/tidy-table.css;TTF
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"kfile-digest:///home/vagrant/Sources/host-main/tidy-table-rails/vendor/assets/javascripts/tidy-table.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTF
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"0processors:type=text/css&file_type=text/css;TTI"lfile-digest:///home/vagrant/Sources/host-main/tidy-table-rails/vendor/assets/stylesheets/tidy-table.css;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTF
@@ -0,0 +1 @@
1
+ I"�/home/vagrant/Sources/host-main/tidy-table-rails/vendor/assets/stylesheets/tidy-table.css?type=text/css&pipeline=self&id=7f54b6e7ff279e0077355fabedd11d978f3253b7c1c378f4bb8b902b98e6d78c:ET
@@ -0,0 +1 @@
1
+ I"�/home/vagrant/Sources/host-main/tidy-table-rails/vendor/assets/javascripts/tidy-table.js?type=application/javascript&id=2d959ca31c740ddd39262276efa6f343f93a08f92163cf6169b0e6889a8fce5a:ET
@@ -0,0 +1 @@
1
+ "%�ׄ�$��$�44ˈC�X"B��i��+0:�
@@ -0,0 +1,13 @@
1
+ require 'spec_helper'
2
+
3
+ feature 'Assets integration' do
4
+ it 'provides tidy-table.js on the asset pipeline' do
5
+ visit '/assets/tidy-table.js'
6
+ expect(page.status_code).to be 200
7
+ end
8
+
9
+ it 'provides tidy-table.css on the asset pipeline' do
10
+ visit '/assets/tidy-table.css'
11
+ expect(page.status_code).to be 200
12
+ end
13
+ end
@@ -0,0 +1,4 @@
1
+ ENV['RAILS_ENV'] ||= 'test'
2
+
3
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
4
+ require 'rspec/rails'
@@ -17,8 +17,12 @@ Gem::Specification.new do |spec|
17
17
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
+ spec.test_files = Dir["spec/**/*"]
20
21
 
21
- spec.add_runtime_dependency 'jquery-rails', '>= 3.0.0', '< 5.0'
22
22
  spec.add_development_dependency "bundler", "~> 1.7"
23
23
  spec.add_development_dependency "rake", "~> 10.0"
24
+ spec.add_development_dependency 'rails', '4.2.6'
25
+ spec.add_development_dependency 'rspec-rails', '~> 3.0'
26
+ spec.add_development_dependency 'capybara', '~> 2.6'
27
+ spec.add_development_dependency 'sqlite3', '~> 1.3'
24
28
  end