templates-rails 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +30 -0
  3. data/README.md +9 -9
  4. data/app/controllers/templates_controller.rb +1 -1
  5. data/lib/templates/version.rb +1 -1
  6. data/lib/templates-rails.rb +5 -1
  7. metadata +14 -163
  8. data/LICENSE.txt +0 -21
  9. data/Rakefile +0 -8
  10. data/spec/dummy/Rakefile +0 -6
  11. data/spec/dummy/app/assets/config/manifest.js +0 -2
  12. data/spec/dummy/app/assets/stylesheets/application.css +0 -15
  13. data/spec/dummy/app/controllers/application_controller.rb +0 -2
  14. data/spec/dummy/app/controllers/dashboard_controller.rb +0 -4
  15. data/spec/dummy/app/views/dashboard/show.html.erb +0 -1
  16. data/spec/dummy/app/views/layouts/application.html.erb +0 -15
  17. data/spec/dummy/app/views/layouts/mailer.html.erb +0 -13
  18. data/spec/dummy/app/views/layouts/mailer.text.erb +0 -1
  19. data/spec/dummy/app/views/templates/example_1.html.erb +0 -5
  20. data/spec/dummy/app/views/templates/folder_example/deep_folder_example/example_3.html.erb +0 -3
  21. data/spec/dummy/app/views/templates/folder_example/example_2.html.erb +0 -3
  22. data/spec/dummy/bin/rails +0 -4
  23. data/spec/dummy/bin/rake +0 -4
  24. data/spec/dummy/bin/setup +0 -33
  25. data/spec/dummy/config/application.rb +0 -40
  26. data/spec/dummy/config/boot.rb +0 -5
  27. data/spec/dummy/config/database.yml +0 -16
  28. data/spec/dummy/config/environment.rb +0 -5
  29. data/spec/dummy/config/environments/development.rb +0 -70
  30. data/spec/dummy/config/environments/production.rb +0 -88
  31. data/spec/dummy/config/environments/test.rb +0 -60
  32. data/spec/dummy/config/initializers/assets.rb +0 -12
  33. data/spec/dummy/config/initializers/content_security_policy.rb +0 -26
  34. data/spec/dummy/config/initializers/filter_parameter_logging.rb +0 -6
  35. data/spec/dummy/config/initializers/inflections.rb +0 -16
  36. data/spec/dummy/config/initializers/permissions_policy.rb +0 -11
  37. data/spec/dummy/config/locales/en.yml +0 -33
  38. data/spec/dummy/config/puma.rb +0 -43
  39. data/spec/dummy/config/routes.rb +0 -3
  40. data/spec/dummy/config/storage.yml +0 -34
  41. data/spec/dummy/config.ru +0 -6
  42. data/spec/dummy/log/development.log +0 -30
  43. data/spec/dummy/public/404.html +0 -67
  44. data/spec/dummy/public/422.html +0 -67
  45. data/spec/dummy/public/500.html +0 -66
  46. data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
  47. data/spec/dummy/public/apple-touch-icon.png +0 -0
  48. data/spec/dummy/public/favicon.ico +0 -0
  49. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/2M/2MAeYGAY45NZwjibSlhTx4BGyoFwEASnw8OOvzoPIfc.cache +0 -0
  50. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/2e/2ek7t0LQPdRX4lcsH8XX9yBrpBF1sMwmZmdeFlgf_Q0.cache +0 -2
  51. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/2j/2jrKpaTjFrBWDDzvaEc3AI_0vDJiBZZR_07WiExafzM.cache +0 -1
  52. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/49/496_a5VnSine9-_CqKkEEp3KqBwPjWlZhdqdtlMHgLc.cache +0 -1
  53. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/6R/6RAKOlKW3tB4ZhiNL6nVJULnHHER8HHfwCzmDDra0Rk.cache +0 -2
  54. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/7N/7NFl5qThg3hc3O7ZJZUCaRHo5AQeK0k-N0zEiqMxp-M.cache +0 -1
  55. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/C8/C8TEvZYpztgLTR6gM2XcuriZ1OSwPvQyok-reKuKtUo.cache +0 -1
  56. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/DX/DXOxSHHIgfdJQF_9KcMvopZ1VWpHzn5AI8KN5R4vkSg.cache +0 -0
  57. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/FM/FMrxanWFOrajAAElycRrSH8kAn48Tgi9y2ttFNP7BLo.cache +0 -1
  58. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/H0/H08GISlZ931aF5r8N02rv-fsvRMYNws3V8s6diggrU8.cache +0 -1
  59. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/KC/KCHa2Ee3BuOl0sNMSIMXL8MY6Hhx3evXlElaWy3jTE4.cache +0 -1
  60. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/MY/MYBkYAqHGrXmJbHyOTdSPiU2SmIEipK8U43erhIVkco.cache +0 -2
  61. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/On/OnyCmCxC_T0QEGfWWeWjkSyu1dHhkvBWCmviYXzuX7w.cache +0 -0
  62. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/PT/PTQWcxxA1r1nKovYz0VU4TTsuKmSxJVmC534ucjH8eg.cache +0 -1
  63. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/QB/QBOGV65q7kxlEvzPf4_dDKWLJ0xKdm7WmEfO8Ei2aME.cache +0 -1
  64. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/R4/R4xPn-UcTN-hk1fy8N3kDlh35zSSfU1xDxBHtpWjZww.cache +0 -2
  65. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/TY/TY801gOOBLAFciwSH9MpRQIm_ua5WYZSHm75xEUvjMc.cache +0 -0
  66. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/UL/ULOh0ZolkxJ-LucKyRbDpQsM9EKrIU3zgYVh3GPDAew.cache +0 -1
  67. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/UL/ulybhME9QE-q9scM8yh2bbXcwjohJUh9nM169M7BLpg.cache +0 -0
  68. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/cj/cjr6kKZl1jz29v3-bI5-3-kxgsv3LSUUb64PRTVXkUA.cache +0 -0
  69. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/cy/cygCUfkLX3IQ6knjQ1wScjHrNRc6sx2IMG9g6XCSeGM.cache +0 -1
  70. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/dB/dBMW9818Rcj0YFAQGnGRPInLE4nxg4MRQxf5oMTkYXQ.cache +0 -0
  71. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/dB/dBz4_5n1jSGudGJIQYq-3Tu315jxVYdHpt5UGM8kPeg.cache +0 -1
  72. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/f7/f7iLPc7ku5n9m-SZc5c30hIkGE4iSB-GDAlCZn0Zfso.cache +0 -1
  73. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/kI/kIjjB6GADQ-iUYczFhypYH6ziSbcB61qTP8Aswk-0hc.cache +0 -1
  74. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/n_/n_xYqQYhwEMQknb3jFQnjlxxBE9TzMNHCdJ-bEyZFIw.cache +0 -2
  75. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/nx/nxTv3sKVUQZADJyM3dPaVmUA78MIsMLD_K279yN_GsI.cache +0 -2
  76. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/p_/p_4jCnzWsxjI4cOwzmhtbHktBW9nQS3JPW_h_g8Epo0.cache +0 -2
  77. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/tf/tfIrQCl9Gmfy7yvsMeqC2lKCLMHeZGEQJ2j2NxsuumY.cache +0 -2
  78. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/ur/ur1aNCXLtRdYcv3q2JiACQIMzE3Ye53WR1X7zHDVlsE.cache +0 -2
  79. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/wo/wo05iTqGknAPJGrk-zgvijzWaIEoHq0JuyIaMKAzViU.cache +0 -0
  80. data/spec/dummy/tmp/cache/assets/sprockets/v4.0.0/zM/zMYJo7-35vm5lIG-gzuCNqcoV7tMBG_QyssS2zBeJ1E.cache +0 -1
  81. data/spec/dummy/tmp/development_secret.txt +0 -1
  82. data/spec/dummy/tmp/pids/server.pid +0 -1
  83. data/spec/dummy/tmp/restart.txt +0 -0
  84. data/spec/features/dummy_functionality_spec.rb +0 -10
  85. data/spec/rails_helper.rb +0 -5
  86. data/spec/spec_helper.rb +0 -94
