bjond-api 0.2.1 → 0.2.2
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 +4 -4
- data/VERSION +1 -1
- data/app/assets/stylesheets/bjond_registrations.scss +11 -1
- data/app/views/bjond_registrations/index.html.erb +25 -19
- data/app/views/shared/_app_info.html.erb +5 -3
- data/bjond-api.gemspec +2 -2
- metadata +1 -1
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: bb639c1801016df564a2210b0b670ff1ca10cf9a
         | 
| 4 | 
            +
              data.tar.gz: 54b77f3b1d6f1bada136c8e13a5a8ca25734fcd5
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 0ca3633712228541a33e84f4d52554385b80add088dc88eaaa141af1323d3f56608d4adbd9b1921980e3fdb187dde3b0639448247c494a55b17ca56b3bc8c9e1
         | 
| 7 | 
            +
              data.tar.gz: fc37e553b6ef0e995b59a32211cbe701eb483d2f56b9c36a7c02f867c919d8b12caa3ab4760f8be202776b302eb2430840ad10b6ad2b10da4b69c466256d80a3
         | 
    
        data/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            0.2. | 
| 1 | 
            +
            0.2.2
         | 
| @@ -90,6 +90,9 @@ | |
| 90 90 | 
             
                }
         | 
| 91 91 | 
             
                .info {
         | 
| 92 92 | 
             
                  display: inline-block;
         | 
| 93 | 
            +
                  &.new-section {
         | 
| 94 | 
            +
                    font-family: "Titillium Web Semi Bold";
         | 
| 95 | 
            +
                  }
         | 
| 93 96 | 
             
                }
         | 
| 94 97 | 
             
              }
         | 
| 95 98 | 
             
              .non-available {
         | 
| @@ -109,7 +112,7 @@ | |
| 109 112 | 
             
              }
         | 
| 110 113 |  | 
| 111 114 | 
             
              .field {
         | 
| 112 | 
            -
                margin-bottom:  | 
| 115 | 
            +
                margin-bottom: 20px;
         | 
| 113 116 | 
             
                span.label {
         | 
| 114 117 | 
             
                  margin-right: 20px;
         | 
| 115 118 | 
             
                  width: 227px;
         | 
| @@ -154,6 +157,13 @@ | |
| 154 157 | 
             
              margin-bottom: 20px;
         | 
| 155 158 | 
             
            }
         | 
| 156 159 |  | 
| 160 | 
            +
            #notice {
         | 
| 161 | 
            +
              color: green;
         | 
| 162 | 
            +
              // background-color: rgba(255,255,255,0.5);
         | 
| 163 | 
            +
              padding: 10px;
         | 
| 164 | 
            +
              text-align: center;
         | 
| 165 | 
            +
            }
         | 
| 166 | 
            +
             | 
