careacademy-acl9 3.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (138) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +24 -0
  3. data/.ruby-version +1 -0
  4. data/.travis.yml +26 -0
  5. data/Appraisals +23 -0
  6. data/CHANGELOG.md +122 -0
  7. data/CONTRIBUTING.md +62 -0
  8. data/Gemfile +7 -0
  9. data/Gemfile.lock +167 -0
  10. data/LICENSE +9 -0
  11. data/MIT-LICENSE +20 -0
  12. data/README.md +326 -0
  13. data/Rakefile +20 -0
  14. data/TODO +42 -0
  15. data/acl9.gemspec +27 -0
  16. data/bin/appraisal +16 -0
  17. data/bin/bundler +16 -0
  18. data/bin/cc-tddium-post-worker +16 -0
  19. data/bin/erubis +16 -0
  20. data/bin/rackup +16 -0
  21. data/bin/rails +16 -0
  22. data/bin/rake +16 -0
  23. data/bin/sprockets +16 -0
  24. data/bin/tapout +16 -0
  25. data/bin/thor +16 -0
  26. data/bin/tilt +16 -0
  27. data/bin/yard +16 -0
  28. data/bin/yardoc +16 -0
  29. data/bin/yri +16 -0
  30. data/gemfiles/.bundle/config +2 -0
  31. data/gemfiles/rails_5.0.gemfile +10 -0
  32. data/gemfiles/rails_5.1.gemfile +10 -0
  33. data/gemfiles/rails_5.2.gemfile +9 -0
  34. data/gemfiles/rails_6.0.gemfile +9 -0
  35. data/gemfiles/rails_6.1.gemfile +9 -0
  36. data/gemfiles/rails_7.0.gemfile +9 -0
  37. data/lib/acl9/controller_extensions/dsl_base.rb +212 -0
  38. data/lib/acl9/controller_extensions/generators.rb +166 -0
  39. data/lib/acl9/controller_extensions.rb +85 -0
  40. data/lib/acl9/helpers.rb +49 -0
  41. data/lib/acl9/model_extensions/for_object.rb +74 -0
  42. data/lib/acl9/model_extensions/for_subject.rb +232 -0
  43. data/lib/acl9/model_extensions.rb +136 -0
  44. data/lib/acl9/prepositions.rb +18 -0
  45. data/lib/acl9/version.rb +3 -0
  46. data/lib/acl9.rb +78 -0
  47. data/lib/generators/acl9/setup/USAGE +35 -0
  48. data/lib/generators/acl9/setup/setup_generator.rb +122 -0
  49. data/lib/generators/acl9/setup/templates/create_role_tables.rb +31 -0
  50. data/lib/generators/acl9/setup/templates/role.rb +3 -0
  51. data/test/config_test.rb +55 -0
  52. data/test/controller_extensions/actions_test.rb +199 -0
  53. data/test/controller_extensions/anon_test.rb +39 -0
  54. data/test/controller_extensions/base.rb +96 -0
  55. data/test/controller_extensions/basics_test.rb +44 -0
  56. data/test/controller_extensions/conditions_test.rb +48 -0
  57. data/test/controller_extensions/method_test.rb +70 -0
  58. data/test/controller_extensions/multi_match_test.rb +142 -0
  59. data/test/controller_extensions/multiple_role_arguments_test.rb +136 -0
  60. data/test/controller_extensions/prepositions_test.rb +108 -0
  61. data/test/controller_extensions/pseudo_role_test.rb +26 -0
  62. data/test/controller_extensions/role_test.rb +75 -0
  63. data/test/controllers/acl_action_override_test.rb +24 -0
  64. data/test/controllers/acl_arguments_test.rb +5 -0
  65. data/test/controllers/acl_block_test.rb +5 -0
  66. data/test/controllers/acl_boolean_method_test.rb +5 -0
  67. data/test/controllers/acl_helper_method_test.rb +29 -0
  68. data/test/controllers/acl_ivars_test.rb +15 -0
  69. data/test/controllers/acl_method2_test.rb +6 -0
  70. data/test/controllers/acl_method_test.rb +6 -0
  71. data/test/controllers/acl_object_hash_test.rb +18 -0
  72. data/test/controllers/acl_query_method_named_test.rb +9 -0
  73. data/test/controllers/acl_query_method_test.rb +9 -0
  74. data/test/controllers/acl_query_method_with_lambda_test.rb +9 -0
  75. data/test/controllers/acl_query_mixin.rb +54 -0
  76. data/test/controllers/acl_subject_method_test.rb +15 -0
  77. data/test/controllers/arguments_checking_test.rb +43 -0
  78. data/test/dummy/app/assets/config/manifest.js +0 -0
  79. data/test/dummy/app/controllers/acl_action_override.rb +15 -0
  80. data/test/dummy/app/controllers/acl_arguments.rb +10 -0
  81. data/test/dummy/app/controllers/acl_block.rb +6 -0
  82. data/test/dummy/app/controllers/acl_boolean_method.rb +23 -0
  83. data/test/dummy/app/controllers/acl_helper_method.rb +11 -0
  84. data/test/dummy/app/controllers/acl_ivars.rb +17 -0
  85. data/test/dummy/app/controllers/acl_method.rb +6 -0
  86. data/test/dummy/app/controllers/acl_method2.rb +6 -0
  87. data/test/dummy/app/controllers/acl_objects_hash.rb +10 -0
  88. data/test/dummy/app/controllers/acl_query_method.rb +9 -0
  89. data/test/dummy/app/controllers/acl_query_method_named.rb +15 -0
  90. data/test/dummy/app/controllers/acl_query_method_with_lambda.rb +9 -0
  91. data/test/dummy/app/controllers/acl_subject_method.rb +16 -0
  92. data/test/dummy/app/controllers/application_controller.rb +13 -0
  93. data/test/dummy/app/controllers/empty_controller.rb +5 -0
  94. data/test/dummy/app/helpers/application_helper.rb +2 -0
  95. data/test/dummy/app/helpers/some_helper.rb +8 -0
  96. data/test/dummy/app/models/.keep +0 -0
  97. data/test/dummy/app/models/access.rb +3 -0
  98. data/test/dummy/app/models/account.rb +3 -0
  99. data/test/dummy/app/models/bar.rb +3 -0
  100. data/test/dummy/app/models/concerns/.keep +0 -0
  101. data/test/dummy/app/models/foo.rb +3 -0
  102. data/test/dummy/app/models/foo_bar.rb +3 -0
  103. data/test/dummy/app/models/other/foo.rb +5 -0
  104. data/test/dummy/app/models/other/role.rb +5 -0
  105. data/test/dummy/app/models/other/user.rb +5 -0
  106. data/test/dummy/app/models/role.rb +3 -0
  107. data/test/dummy/app/models/string_object_role.rb +3 -0
  108. data/test/dummy/app/models/string_user.rb +3 -0
  109. data/test/dummy/app/models/user.rb +3 -0
  110. data/test/dummy/app/models/uuid.rb +4 -0
  111. data/test/dummy/config/application.rb +23 -0
  112. data/test/dummy/config/boot.rb +4 -0
  113. data/test/dummy/config/database.yml +25 -0
  114. data/test/dummy/config/environment.rb +5 -0
  115. data/test/dummy/config/environments/development.rb +37 -0
  116. data/test/dummy/config/environments/test.rb +40 -0
  117. data/test/dummy/config/initializers/assets.rb +8 -0
  118. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  119. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  120. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  121. data/test/dummy/config/initializers/inflections.rb +16 -0
  122. data/test/dummy/config/initializers/mime_types.rb +4 -0
  123. data/test/dummy/config/initializers/secrets.rb +1 -0
  124. data/test/dummy/config/initializers/session_store.rb +3 -0
  125. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  126. data/test/dummy/config/locales/en.yml +23 -0
  127. data/test/dummy/config/routes.rb +14 -0
  128. data/test/dummy/config.ru +4 -0
  129. data/test/dummy/db/migrate/20141117132218_create_tables.rb +149 -0
  130. data/test/helpers/helper_test.rb +89 -0
  131. data/test/models/roles_test.rb +369 -0
  132. data/test/models/roles_with_custom_association_names_test.rb +28 -0
  133. data/test/models/roles_with_custom_class_names_test.rb +28 -0
  134. data/test/models/system_roles_test.rb +22 -0
  135. data/test/models/users_roles_and_subjects_with_namespaced_class_names_test.rb +30 -0
  136. data/test/test_helper.rb +94 -0
  137. data/test/version_test.rb +7 -0
  138. metadata +321 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 849eebd01698f0b58f7f65b0376bab48babdd0d5e7efefdb428b9f120cfda98e
