archangel_help 0.0.1
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.
- checksums.yaml +7 -0
 - data/MIT-LICENSE +21 -0
 - data/README.md +54 -0
 - data/Rakefile +25 -0
 - data/app/overrides/archangel/backend/assets/_buttons/add_archangel_help_to_buttons_bar.html.erb.deface +21 -0
 - data/app/overrides/archangel/backend/collections/_buttons/add_archangel_help_to_buttons_bar.html.erb.deface +21 -0
 - data/app/overrides/archangel/backend/dashboards/_buttons/add_archangel_help_to_buttons_bar.html.erb.deface +21 -0
 - data/app/overrides/archangel/backend/entries/_buttons/add_archangel_help_to_buttons_bar.html.erb.deface +21 -0
 - data/app/overrides/archangel/backend/pages/_buttons/add_archangel_help_to_buttons_bar.html.erb.deface +21 -0
 - data/app/overrides/archangel/backend/profiles/_buttons/add_archangel_help_to_buttons_bar.html.erb.deface +21 -0
 - data/app/overrides/archangel/backend/sites/_buttons/add_archangel_help_to_buttons_bar.html.erb.deface +21 -0
 - data/app/overrides/archangel/backend/templates/_buttons/add_archangel_help_to_buttons_bar.html.erb.deface +21 -0
 - data/app/overrides/archangel/backend/users/_buttons/add_archangel_help_to_buttons_bar.html.erb.deface +21 -0
 - data/app/overrides/archangel/backend/widgets/_buttons/add_archangel_help_to_buttons_bar.html.erb.deface +21 -0
 - data/config/locales/en.yml +3 -0
 - data/lib/archangel_help.rb +11 -0
 - data/lib/archangel_help/engine.rb +32 -0
 - data/lib/archangel_help/version.rb +5 -0
 - metadata +88 -0
 
    
        checksums.yaml
    ADDED
    
    | 
         @@ -0,0 +1,7 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            ---
         
     | 
| 
      
 2 
     | 
    
         
            +
            SHA256:
         
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: abe0eb1769154103032247408e21afb23b6260a9db5c38dae34ca6c24e1aead6
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: c760b4ae4a7bf6fdf0195e5689239b6c8b6da1c8486b00803b4afe672e44c5be
         
     | 
| 
      
 5 
     | 
    
         
            +
            SHA512:
         
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 0a0346db831bd04b177d16e323b2af0321ebc824fd3eb5a73126d7ff8c1b814da2707a071524e38c9a5e8bd68c4163b38b24f44491715f96c6e93b0b1ed1d0bf
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: f9d1685436175ec90fd758827cfb41ee3fbdfafca5c9b972bfd44a993d575faeebaa2820e33f2fb6edfb545297157c45d2cc7f014c630fe6a381894a3800c891
         
     | 
    
        data/MIT-LICENSE
    ADDED
    
    | 
         @@ -0,0 +1,21 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            MIT License
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            Copyright (c) 2018 Archangel
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            Permission is hereby granted, free of charge, to any person obtaining a copy
         
     | 
| 
      
 6 
     | 
    
         
            +
            of this software and associated documentation files (the "Software"), to deal
         
     | 
| 
      
 7 
     | 
    
         
            +
            in the Software without restriction, including without limitation the rights
         
     | 
| 
      
 8 
     | 
    
         
            +
            to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
         
     | 
| 
      
 9 
     | 
    
         
            +
            copies of the Software, and to permit persons to whom the Software is
         
     | 
| 
      
 10 
     | 
    
         
            +
            furnished to do so, subject to the following conditions:
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
            The above copyright notice and this permission notice shall be included in all
         
     | 
| 
      
 13 
     | 
    
         
            +
            copies or substantial portions of the Software.
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
            THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
         
     | 
| 
      
 16 
     | 
    
         
            +
            IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
         
     | 
| 
      
 17 
     | 
    
         
            +
            FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
         
     | 
| 
      
 18 
     | 
    
         
            +
            AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
         
     | 
| 
      
 19 
     | 
    
         
            +
            LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
         
     | 
| 
      
 20 
     | 
    
         
            +
            OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
         
     | 
