cmor_legal 0.0.45.pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +27 -0
  4. data/Rakefile +21 -0
  5. data/app/assets/config/manifest.js +2 -0
  6. data/app/assets/javascripts/cmor/legal/application.js +2 -0
  7. data/app/assets/javascripts/cmor/legal/application/keep.js +0 -0
  8. data/app/assets/javascripts/cmor_legal.js +2 -0
  9. data/app/assets/stylesheets/cmor/legal/application.css +3 -0
  10. data/app/assets/stylesheets/cmor/legal/application/keep.css +0 -0
  11. data/app/assets/stylesheets/cmor_legal.css +3 -0
  12. data/app/builders/cmor/legal/personal_data_hash_builder.rb +50 -0
  13. data/app/controllers/cmor/legal/home_controller.rb +8 -0
  14. data/app/controllers/cmor/legal/personal_data_controller.rb +24 -0
  15. data/app/controllers/cmor/legal/privacy_policies_controller.rb +18 -0
  16. data/app/models/cmor/legal/cookie.rb +87 -0
  17. data/app/models/cmor/legal/cookie_preferences.rb +47 -0
  18. data/app/models/cmor/legal/cookie_store.rb +39 -0
  19. data/app/models/cmor/legal/personal_data.rb +60 -0
  20. data/app/models/cmor/legal/privacy_policy.rb +24 -0
  21. data/app/registries/cmor/legal/personal_data_registry.rb +42 -0
  22. data/app/resolvers/cmor/legal/privacy_policy_resolver.rb +8 -0
  23. data/app/view_helpers/cmor/legal/application_view_helper.rb +8 -0
  24. data/app/views/cmor/legal/home/_index_extras.html.haml +22 -0
  25. data/app/views/cmor/legal/personal_data/_index_table.haml +1 -0
  26. data/app/views/cmor/legal/personal_data/_show_extras.haml +1 -0
  27. data/app/views/cmor/legal/personal_data/_show_table.haml +1 -0
  28. data/app/views/cmor/legal/privacy_policies/_form.haml +14 -0
  29. data/app/views/cmor/legal/privacy_policies/_index_table.haml +6 -0
  30. data/app/views/cmor/legal/privacy_policies/_show_table.html.haml +8 -0
  31. data/config/initializers/assets.rb +2 -0
  32. data/config/initializers/cmor.rb +3 -0
  33. data/config/locales/de.yml +20 -0
  34. data/config/locales/en.yml +15 -0
  35. data/config/routes.rb +7 -0
  36. data/lib/cmor/legal/configuration.rb +64 -0
  37. data/lib/cmor/legal/engine.rb +7 -0
  38. data/lib/cmor/legal/version.rb +9 -0
  39. data/lib/cmor_legal.rb +15 -0
  40. data/lib/generators/cmor/legal/install/install_generator.rb +26 -0
  41. data/lib/generators/cmor/legal/install/templates/initializer.rb +69 -0
  42. data/lib/generators/cmor/legal/install/templates/routes.source +4 -0
  43. data/lib/tasks/cmor/legal_tasks.rake +8 -0
  44. data/spec/factories/cmor_legal_privacy_policies.rb +7 -0
  45. data/spec/features/de/backend/juristisches/privacy_policies_feature_spec.rb +60 -0
  46. data/spec/lib/cmor/legal/version_spec.rb +7 -0
  47. data/spec/models/cmor/legal/cookie_spec.rb +63 -0
  48. data/spec/rails_helper.rb +62 -0
  49. data/spec/spec_helper.rb +98 -0
  50. data/spec/support/active_job.rb +3 -0
  51. data/spec/support/capybara.rb +3 -0
  52. data/spec/support/factory_bot.rb +16 -0
  53. data/spec/support/pry.rb +3 -0
  54. data/spec/support/rao-shoulda_matchers.rb +7 -0
  55. metadata +447 -0
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "rails_helper"
4
+
5
+ RSpec.describe Cmor::Legal do
6
+ it { expect(described_class).to be_const_defined("VERSION") }
7
+ end
@@ -0,0 +1,63 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "rails_helper"
4
+
5
+ RSpec.describe Cmor::Legal::Cookie, type: :model do
6
+ it { expect(subject).to be_a(described_class) }
7
+
8
+ describe "boolean conversions" do
9
+ ["true", true, "1", 1].each do |value|
10
+ it { expect(described_class.new(value: value).value).to eq(true) }
11
+ end
12
+
13
+ ["false", false, "0", 0, nil].each do |value|
14
+ it { expect(described_class.new(value: value).value).to eq(false) }
15
+ end
16
+ end
17
+
18
+ describe "default value from configuration" do
19
+ describe "when false" do
20
+ before(:each) do
21
+ ::Cmor::Legal::Configuration.cookies = ->(cookie_store = nil) {
22
+ [::Cmor::Legal::Cookie.new(identifier: :basic, adjustable: true, default: false, cookie_store: cookie_store)]
23
+ }
24
+ end
25
+
26
+ it { expect(described_class.first.value).to eq(false) }
27
+ end
28
+
29
+ describe "when true" do
30
+ before(:each) do
31
+ ::Cmor::Legal::Configuration.cookies = ->(cookie_store = nil) {
32
+ [::Cmor::Legal::Cookie.new(identifier: :basic, adjustable: true, default: true, cookie_store: cookie_store)]
33
+ }
34
+ end
35
+
36
+ it { expect(described_class.first.value).to eq(true) }
37
+ end
38
+ end
39
+
40
+ describe "value from cookie store is used over default" do
41
+ let(:cookie_store) { ::Cmor::Legal::CookieStore.new({ "#{Cmor::Legal::Configuration.cookie_prefix}basic" => false }) }
42
+ describe "when false" do
43
+ before(:each) do
44
+ ::Cmor::Legal::Configuration.cookies = ->(cookie_store = nil) {
45
+ [::Cmor::Legal::Cookie.new(identifier: :basic, adjustable: true, default: true, cookie_store: cookie_store)]
46
+ }
47
+ end
48
+
49
+ it { expect(described_class.first(cookie_store).value).to eq(false) }
50
+ end
51
+
52
+ describe "when true" do
53
+ let(:cookie_store) { ::Cmor::Legal::CookieStore.new({ "#{Cmor::Legal::Configuration.cookie_prefix}basic" => true }) }
54
+ before(:each) do
55
+ ::Cmor::Legal::Configuration.cookies = ->(cookie_store = nil) {
56
+ [::Cmor::Legal::Cookie.new(identifier: :basic, adjustable: true, default: false, cookie_store: cookie_store)]
57
+ }
58
+ end
59
+
60
+ it { expect(described_class.first(cookie_store).value).to eq(true) }
61
+ end
62
+ end
63
+ end
@@ -0,0 +1,62 @@
1
+ # This file is copied to spec/ when you run 'rails generate rspec:install'
2
+ require 'spec_helper'
3
+ ENV['RAILS_ENV'] ||= 'test'
4
+ require File.expand_path('../dummy/config/environment', __FILE__)
5
+ # Prevent database truncation if the environment is production
6
+ abort("The Rails environment is running in production mode!") if Rails.env.production?
7
+ require 'rspec/rails'
8
+ # Add additional requires below this line. Rails is not loaded until this point!
9
+
10
+ # Requires supporting ruby files with custom matchers and macros, etc, in
11
+ # spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are
12
+ # run as spec files by default. This means that files in spec/support that end
13
+ # in _spec.rb will both be required and run as specs, causing the specs to be
14
+ # run twice. It is recommended that you do not name files matching this glob to
15
+ # end with _spec.rb. You can configure this pattern with the --pattern
16
+ # option on the command line or in ~/.rspec, .rspec or `.rspec-local`.
17
+ #
18
+ # The following line is provided for convenience purposes. It has the downside
19
+ # of increasing the boot-up time by auto-requiring all files in the support
20
+ # directory. Alternatively, in the individual `*_spec.rb` files, manually
21
+ # require only the support files necessary.
22
+ #
23
+ # Dir[Rails.root.join('spec', 'support', '**', '*.rb')].each { |f| require f }
24
+ Dir[Cmor::Legal::Engine.root.join('spec', 'support', '**', '*.rb')].each { |f| require f }
25
+
26
+ # Checks for pending migrations and applies them before tests are run.
27
+ # If you are not using ActiveRecord, you can remove these lines.
28
+ # begin
29
+ # ActiveRecord::Migration.maintain_test_schema!
30
+ # rescue ActiveRecord::PendingMigrationError => e
31
+ # puts e.to_s.strip
32
+ # exit 1
33
+ # end
34
+ RSpec.configure do |config|
35
+ # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
36
+ config.fixture_path = "#{::Rails.root}/spec/fixtures"
37
+
38
+ # If you're not using ActiveRecord, or you'd prefer not to run each of your
39
+ # examples within a transaction, remove the following line or assign false
40
+ # instead of true.
41
+ config.use_transactional_fixtures = true
42
+
43
+ # RSpec Rails can automatically mix in different behaviours to your tests
44
+ # based on their file location, for example enabling you to call `get` and
45
+ # `post` in specs under `spec/controllers`.
46
+ #
47
+ # You can disable this behaviour by removing the line below, and instead
48
+ # explicitly tag your specs with their type, e.g.:
49
+ #
50
+ # RSpec.describe UsersController, :type => :controller do
51
+ # # ...
52
+ # end
53
+ #
54
+ # The different available types are documented in the features, such as in
55
+ # https://relishapp.com/rspec/rspec-rails/docs
56
+ config.infer_spec_type_from_file_location!
57
+
58
+ # Filter lines from Rails gems in backtraces.
59
+ config.filter_rails_from_backtrace!
60
+ # arbitrary gems may also be filtered via:
61
+ # config.filter_gems_from_backtrace("gem name")
62
+ end
@@ -0,0 +1,98 @@
1
+ require 'coveralls'
2
+ Coveralls.wear!
3
+ # This file was generated by the `rails generate rspec:install` command. Conventionally, all
4
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
5
+ # The generated `.rspec` file contains `--require spec_helper` which will cause
6
+ # this file to always be loaded, without a need to explicitly require it in any
7
+ # files.
8
+ #
9
+ # Given that it is always loaded, you are encouraged to keep this file as
10
+ # light-weight as possible. Requiring heavyweight dependencies from this file
11
+ # will add to the boot time of your test suite on EVERY test run, even for an
12
+ # individual file that may not need all of that loaded. Instead, consider making
13
+ # a separate helper file that requires the additional dependencies and performs
14
+ # the additional setup, and require it from the spec files that actually need
15
+ # it.
16
+ #
17
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
18
+ RSpec.configure do |config|
19
+ # rspec-expectations config goes here. You can use an alternate
20
+ # assertion/expectation library such as wrong or the stdlib/minitest
21
+ # assertions if you prefer.
22
+ config.expect_with :rspec do |expectations|
23
+ # This option will default to `true` in RSpec 4. It makes the `description`
24
+ # and `failure_message` of custom matchers include text for helper methods
25
+ # defined using `chain`, e.g.:
26
+ # be_bigger_than(2).and_smaller_than(4).description
27
+ # # => "be bigger than 2 and smaller than 4"
28
+ # ...rather than:
29
+ # # => "be bigger than 2"
30
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
31
+ end
32
+
33
+ # rspec-mocks config goes here. You can use an alternate test double
34
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
35
+ config.mock_with :rspec do |mocks|
36
+ # Prevents you from mocking or stubbing a method that does not exist on
37
+ # a real object. This is generally recommended, and will default to
38
+ # `true` in RSpec 4.
39
+ mocks.verify_partial_doubles = true
40
+ end
41
+
42
+ # This option will default to `:apply_to_host_groups` in RSpec 4 (and will
43
+ # have no way to turn it off -- the option exists only for backwards
44
+ # compatibility in RSpec 3). It causes shared context metadata to be
45
+ # inherited by the metadata hash of host groups and examples, rather than
46
+ # triggering implicit auto-inclusion in groups with matching metadata.
47
+ config.shared_context_metadata_behavior = :apply_to_host_groups
48
+
49
+ # The settings below are suggested to provide a good initial experience
50
+ # with RSpec, but feel free to customize to your heart's content.
51
+ =begin
52
+ # This allows you to limit a spec run to individual examples or groups
53
+ # you care about by tagging them with `:focus` metadata. When nothing
54
+ # is tagged with `:focus`, all examples get run. RSpec also provides
55
+ # aliases for `it`, `describe`, and `context` that include `:focus`
56
+ # metadata: `fit`, `fdescribe` and `fcontext`, respectively.
57
+ config.filter_run_when_matching :focus
58
+
59
+ # Allows RSpec to persist some state between runs in order to support
60
+ # the `--only-failures` and `--next-failure` CLI options. We recommend
61
+ # you configure your source control system to ignore this file.
62
+ config.example_status_persistence_file_path = "spec/examples.txt"
63
+
64
+ # Limits the available syntax to the non-monkey patched syntax that is
65
+ # recommended. For more details, see:
66
+ # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
67
+ # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
68
+ # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
69
+ config.disable_monkey_patching!
70
+
71
+ # Many RSpec users commonly either run the entire suite or an individual
72
+ # file, and it's useful to allow more verbose output when running an
73
+ # individual spec file.
74
+ if config.files_to_run.one?
75
+ # Use the documentation formatter for detailed output,
76
+ # unless a formatter has already been configured
77
+ # (e.g. via a command-line flag).
78
+ config.default_formatter = "doc"
79
+ end
80
+
81
+ # Print the 10 slowest examples and example groups at the
82
+ # end of the spec run, to help surface which specs are running
83
+ # particularly slow.
84
+ config.profile_examples = 10
85
+
86
+ # Run specs in random order to surface order dependencies. If you find an
87
+ # order dependency and want to debug it, you can fix the order by providing
88
+ # the seed, which is printed after each run.
89
+ # --seed 1234
90
+ config.order = :random
91
+
92
+ # Seed global randomization in this process using the `--seed` CLI option.
93
+ # Setting this allows you to use `--seed` to deterministically reproduce
94
+ # test failures related to randomization by passing the same `--seed` value
95
+ # as the one that triggered the failure.
96
+ Kernel.srand config.seed
97
+ =end
98
+ end
@@ -0,0 +1,3 @@
1
+ # frozen_string_literal: true
2
+
3
+ ActiveJob::Base.queue_adapter = :test
@@ -0,0 +1,3 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "capybara"
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "factory_bot_rails"
4
+
5
+ RSpec.configure do |config|
6
+ config.include FactoryBot::Syntax::Methods
7
+ end
8
+
9
+ FactoryBot.tap do |f|
10
+ f.factories.clear
11
+ f.definition_file_paths += [
12
+ Cmor::Legal::Engine.root.join(*%w(spec factories)),
13
+ Rails.root.join(*%w(spec factories))
14
+ ]
15
+ f.find_definitions
16
+ end
@@ -0,0 +1,3 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "pry"
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "rao/shoulda/matchers"
4
+
5
+ RSpec.configure do |config|
6
+ config.include Rao::Shoulda::Matchers, type: :feature
7
+ end
metadata ADDED
@@ -0,0 +1,447 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: cmor_legal
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.45.pre
5
+ platform: ruby
6
+ authors:
7
+ - Roberto Vasquez Angel
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2020-03-01 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 5.2.3
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 5.2.3
27
+ - !ruby/object:Gem::Dependency
28
+ name: cmor_core
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '='
32
+ - !ruby/object:Gem::Version
33
+ version: 0.0.45.pre
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '='
39
+ - !ruby/object:Gem::Version
40
+ version: 0.0.45.pre
41
+ - !ruby/object:Gem::Dependency
42
+ name: cmor_core_backend
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '='
46
+ - !ruby/object:Gem::Version
47
+ version: 0.0.45.pre
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '='
53
+ - !ruby/object:Gem::Version
54
+ version: 0.0.45.pre
55
+ - !ruby/object:Gem::Dependency
56
+ name: sqlite3
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 1.3.6
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 1.3.6
69
+ - !ruby/object:Gem::Dependency
70
+ name: responders
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: capybara
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: coveralls
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: git_log_generator
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: guard-bundler
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: guard-rails
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: guard-rspec
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: pry-rails
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
181
+ - !ruby/object:Gem::Dependency
182
+ name: rails-dummy
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ version: '0'
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - ">="
193
+ - !ruby/object:Gem::Version
194
+ version: '0'
195
+ - !ruby/object:Gem::Dependency
196
+ name: rails-i18n
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - ">="
200
+ - !ruby/object:Gem::Version
201
+ version: '0'
202
+ type: :development
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ">="
207
+ - !ruby/object:Gem::Version
208
+ version: '0'
209
+ - !ruby/object:Gem::Dependency
210
+ name: rao-shoulda_matchers
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - ">="
214
+ - !ruby/object:Gem::Version
215
+ version: '0'
216
+ type: :development
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - ">="
221
+ - !ruby/object:Gem::Version
222
+ version: '0'
223
+ - !ruby/object:Gem::Dependency
224
+ name: rspec-rails
225
+ requirement: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - ">="
228
+ - !ruby/object:Gem::Version
229
+ version: '0'
230
+ type: :development
231
+ prerelease: false
232
+ version_requirements: !ruby/object:Gem::Requirement
233
+ requirements:
234
+ - - ">="
235
+ - !ruby/object:Gem::Version
236
+ version: '0'
237
+ - !ruby/object:Gem::Dependency
238
+ name: factory_bot_rails
239
+ requirement: !ruby/object:Gem::Requirement
240
+ requirements:
241
+ - - ">="
242
+ - !ruby/object:Gem::Version
243
+ version: '0'
244
+ type: :development
245
+ prerelease: false
246
+ version_requirements: !ruby/object:Gem::Requirement
247
+ requirements:
248
+ - - ">="
249
+ - !ruby/object:Gem::Version
250
+ version: '0'
251
+ - !ruby/object:Gem::Dependency
252
+ name: rubocop
253
+ requirement: !ruby/object:Gem::Requirement
254
+ requirements:
255
+ - - ">="
256
+ - !ruby/object:Gem::Version
257
+ version: '0'
258
+ type: :development
259
+ prerelease: false
260
+ version_requirements: !ruby/object:Gem::Requirement
261
+ requirements:
262
+ - - ">="
263
+ - !ruby/object:Gem::Version
264
+ version: '0'
265
+ - !ruby/object:Gem::Dependency
266
+ name: rubocop-rails_config
267
+ requirement: !ruby/object:Gem::Requirement
268
+ requirements:
269
+ - - ">="
270
+ - !ruby/object:Gem::Version
271
+ version: '0'
272
+ type: :development
273
+ prerelease: false
274
+ version_requirements: !ruby/object:Gem::Requirement
275
+ requirements:
276
+ - - ">="
277
+ - !ruby/object:Gem::Version
278
+ version: '0'
279
+ - !ruby/object:Gem::Dependency
280
+ name: shoulda-matchers
281
+ requirement: !ruby/object:Gem::Requirement
282
+ requirements:
283
+ - - ">="
284
+ - !ruby/object:Gem::Version
285
+ version: '0'
286
+ type: :development
287
+ prerelease: false
288
+ version_requirements: !ruby/object:Gem::Requirement
289
+ requirements:
290
+ - - ">="
291
+ - !ruby/object:Gem::Version
292
+ version: '0'
293
+ - !ruby/object:Gem::Dependency
294
+ name: simplecov
295
+ requirement: !ruby/object:Gem::Requirement
296
+ requirements:
297
+ - - ">="
298
+ - !ruby/object:Gem::Version
299
+ version: '0'
300
+ type: :development
301
+ prerelease: false
302
+ version_requirements: !ruby/object:Gem::Requirement
303
+ requirements:
304
+ - - ">="
305
+ - !ruby/object:Gem::Version
306
+ version: '0'
307
+ - !ruby/object:Gem::Dependency
308
+ name: simplecov-console
309
+ requirement: !ruby/object:Gem::Requirement
310
+ requirements:
311
+ - - ">="
312
+ - !ruby/object:Gem::Version
313
+ version: '0'
314
+ type: :development
315
+ prerelease: false
316
+ version_requirements: !ruby/object:Gem::Requirement
317
+ requirements:
318
+ - - ">="
319
+ - !ruby/object:Gem::Version
320
+ version: '0'
321
+ - !ruby/object:Gem::Dependency
322
+ name: cmor_cms
323
+ requirement: !ruby/object:Gem::Requirement
324
+ requirements:
325
+ - - ">="
326
+ - !ruby/object:Gem::Version
327
+ version: '0'
328
+ type: :runtime
329
+ prerelease: false
330
+ version_requirements: !ruby/object:Gem::Requirement
331
+ requirements:
332
+ - - ">="
333
+ - !ruby/object:Gem::Version
334
+ version: '0'
335
+ - !ruby/object:Gem::Dependency
336
+ name: bootsnap
337
+ requirement: !ruby/object:Gem::Requirement
338
+ requirements:
339
+ - - ">="
340
+ - !ruby/object:Gem::Version
341
+ version: '0'
342
+ type: :development
343
+ prerelease: false
344
+ version_requirements: !ruby/object:Gem::Requirement
345
+ requirements:
346
+ - - ">="
347
+ - !ruby/object:Gem::Version
348
+ version: '0'
349
+ - !ruby/object:Gem::Dependency
350
+ name: turbolinks
351
+ requirement: !ruby/object:Gem::Requirement
352
+ requirements:
353
+ - - ">="
354
+ - !ruby/object:Gem::Version
355
+ version: '0'
356
+ type: :development
357
+ prerelease: false
358
+ version_requirements: !ruby/object:Gem::Requirement
359
+ requirements:
360
+ - - ">="
361
+ - !ruby/object:Gem::Version
362
+ version: '0'
363
+ description:
364
+ email:
365
+ - roberto@vasquez-angel.de
366
+ executables: []
367
+ extensions: []
368
+ extra_rdoc_files: []
369
+ files:
370
+ - MIT-LICENSE
371
+ - README.md
372
+ - Rakefile
373
+ - app/assets/config/manifest.js
374
+ - app/assets/javascripts/cmor/legal/application.js
375
+ - app/assets/javascripts/cmor/legal/application/keep.js
376
+ - app/assets/javascripts/cmor_legal.js
377
+ - app/assets/stylesheets/cmor/legal/application.css
378
+ - app/assets/stylesheets/cmor/legal/application/keep.css
379
+ - app/assets/stylesheets/cmor_legal.css
380
+ - app/builders/cmor/legal/personal_data_hash_builder.rb
381
+ - app/controllers/cmor/legal/home_controller.rb
382
+ - app/controllers/cmor/legal/personal_data_controller.rb
383
+ - app/controllers/cmor/legal/privacy_policies_controller.rb
384
+ - app/models/cmor/legal/cookie.rb
385
+ - app/models/cmor/legal/cookie_preferences.rb
386
+ - app/models/cmor/legal/cookie_store.rb
387
+ - app/models/cmor/legal/personal_data.rb
388
+ - app/models/cmor/legal/privacy_policy.rb
389
+ - app/registries/cmor/legal/personal_data_registry.rb
390
+ - app/resolvers/cmor/legal/privacy_policy_resolver.rb
391
+ - app/view_helpers/cmor/legal/application_view_helper.rb
392
+ - app/views/cmor/legal/home/_index_extras.html.haml
393
+ - app/views/cmor/legal/personal_data/_index_table.haml
394
+ - app/views/cmor/legal/personal_data/_show_extras.haml
395
+ - app/views/cmor/legal/personal_data/_show_table.haml
396
+ - app/views/cmor/legal/privacy_policies/_form.haml
397
+ - app/views/cmor/legal/privacy_policies/_index_table.haml
398
+ - app/views/cmor/legal/privacy_policies/_show_table.html.haml
399
+ - config/initializers/assets.rb
400
+ - config/initializers/cmor.rb
401
+ - config/locales/de.yml
402
+ - config/locales/en.yml
403
+ - config/routes.rb
404
+ - lib/cmor/legal/configuration.rb
405
+ - lib/cmor/legal/engine.rb
406
+ - lib/cmor/legal/version.rb
407
+ - lib/cmor_legal.rb
408
+ - lib/generators/cmor/legal/install/install_generator.rb
409
+ - lib/generators/cmor/legal/install/templates/initializer.rb
410
+ - lib/generators/cmor/legal/install/templates/routes.source
411
+ - lib/tasks/cmor/legal_tasks.rake
412
+ - spec/factories/cmor_legal_privacy_policies.rb
413
+ - spec/features/de/backend/juristisches/privacy_policies_feature_spec.rb
414
+ - spec/lib/cmor/legal/version_spec.rb
415
+ - spec/models/cmor/legal/cookie_spec.rb
416
+ - spec/rails_helper.rb
417
+ - spec/spec_helper.rb
418
+ - spec/support/active_job.rb
419
+ - spec/support/capybara.rb
420
+ - spec/support/factory_bot.rb
421
+ - spec/support/pry.rb
422
+ - spec/support/rao-shoulda_matchers.rb
423
+ homepage: https://github.com/content-management-on-rails
424
+ licenses:
425
+ - MIT
426
+ metadata:
427
+ allowed_push_host: https://rubygems.org
428
+ post_install_message:
429
+ rdoc_options: []
430
+ require_paths:
431
+ - lib
432
+ required_ruby_version: !ruby/object:Gem::Requirement
433
+ requirements:
434
+ - - ">="
435
+ - !ruby/object:Gem::Version
436
+ version: '0'
437
+ required_rubygems_version: !ruby/object:Gem::Requirement
438
+ requirements:
439
+ - - ">"
440
+ - !ruby/object:Gem::Version
441
+ version: 1.3.1
442
+ requirements: []
443
+ rubygems_version: 3.1.2
444
+ signing_key:
445
+ specification_version: 4
446
+ summary: Cmor::Legal Module.
447
+ test_files: []