eras 0.2.9 → 0.2.10

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: 700187669df6b57aeda07b7049b9502d1c99274b12529ed602cb58acfadd9359
4
- data.tar.gz: 82673872a3d7931fc3ccf5fc78b2f8dfd0cfdc34378e8b6fb90c389cc4839a58
3
+ metadata.gz: 31380f736f14ed9d70c2fa4190cc250e732fc14d36d156738a32ce941e53478e
4
+ data.tar.gz: b7c7705c2ae2b7df2e3f79212fcae6160c8efb86824d3a6881f77c3808392515
5
5
  SHA512:
6
- metadata.gz: 472e575e677333103a7d54a1f296f0038abe816eafa76ceb2b5b0e183df2a2b7318f49a16ce579f55eea3c78e0f785ba2fffff81424cbf1d22688067ec382fa7
7
- data.tar.gz: 7eb5e835707f37ed070932e1c48411628236a6e0127ef8babf7309ebc2663a8f4874ae1ccb0c028651fa9ab1107f59fb7e55d206f212b54fabcae595cfb3bf7d
6
+ metadata.gz: a20a28b559e7b8c5589924111a882f4b402a14f96fafd035f0ec607e44825091b8fb3fb2360ae2b5282472a99cf8b1f781e47e30a1e73b322581b054e2c5cb3c
7
+ data.tar.gz: 750e01488dac5c93030b64d42f9234172d138e1c7613393c1e2c3abd7751cb573eef1e38eac5b90220d07749dd7bce60d285e7d03b8821365717243144ec0089
@@ -14,6 +14,7 @@ module Eras
14
14
  def destroy
15
15
  # TODO: rename to be adapter agnostic
16
16
  Eras.adapter.destroy_file
17
+ redirect_to :root
17
18
  end
18
19
 
19
20
  def set_environment
@@ -11,7 +11,7 @@
11
11
  </button>
12
12
  <% end %>
13
13
  <form action="<%= errors_path %>">
14
- <select name="environment" class="h-1/3 rounded" onchange="this.form.submit()">
14
+ <select name="environment" class="h-1/3 rounded" onchange="this.form.submit()" <%= Eras.config.reporting_envs.count == 1 ? 'disabled' : nil %>>
15
15
  <% Eras.config.reporting_envs.each do |env| %>
16
16
  <option value="<%= env %>" <%= @environment == env ? 'selected' : nil%>><%= env %></option>
17
17
  <% end %>
data/lib/eras/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Eras
2
- VERSION = "0.2.9"
2
+ VERSION = "0.2.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eras
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.9
4
+ version: 0.2.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bobby McDonald