| 
      
 21 
     | 
    
         
            +
            SOFTWARE.
         
     | 
    
        data/README.md
    ADDED
    
    | 
         @@ -0,0 +1,54 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # ArchangelHelp
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            [](https://travis-ci.org/archangel/archangel_help)
         
     | 
| 
      
 4 
     | 
    
         
            +
            [](https://coveralls.io/github/archangel/archangel_help?branch=master)
         
     | 
| 
      
 5 
     | 
    
         
            +
             
     | 
| 
      
 6 
     | 
    
         
            +
            Introduction goes here.
         
     | 
| 
      
 7 
     | 
    
         
            +
             
     | 
| 
      
 8 
     | 
    
         
            +
            ## Installation
         
     | 
| 
      
 9 
     | 
    
         
            +
             
     | 
| 
      
 10 
     | 
    
         
            +
            Add to your application's Gemfile
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
            ```
         
     | 
| 
      
 13 
     | 
    
         
            +
            gem "archangel_help", "< 1.0"
         
     | 
| 
      
 14 
     | 
    
         
            +
            ```
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
            Run the bundle command
         
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
            ```
         
     | 
| 
      
 19 
     | 
    
         
            +
            $ bundle install
         
     | 
| 
      
 20 
     | 
    
         
            +
            ```
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
            ## Testing
         
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
      
 24 
     | 
    
         
            +
            First, generate a dummy application. You will be required to generate a dummy application before running tests.
         
     | 
| 
      
 25 
     | 
    
         
            +
             
     | 
| 
      
 26 
     | 
    
         
            +
            ```
         
     | 
| 
      
 27 
     | 
    
         
            +
            $ bundle exec rake dummy_app
         
     | 
| 
      
 28 
     | 
    
         
            +
            ```
         
     | 
| 
      
 29 
     | 
    
         
            +
             
     | 
| 
      
 30 
     | 
    
         
            +
            Run tests
         
     | 
| 
      
 31 
     | 
    
         
            +
             
     | 
| 
      
 32 
     | 
    
         
            +
            ```
         
     | 
| 
      
 33 
     | 
    
         
            +
            $ bundle exec rake
         
     | 
| 
      
 34 
     | 
    
         
            +
            ```
         
     | 
| 
      
 35 
     | 
    
         
            +
             
     | 
| 
      
 36 
     | 
    
         
            +
            or
         
     | 
| 
      
 37 
     | 
    
         
            +
             
     | 
| 
      
 38 
     | 
    
         
            +
            ```
         
     | 
| 
      
 39 
     | 
    
         
            +
            $ bundle exec rake spec
         
     | 
| 
      
 40 
     | 
    
         
            +
            ```
         
     | 
| 
      
 41 
     | 
    
         
            +
             
     | 
| 
      
 42 
     | 
    
         
            +
            or
         
     | 
| 
      
 43 
     | 
    
         
            +
             
     | 
| 
      
 44 
     | 
    
         
            +
            ```
         
     | 
| 
      
 45 
     | 
    
         
            +
            $ bundle exec rspec spec
         
     | 
| 
      
 46 
     | 
    
         
            +
            ```
         
     | 
| 
      
 47 
     | 
    
         
            +
             
     | 
| 
      
 48 
     | 
    
         
            +
            ## Contributing
         
     | 
| 
      
 49 
     | 
    
         
            +
             
     | 
| 
      
 50 
     | 
    
         
            +
            1. Fork it ( https://github.com/archangel/archangel_help/fork )
         
     | 
| 
      
 51 
     | 
    
         
            +
            2. Create your feature branch (`git checkout -b my-new-feature`)
         
     | 
| 
      
 52 
     | 
    
         
            +
            3. Commit your changes (`git commit -am 'Add some feature'`)
         
     | 
| 
      
 53 
     | 
    
         
            +
            4. Push to the branch (`git push origin my-new-feature`)
         
     | 
| 
      
 54 
     | 
    
         
            +
            5. Create a new Pull Request
         
     | 
    
        data/Rakefile
    ADDED
    
    | 
         @@ -0,0 +1,25 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # frozen_string_literal: true
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            begin
         
     | 
| 
      
 4 
     | 
    
         
            +
              require "bundler/setup"
         
     | 
| 
      
 5 
     | 
    
         
            +
            rescue LoadError
         
     | 
| 
      
 6 
     | 
    
         
            +
              puts "You must `gem install bundler` and `bundle install` to run rake tasks"
         
     | 
| 
      
 7 
     | 
    
         
            +
            end
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            Bundler::GemHelper.install_tasks
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
            require "bundler/gem_tasks"
         
     | 
| 
      
 12 
     | 
    
         
            +
            require "rspec/core/rake_task"
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
            require "archangel/testing_support/rake/dummy_rake"
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
            RSpec::Core::RakeTask.new
         
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
            task default: :spec
         
     | 
| 
      
 19 
     | 
    
         
            +
             
     | 
| 
      
 20 
     | 
    
         
            +
            desc "Generates a dummy app for testing"
         
     | 
| 
      
 21 
     | 
    
         
            +
            task :dummy_app do
         
     | 
| 
      
 22 
     | 
    
         
            +
              ENV["LIB_NAME"] = "archangel_help"
         
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
      
 24 
     | 
    
         
            +
              Rake::Task["dummy:generate"].invoke
         
     | 
| 
      
 25 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -0,0 +1,21 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            <!-- insert_bottom '.btn-group' -->
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            <%= link_to(fa_icon("question", text: Archangel.t(:help)), "#", class: "btn btn-link", data: { toggle: "modal", target: ".help-assets" }) %>
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            <div class="modal fade help-sites" tabindex="-1" role="dialog" aria-hidden="true">
         
     | 
| 
      
 6 
     | 
    
         
            +
              <div class="modal-dialog modal-dialog-centered" role="document">
         
     | 
| 
      
 7 
     | 
    
         
            +
                <div class="modal-content">
         
     | 
| 
      
 8 
     | 
    
         
            +
                  <div class="modal-header">
         
     | 
| 
      
 9 
     | 
    
         
            +
                    <h5 class="modal-title"><%= Archangel.t(:help) %></h5>
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
         
     | 
| 
      
 12 
     | 
    
         
            +
                      <span aria-hidden="true">×</span>
         
     | 
| 
      
 13 
     | 
    
         
            +
                    </button>
         
     | 
| 
      
 14 
     | 
    
         
            +
                  </div>
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
                  <div class="modal-body">
         
     | 
| 
      
 17 
     | 
    
         
            +
                    TODO
         
     | 
| 
      
 18 
     | 
    
         
            +
                  </div>
         
     | 
| 
      
 19 
     | 
    
         
            +
                </div>
         
     | 
| 
      
 20 
     | 
    
         
            +
              </div>
         
     | 
| 
      
 21 
     | 
    
         
            +
            </div>
         
     | 
| 
         @@ -0,0 +1,21 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            <!-- insert_bottom '.btn-group' -->
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            <%= link_to(fa_icon("question", text: Archangel.t(:help)), "#", class: "btn btn-link", data: { toggle: "modal", target: ".help-collections" }) %>
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            <div class="modal fade help-sites" tabindex="-1" role="dialog" aria-hidden="true">
         
     | 
| 
      
 6 
     | 
    
         
            +
              <div class="modal-dialog modal-dialog-centered" role="document">
         
     | 
| 
      
 7 
     | 
    
         
            +
                <div class="modal-content">
         
     | 
| 
      
 8 
     | 
    
         
            +
                  <div class="modal-header">
         
     | 
| 
      
 9 
     | 
    
         
            +
                    <h5 class="modal-title"><%= Archangel.t(:help) %></h5>
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
         
     | 
| 
      
 12 
     | 
    
         
            +
                      <span aria-hidden="true">×</span>
         
     | 
| 
      
 13 
     | 
    
         
            +
                    </button>
         
     | 
| 
      
 14 
     | 
    
         
            +
                  </div>
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
                  <div class="modal-body">
         
     | 
| 
      
 17 
     | 
    
         
            +
                    TODO
         
     | 
| 
      
 18 
     | 
    
         
            +
                  </div>
         
     | 
| 
      
 19 
     | 
    
         
            +
                </div>
         
     | 
| 
      
 20 
     | 
    
         
            +
              </div>
         
     | 
| 
      
 21 
     | 
    
         
            +
            </div>
         
     | 
| 
         @@ -0,0 +1,21 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            <!-- insert_bottom '.btn-group' -->
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            <%= link_to(fa_icon("question", text: Archangel.t(:help)), "#", class: "btn btn-link", data: { toggle: "modal", target: ".help-dashboards" }) %>
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            <div class="modal fade help-sites" tabindex="-1" role="dialog" aria-hidden="true">
         
     | 
| 
      
 6 
     | 
    
         
            +
              <div class="modal-dialog modal-dialog-centered" role="document">
         
     | 
| 
      
 7 
     | 
    
         
            +
                <div class="modal-content">
         
     | 
| 
      
 8 
     | 
    
         
            +
                  <div class="modal-header">
         
     | 
| 
      
 9 
     | 
    
         
            +
                    <h5 class="modal-title"><%= Archangel.t(:help) %></h5>
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
         
     | 
| 
      
 12 
     | 
    
         
            +
                      <span aria-hidden="true">×</span>
         
     | 
| 
      
 13 
     | 
    
         
            +
                    </button>
         
     | 
| 
      
 14 
     | 
    
         
            +
                  </div>
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
                  <div class="modal-body">
         
     | 
| 
      
 17 
     | 
    
         
            +
                    TODO
         
     | 
| 
      
 18 
     | 
    
         
            +
                  </div>
         
     | 
| 
      
 19 
     | 
    
         
            +
                </div>
         
     | 
| 
      
 20 
     | 
    
         
            +
              </div>
         
     | 
| 
      
 21 
     | 
    
         
            +
            </div>
         
     | 
| 
         @@ -0,0 +1,21 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            <!-- insert_bottom '.btn-group' -->
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            <%= link_to(fa_icon("question", text: Archangel.t(:help)), "#", class: "btn btn-link", data: { toggle: "modal", target: ".help-entries" }) %>
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            <div class="modal fade help-sites" tabindex="-1" role="dialog" aria-hidden="true">
         
     | 
| 
      
 6 
     | 
    
         
            +
              <div class="modal-dialog modal-dialog-centered" role="document">
         
     | 
| 
      
 7 
     | 
    
         
            +
                <div class="modal-content">
         
     | 
| 
      
 8 
     | 
    
         
            +
                  <div class="modal-header">
         
     | 
| 
      
 9 
     | 
    
         
            +
                    <h5 class="modal-title"><%= Archangel.t(:help) %></h5>
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
         
     | 
| 
      
 12 
     | 
    
         
            +
                      <span aria-hidden="true">×</span>
         
     | 
| 
      
 13 
     | 
    
         
            +
                    </button>
         
     | 
| 
      
 14 
     | 
    
         
            +
                  </div>
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
                  <div class="modal-body">
         
     | 
| 
      
 17 
     | 
    
         
            +
                    TODO
         
     | 
| 
      
 18 
     | 
    
         
            +
                  </div>
         
     | 
| 
      
 19 
     | 
    
         
            +
                </div>
         
     | 
| 
      
 20 
     | 
    
         
            +
              </div>
         
     | 
| 
      
 21 
     | 
    
         
            +
            </div>
         
     | 
| 
         @@ -0,0 +1,21 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            <!-- insert_bottom '.btn-group' -->
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            <%= link_to(fa_icon("question", text: Archangel.t(:help)), "#", class: "btn btn-link", data: { toggle: "modal", target: ".help-pages" }) %>
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            <div class="modal fade help-sites" tabindex="-1" role="dialog" aria-hidden="true">
         
     | 
| 
      
 6 
     | 
    
         
            +
              <div class="modal-dialog modal-dialog-centered" role="document">
         
     | 
| 
      
 7 
     | 
    
         
            +
                <div class="modal-content">
         
     | 
| 
      
 8 
     | 
    
         
            +
                  <div class="modal-header">
         
     | 
| 
      
 9 
     | 
    
         
            +
                    <h5 class="modal-title"><%= Archangel.t(:help) %></h5>
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
         
     | 
| 
      
 12 
     | 
    
         
            +
                      <span aria-hidden="true">×</span>
         
     | 
| 
      
 13 
     | 
    
         
            +
                    </button>
         
     | 
| 
      
 14 
     | 
    
         
            +
                  </div>
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
                  <div class="modal-body">
         
     | 
| 
      
 17 
     | 
    
         
            +
                    TODO
         
     | 
| 
      
 18 
     | 
    
         
            +
                  </div>
         
     | 
| 
      
 19 
     | 
    
         
            +
                </div>
         
     | 
| 
      
 20 
     | 
    
         
            +
              </div>
         
     | 
| 
      
 21 
     | 
    
         
            +
            </div>
         
     | 
| 
         @@ -0,0 +1,21 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            <!-- insert_bottom '.btn-group' -->
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            <%= link_to(fa_icon("question", text: Archangel.t(:help)), "#", class: "btn btn-link", data: { toggle: "modal", target: ".help-profiles" }) %>
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            <div class="modal fade help-sites" tabindex="-1" role="dialog" aria-hidden="true">
         
     | 
| 
      
 6 
     | 
    
         
            +
              <div class="modal-dialog modal-dialog-centered" role="document">
         
     | 
| 
      
 7 
     | 
    
         
            +
                <div class="modal-content">
         
     | 
| 
      
 8 
     | 
    
         
            +
                  <div class="modal-header">
         
     | 
| 
      
 9 
     | 
    
         
            +
                    <h5 class="modal-title"><%= Archangel.t(:help) %></h5>
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
         
     | 
| 
      
 12 
     | 
    
         
            +
                      <span aria-hidden="true">×</span>
         
     | 
| 
      
 13 
     | 
    
         
            +
                    </button>
         
     | 
| 
      
 14 
     | 
    
         
            +
                  </div>
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
                  <div class="modal-body">
         
     | 
| 
      
 17 
     | 
    
         
            +
                    TODO
         
     | 
| 
      
 18 
     | 
    
         
            +
                  </div>
         
     | 
| 
      
 19 
     | 
    
         
            +
                </div>
         
     | 
| 
      
 20 
     | 
    
         
            +
              </div>
         
     | 
| 
      
 21 
     | 
    
         
            +
            </div>
         
     | 
| 
         @@ -0,0 +1,21 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            <!-- insert_bottom '.btn-group' -->
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            <%= link_to(fa_icon("question", text: Archangel.t(:help)), "#", class: "btn btn-link", data: { toggle: "modal", target: ".help-sites" }) %>
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            <div class="modal fade help-sites" tabindex="-1" role="dialog" aria-hidden="true">
         
     | 
| 
      
 6 
     | 
    
         
            +
              <div class="modal-dialog modal-dialog-centered" role="document">
         
     | 
| 
      
 7 
     | 
    
         
            +
                <div class="modal-content">
         
     | 
| 
      
 8 
     | 
    
         
            +
                  <div class="modal-header">
         
     | 
| 
      
 9 
     | 
    
         
            +
                    <h5 class="modal-title"><%= Archangel.t(:help) %></h5>
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
         
     | 
| 
      
 12 
     | 
    
         
            +
                      <span aria-hidden="true">×</span>
         
     | 
| 
      
 13 
     | 
    
         
            +
                    </button>
         
     | 
| 
      
 14 
     | 
    
         
            +
                  </div>
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
                  <div class="modal-body">
         
     | 
| 
      
 17 
     | 
    
         
            +
                    TODO
         
     | 
| 
      
 18 
     | 
    
         
            +
                  </div>
         
     | 
| 
      
 19 
     | 
    
         
            +
                </div>
         
     | 
| 
      
 20 
     | 
    
         
            +
              </div>
         
     | 
| 
      
 21 
     | 
    
         
            +
            </div>
         
     | 
| 
         @@ -0,0 +1,21 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            <!-- insert_bottom '.btn-group' -->
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            <%= link_to(fa_icon("question", text: Archangel.t(:help)), "#", class: "btn btn-link", data: { toggle: "modal", target: ".help-templates" }) %>
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            <div class="modal fade help-sites" tabindex="-1" role="dialog" aria-hidden="true">
         
     | 
| 
      
 6 
     | 
    
         
            +
              <div class="modal-dialog modal-dialog-centered" role="document">
         
     | 
| 
      
 7 
     | 
    
         
            +
                <div class="modal-content">
         
     | 
| 
      
 8 
     | 
    
         
            +
                  <div class="modal-header">
         
     | 
| 
      
 9 
     | 
    
         
            +
                    <h5 class="modal-title"><%= Archangel.t(:help) %></h5>
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
         
     | 
| 
      
 12 
     | 
    
         
            +
                      <span aria-hidden="true">×</span>
         
     | 
| 
      
 13 
     | 
    
         
            +
                    </button>
         
     | 
| 
      
 14 
     | 
    
         
            +
                  </div>
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
                  <div class="modal-body">
         
     | 
| 
      
 17 
     | 
    
         
            +
                    TODO
         
     | 
| 
      
 18 
     | 
    
         
            +
                  </div>
         
     | 
| 
      
 19 
     | 
    
         
            +
                </div>
         
     | 
| 
      
 20 
     | 
    
         
            +
              </div>
         
     | 
| 
      
 21 
     | 
    
         
            +
            </div>
         
     | 
| 
         @@ -0,0 +1,21 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            <!-- insert_bottom '.btn-group' -->
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            <%= link_to(fa_icon("question", text: Archangel.t(:help)), "#", class: "btn btn-link", data: { toggle: "modal", target: ".help-users" }) %>
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            <div class="modal fade help-sites" tabindex="-1" role="dialog" aria-hidden="true">
         
     | 
| 
      
 6 
     | 
    
         
            +
              <div class="modal-dialog modal-dialog-centered" role="document">
         
     | 
| 
      
 7 
     | 
    
         
            +
                <div class="modal-content">
         
     | 
| 
      
 8 
     | 
    
         
            +
                  <div class="modal-header">
         
     | 
| 
      
 9 
     | 
    
         
            +
                    <h5 class="modal-title"><%= Archangel.t(:help) %></h5>
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
         
     | 
| 
      
 12 
     | 
    
         
            +
                      <span aria-hidden="true">×</span>
         
     | 
| 
      
 13 
     | 
    
         
            +
                    </button>
         
     | 
| 
      
 14 
     | 
    
         
            +
                  </div>
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
                  <div class="modal-body">
         
     | 
| 
      
 17 
     | 
    
         
            +
                    TODO
         
     | 
| 
      
 18 
     | 
    
         
            +
                  </div>
         
     | 
| 
      
 19 
     | 
    
         
            +
                </div>
         
     | 
| 
      
 20 
     | 
    
         
            +
              </div>
         
     | 
| 
      
 21 
     | 
    
         
            +
            </div>
         
     | 
| 
         @@ -0,0 +1,21 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            <!-- insert_bottom '.btn-group' -->
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            <%= link_to(fa_icon("question", text: Archangel.t(:help)), "#", class: "btn btn-link", data: { toggle: "modal", target: ".help-widgets" }) %>
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            <div class="modal fade help-sites" tabindex="-1" role="dialog" aria-hidden="true">
         
     | 
| 
      
 6 
     | 
    
         
            +
              <div class="modal-dialog modal-dialog-centered" role="document">
         
     | 
| 
      
 7 
     | 
    
         
            +
                <div class="modal-content">
         
     | 
| 
      
 8 
     | 
    
         
            +
                  <div class="modal-header">
         
     | 
| 
      
 9 
     | 
    
         
            +
                    <h5 class="modal-title"><%= Archangel.t(:help) %></h5>
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
         
     | 
| 
      
 12 
     | 
    
         
            +
                      <span aria-hidden="true">×</span>
         
     | 
| 
      
 13 
     | 
    
         
            +
                    </button>
         
     | 
| 
      
 14 
     | 
    
         
            +
                  </div>
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
                  <div class="modal-body">
         
     | 
| 
      
 17 
     | 
    
         
            +
                    TODO
         
     | 
| 
      
 18 
     | 
    
         
            +
                  </div>
         
     | 
| 
      
 19 
     | 
    
         
            +
                </div>
         
     | 
| 
      
 20 
     | 
    
         
            +
              </div>
         
     | 
| 
      
 21 
     | 
    
         
            +
            </div>
         
     | 
| 
         @@ -0,0 +1,32 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # frozen_string_literal: true
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            module ArchangelHelp
         
     | 
| 
      
 4 
     | 
    
         
            +
              class Engine < ::Rails::Engine
         
     | 
| 
      
 5 
     | 
    
         
            +
                require "archangel"
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
                isolate_namespace Archangel
         
     | 
| 
      
 8 
     | 
    
         
            +
                engine_name "archangel_help"
         
     | 
| 
      
 9 
     | 
    
         
            +
             
     | 
| 
      
 10 
     | 
    
         
            +
                config.generators do |gen|
         
     | 
| 
      
 11 
     | 
    
         
            +
                  gen.test_framework :rspec,
         
     | 
| 
      
 12 
     | 
    
         
            +
                                     fixtures: false,
         
     | 
| 
      
 13 
     | 
    
         
            +
                                     view_specs: false,
         
     | 
| 
      
 14 
     | 
    
         
            +
                                     helper_specs: true,
         
     | 
| 
      
 15 
     | 
    
         
            +
                                     routing_specs: false,
         
     | 
| 
      
 16 
     | 
    
         
            +
                                     controller_specs: true,
         
     | 
| 
      
 17 
     | 
    
         
            +
                                     request_specs: true
         
     | 
| 
      
 18 
     | 
    
         
            +
                  gen.fixture_replacement :factory_bot, dir: "spec/factories"
         
     | 
| 
      
 19 
     | 
    
         
            +
                end
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
      
 21 
     | 
    
         
            +
                def self.activate
         
     | 
| 
      
 22 
     | 
    
         
            +
                  Dir[
         
     | 
| 
      
 23 
     | 
    
         
            +
                    File.join(__dir__, "app/**/*_decorator.rb"),
         
     | 
| 
      
 24 
     | 
    
         
            +
                    File.join(__dir__, "app/overrides/**/*.deface")
         
     | 
| 
      
 25 
     | 
    
         
            +
                  ].each do |klass|
         
     | 
| 
      
 26 
     | 
    
         
            +
                    Rails.application.config.cache_classes ? require(klass) : load(klass)
         
     | 
| 
      
 27 
     | 
    
         
            +
                  end
         
     | 
| 
      
 28 
     | 
    
         
            +
                end
         
     | 
| 
      
 29 
     | 
    
         
            +
             
     | 
| 
      
 30 
     | 
    
         
            +
                config.to_prepare(&method(:activate).to_proc)
         
     | 
| 
      
 31 
     | 
    
         
            +
              end
         
     | 
| 
      
 32 
     | 
    
         
            +
            end
         
     | 
    
        metadata
    ADDED
    
    | 
         @@ -0,0 +1,88 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            --- !ruby/object:Gem::Specification
         
     | 
| 
      
 2 
     | 
    
         
            +
            name: archangel_help
         
     | 
| 
      
 3 
     | 
    
         
            +
            version: !ruby/object:Gem::Version
         
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.0.1
         
     | 
| 
      
 5 
     | 
    
         
            +
            platform: ruby
         
     | 
| 
      
 6 
     | 
    
         
            +
            authors:
         
     | 
| 
      
 7 
     | 
    
         
            +
            - David Freerksen
         
     | 
| 
      
 8 
     | 
    
         
            +
            autorequire: 
         
     | 
| 
      
 9 
     | 
    
         
            +
            bindir: bin
         
     | 
| 
      
 10 
     | 
    
         
            +
            cert_chain: []
         
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2018-05-20 00:00:00.000000000 Z
         
     | 
| 
      
 12 
     | 
    
         
            +
            dependencies:
         
     | 
| 
      
 13 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency
         
     | 
| 
      
 14 
     | 
    
         
            +
              name: archangel
         
     | 
| 
      
 15 
     | 
    
         
            +
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
      
 16 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 17 
     | 
    
         
            +
                - - "<"
         
     | 
| 
      
 18 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 19 
     | 
    
         
            +
                    version: '1.0'
         
     | 
| 
      
 20 
     | 
    
         
            +
              type: :runtime
         
     | 
| 
      
 21 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 22 
     | 
    
         
            +
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
      
 23 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 24 
     | 
    
         
            +
                - - "<"
         
     | 
| 
      
 25 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 26 
     | 
    
         
            +
                    version: '1.0'
         
     | 
| 
      
 27 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency
         
     | 
| 
      
 28 
     | 
    
         
            +
              name: deface
         
     | 
| 
      
 29 
     | 
    
         
            +
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
      
 30 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 31 
     | 
    
         
            +
                - - "~>"
         
     | 
| 
      
 32 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 33 
     | 
    
         
            +
                    version: '1.3'
         
     | 
| 
      
 34 
     | 
    
         
            +
              type: :runtime
         
     | 
| 
      
 35 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 36 
     | 
    
         
            +
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
      
 37 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 38 
     | 
    
         
            +
                - - "~>"
         
     | 
| 
      
 39 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 40 
     | 
    
         
            +
                    version: '1.3'
         
     | 
| 
      
 41 
     | 
    
         
            +
            description: Description of ArchangelHelp.
         
     | 
| 
      
 42 
     | 
    
         
            +
            email: 
         
     | 
| 
      
 43 
     | 
    
         
            +
            executables: []
         
     | 
| 
      
 44 
     | 
    
         
            +
            extensions: []
         
     | 
| 
      
 45 
     | 
    
         
            +
            extra_rdoc_files: []
         
     | 
| 
      
 46 
     | 
    
         
            +
            files:
         
     | 
| 
      
 47 
     | 
    
         
            +
            - MIT-LICENSE
         
     | 
| 
      
 48 
     | 
    
         
            +
            - README.md
         
     | 
| 
      
 49 
     | 
    
         
            +
            - Rakefile
         
     | 
| 
      
 50 
     | 
    
         
            +
            - app/overrides/archangel/backend/assets/_buttons/add_archangel_help_to_buttons_bar.html.erb.deface
         
     | 
| 
      
 51 
     | 
    
         
            +
            - app/overrides/archangel/backend/collections/_buttons/add_archangel_help_to_buttons_bar.html.erb.deface
         
     | 
| 
      
 52 
     | 
    
         
            +
            - app/overrides/archangel/backend/dashboards/_buttons/add_archangel_help_to_buttons_bar.html.erb.deface
         
     | 
| 
      
 53 
     | 
    
         
            +
            - app/overrides/archangel/backend/entries/_buttons/add_archangel_help_to_buttons_bar.html.erb.deface
         
     | 
| 
      
 54 
     | 
    
         
            +
            - app/overrides/archangel/backend/pages/_buttons/add_archangel_help_to_buttons_bar.html.erb.deface
         
     | 
| 
      
 55 
     | 
    
         
            +
            - app/overrides/archangel/backend/profiles/_buttons/add_archangel_help_to_buttons_bar.html.erb.deface
         
     | 
| 
      
 56 
     | 
    
         
            +
            - app/overrides/archangel/backend/sites/_buttons/add_archangel_help_to_buttons_bar.html.erb.deface
         
     | 
| 
      
 57 
     | 
    
         
            +
            - app/overrides/archangel/backend/templates/_buttons/add_archangel_help_to_buttons_bar.html.erb.deface
         
     | 
| 
      
 58 
     | 
    
         
            +
            - app/overrides/archangel/backend/users/_buttons/add_archangel_help_to_buttons_bar.html.erb.deface
         
     | 
| 
      
 59 
     | 
    
         
            +
            - app/overrides/archangel/backend/widgets/_buttons/add_archangel_help_to_buttons_bar.html.erb.deface
         
     | 
| 
      
 60 
     | 
    
         
            +
            - config/locales/en.yml
         
     | 
| 
      
 61 
     | 
    
         
            +
            - lib/archangel_help.rb
         
     | 
| 
      
 62 
     | 
    
         
            +
            - lib/archangel_help/engine.rb
         
     | 
| 
      
 63 
     | 
    
         
            +
            - lib/archangel_help/version.rb
         
     | 
| 
      
 64 
     | 
    
         
            +
            homepage: https://github.com/archangel/archangel_help
         
     | 
| 
      
 65 
     | 
    
         
            +
            licenses:
         
     | 
| 
      
 66 
     | 
    
         
            +
            - MIT
         
     | 
| 
      
 67 
     | 
    
         
            +
            metadata: {}
         
     | 
| 
      
 68 
     | 
    
         
            +
            post_install_message: 
         
     | 
| 
      
 69 
     | 
    
         
            +
            rdoc_options: []
         
     | 
| 
      
 70 
     | 
    
         
            +
            require_paths:
         
     | 
| 
      
 71 
     | 
    
         
            +
            - lib
         
     | 
| 
      
 72 
     | 
    
         
            +
            required_ruby_version: !ruby/object:Gem::Requirement
         
     | 
| 
      
 73 
     | 
    
         
            +
              requirements:
         
     | 
| 
      
 74 
     | 
    
         
            +
              - - ">="
         
     | 
| 
      
 75 
     | 
    
         
            +
                - !ruby/object:Gem::Version
         
     | 
| 
      
 76 
     | 
    
         
            +
                  version: '0'
         
     | 
| 
      
 77 
     | 
    
         
            +
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
      
 78 
     | 
    
         
            +
              requirements:
         
     | 
| 
      
 79 
     | 
    
         
            +
              - - ">="
         
     | 
| 
      
 80 
     | 
    
         
            +
                - !ruby/object:Gem::Version
         
     | 
| 
      
 81 
     | 
    
         
            +
                  version: '0'
         
     | 
| 
      
 82 
     | 
    
         
            +
            requirements: []
         
     | 
| 
      
 83 
     | 
    
         
            +
            rubyforge_project: 
         
     | 
| 
      
 84 
     | 
    
         
            +
            rubygems_version: 2.7.3
         
     | 
| 
      
 85 
     | 
    
         
            +
            signing_key: 
         
     | 
| 
      
 86 
     | 
    
         
            +
            specification_version: 4
         
     | 
| 
      
 87 
     | 
    
         
            +
            summary: Summary of ArchangelHelp.
         
     | 
| 
      
 88 
     | 
    
         
            +
            test_files: []
         
     |