4
+ data.tar.gz: f19fec128fb30041ef5a1b3f1d4832ddc637fa586466629c622f1501bc8d54c2
5
+ SHA512:
6
+ metadata.gz: 36568a899717f0b57acb269304cb6363a8ea655ab2533779bfee12b7ac0c134e1ef2e95b2a0496afa4fac80689b4d6540a4edfd0d1ada501d978d984ac10d488
7
+ data.tar.gz: 6bd91d0472fd3628a8b8100eeab2c4d778f6b072141f5552370319107e03130fb79d961298d2e18c707bb40c933e8b27e4815d6f9e94201ac9f5f139e33dc4d1
data/.gitignore ADDED
@@ -0,0 +1,24 @@
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/*.log
16
+ **/tmp
17
+
18
+ /gemfiles/*.lock
19
+
20
+ /doc
21
+ /.yardoc
22
+
23
+ /acl9-*.gem
24
+ /gemfiles/*.lock
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 3.0.6
data/.travis.yml ADDED
@@ -0,0 +1,26 @@
1
+ cache: bundler
2
+ language: ruby
3
+ rvm:
4
+ - 2.5.8
5
+ - 2.6.6
6
+ - 2.7.2
7
+ - 3.0.0
8
+ - ruby-head
9
+
10
+ gemfile:
11
+ - gemfiles/rails_5.0.gemfile
12
+ - gemfiles/rails_5.1.gemfile
13
+ - gemfiles/rails_5.2.gemfile
14
+ - gemfiles/rails_6.0.gemfile
15
+ - gemfiles/rails_6.1.gemfile
16
+ - gemfiles/rails_7.0.gemfile
17
+
18
+ jobs:
19
+ fast_finish: true
20
+ allow_failures:
21
+ - rvm: ruby-head
22
+ exclude:
23
+ - rvm: 3.0.6
24
+ gemfile: gemfiles/rails_7.0.gemfile
25
+ - rvm: 3.0.6
26
+ gemfile: gemfiles/rails_6.1.gemfile
data/Appraisals ADDED
@@ -0,0 +1,23 @@
1
+ appraise "rails-5.0" do
2
+ gem 'rails', '~> 5.0.0'
3
+ end
4
+
5
+ appraise "rails-5.1" do
6
+ gem 'rails', '~> 5.1.0'
7
+ end
8
+
9
+ appraise "rails-5.2" do
10
+ gem 'rails', '~> 5.2.0'
11
+ end
12
+
13
+ appraise "rails-6.0" do
14
+ gem 'rails', '~> 6.0.0'
15
+ end
16
+
17
+ appraise "rails-7.0" do
18
+ gem 'rails', '~> 7.0.4.2'
19
+ end
20
+
21
+ appraise "rails-6.1" do
22
+ gem 'rails', '~> 6.1.0'
23
+ end
data/CHANGELOG.md ADDED
@@ -0,0 +1,122 @@
1
+ ## 2.3.0 - 13 Mart 2023
2
+
3
+ Added support and appraisal for Rails 7.0 since it is released.
4
+
5
+ ## 2.2.0 - 20 September 2019
6
+
7
+ Added support and appraisal for Rails 6.0 since it is released.
8
+
9
+ ## 2.1.0 - 14 May 2015
10
+
11
+ Added `:only` (as well as `:to`) for specifying actions in `allow`/`deny`
12
+ blocks.
13
+
14
+ ## 2.0.0 - 14 May 2015
15
+
16
+ Thanks to @pjungwir:
17
+
18
+ * Raise ArgumentError now if bad options passed to allow/deny
19
+
20
+ ## 1.3.0 - 13 May 2015
21
+
22
+ Quick new feature dump:
23
+
24
+ * Prepositions in has(_no)_role[!?] methods
25
+
26
+ ## 1.2.1 - 13 Mar 2015
27
+
28
+ Bugfix for API love:
29
+
30
+ * Rails::API was erroring
31
+
32
+ ## 1.2.0 - 12 Jan 2015
33
+
34
+ The generator release (and some other cool new features):
35
+
36
+ * New: ZOMG - we have a generator now
37
+ * Role names are now normalized with `.underscore.singularize` - especially
38
+ handy in case sensitive DBs
39
+ * New: `Acl9.configure` lets you specify config options nicely
40
+ * New: `object.users :managers` to get a list of users who have manager role on
41
+ `object`
42
+ * Testing against Ruby 2.2
43
+
44
+ ## 1.1.0 - 15 Dec 2014
45
+
46
+ Bugfix release with a minor version bump because one security fix might not be
47
+ expected, also doc improvements
48
+
49
+ * `has_role!` was not returning true properly when more roles remained (this is
50
+ the change that might be unexpected)
51
+ * License added to gemspec
52
+ * Testing against Rails 4.2
53
+ * When subject was destroyed, roles were not removed from the DB.
54
+
55
+ ## 1.0.0 - 22 Nov 2014
56
+
57
+ The resurrection, Rails4, doc cleanup, Ruby2, SemVer, xunit, lots of stuff:
58
+
59
+ * Getting involved is easier, ie. you should be able to just `bundle && rake`
60
+ * The tests are all in xunit now because rspec is ugly, slow and cumbersome (and the whole test suite now runs in 3 seconds (on my machine ;))
61
+ * The deprecation warnings are GOOOOONE
62
+ * That annoying "Stack level too deep" bug is fixed
63
+ * There's now an actual license for the project
64
+ * The gemspec specifies the license (and doesn't have the date hardcoded anymore)
65
+ * The wiki is New and Improved™ - with a lot of work still left to do there
66
+ * WIP: The README is being reduced to something more consumable (because all the nitty gritty details are now in the wiki)
67
+ * The README is now in markdown, so it's easier to transfer things out into the wiki
68
+ * We've adopted SemVer officially
69
+ * The issues are groomed and in milestones
70
+ * CI is now happening on Travis
71
+ * Code quality is now happening on CodeClimate
72
+ * We're testing against Rails 4.0 and 4.1 in both Ruby 2.0 and 2.1 now
73
+ * We're officially not supporting Rails < 4 or Ruby < 2 in the 1.x releases (we'll bow to peer pressure if there is any)
74
+ * WIP: `protect_global_roles` is true by default for 1.0.0
75
+ * We're now on IRC as #acl9 (on freenode)
76
+
77
+ ## 0.12.0 - 04 Jan 2010
78
+
79
+ An anniversary release of fixes and hacks, introduced by venerable users of the plugin.
80
+
81
+ * Allow for inheritance of subject (Jeff Jaco)
82
+ * Renamed "Object" module in extensions, since it caused some breakage inside activesupport
83
+ (invisiblelama).
84
+ * `show_to` helper for usage in views (Antono Vasiljev)
85
+ * `:association_name` config option, now you can change Subject#role_objects to whatever
86
+ you want (Jeff Tucker).
87
+ * Fix bug when Subject#id is a string, e.g. UUID (Julien Bachmann)
88
+ * Bug with action blocks when using anonymous and another role (Franck)
89
+
90
+
91
+ ## 0.11.0 - 16 Sep 2009
92
+
93
+ * :protect_global_roles
94
+ * Subject#roles renamed to Subject#role_objects
95
+ * Fix namespaced models in roles backend (thanks goes to Tomas Jogin)
96
+ * Action name override in boolean methods.
97
+ * `:query_method` option for `access_control`.
98
+
99
+ ## 0.10.0 - 03 May 2009
100
+
101
+ * Use context+matchy combo for testing
102
+ * Bugfix: unwanted double quote in generated SQL statement
103
+
104
+ ## 0.9.4 - 27 Feb 2009
105
+
106
+ * Introduce :if and :unless rule options.
107
+
108
+ ## 0.9.3 - 04 Feb 2009
109
+
110
+ * Fix bug in delete_role - didn't work with custom class names
111
+ * Add `:helper` option for `access_control`.
112
+ * Ability to generate helper methods directly (place `include Acl9Helpers` in your helper module).
113
+
114
+ ## 0.9.2 - 11 Jan 2009
115
+
116
+ * `access_control :method do end` as shorter form for `access_control :as_method => :method do end`.
117
+ * Boolean method can now receive an objects hash which will be looked into first before taking
118
+ an instance variable.
119
+
120
+ ## 0.9.1 - 03 Jan 2009
121
+
122
+ Initial release.
data/CONTRIBUTING.md ADDED
@@ -0,0 +1,62 @@
1
+ # Contributing
2
+
3
+ Hi, I'm Jason, my online nickname is "smathy" which I use on IRC, twitter,
4
+ StackOverflow, here on github, and a few other places on the internet.
5
+
6
+ Oleg is the creator of acl9, but other commitments have meant that he's had
7
+ very little time to maintain this project and so I've basically taken over as
8
+ the primary maintainer.
9
+
10
+ I like to start by introducing myself so that you know that I'm just a human
11
+ being, a normal guy, and that if you have something you want to contribute to
12
+ acl9 then I'm more than happy to hear from you.
13
+
14
+ There really aren't any hard and fast rules here for contributing. Feel free to
15
+ raise issues, you can even just ask questions in an issue if you'd like,
16
+ although IRC or StackOverflow is probably a much better forum for that. You can
17
+ ping me on twitter, or even email me at jk@handle.it
18
+
19
+ Also see the README for information on getting in contact with the rest of the
20
+ community.
21
+
22
+ ## Dev Stuff
23
+
24
+ If you're going to contribute code then just fork our repo, write your thing,
25
+ and submit a pull request.
26
+
27
+ ### Setup
28
+
29
+ We have a `.ruby-version` file, so if you use a ruby manager that
30
+ understands that then you might need to install that version of ruby, but you
31
+ should know how to do that yourself.
32
+
33
+ You should be able to just fork the repo and run `bundle && rake` to see the
34
+ tests running.
35
+
36
+ We use [Appraisal](//github.com/thoughtbot/appraisal) to test against multiple versions of
37
+ Rails, so you can read up on that and use it to test against all the Rails
38
+ versions we support or against a specific one.
39
+
40
+ ### How to
41
+
42
+ If you're fixing a bug then please arrange your pull request in two commits, the
43
+ first one will be a test that demonstrates the bug, that test will be failing
44
+ when you create it. The second commit will be the code change that fixes the
45
+ bug.
46
+
47
+ Don't let this be a blocker for you, I'm not saying you have to do TDD. I don't
48
+ care whether you actually write the test first, or the code first, I just care
49
+ about the order of the commits. Those with experience in reviewing PRs will know
50
+ why. I can grab your PR, roll it back to `HEAD^` and run the test, seeing it
51
+ fail and confirming that your test works, then roll it back to the head of your
52
+ branch and see your code fixing the test. It makes it very easy to review a PR.
53
+
54
+ You _can_ submit a bugfix without a test, although those take **MUCH** longer to
55
+ review because it's often hard to work out what problem you're solving.
56
+
57
+ Also, it's up to you whether you want to create an issue in github first. I'd
58
+ recommend that you do because it gives a good place to discuss the details of
59
+ the issue.
60
+
61
+ Also, feel free to submit ideas as PRs, just make sure you put it clearly in the
62
+ text that this is not ready for merge yet.
data/Gemfile ADDED
@@ -0,0 +1,7 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in acl9.gemspec
4
+ gemspec
5
+
6
+ gem 'appraisal'
7
+ gem 'byebug'
data/Gemfile.lock ADDED
@@ -0,0 +1,167 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ acl9 (3.3.0)
5
+ rails (> 5.0, < 8.0)
6
+
7
+ GEM
8
+ remote: http://rubygems.org/
9
+ specs:
10
+ actioncable (6.0.6.1)
11
+ actionpack (= 6.0.6.1)
12
+ nio4r (~> 2.0)
13
+ websocket-driver (>= 0.6.1)
14
+ actionmailbox (6.0.6.1)
15
+ actionpack (= 6.0.6.1)
16
+ activejob (= 6.0.6.1)
17
+ activerecord (= 6.0.6.1)
18
+ activestorage (= 6.0.6.1)
19
+ activesupport (= 6.0.6.1)
20
+ mail (>= 2.7.1)
21
+ actionmailer (6.0.6.1)
22
+ actionpack (= 6.0.6.1)
23
+ actionview (= 6.0.6.1)
24
+ activejob (= 6.0.6.1)
25
+ mail (~> 2.5, >= 2.5.4)
26
+ rails-dom-testing (~> 2.0)
27
+ actionpack (6.0.6.1)
28
+ actionview (= 6.0.6.1)
29
+ activesupport (= 6.0.6.1)
30
+ rack (~> 2.0, >= 2.0.8)
31
+ rack-test (>= 0.6.3)
32
+ rails-dom-testing (~> 2.0)
33
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
34
+ actiontext (6.0.6.1)
35
+ actionpack (= 6.0.6.1)
36
+ activerecord (= 6.0.6.1)
37
+ activestorage (= 6.0.6.1)
38
+ activesupport (= 6.0.6.1)
39
+ nokogiri (>= 1.8.5)
40
+ actionview (6.0.6.1)
41
+ activesupport (= 6.0.6.1)
42
+ builder (~> 3.1)
43
+ erubi (~> 1.4)
44
+ rails-dom-testing (~> 2.0)
45
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
46
+ activejob (6.0.6.1)
47
+ activesupport (= 6.0.6.1)
48
+ globalid (>= 0.3.6)
49
+ activemodel (6.0.6.1)
50
+ activesupport (= 6.0.6.1)
51
+ activerecord (6.0.6.1)
52
+ activemodel (= 6.0.6.1)
53
+ activesupport (= 6.0.6.1)
54
+ activestorage (6.0.6.1)
55
+ actionpack (= 6.0.6.1)
56
+ activejob (= 6.0.6.1)
57
+ activerecord (= 6.0.6.1)
58
+ marcel (~> 1.0)
59
+ activesupport (6.0.6.1)
60
+ concurrent-ruby (~> 1.0, >= 1.0.2)
61
+ i18n (>= 0.7, < 2)
62
+ minitest (~> 5.1)
63
+ tzinfo (~> 1.1)
64
+ zeitwerk (~> 2.2, >= 2.2.2)
65
+ appraisal (2.2.0)
66
+ bundler
67
+ rake
68
+ thor (>= 0.14.0)
69
+ builder (3.2.4)
70
+ byebug (11.0.1)
71
+ concurrent-ruby (1.2.2)
72
+ crass (1.0.6)
73
+ date (3.3.3)
74
+ erubi (1.12.0)
75
+ globalid (1.1.0)
76
+ activesupport (>= 5.0)
77
+ i18n (1.13.0)
78
+ concurrent-ruby (~> 1.0)
79
+ loofah (2.20.0)
80
+ crass (~> 1.0.2)
81
+ nokogiri (>= 1.5.9)
82
+ mail (2.8.1)
83
+ mini_mime (>= 0.1.1)
84
+ net-imap
85
+ net-pop
86
+ net-smtp
87
+ marcel (1.0.2)
88
+ method_source (1.0.0)
89
+ mini_mime (1.1.2)
90
+ mini_portile2 (2.8.1)
91
+ minitest (5.18.0)
92
+ net-imap (0.3.4)
93
+ date
94
+ net-protocol
95
+ net-pop (0.1.2)
96
+ net-protocol
97
+ net-protocol (0.2.1)
98
+ timeout
99
+ net-smtp (0.3.3)
100
+ net-protocol
101
+ nio4r (2.5.9)
102
+ nokogiri (1.14.3)
103
+ mini_portile2 (~> 2.8.0)
104
+ racc (~> 1.4)
105
+ racc (1.6.2)
106
+ rack (2.2.7)
107
+ rack-test (2.1.0)
108
+ rack (>= 1.3)
109
+ rails (6.0.6.1)
110
+ actioncable (= 6.0.6.1)
111
+ actionmailbox (= 6.0.6.1)
112
+ actionmailer (= 6.0.6.1)
113
+ actionpack (= 6.0.6.1)
114
+ actiontext (= 6.0.6.1)
115
+ actionview (= 6.0.6.1)
116
+ activejob (= 6.0.6.1)
117
+ activemodel (= 6.0.6.1)
118
+ activerecord (= 6.0.6.1)
119
+ activestorage (= 6.0.6.1)
120
+ activesupport (= 6.0.6.1)
121
+ bundler (>= 1.3.0)
122
+ railties (= 6.0.6.1)
123
+ sprockets-rails (>= 2.0.0)
124
+ rails-dom-testing (2.0.3)
125
+ activesupport (>= 4.2.0)
126
+ nokogiri (>= 1.6)
127
+ rails-html-sanitizer (1.5.0)
128
+ loofah (~> 2.19, >= 2.19.1)
129
+ railties (6.0.6.1)
130
+ actionpack (= 6.0.6.1)
131
+ activesupport (= 6.0.6.1)
132
+ method_source
133
+ rake (>= 0.8.7)
134
+ thor (>= 0.20.3, < 2.0)
135
+ rake (12.3.3)
136
+ sprockets (4.2.0)
137
+ concurrent-ruby (~> 1.0)
138
+ rack (>= 2.2.4, < 4)
139
+ sprockets-rails (3.4.2)
140
+ actionpack (>= 5.2)
141
+ activesupport (>= 5.2)
142
+ sprockets (>= 3.0.0)
143
+ sqlite3 (1.6.2)
144
+ mini_portile2 (~> 2.8.0)
145
+ thor (0.20.3)
146
+ thread_safe (0.3.6)
147
+ timeout (0.3.2)
148
+ tzinfo (1.2.11)
149
+ thread_safe (~> 0.1)
150
+ websocket-driver (0.7.5)
151
+ websocket-extensions (>= 0.1.0)
152
+ websocket-extensions (0.1.5)
153
+ yard (0.9.20)
154
+ zeitwerk (2.6.7)
155
+
156
+ PLATFORMS
157
+ ruby
158
+
159
+ DEPENDENCIES
160
+ acl9!
161
+ appraisal
162
+ byebug
163
+ sqlite3
164
+ yard
165
+
166
+ BUNDLED WITH
167
+ 2.3.26
data/LICENSE ADDED
@@ -0,0 +1,9 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2014 Oleg Dashevskii
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/MIT-LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2009 Oleg Dashevskii
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.