@@ -1 +0,0 @@
1
- I"�/Users/lukasz/Desktop/GitHub/templates-rails/app/assets/stylesheets/templates/application.css?type=text/css&pipeline=self&id=9aee10b8de39ebba50981280e7ead29a0d0a4374b0321f2883388f9a1e7dfba4:ET
@@ -1,2 +0,0 @@
1
- "%�I,=Iκ�b��J<�2�P�@\
2
- ��s�R
@@ -1 +0,0 @@
1
- I"}app/assets/stylesheets/application.css?type=text/css&id=400deff969dffa1e484664b3fbba10933513d698008017f96f518a70a491d988:ET
@@ -1 +0,0 @@
1
- "%�� �n�J%�Xd���u ������ե8�
@@ -1 +0,0 @@
1
- I"�/Users/lukasz/Desktop/GitHub/templates-rails/app/assets/config/templates_manifest.js?type=application/javascript&id=71dd8a5e05950d68569379b5734a3122fbb39c144f949367e8b5940c1fe73f20:ET
@@ -1 +0,0 @@
1
- "%��Rm�v�S3.��O�L���ڹc�ƕq�=_j�
@@ -1 +0,0 @@
1
- I"�/Users/lukasz/Desktop/GitHub/templates-rails/app/assets/stylesheets/templates/application.css?type=text/css&id=8e60b044503d15d0c53983ee84b797b07acb44eadd32736fbd77c4b6d77477ba:ET
@@ -1,2 +0,0 @@
1
- [o:Set:
2
- @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"0processors:type=text/css&file_type=text/css;TTI"pfile-digest:///Users/lukasz/Desktop/GitHub/templates-rails/app/assets/stylesheets/templates/application.css;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"`file-digest:///Users/lukasz/Desktop/GitHub/templates-rails/app/assets/stylesheets/templates;TTF
@@ -1 +0,0 @@
1
- "%A��G �{h t�l�m�V���NE���f���
@@ -1 +0,0 @@
1
- I"}app/assets/config/manifest.js?type=application/javascript&id=0bb747fc45905ecaa40e353d8b8ad22f20377f13125ad4698ef6a11f8f0ef46a:ET
@@ -1,2 +0,0 @@
1
- [o:Set:
2
- @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"gfile-digest:///Users/lukasz/Desktop/GitHub/templates-rails/app/assets/config/templates_manifest.js;TTI"`file-digest:///Users/lukasz/Desktop/GitHub/templates-rails/app/assets/stylesheets/templates;TTI"pfile-digest:///Users/lukasz/Desktop/GitHub/templates-rails/app/assets/stylesheets/templates/application.css;TTF
@@ -1 +0,0 @@
1
- "%��Rm�v�S3.��O�L���ڹc�ƕq�=_j�
@@ -1 +0,0 @@
1
- "%`6���U�߮͘��H,Z�%��u��zzi
@@ -1 +0,0 @@
1
- "%/�A:@JF�X$��)����g{���@�w�6�8�
@@ -1 +0,0 @@
1
- I"�/Users/lukasz/Desktop/GitHub/templates-rails/app/assets/config/templates_manifest.js?type=application/javascript&pipeline=self&id=eb4189d607bc35b5515bc66c1ba6a2ea4482f9003b88190633bc2f2d96142f80:ET
@@ -1 +0,0 @@
1
- I"�app/assets/config/manifest.js?type=application/javascript&pipeline=self&id=a17ecbec1e046c124c2461556b5e1dbe067771b725053c9f3738f824500a36ef:ET
@@ -1,2 +0,0 @@
1
- [o:Set:
2
- @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"9file-digest://app/assets/stylesheets/application.css;TTI")file-digest://app/assets/stylesheets;TTF
@@ -1,2 +0,0 @@
1
- [o:Set:
2
- @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"0processors:type=text/css&file_type=text/css;TTI"9file-digest://app/assets/stylesheets/application.css;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI")file-digest://app/assets/stylesheets;TTF
@@ -1,2 +0,0 @@
1
- [o:Set:
2
- @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"pfile-digest:///Users/lukasz/Desktop/GitHub/templates-rails/app/assets/stylesheets/templates/application.css;TTI"`file-digest:///Users/lukasz/Desktop/GitHub/templates-rails/app/assets/stylesheets/templates;TTF
@@ -1,2 +0,0 @@
1
- [o:Set:
2
- @hash}I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"gfile-digest:///Users/lukasz/Desktop/GitHub/templates-rails/app/assets/config/templates_manifest.js;TTI"0processors:type=text/css&file_type=text/css;TTI"pfile-digest:///Users/lukasz/Desktop/GitHub/templates-rails/app/assets/stylesheets/templates/application.css;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"`file-digest:///Users/lukasz/Desktop/GitHub/templates-rails/app/assets/stylesheets/templates;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTF
@@ -1,2 +0,0 @@
1
- [o:Set:
2
- @hash}I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"0file-digest://app/assets/config/manifest.js;TTI"0processors:type=text/css&file_type=text/css;TTI"9file-digest://app/assets/stylesheets/application.css;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI")file-digest://app/assets/stylesheets;TTI"gfile-digest:///Users/lukasz/Desktop/GitHub/templates-rails/app/assets/config/templates_manifest.js;TTI"pfile-digest:///Users/lukasz/Desktop/GitHub/templates-rails/app/assets/stylesheets/templates/application.css;TTI"`file-digest:///Users/lukasz/Desktop/GitHub/templates-rails/app/assets/stylesheets/templates;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"$file-digest://app/assets/config;TTI"7file-digest://app/assets/config/templates_manifest;TTI"<file-digest://app/assets/stylesheets/templates_manifest;TTI"Qfile-digest:///Users/lukasz/Desktop/GitHub/templates-rails/app/assets/config;TTI"dfile-digest:///Users/lukasz/Desktop/GitHub/templates-rails/app/assets/config/templates_manifest;TTF
@@ -1 +0,0 @@
1
- "%�<������X���̀#+�����,�(o���
@@ -1 +0,0 @@
1
- 516fb12a9b88ed8f5eb28c980ae39eb814fb83d831abd8fd708455bc04a6e7a80c9aa9af7dd5049142aebf247e55fbaa58fbe03091a081f9494bdb99c5cf4ed4
@@ -1 +0,0 @@
1
- 62967
File without changes
@@ -1,10 +0,0 @@
1
- require 'rails_helper'
2
-
3
- RSpec.describe 'Dummy functionality', type: :feature do
4
- it 'works correctly' do
5
- visit '/'
6
- click_link 'Go to Templates'
7
-
8
- expect(page).to have_content 'Templates'
9
- end
10
- end
data/spec/rails_helper.rb DELETED
@@ -1,5 +0,0 @@
1
- require 'spec_helper'
2
- ENV['RAILS_ENV'] ||= 'test'
3
- require File.expand_path('../dummy/config/environment', __FILE__)
4
- abort("The Rails environment is running in production mode!") if Rails.env.production?
5
- require 'rspec/rails'
data/spec/spec_helper.rb DELETED
@@ -1,94 +0,0 @@
1
- # This file was generated by the `rails generate rspec:install` command. Conventionally, all
2
- # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
3
- # The generated `.rspec` file contains `--require spec_helper` which will cause
4
- # this file to always be loaded, without a need to explicitly require it in any
5
- # files.
6
- #
7
- # Given that it is always loaded, you are encouraged to keep this file as
8
- # light-weight as possible. Requiring heavyweight dependencies from this file
9
- # will add to the boot time of your test suite on EVERY test run, even for an
10
- # individual file that may not need all of that loaded. Instead, consider making
11
- # a separate helper file that requires the additional dependencies and performs
12
- # the additional setup, and require it from the spec files that actually need
13
- # it.
14
- #
15
- # See https://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
16
- RSpec.configure do |config|
17
- # rspec-expectations config goes here. You can use an alternate
18
- # assertion/expectation library such as wrong or the stdlib/minitest
19
- # assertions if you prefer.
20
- config.expect_with :rspec do |expectations|
21
- # This option will default to `true` in RSpec 4. It makes the `description`
22
- # and `failure_message` of custom matchers include text for helper methods
23
- # defined using `chain`, e.g.:
24
- # be_bigger_than(2).and_smaller_than(4).description
25
- # # => "be bigger than 2 and smaller than 4"
26
- # ...rather than:
27
- # # => "be bigger than 2"
28
- expectations.include_chain_clauses_in_custom_matcher_descriptions = true
29
- end
30
-
31
- # rspec-mocks config goes here. You can use an alternate test double
32
- # library (such as bogus or mocha) by changing the `mock_with` option here.
33
- config.mock_with :rspec do |mocks|
34
- # Prevents you from mocking or stubbing a method that does not exist on
35
- # a real object. This is generally recommended, and will default to
36
- # `true` in RSpec 4.
37
- mocks.verify_partial_doubles = true
38
- end
39
-
40
- # This option will default to `:apply_to_host_groups` in RSpec 4 (and will
41
- # have no way to turn it off -- the option exists only for backwards
42
- # compatibility in RSpec 3). It causes shared context metadata to be
43
- # inherited by the metadata hash of host groups and examples, rather than
44
- # triggering implicit auto-inclusion in groups with matching metadata.
45
- config.shared_context_metadata_behavior = :apply_to_host_groups
46
-
47
- # The settings below are suggested to provide a good initial experience
48
- # with RSpec, but feel free to customize to your heart's content.
49
- =begin
50
- # This allows you to limit a spec run to individual examples or groups
51
- # you care about by tagging them with `:focus` metadata. When nothing
52
- # is tagged with `:focus`, all examples get run. RSpec also provides
53
- # aliases for `it`, `describe`, and `context` that include `:focus`
54
- # metadata: `fit`, `fdescribe` and `fcontext`, respectively.
55
- config.filter_run_when_matching :focus
56
-
57
- # Allows RSpec to persist some state between runs in order to support
58
- # the `--only-failures` and `--next-failure` CLI options. We recommend
59
- # you configure your source control system to ignore this file.
60
- config.example_status_persistence_file_path = "spec/examples.txt"
61
-
62
- # Limits the available syntax to the non-monkey patched syntax that is
63
- # recommended. For more details, see:
64
- # https://relishapp.com/rspec/rspec-core/docs/configuration/zero-monkey-patching-mode
65
- config.disable_monkey_patching!
66
-
67
- # Many RSpec users commonly either run the entire suite or an individual
68
- # file, and it's useful to allow more verbose output when running an
69
- # individual spec file.
70
- if config.files_to_run.one?
71
- # Use the documentation formatter for detailed output,
72
- # unless a formatter has already been configured
73
- # (e.g. via a command-line flag).
74
- config.default_formatter = "doc"
75
- end
76
-
77
- # Print the 10 slowest examples and example groups at the
78
- # end of the spec run, to help surface which specs are running
79
- # particularly slow.
80
- config.profile_examples = 10
81
-
82
- # Run specs in random order to surface order dependencies. If you find an
83
- # order dependency and want to debug it, you can fix the order by providing
84
- # the seed, which is printed after each run.
85
- # --seed 1234
86
- config.order = :random
87
-
88
- # Seed global randomization in this process using the `--seed` CLI option.
89
- # Setting this allows you to use `--seed` to deterministically reproduce
90
- # test failures related to randomization by passing the same `--seed` value
91
- # as the one that triggered the failure.
92
- Kernel.srand config.seed
93
- =end
94
- end