clark_kent 0.11.2 → 0.11.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1cafb15f2648e4366ca70284f69e000473acd156706113d996bb14319af20a69
4
- data.tar.gz: 05fc2be23d3dd12fc6ea283265292f6fdc83d7be2acbbe072cf05abe6fb237c5
3
+ metadata.gz: 9d9a607f015679502a07982a48c734540326d7a52916b9dab0bde87617a06649
4
+ data.tar.gz: 0a70ea0de9fccf04363b91f55e05a059bc362ecc20b5ccce21fcf4afd2fd3217
5
5
  SHA512:
6
- metadata.gz: cba605e90daccc1dcc3ea2c614646459ac8cf90f5b312a84ae7dbf4200e85aa15fe4eb922c94cc9c9dfbf1398fdbd8b2f1021e93e7fb345d98a9388a405acb2a
7
- data.tar.gz: 95bd50f305d061e2737afea4124fa40eb47c164141c6930907a2f512d394e78b4e929fcd38a1d51ca0380af1415c4e62bd3319b05e1dfb52a4154339a55fdfb6
6
+ metadata.gz: 454dcc7751ccabdbcc5fdb54ed7d2a3d4b1814d5674c8a117aa0bd18e4bfc35bc1b40402a1de949e5268913ade49b98b4ecdba86ce3f4517eee81e7af76fba46
7
+ data.tar.gz: 0f6f52a94f4aecb6e9bcc760fe950d8b0b70e28e076433e89b7155d4549262426994618983be079eaff4a7eb02d1176a494191b8632feb983f619eacf5d1b6df
@@ -1,6 +1,6 @@
1
1
  module ClarkKent
2
2
  class ReportMailer < ActionMailer::Base
3
- default from: 'reservations@invitedhome.com'
3
+ default from: 'hello@silvernest.com'
4
4
 
5
5
  def report_run(report_id, user_id, report_accessor)
6
6
  @report = Report.find(report_id)
@@ -10,32 +10,8 @@
10
10
  prompt: 'Please Choose' %>
11
11
 
12
12
  </div>
13
- <% if ClarkKent.user_class_name %>
14
- <div class="scol one-quarter">
15
- <div class="srow">sharing</div>
16
- <div class="srow">
17
- <%= f.input :sharing_scope_type, collection: ClarkKent::SharingScopeKind.select_options_for_user(clark_kent_user),
18
- input_html: revealer("sharing_options", highlander: true),
19
- label: false, include_blank: false %>
20
- </div>
21
- <div class="srow" <%= revealer_target_attrs("sharing_options") %>>
22
- <%= f.input :sharing_scope_id, as: :hidden, input_html: {value: clark_kent_user.id, data: {foo: ClarkKent.user_class_name}}, wrapper_html: revealer_option("sharing_options", trigger: ClarkKent.user_class_name).merge(id: "sharing_options_#{ClarkKent.user_class_name}") %>
23
- <% ClarkKent::SharingScopeKind.custom_for_user(clark_kent_user).each do |sharing_scope_kind| %>
24
- <% if sharing_scope_kind.associated_containers_for(clark_kent_user).respond_to? :each %>
25
- <%= f.input :sharing_scope_id, collection: sharing_scope_kind.associated_containers_for(clark_kent_user), label: false, include_blank: false,
26
- wrapper_html: revealer_option("sharing_options", trigger: sharing_scope_kind.class_name).merge(id: "sharing_options_#{sharing_scope_kind.class_name}") %>
27
- <% else %>
28
- <%= f.input :sharing_scope_id, as: :hidden, input_html: {value: sharing_scope_kind.associated_containers_for(clark_kent_user).id}, wrapper_html: revealer_option("sharing_options", trigger: sharing_scope_kind.associated_containers_for(clark_kent_user).class.name).merge(id: "sharing_options_#{sharing_scope_kind.associated_containers_for(clark_kent_user).class.name}") %>
29
- <% end %>
30
- <% end %>
31
- <%= f.input :sharing_scope_id, as: :hidden, input_html: {value: ''},
32
- wrapper_html: revealer_option("sharing_options", trigger: "").merge(id: "sharing_options_") %>
33
- </div>
34
- </div>
35
- <% else %>
36
- <%= f.input :sharing_scope_type, as: :hidden, value: 'Everyone' %>
37
- <%= f.input :sharing_scope_id, as: :hidden, value: 'Everyone' %>
38
- <% end %>
13
+ <%= f.input :sharing_scope_type, as: :hidden, value: 'Everyone' %>
14
+ <%= f.input :sharing_scope_id, as: :hidden, value: 'Everyone' %>
39
15
  <div class="scol one-quarter margin-top right">
40
16
  <div class="srow">
41
17
  <%= f.button :submit %>
@@ -1,3 +1,3 @@
1
1
  module ClarkKent
2
- VERSION = "0.11.2"
2
+ VERSION = "0.11.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clark_kent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.2
4
+ version: 0.11.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Draut