| 157 167 | 
             
            @font-face {
         | 
| 158 168 | 
             
                font-family: "Titillium Web Regular";
         | 
| 159 169 | 
             
                src: font-url("bjond-api/TitilliumWeb-Regular.eot");
         | 
| @@ -5,27 +5,33 @@ | |
| 5 5 |  | 
| 6 6 |  | 
| 7 7 | 
             
              <div class="bjond-registration-list">
         | 
| 8 | 
            -
                 | 
| 9 | 
            -
                  < | 
| 10 | 
            -
                    < | 
| 11 | 
            -
                      <th>Server</th>
         | 
| 12 | 
            -
                      <th>Encrypted Encryption Key</th>
         | 
| 13 | 
            -
                      <th colspan="3"></th>
         | 
| 14 | 
            -
                    </tr>
         | 
| 15 | 
            -
                  </thead>
         | 
| 16 | 
            -
             | 
| 17 | 
            -
                  <tbody>
         | 
| 18 | 
            -
                    <% @bjond_registrations.each do |bjond_registration| %>
         | 
| 8 | 
            +
                <% if @bjond_registrations.count > 0 %>
         | 
| 9 | 
            +
                  <table class="bjond-table">
         | 
| 10 | 
            +
                    <thead>
         | 
| 19 11 | 
             
                      <tr class="bjond-table-row">
         | 
| 20 | 
            -
                        < | 
| 21 | 
            -
                        < | 
| 22 | 
            -
                        < | 
| 23 | 
            -
                        <td><%= link_to 'Edit', edit_bjond_registration_path(bjond_registration) %></td>
         | 
| 24 | 
            -
                        <td><%= link_to 'Destroy', bjond_registration, method: :delete, data: { confirm: 'Are you sure?' } %></td>
         | 
| 12 | 
            +
                        <th>Server</th>
         | 
| 13 | 
            +
                        <th>Encrypted Encryption Key</th>
         | 
| 14 | 
            +
                        <th colspan="3"></th>
         | 
| 25 15 | 
             
                      </tr>
         | 
| 26 | 
            -
                     | 
| 27 | 
            -
             | 
| 28 | 
            -
             | 
| 16 | 
            +
                    </thead>
         | 
| 17 | 
            +
             | 
| 18 | 
            +
                    <tbody>
         | 
| 19 | 
            +
                      <% @bjond_registrations.each do |bjond_registration| %>
         | 
| 20 | 
            +
                        <tr class="bjond-table-row">
         | 
| 21 | 
            +
                          <td><%= bjond_registration.server %></td>
         | 
| 22 | 
            +
                          <td><%= bjond_registration.encrypted_encryption_key %></td>
         | 
| 23 | 
            +
                          <td><%= link_to 'Show', bjond_registration %></td>
         | 
| 24 | 
            +
                          <td><%= link_to 'Edit', edit_bjond_registration_path(bjond_registration) %></td>
         | 
| 25 | 
            +
                          <td><%= link_to 'Destroy', bjond_registration, method: :delete, data: { confirm: 'Are you sure?' } %></td>
         | 
| 26 | 
            +
                        </tr>
         | 
| 27 | 
            +
                      <% end %>
         | 
| 28 | 
            +
                    </tbody>
         | 
| 29 | 
            +
                  </table>
         | 
| 30 | 
            +
                <% else %>
         | 
| 31 | 
            +
                  <div class="non-available">
         | 
| 32 | 
            +
                    No registrations
         | 
| 33 | 
            +
                  </div>
         | 
| 34 | 
            +
                <% end %>
         | 
| 29 35 |  | 
| 30 36 | 
             
                <div class="new-registration-link">
         | 
| 31 37 | 
             
                  <%= link_to 'New Bjond registration', new_bjond_registration_path %>
         | 
| @@ -34,7 +34,7 @@ | |
| 34 34 | 
             
              </br>
         | 
| 35 35 |  | 
| 36 36 | 
             
              <% if @app_info.integrationEvent.count > 0 %>
         | 
| 37 | 
            -
                <h2> Events </h2>
         | 
| 37 | 
            +
                <h2> Events (Conditions) </h2>
         | 
| 38 38 | 
             
                <div class="events">
         | 
| 39 39 | 
             
                  <% @app_info.integrationEvent.each do |event| %>
         | 
| 40 40 | 
             
                    <div class="event">
         | 
| @@ -56,7 +56,7 @@ | |
| 56 56 | 
             
                          <div class="field">
         | 
| 57 57 | 
             
                            <div class="field-wrapper">
         | 
| 58 58 | 
             
                              <div class="app-label">Field Name:</div>
         | 
| 59 | 
            -
                              <div class="info"><%= field.name %></div>
         | 
| 59 | 
            +
                              <div class="info new-section"><%= field.name %></div>
         | 
| 60 60 | 
             
                            </div>
         | 
| 61 61 | 
             
                            <div class="field-wrapper">
         | 
| 62 62 | 
             
                              <div class="app-label">ID:</div>
         | 
| @@ -74,7 +74,9 @@ | |
| 74 74 | 
             
                </div>
         | 
| 75 75 |  | 
| 76 76 | 
             
              <% else %>
         | 
| 77 | 
            -
                 | 
| 77 | 
            +
                <div class="non-available">
         | 
| 78 | 
            +
                  No events are currently available for this app.
         | 
| 79 | 
            +
                </div>
         | 
| 78 80 | 
             
              <% end %>
         | 
| 79 81 |  | 
| 80 82 | 
             
              <% if @app_info.integrationConsequence.count > 0 %>
         | 
    
        data/bjond-api.gemspec
    CHANGED
    
    | @@ -2,11 +2,11 @@ | |
| 2 2 | 
             
            # DO NOT EDIT THIS FILE DIRECTLY
         | 
| 3 3 | 
             
            # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
         | 
| 4 4 | 
             
            # -*- encoding: utf-8 -*-
         | 
| 5 | 
            -
            # stub: bjond-api 0.2. | 
| 5 | 
            +
            # stub: bjond-api 0.2.2 ruby lib
         | 
| 6 6 |  | 
| 7 7 | 
             
            Gem::Specification.new do |s|
         | 
| 8 8 | 
             
              s.name = "bjond-api"
         | 
| 9 | 
            -
              s.version = "0.2. | 
| 9 | 
            +
              s.version = "0.2.2"
         | 
| 10 10 |  | 
| 11 11 | 
             
              s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
         | 
| 12 12 | 
             
              s.require_paths = ["lib"]
         |